3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
7 +++ tar-1.13.93/m4/codeset.m4 2004-03-06 06:52:55.000000000 -0500
9 +# codeset.m4 serial AM1 (gettext-0.10.40)
10 +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
11 +dnl This file is free software, distributed under the terms of the GNU
12 +dnl General Public License. As a special exception to the GNU General
13 +dnl Public License, this file may be distributed as part of a program
14 +dnl that contains a configuration script generated by Autoconf, under
15 +dnl the same distribution terms as the rest of that program.
17 +dnl From Bruno Haible.
19 +AC_DEFUN([AM_LANGINFO_CODESET],
21 + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
22 + [AC_TRY_LINK([#include <langinfo.h>],
23 + [char* cs = nl_langinfo(CODESET);],
24 + am_cv_langinfo_codeset=yes,
25 + am_cv_langinfo_codeset=no)
27 + if test $am_cv_langinfo_codeset = yes; then
28 + AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
29 + [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
32 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
33 +++ tar-1.13.93/m4/glibc21.m4 2004-03-06 06:52:55.000000000 -0500
35 +# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
36 +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
37 +dnl This file is free software, distributed under the terms of the GNU
38 +dnl General Public License. As a special exception to the GNU General
39 +dnl Public License, this file may be distributed as part of a program
40 +dnl that contains a configuration script generated by Autoconf, under
41 +dnl the same distribution terms as the rest of that program.
43 +# Test for the GNU C Library, version 2.1 or newer.
46 +AC_DEFUN([jm_GLIBC21],
48 + AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
49 + ac_cv_gnu_library_2_1,
50 + [AC_EGREP_CPP([Lucky GNU user],
52 +#include <features.h>
53 +#ifdef __GNU_LIBRARY__
54 + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
59 + ac_cv_gnu_library_2_1=yes,
60 + ac_cv_gnu_library_2_1=no)
64 + GLIBC21="$ac_cv_gnu_library_2_1"
67 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
68 +++ tar-1.13.93/m4/intdiv0.m4 2004-03-06 06:52:55.000000000 -0500
70 +# intdiv0.m4 serial 1 (gettext-0.11.3)
71 +dnl Copyright (C) 2002 Free Software Foundation, Inc.
72 +dnl This file is free software, distributed under the terms of the GNU
73 +dnl General Public License. As a special exception to the GNU General
74 +dnl Public License, this file may be distributed as part of a program
75 +dnl that contains a configuration script generated by Autoconf, under
76 +dnl the same distribution terms as the rest of that program.
78 +dnl From Bruno Haible.
80 +AC_DEFUN([gt_INTDIV0],
82 + AC_REQUIRE([AC_PROG_CC])dnl
83 + AC_REQUIRE([AC_CANONICAL_HOST])dnl
85 + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
86 + gt_cv_int_divbyzero_sigfpe,
94 +sigfpe_handler (int sig)
96 +sigfpe_handler (sig) int sig;
99 + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
100 + exit (sig != SIGFPE);
110 + signal (SIGFPE, sigfpe_handler);
111 +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
112 +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
113 + signal (SIGTRAP, sigfpe_handler);
115 +/* Linux/SPARC yields signal SIGILL. */
116 +#if defined (__sparc__) && defined (__linux__)
117 + signal (SIGILL, sigfpe_handler);
124 +], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
126 + # Guess based on the CPU.
127 + case "$host_cpu" in
128 + alpha* | i[34567]86 | m68k | s390*)
129 + gt_cv_int_divbyzero_sigfpe="guessing yes";;
131 + gt_cv_int_divbyzero_sigfpe="guessing no";;
135 + case "$gt_cv_int_divbyzero_sigfpe" in
139 + AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
140 + [Define if integer division by zero raises signal SIGFPE.])
142 --- tar-1.13.93/m4/inttypes_h.m4~m4 2003-12-29 05:28:43.000000000 -0500
143 +++ tar-1.13.93/m4/inttypes_h.m4 2004-03-06 06:52:55.000000000 -0500
145 -# inttypes_h.m4 serial 5 (gettext-0.12)
146 -dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
147 +# inttypes_h.m4 serial 4 (gettext-0.11.4)
148 +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
149 dnl This file is free software, distributed under the terms of the GNU
150 dnl General Public License. As a special exception to the GNU General
151 dnl Public License, this file may be distributed as part of a program
153 jm_ac_cv_header_inttypes_h=no)])
154 if test $jm_ac_cv_header_inttypes_h = yes; then
155 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
156 - [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
157 - and declares uintmax_t. ])
158 +[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
159 + and declares uintmax_t. ])
162 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
163 +++ tar-1.13.93/m4/inttypes.m4 2004-03-06 06:52:55.000000000 -0500
165 +# inttypes.m4 serial 1 (gettext-0.11.4)
166 +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
167 +dnl This file is free software, distributed under the terms of the GNU
168 +dnl General Public License. As a special exception to the GNU General
169 +dnl Public License, this file may be distributed as part of a program
170 +dnl that contains a configuration script generated by Autoconf, under
171 +dnl the same distribution terms as the rest of that program.
173 +dnl From Paul Eggert.
175 +# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
178 +AC_DEFUN([gt_HEADER_INTTYPES_H],
180 + AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
183 + [#include <sys/types.h>
184 +#include <inttypes.h>],
185 + [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
187 + if test $gt_cv_header_inttypes_h = yes; then
188 + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
189 + [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
192 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
193 +++ tar-1.13.93/m4/inttypes-pri.m4 2004-03-06 06:52:55.000000000 -0500
195 +# inttypes-pri.m4 serial 1 (gettext-0.11.4)
196 +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
197 +dnl This file is free software, distributed under the terms of the GNU
198 +dnl General Public License. As a special exception to the GNU General
199 +dnl Public License, this file may be distributed as part of a program
200 +dnl that contains a configuration script generated by Autoconf, under
201 +dnl the same distribution terms as the rest of that program.
203 +dnl From Bruno Haible.
205 +# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
206 +# macros to non-string values. This is the case on AIX 4.3.3.
208 +AC_DEFUN([gt_INTTYPES_PRI],
210 + AC_REQUIRE([gt_HEADER_INTTYPES_H])
211 + if test $gt_cv_header_inttypes_h = yes; then
212 + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
213 + gt_cv_inttypes_pri_broken,
215 + AC_TRY_COMPILE([#include <inttypes.h>
219 +], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
222 + if test "$gt_cv_inttypes_pri_broken" = yes; then
223 + AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
224 + [Define if <inttypes.h> exists and defines unusable PRI* macros.])
227 --- /dev/null 2003-09-23 18:19:32.000000000 -0400
228 +++ tar-1.13.93/m4/lcmessage.m4 2004-03-06 06:52:55.000000000 -0500
230 +# lcmessage.m4 serial 3 (gettext-0.11.3)
231 +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
232 +dnl This file is free software, distributed under the terms of the GNU
233 +dnl General Public License. As a special exception to the GNU General
234 +dnl Public License, this file may be distributed as part of a program
235 +dnl that contains a configuration script generated by Autoconf, under
236 +dnl the same distribution terms as the rest of that program.
238 +dnl This file can can be used in projects which are not available under
239 +dnl the GNU General Public License or the GNU Library General Public
240 +dnl License but which still want to provide support for the GNU gettext
242 +dnl Please note that the actual code of the GNU gettext library is covered
243 +dnl by the GNU Library General Public License, and the rest of the GNU
244 +dnl gettext package package is covered by the GNU General Public License.
245 +dnl They are *not* in the public domain.
248 +dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
250 +# Check whether LC_MESSAGES is available in <locale.h>.
252 +AC_DEFUN([AM_LC_MESSAGES],
254 + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
255 + [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
256 + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
257 + if test $am_cv_val_LC_MESSAGES = yes; then
258 + AC_DEFINE(HAVE_LC_MESSAGES, 1,
259 + [Define if your <locale.h> file defines LC_MESSAGES.])