summaryrefslogtreecommitdiffstats
path: root/meta/packages/autoconf/autoconf-2.59
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/autoconf/autoconf-2.59')
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoconf-x.patch36
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoconf259-update-configscripts.patch393
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoheader-nonfatal-warnings.patch13
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoreconf-exclude.patch125
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoreconf-foreign.patch11
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoreconf-gnuconfigize.patch47
-rw-r--r--meta/packages/autoconf/autoconf-2.59/autoreconf-include.patch10
-rw-r--r--meta/packages/autoconf/autoconf-2.59/path_prog_fixes.patch126
-rw-r--r--meta/packages/autoconf/autoconf-2.59/program_prefix.patch19
-rw-r--r--meta/packages/autoconf/autoconf-2.59/sizeof_types.patch59
10 files changed, 839 insertions, 0 deletions
diff --git a/meta/packages/autoconf/autoconf-2.59/autoconf-x.patch b/meta/packages/autoconf/autoconf-2.59/autoconf-x.patch
new file mode 100644
index 0000000000..596535b7d6
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoconf-x.patch
@@ -0,0 +1,36 @@
1Index: lib/autoconf/libs.m4
2===================================================================
3RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/libs.m4,v
4retrieving revision 1.13
5diff -p -u -r1.13 libs.m4
6--- autoconf-2.59/lib/autoconf/libs.m4 6 Sep 2005 15:34:06 -0000 1.13
7+++ autoconf-2.59/lib/autoconf/libs.m4 18 Sep 2005 17:09:58 -0000
8@@ -265,13 +265,13 @@ ac_x_header_dirs='
9 /usr/openwin/share/include'
10
11 if test "$ac_x_includes" = no; then
12- # Guess where to find include files, by looking for Intrinsic.h.
13+ # Guess where to find include files, by looking for Xlib.h.
14 # First, try using that file with no special directory specified.
15- AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
16+ AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Xlib.h>])],
17 [# We can compile using X headers with no special include directory.
18 ac_x_includes=],
19 [for ac_dir in $ac_x_header_dirs; do
20- if test -r "$ac_dir/X11/Intrinsic.h"; then
21+ if test -r "$ac_dir/X11/Xlib.h"; then
22 ac_x_includes=$ac_dir
23 break
24 fi
25@@ -284,9 +284,9 @@ if test "$ac_x_libraries" = no; then
26 # Don't add to $LIBS permanently.
27 ac_save_LIBS=$LIBS
28- LIBS="-lXt $LIBS"
29- AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Intrinsic.h>],
30- [XtMalloc (0)])],
31+ LIBS="-lX11 $LIBS"
32+ AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
33+ [XrmInitialize ()])],
34 [LIBS=$ac_save_LIBS
35 # We can link X programs with no special library path.
36 ac_x_libraries=],
diff --git a/meta/packages/autoconf/autoconf-2.59/autoconf259-update-configscripts.patch b/meta/packages/autoconf/autoconf-2.59/autoconf259-update-configscripts.patch
new file mode 100644
index 0000000000..77be3c647c
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoconf259-update-configscripts.patch
@@ -0,0 +1,393 @@
1--- autoconf-2.59/config/config.guess.old 2003-10-23 10:28:51.000000000 -0400
2+++ autoconf-2.59/config/config.guess 2004-04-24 22:36:28.000000000 -0400
3@@ -3,7 +3,7 @@
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
5 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6
7-timestamp='2003-10-03'
8+timestamp='2004-03-12'
9
10 # This file is free software; you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License as published by
12@@ -197,12 +197,18 @@
13 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
14 echo "${machine}-${os}${release}"
15 exit 0 ;;
16+ amd64:OpenBSD:*:*)
17+ echo x86_64-unknown-openbsd${UNAME_RELEASE}
18+ exit 0 ;;
19 amiga:OpenBSD:*:*)
20 echo m68k-unknown-openbsd${UNAME_RELEASE}
21 exit 0 ;;
22 arc:OpenBSD:*:*)
23 echo mipsel-unknown-openbsd${UNAME_RELEASE}
24 exit 0 ;;
25+ cats:OpenBSD:*:*)
26+ echo arm-unknown-openbsd${UNAME_RELEASE}
27+ exit 0 ;;
28 hp300:OpenBSD:*:*)
29 echo m68k-unknown-openbsd${UNAME_RELEASE}
30 exit 0 ;;
31@@ -221,6 +227,9 @@
32 mvmeppc:OpenBSD:*:*)
33 echo powerpc-unknown-openbsd${UNAME_RELEASE}
34 exit 0 ;;
35+ pegasos:OpenBSD:*:*)
36+ echo powerpc-unknown-openbsd${UNAME_RELEASE}
37+ exit 0 ;;
38 pmax:OpenBSD:*:*)
39 echo mipsel-unknown-openbsd${UNAME_RELEASE}
40 exit 0 ;;
41@@ -236,10 +245,24 @@
42 *:OpenBSD:*:*)
43 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
44 exit 0 ;;
45+ *:ekkoBSD:*:*)
46+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
47+ exit 0 ;;
48+ macppc:MirBSD:*:*)
49+ echo powerppc-unknown-mirbsd${UNAME_RELEASE}
50+ exit 0 ;;
51+ *:MirBSD:*:*)
52+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
53+ exit 0 ;;
54 alpha:OSF1:*:*)
55- if test $UNAME_RELEASE = "V4.0"; then
56+ case $UNAME_RELEASE in
57+ *4.0)
58 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
59- fi
60+ ;;
61+ *5.*)
62+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
63+ ;;
64+ esac
65 # According to Compaq, /usr/sbin/psrinfo has been available on
66 # OSF/1 and Tru64 systems produced since 1995. I hope that
67 # covers most systems running today. This code pipes the CPU
68@@ -277,11 +300,12 @@
69 "EV7.9 (21364A)")
70 UNAME_MACHINE="alphaev79" ;;
71 esac
72+ # A Pn.n version is a patched version.
73 # A Vn.n version is a released version.
74 # A Tn.n version is a released field test version.
75 # A Xn.n version is an unreleased experimental baselevel.
76 # 1.2 uses "1.2" for uname -r.
77- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
78+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
79 exit 0 ;;
80 Alpha*:OpenVMS:*:*)
81 echo alpha-hp-vms
82@@ -307,6 +331,9 @@
83 *:OS/390:*:*)
84 echo i370-ibm-openedition
85 exit 0 ;;
86+ *:OS400:*:*)
87+ echo powerpc-ibm-os400
88+ exit 0 ;;
89 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
90 echo arm-acorn-riscix${UNAME_RELEASE}
91 exit 0;;
92@@ -399,6 +426,9 @@
93 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
94 echo m68k-unknown-mint${UNAME_RELEASE}
95 exit 0 ;;
96+ m68k:machten:*:*)
97+ echo m68k-apple-machten${UNAME_RELEASE}
98+ exit 0 ;;
99 powerpc:machten:*:*)
100 echo powerpc-apple-machten${UNAME_RELEASE}
101 exit 0 ;;
102@@ -742,6 +772,11 @@
103 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
104 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
105 exit 0 ;;
106+ 5000:UNIX_System_V:4.*:*)
107+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
108+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
109+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
110+ exit 0 ;;
111 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
112 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
113 exit 0 ;;
114@@ -751,7 +786,7 @@
115 *:BSD/OS:*:*)
116 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
117 exit 0 ;;
118- *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
119+ *:FreeBSD:*:*)
120 # Determine whether the default compiler uses glibc.
121 eval $set_cc_for_build
122 sed 's/^ //' << EOF >$dummy.c
123@@ -763,7 +798,7 @@
124 #endif
125 EOF
126 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
127- # GNU/FreeBSD systems have a "k" prefix to indicate we are using
128+ # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
129 # FreeBSD's kernel, but not the complete OS.
130 case ${LIBC} in gnu) kernel_only='k' ;; esac
131 echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
132@@ -799,8 +834,13 @@
133 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
134 exit 0 ;;
135 *:GNU:*:*)
136+ # the GNU system
137 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
138 exit 0 ;;
139+ *:GNU/*:*:*)
140+ # other systems with GNU libc and userland
141+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
142+ exit 0 ;;
143 i*86:Minix:*:*)
144 echo ${UNAME_MACHINE}-pc-minix
145 exit 0 ;;
146@@ -813,6 +853,9 @@
147 ia64:Linux:*:*)
148 echo ${UNAME_MACHINE}-unknown-linux-gnu
149 exit 0 ;;
150+ m32r*:Linux:*:*)
151+ echo ${UNAME_MACHINE}-unknown-linux-gnu
152+ exit 0 ;;
153 m68*:Linux:*:*)
154 echo ${UNAME_MACHINE}-unknown-linux-gnu
155 exit 0 ;;
156@@ -981,6 +1024,9 @@
157 i*86:atheos:*:*)
158 echo ${UNAME_MACHINE}-unknown-atheos
159 exit 0 ;;
160+ i*86:syllable:*:*)
161+ echo ${UNAME_MACHINE}-pc-syllable
162+ exit 0 ;;
163 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
164 echo i386-unknown-lynxos${UNAME_RELEASE}
165 exit 0 ;;
166@@ -1052,7 +1098,7 @@
167 exit 0 ;;
168 M68*:*:R3V[567]*:*)
169 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
170- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
171+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
172 OS_REL=''
173 test -r /etc/.relid \
174 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
175@@ -1167,7 +1213,7 @@
176 *:QNX:*:4*)
177 echo i386-pc-qnx
178 exit 0 ;;
179- NSR-[DGKLNPTVWY]:NONSTOP_KERNEL:*:*)
180+ NSR-?:NONSTOP_KERNEL:*:*)
181 echo nsr-tandem-nsk${UNAME_RELEASE}
182 exit 0 ;;
183 *:NonStop-UX:*:*)
184@@ -1211,6 +1257,9 @@
185 SEI:*:*:SEIUX)
186 echo mips-sei-seiux${UNAME_RELEASE}
187 exit 0 ;;
188+ *:DragonFly:*:*)
189+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
190+ exit 0 ;;
191 esac
192
193 #echo '(No uname command or uname output not recognized.)' 1>&2
194--- autoconf-2.59/config/config.sub.old 2003-10-23 10:28:51.000000000 -0400
195+++ autoconf-2.59/config/config.sub 2004-04-24 22:36:28.000000000 -0400
196@@ -3,7 +3,7 @@
197 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
198 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
199
200-timestamp='2003-08-18'
201+timestamp='2004-03-12'
202
203 # This file is (in principle) common to ALL GNU software.
204 # The presence of a machine in this file suggests that SOME GNU software
205@@ -118,7 +118,8 @@
206 # Here we must recognize all the valid KERNEL-OS combinations.
207 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
208 case $maybe_os in
209- nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
210+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
211+ kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
212 os=-$maybe_os
213 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
214 ;;
215@@ -236,7 +237,7 @@
216 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
217 | i370 | i860 | i960 | ia64 \
218 | ip2k | iq2000 \
219- | m32r | m68000 | m68k | m88k | mcore \
220+ | m32r | m32rle | m68000 | m68k | m88k | mcore \
221 | mips | mipsbe | mipseb | mipsel | mipsle \
222 | mips16 \
223 | mips64 | mips64el \
224@@ -261,7 +262,7 @@
225 | pyramid \
226 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
227 | sh64 | sh64le \
228- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
229+ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
230 | strongarm \
231 | tahoe | thumb | tic4x | tic80 | tron \
232 | v850 | v850e \
233@@ -307,7 +308,7 @@
234 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
235 | i*86-* | i860-* | i960-* | ia64-* \
236 | ip2k-* | iq2000-* \
237- | m32r-* \
238+ | m32r-* | m32rle-* \
239 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
240 | m88110-* | m88k-* | mcore-* \
241 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
242@@ -335,7 +336,7 @@
243 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
244 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
245 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
246- | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
247+ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
248 | tahoe-* | thumb-* \
249 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
250 | tron-* \
251@@ -362,6 +363,9 @@
252 basic_machine=a29k-amd
253 os=-udi
254 ;;
255+ abacus)
256+ basic_machine=abacus-unknown
257+ ;;
258 adobe68k)
259 basic_machine=m68010-adobe
260 os=-scout
261@@ -379,6 +383,9 @@
262 amd64)
263 basic_machine=x86_64-pc
264 ;;
265+ amd64-*)
266+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
267+ ;;
268 amdahl)
269 basic_machine=580-amdahl
270 os=-sysv
271@@ -438,12 +445,20 @@
272 basic_machine=j90-cray
273 os=-unicos
274 ;;
275+ cr16c)
276+ basic_machine=cr16c-unknown
277+ os=-elf
278+ ;;
279 crds | unos)
280 basic_machine=m68k-crds
281 ;;
282 cris | cris-* | etrax*)
283 basic_machine=cris-axis
284 ;;
285+ crx)
286+ basic_machine=crx-unknown
287+ os=-elf
288+ ;;
289 da30 | da30-*)
290 basic_machine=m68k-da30
291 ;;
292@@ -743,6 +758,10 @@
293 basic_machine=or32-unknown
294 os=-coff
295 ;;
296+ os400)
297+ basic_machine=powerpc-ibm
298+ os=-os400
299+ ;;
300 OSE68000 | ose68000)
301 basic_machine=m68000-ericsson
302 os=-ose
303@@ -963,6 +982,10 @@
304 tower | tower-32)
305 basic_machine=m68k-ncr
306 ;;
307+ tpf)
308+ basic_machine=s390x-ibm
309+ os=-tpf
310+ ;;
311 udi29k)
312 basic_machine=a29k-amd
313 os=-udi
314@@ -1058,7 +1081,7 @@
315 sh64)
316 basic_machine=sh64-unknown
317 ;;
318- sparc | sparcv9 | sparcv9b)
319+ sparc | sparcv8 | sparcv9 | sparcv9b)
320 basic_machine=sparc-sun
321 ;;
322 cydra)
323@@ -1131,19 +1154,20 @@
324 | -aos* \
325 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
326 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
327- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
328- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
329+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
330+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
331+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
332 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
333 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
334 | -chorusos* | -chorusrdb* \
335 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
336- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
337+ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
338 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
339 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
340 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
341 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
342 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
343- | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
344+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
345 # Remember, each alternative MUST END IN *, to match a version number.
346 ;;
347 -qnx*)
348@@ -1182,6 +1206,9 @@
349 -opened*)
350 os=-openedition
351 ;;
352+ -os400*)
353+ os=-os400
354+ ;;
355 -wince*)
356 os=-wince
357 ;;
358@@ -1203,6 +1230,9 @@
359 -atheos*)
360 os=-atheos
361 ;;
362+ -syllable*)
363+ os=-syllable
364+ ;;
365 -386bsd)
366 os=-bsd
367 ;;
368@@ -1225,6 +1255,9 @@
369 -sinix*)
370 os=-sysv4
371 ;;
372+ -tpf*)
373+ os=-tpf
374+ ;;
375 -triton*)
376 os=-sysv3
377 ;;
378@@ -1473,9 +1506,15 @@
379 -mvs* | -opened*)
380 vendor=ibm
381 ;;
382+ -os400*)
383+ vendor=ibm
384+ ;;
385 -ptx*)
386 vendor=sequent
387 ;;
388+ -tpf*)
389+ vendor=ibm
390+ ;;
391 -vxsim* | -vxworks* | -windiss*)
392 vendor=wrs
393 ;;
diff --git a/meta/packages/autoconf/autoconf-2.59/autoheader-nonfatal-warnings.patch b/meta/packages/autoconf/autoconf-2.59/autoheader-nonfatal-warnings.patch
new file mode 100644
index 0000000000..1f18e04bba
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoheader-nonfatal-warnings.patch
@@ -0,0 +1,13 @@
1--- autoconf-2.59/bin/autoheader.in~ 2003-10-10 14:52:56.000000000 +0100
2+++ autoconf-2.59/bin/autoheader.in 2004-05-03 01:36:45.000000000 +0100
3@@ -272,8 +272,8 @@
4 }
5
6 }
7- exit 1
8- if keys %symbol;
9+# exit 1
10+# if keys %symbol;
11 }
12
13 update_file ("$tmp/config.hin", "$config_h_in");
diff --git a/meta/packages/autoconf/autoconf-2.59/autoreconf-exclude.patch b/meta/packages/autoconf/autoconf-2.59/autoreconf-exclude.patch
new file mode 100644
index 0000000000..7644955519
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoreconf-exclude.patch
@@ -0,0 +1,125 @@
1--- autoconf-2.59/bin/autoreconf.in 2004-05-06 00:27:34.000000000 -0400
2+++ autoconf-2.59.new/bin/autoreconf.in 2004-05-06 00:27:46.000000000 -0400
3@@ -75,6 +75,7 @@
4 -f, --force consider all files obsolete
5 -i, --install copy missing auxiliary files
6 -s, --symlink with -i, install symbolic links instead of copies
7+ -x, --exclude=STEPS steps we should not run
8 -m, --make when applicable, re-run ./configure && make
9 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
10
11@@ -127,6 +128,13 @@
12 # Rerun `./configure && make'?
13 my $make = 0;
14
15+# Steps to exclude
16+my @exclude;
17+my @ex;
18+
19+my $uses_gettext;
20+my $configure_ac;
21+
22 ## ---------- ##
23 ## Routines. ##
24 ## ---------- ##
25@@ -144,6 +152,7 @@
26 'B|prepend-include=s' => \@prepend_include,
27 'i|install' => \$install,
28 's|symlink' => \$symlink,
29+ 'x|exclude=s' => \@exclude,
30 'm|make' => \$make);
31
32 # Split the warnings as a list of elements instead of a list of
33@@ -152,6 +161,8 @@
34 parse_WARNINGS;
35 parse_warnings '--warnings', @warning;
36
37+ @exclude = map { split /,/ } @exclude;
38+
39 # Even if the user specified a configure.ac, trim to get the
40 # directory, and look for configure.ac again. Because (i) the code
41 # is simpler, and (ii) we are still able to diagnose simultaneous
42@@ -237,6 +249,11 @@
43 {
44 my ($aclocal, $flags) = @_;
45
46+ @ex = grep (/^aclocal$/, @exclude);
47+ if ($#ex != -1) {
48+ return;
49+ }
50+
51 # aclocal 1.8+ does all this for free. It can be recognized by its
52 # --force support.
53 if ($aclocal_supports_force)
54@@ -348,7 +365,10 @@
55 }
56 else
57 {
58- xsystem "$autopoint";
59+ @ex = grep (/^autopoint$/, @exclude);
60+ if ($#ex == -1) {
61+ xsystem ("$autopoint");
62+ }
63 }
64
65
66@@ -501,7 +521,10 @@
67 }
68 elsif ($install)
69 {
70- xsystem ($libtoolize);
71+ @ex = grep (/^libtoolize$/, @exclude);
72+ if ($#ex == -1) {
73+ xsystem ("$libtoolize");
74+ }
75 $rerun_aclocal = 1;
76 }
77 else
78@@ -541,7 +564,10 @@
79 # latter runs the former, and (ii) autoconf is stricter than
80 # autoheader. So all in all, autoconf should give better error
81 # messages.
82- xsystem ($autoconf);
83+ @ex = grep (/^autoconf$/, @exclude);
84+ if ($#ex == -1) {
85+ xsystem ("$autoconf");
86+ }
87
88
89 # -------------------- #
90@@ -562,7 +588,10 @@
91 }
92 else
93 {
94- xsystem ($autoheader);
95+ @ex = grep (/^autoheader$/, @exclude);
96+ if ($#ex == -1) {
97+ xsystem ("$autoheader");
98+ }
99 }
100
101
102@@ -580,7 +609,10 @@
103 # We should always run automake, and let it decide whether it shall
104 # update the file or not. In fact, the effect of `$force' is already
105 # included in `$automake' via `--no-force'.
106- xsystem ($automake);
107+ @ex = grep (/^automake$/, @exclude);
108+ if ($#ex == -1) {
109+ xsystem ("$automake");
110+ }
111 }
112
113
114@@ -604,7 +636,10 @@
115 }
116 else
117 {
118- xsystem ("make");
119+ @ex = grep (/^make$/, @exclude);
120+ if ($#ex == -1) {
121+ xsystem ("make");
122+ }
123 }
124 }
125 }
diff --git a/meta/packages/autoconf/autoconf-2.59/autoreconf-foreign.patch b/meta/packages/autoconf/autoconf-2.59/autoreconf-foreign.patch
new file mode 100644
index 0000000000..587a823826
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoreconf-foreign.patch
@@ -0,0 +1,11 @@
1--- autoconf-2.59/bin/autoreconf.in~autoreconf-foreign 2004-05-09 20:55:06.000000000 -0400
2+++ autoconf-2.59/bin/autoreconf.in 2004-05-09 20:55:55.000000000 -0400
3@@ -184,6 +184,8 @@
4
5 $aclocal_supports_force = `$aclocal --help` =~ /--force/;
6
7+ $automake .= ' --foreign';
8+
9 # Dispatch autoreconf's option to the tools.
10 # --include;
11 $autoconf .= join (' --include=', '', @include);
diff --git a/meta/packages/autoconf/autoconf-2.59/autoreconf-gnuconfigize.patch b/meta/packages/autoconf/autoconf-2.59/autoreconf-gnuconfigize.patch
new file mode 100644
index 0000000000..44709d550a
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoreconf-gnuconfigize.patch
@@ -0,0 +1,47 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- autoconf-2.59/bin/autoreconf.in~autoreconf-gnuconfigize 2004-05-14 19:04:35.000000000 -0500
7+++ autoconf-2.59/bin/autoreconf.in 2004-05-14 19:07:34.000000000 -0500
8@@ -58,7 +58,7 @@
9 $help = "Usage: $0 [OPTION] ... [CONFIGURE-AC or DIRECTORY] ...
10
11 Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
12-(formerly `gettextize'), and `libtoolize' where appropriate)
13+(formerly `gettextize'), `libtoolize', and `gnu-configize' where appropriate)
14 repeatedly to remake the GNU Build System files in the DIRECTORIES or
15 the directory trees driven by CONFIGURE-AC (defaulting to `.').
16
17@@ -105,12 +105,13 @@
18 ";
19
20 # Lib files.
21-my $autoconf = $ENV{'AUTOCONF'} || '@bindir@/@autoconf-name@';
22-my $autoheader = $ENV{'AUTOHEADER'} || '@bindir@/@autoheader-name@';
23-my $automake = $ENV{'AUTOMAKE'} || 'automake';
24-my $aclocal = $ENV{'ACLOCAL'} || 'aclocal';
25-my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
26-my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
27+my $autoconf = $ENV{'AUTOCONF'} || '@bindir@/@autoconf-name@';
28+my $autoheader = $ENV{'AUTOHEADER'} || '@bindir@/@autoheader-name@';
29+my $automake = $ENV{'AUTOMAKE'} || 'automake';
30+my $aclocal = $ENV{'ACLOCAL'} || 'aclocal';
31+my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
32+my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
33+my $gnuconfigize = $ENV{'GNUCONFIGIZE'} || 'gnu-configize';
34
35 # --install -- as --add-missing in other tools.
36 my $install = 0;
37@@ -617,6 +618,10 @@
38 }
39 }
40
41+ @ex = grep (/^gnu-configize$/, @exclude);
42+ if ($#ex == -1) {
43+ xsystem ("$gnuconfigize");
44+ }
45
46 # -------------- #
47 # Running make. #
diff --git a/meta/packages/autoconf/autoconf-2.59/autoreconf-include.patch b/meta/packages/autoconf/autoconf-2.59/autoreconf-include.patch
new file mode 100644
index 0000000000..5a7604b0fd
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/autoreconf-include.patch
@@ -0,0 +1,10 @@
1--- autoconf/bin/autoreconf.in~ 2004-04-06 23:36:10.000000000 +0100
2+++ autoconf/bin/autoreconf.in 2004-04-08 20:51:57.000000000 +0100
3@@ -179,6 +179,7 @@
4 $autoconf .= join (' --prepend-include=', '', @prepend_include);
5 $autoheader .= join (' --include=', '', @include);
6 $autoheader .= join (' --prepend-include=', '', @prepend_include);
7+ $aclocal .= join (' -I ', '', @include);
8
9 # --install and --symlink;
10 if ($install)
diff --git a/meta/packages/autoconf/autoconf-2.59/path_prog_fixes.patch b/meta/packages/autoconf/autoconf-2.59/path_prog_fixes.patch
new file mode 100644
index 0000000000..5f0d055a48
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/path_prog_fixes.patch
@@ -0,0 +1,126 @@
1Index: autoconf-2.59/bin/autoheader.in
2===================================================================
3--- autoconf-2.59.orig/bin/autoheader.in 2005-03-09 16:27:17.933878952 -0500
4+++ autoconf-2.59/bin/autoheader.in 2005-03-09 16:29:57.360642400 -0500
5@@ -1,8 +1,8 @@
6-#! @PERL@
7+#! @bindir@/env perl
8 # -*- Perl -*-
9 # @configure_input@
10
11-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
12+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac'
13 if 0;
14
15 # autoheader -- create `config.h.in' from `configure.ac'
16Index: autoconf-2.59/bin/autom4te.in
17===================================================================
18--- autoconf-2.59.orig/bin/autom4te.in 2003-10-28 03:48:36.000000000 -0500
19+++ autoconf-2.59/bin/autom4te.in 2005-03-09 16:30:14.957967200 -0500
20@@ -1,8 +1,10 @@
21-#! @PERL@ -w
22+#! @bindir@/env perl
23 # -*- perl -*-
24 # @configure_input@
25
26-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
27+use warnings;
28+
29+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
30 if 0;
31
32 # autom4te - Wrapper around M4 libraries.
33@@ -87,7 +89,7 @@
34 my $freeze = 0;
35
36 # $M4.
37-my $m4 = $ENV{"M4"} || '@M4@';
38+my $m4 = $ENV{"M4"} || '@bindir@/env m4';
39 # Some non-GNU m4's don't reject the --help option, so give them /dev/null.
40 fatal "need GNU m4 1.4 or later: $m4"
41 if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null";
42Index: autoconf-2.59/bin/autoreconf.in
43===================================================================
44--- autoconf-2.59.orig/bin/autoreconf.in 2005-03-09 16:27:17.354966960 -0500
45+++ autoconf-2.59/bin/autoreconf.in 2005-03-09 16:31:19.572144352 -0500
46@@ -1,8 +1,10 @@
47-#! @PERL@ -w
48+#! @bindir@/env perl
49 # -*- perl -*-
50 # @configure_input@
51
52-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
53+use warnings;
54+
55+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
56 if 0;
57
58 # autoreconf - install the GNU Build System in a directory tree
59Index: autoconf-2.59/bin/autoscan.in
60===================================================================
61--- autoconf-2.59.orig/bin/autoscan.in 2003-09-26 08:57:49.000000000 -0400
62+++ autoconf-2.59/bin/autoscan.in 2005-03-09 16:30:18.136483992 -0500
63@@ -1,4 +1,4 @@
64-#! @PERL@ -w
65+#! @bindir@/env perl
66 # -*- perl -*-
67 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
68 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
69@@ -21,7 +21,9 @@
70
71 # Written by David MacKenzie <djm@gnu.ai.mit.edu>.
72
73-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
74+use warnings;
75+
76+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
77 if 0;
78
79 BEGIN
80Index: autoconf-2.59/bin/autoupdate.in
81===================================================================
82--- autoconf-2.59.orig/bin/autoupdate.in 2003-08-27 07:26:32.000000000 -0400
83+++ autoconf-2.59/bin/autoupdate.in 2005-03-09 16:30:19.912214040 -0500
84@@ -1,4 +1,4 @@
85-#! @PERL@ -w
86+#! @bindir@/env perl
87 # -*- perl -*-
88 # autoupdate - modernize an Autoconf file.
89 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
90@@ -22,7 +22,9 @@
91 # Originally written by David MacKenzie <djm@gnu.ai.mit.edu>.
92 # Rewritten by Akim Demaille <akim@freefriends.org>.
93
94-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
95+use warnings;
96+
97+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
98 if 0;
99
100 BEGIN
101@@ -54,7 +56,7 @@
102 my @include = ('@datadir@');
103 my $force = 0;
104 # m4.
105-my $m4 = $ENV{"M4"} || '@M4@';
106+my $m4 = $ENV{"M4"} || '@bindir@/env m4';
107
108
109 # $HELP
110Index: autoconf-2.59/bin/ifnames.in
111===================================================================
112--- autoconf-2.59.orig/bin/ifnames.in 2003-10-10 09:52:56.000000000 -0400
113+++ autoconf-2.59/bin/ifnames.in 2005-03-09 16:30:22.656796800 -0500
114@@ -1,8 +1,10 @@
115-#! @PERL@ -w
116+#! @bindir@/env perl
117 # -*- perl -*-
118 # @configure_input@
119
120-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
121+use warnings;
122+
123+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
124 if 0;
125
126 # ifnames - print the identifiers used in C preprocessor conditionals
diff --git a/meta/packages/autoconf/autoconf-2.59/program_prefix.patch b/meta/packages/autoconf/autoconf-2.59/program_prefix.patch
new file mode 100644
index 0000000000..e6f4096a97
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/program_prefix.patch
@@ -0,0 +1,19 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- autoconf-2.57/lib/autoconf/general.m4~program_prefix
7+++ autoconf-2.57/lib/autoconf/general.m4
8@@ -1676,8 +1676,9 @@
9 # The aliases save the names the user supplied, while $host etc.
10 # will get canonicalized.
11 test -n "$target_alias" &&
12- test "$program_prefix$program_suffix$program_transform_name" = \
13- NONENONEs,x,x, &&
14+ test "$target_alias" != "$host_alias" &&
15+ test "$program_prefix$program_suffix$program_transform_name" = \
16+ NONENONEs,x,x, &&
17 program_prefix=${target_alias}-[]dnl
18 ])# AC_CANONICAL_TARGET
19
diff --git a/meta/packages/autoconf/autoconf-2.59/sizeof_types.patch b/meta/packages/autoconf/autoconf-2.59/sizeof_types.patch
new file mode 100644
index 0000000000..9a6e47453e
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.59/sizeof_types.patch
@@ -0,0 +1,59 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- autoconf-2.59/lib/autoconf/types.m4~sizeof_types.patch 2003-05-22 08:05:14.000000000 -0400
7+++ autoconf-2.59/lib/autoconf/types.m4 2004-05-29 01:31:24.828295015 -0400
8@@ -380,32 +380,38 @@
9 # Generic checks. #
10 # ---------------- #
11
12+AC_DEFUN([AC_PROG_SIZE],
13+[
14+ AC_CHECK_TOOL(SIZE, size, :)
15+])
16
17 # AC_CHECK_SIZEOF(TYPE, [IGNORED], [INCLUDES = DEFAULT-INCLUDES])
18 # ---------------------------------------------------------------
19 AC_DEFUN([AC_CHECK_SIZEOF],
20-[AS_LITERAL_IF([$1], [],
21+[AC_REQUIRE([AC_PROG_SIZE])
22+AC_REQUIRE([AC_PROG_AWK])
23+ AS_LITERAL_IF([$1], [],
24 [AC_FATAL([$0: requires literal arguments])])dnl
25 AC_CHECK_TYPE([$1], [], [], [$3])
26 AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
27-[if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
28- # The cast to unsigned long works around a bug in the HP C Compiler
29- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31- # This bug is HP SR number 8606223364.
32- _AC_COMPUTE_INT([(long) (sizeof ($1))],
33- [AS_TR_SH([ac_cv_sizeof_$1])],
34- [AC_INCLUDES_DEFAULT([$3])],
35- [AC_MSG_FAILURE([cannot compute sizeof ($1), 77])])
36+[
37+if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
38+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])],
39+ [static const $1 x[[256]];])],
40+ [
41+ AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'`
42+ ],
43+ [
44+ AS_TR_SH([ac_cv_sizeof_$1])=0
45+ ])
46 else
47 AS_TR_SH([ac_cv_sizeof_$1])=0
48-fi])dnl
49+fi
50+])dnl
51 AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
52 [The size of a `$1', as computed by sizeof.])
53 ])# AC_CHECK_SIZEOF
54
55-
56-
57 # ---------------- #
58 # Generic checks. #
59 # ---------------- #