summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@ted.(none)>2009-01-02 15:42:12 +0000
committerRichard Purdie <richard@ted.(none)>2009-01-02 15:42:12 +0000
commitcf093fa0f307a4614585f711bf501885cf1fccf6 (patch)
tree0b1ffbfe33e5e633b6bcf4150c5f3b0eb50edb01 /meta
parent2d749dc4cc5509a55bc9fa256a5cfd2df2fbdda5 (diff)
downloadpoky-cf093fa0f307a4614585f711bf501885cf1fccf6.tar.gz
autoconf: Add 2.63 (leaving GPLv2 2.61) leaving 2.61 as default since glib-2.0 breaks with 2.63 (site files aren't
being included)
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoconf-x.patch36
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoconf259-update-configscripts.patch393
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoheader-nonfatal-warnings.patch13
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoreconf-exclude.patch137
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoreconf-foreign.patch11
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoreconf-gnuconfigize.patch37
-rw-r--r--meta/packages/autoconf/autoconf-2.63/autoreconf-include.patch12
-rw-r--r--meta/packages/autoconf/autoconf-2.63/config-site.patch13
-rw-r--r--meta/packages/autoconf/autoconf-2.63/fix_path_xtra.patch114
-rw-r--r--meta/packages/autoconf/autoconf-2.63/path_prog_fixes.patch126
-rw-r--r--meta/packages/autoconf/autoconf-2.63/program_prefix.patch19
-rw-r--r--meta/packages/autoconf/autoconf-2.63/sizeof_types.patch87
-rw-r--r--meta/packages/autoconf/autoconf-native_2.63.bb8
-rw-r--r--meta/packages/autoconf/autoconf.inc2
-rw-r--r--meta/packages/autoconf/autoconf_2.61.bb2
-rw-r--r--meta/packages/autoconf/autoconf_2.63.bb17
16 files changed, 1026 insertions, 1 deletions
diff --git a/meta/packages/autoconf/autoconf-2.63/autoconf-x.patch b/meta/packages/autoconf/autoconf-2.63/autoconf-x.patch
new file mode 100644
index 0000000000..596535b7d6
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/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.63/autoconf259-update-configscripts.patch b/meta/packages/autoconf/autoconf-2.63/autoconf259-update-configscripts.patch
new file mode 100644
index 0000000000..2adda7403d
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/autoconf259-update-configscripts.patch
@@ -0,0 +1,393 @@
1--- autoconf-2.59/build-aux/config.guess.old 2003-10-23 10:28:51.000000000 -0400
2+++ autoconf-2.59/build-aux/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/build-aux/config.sub.old 2003-10-23 10:28:51.000000000 -0400
195+++ autoconf-2.59/build-aux/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.63/autoheader-nonfatal-warnings.patch b/meta/packages/autoconf/autoconf-2.63/autoheader-nonfatal-warnings.patch
new file mode 100644
index 0000000000..1f18e04bba
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/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.63/autoreconf-exclude.patch b/meta/packages/autoconf/autoconf-2.63/autoreconf-exclude.patch
new file mode 100644
index 0000000000..fac7483bd1
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/autoreconf-exclude.patch
@@ -0,0 +1,137 @@
1Index: autoconf-2.63/bin/autoreconf.in
2===================================================================
3--- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:39:01.000000000 +0000
4+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:43:38.000000000 +0000
5@@ -76,6 +76,7 @@
6 -i, --install copy missing auxiliary files
7 --no-recursive don't rebuild sub-packages
8 -s, --symlink with -i, install symbolic links instead of copies
9+ -x, --exclude=STEPS steps we should not run
10 -m, --make when applicable, re-run ./configure && make
11 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
12
13@@ -136,6 +137,13 @@
14 # Recurse into subpackages
15 my $recursive = 1;
16
17+# Steps to exclude
18+my @exclude;
19+my @ex;
20+
21+my $uses_gettext;
22+my $configure_ac;
23+
24 ## ---------- ##
25 ## Routines. ##
26 ## ---------- ##
27@@ -153,6 +161,7 @@
28 'B|prepend-include=s' => \@prepend_include,
29 'i|install' => \$install,
30 's|symlink' => \$symlink,
31+ 'x|exclude=s' => \@exclude,
32 'm|make' => \$run_make,
33 'recursive!' => \$recursive);
34
35@@ -162,6 +171,8 @@
36 parse_WARNINGS;
37 parse_warnings '--warnings', @warning;
38
39+ @exclude = map { split /,/ } @exclude;
40+
41 # Even if the user specified a configure.ac, trim to get the
42 # directory, and look for configure.ac again. Because (i) the code
43 # is simpler, and (ii) we are still able to diagnose simultaneous
44@@ -255,6 +266,11 @@
45 {
46 my ($aclocal, $flags) = @_;
47
48+ @ex = grep (/^aclocal$/, @exclude);
49+ if ($#ex != -1) {
50+ return;
51+ }
52+
53 # aclocal 1.8+ does all this for free. It can be recognized by its
54 # --force support.
55 if ($aclocal_supports_force)
56@@ -368,7 +384,10 @@
57 }
58 else
59 {
60- xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
61+ @ex = grep (/^autopoint$/, @exclude);
62+ if ($#ex == -1) {
63+ xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
64+ }
65 }
66
67
68@@ -532,16 +551,17 @@
69 {
70 $libtoolize .= " --ltdl";
71 }
72- xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
73- $rerun_aclocal = 1;
74+ @ex = grep (/^libtoolize$/, @exclude);
75+ if ($#ex == -1) {
76+ xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
77+ $rerun_aclocal = 1;
78+ }
79 }
80 else
81 {
82 verb "$configure_ac: not running libtoolize: --install not given";
83 }
84
85-
86-
87 # ------------------- #
88 # Rerunning aclocal. #
89 # ------------------- #
90@@ -572,7 +592,10 @@
91 # latter runs the former, and (ii) autoconf is stricter than
92 # autoheader. So all in all, autoconf should give better error
93 # messages.
94- xsystem ($autoconf);
95+ @ex = grep (/^autoconf$/, @exclude);
96+ if ($#ex == -1) {
97+ xsystem ("$autoconf");
98+ }
99
100
101 # -------------------- #
102@@ -593,7 +616,10 @@
103 }
104 else
105 {
106- xsystem ($autoheader);
107+ @ex = grep (/^autoheader$/, @exclude);
108+ if ($#ex == -1) {
109+ xsystem ("$autoheader");
110+ }
111 }
112
113
114@@ -610,7 +636,10 @@
115 # We should always run automake, and let it decide whether it shall
116 # update the file or not. In fact, the effect of `$force' is already
117 # included in `$automake' via `--no-force'.
118- xsystem ($automake);
119+ @ex = grep (/^automake$/, @exclude);
120+ if ($#ex == -1) {
121+ xsystem ("$automake");
122+ }
123 }
124
125
126@@ -634,7 +663,10 @@
127 }
128 else
129 {
130- xsystem ("$make");
131+ @ex = grep (/^make$/, @exclude);
132+ if ($#ex == -1) {
133+ xsystem ("$make");
134+ }
135 }
136 }
137 }
diff --git a/meta/packages/autoconf/autoconf-2.63/autoreconf-foreign.patch b/meta/packages/autoconf/autoconf-2.63/autoreconf-foreign.patch
new file mode 100644
index 0000000000..587a823826
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/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.63/autoreconf-gnuconfigize.patch b/meta/packages/autoconf/autoconf-2.63/autoreconf-gnuconfigize.patch
new file mode 100644
index 0000000000..851d24330d
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/autoreconf-gnuconfigize.patch
@@ -0,0 +1,37 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: autoconf-2.63/bin/autoreconf.in
7===================================================================
8--- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:43:55.000000000 +0000
9+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:46:16.000000000 +0000
10@@ -58,7 +58,7 @@
11 $help = "Usage: $0 [OPTION]... [DIRECTORY]...
12
13 Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
14-(formerly `gettextize'), and `libtoolize' where appropriate)
15+(formerly `gettextize'), `libtoolize', and `gnu-configize' where appropriate)
16 repeatedly to remake the GNU Build System files in specified
17 DIRECTORIES and their subdirectories (defaulting to `.').
18
19@@ -115,6 +115,7 @@
20 my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
21 my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
22 my $make = $ENV{'MAKE'} || 'make';
23+my $gnuconfigize = $ENV{'GNUCONFIGIZE'} || 'gnu-configize';
24
25 # --install -- as --add-missing in other tools.
26 my $install = 0;
27@@ -644,6 +645,10 @@
28 }
29 }
30
31+ @ex = grep (/^gnu-configize$/, @exclude);
32+ if ($#ex == -1) {
33+ xsystem ("$gnuconfigize");
34+ }
35
36 # -------------- #
37 # Running make. #
diff --git a/meta/packages/autoconf/autoconf-2.63/autoreconf-include.patch b/meta/packages/autoconf/autoconf-2.63/autoreconf-include.patch
new file mode 100644
index 0000000000..08646c10af
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/autoreconf-include.patch
@@ -0,0 +1,12 @@
1Index: autoconf-2.63/bin/autoreconf.in
2===================================================================
3--- autoconf-2.63.orig/bin/autoreconf.in 2008-08-28 03:08:10.000000000 +0100
4+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:38:40.000000000 +0000
5@@ -190,6 +190,7 @@
6 $autoconf .= join (' --prepend-include=', '', map { shell_quote ($_) } @prepend_include);
7 $autoheader .= join (' --include=', '', map { shell_quote ($_) } @include);
8 $autoheader .= join (' --prepend-include=', '', map { shell_quote ($_) } @prepend_include);
9+ $aclocal .= join (' -I ', '', map { shell_quote ($_) } @include);
10
11 # --install and --symlink;
12 if ($install)
diff --git a/meta/packages/autoconf/autoconf-2.63/config-site.patch b/meta/packages/autoconf/autoconf-2.63/config-site.patch
new file mode 100644
index 0000000000..0fa49720c1
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/config-site.patch
@@ -0,0 +1,13 @@
1Index: autoconf-2.61/lib/autoconf/general.m4
2===================================================================
3--- autoconf-2.61.orig/lib/autoconf/general.m4 2007-07-10 15:09:01.000000000 +0100
4+++ autoconf-2.61/lib/autoconf/general.m4 2007-07-10 15:09:17.000000000 +0100
5@@ -1767,7 +1767,7 @@
6 m4_define([AC_SITE_LOAD],
7 [# Prefer explicitly selected file to automatically selected ones.
8 if test -n "$CONFIG_SITE"; then
9- set x "$CONFIG_SITE"
10+ set x $CONFIG_SITE
11 elif test "x$prefix" != xNONE; then
12 set x "$prefix/share/config.site" "$prefix/etc/config.site"
13 else
diff --git a/meta/packages/autoconf/autoconf-2.63/fix_path_xtra.patch b/meta/packages/autoconf/autoconf-2.63/fix_path_xtra.patch
new file mode 100644
index 0000000000..bd39e1f917
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/fix_path_xtra.patch
@@ -0,0 +1,114 @@
1We don't build xmkmf so any values returned from it are going to be wrong.
2Using any paths in /usr/ for x headers/libs is a bad idea when cross compiling.
3This patch removes them to stop any confusion.
4
5RP - 20071115
6
7Index: autoconf-2.63/lib/autoconf/libs.m4
8===================================================================
9--- autoconf-2.63.orig/lib/autoconf/libs.m4 2008-12-31 17:51:09.000000000 +0000
10+++ autoconf-2.63/lib/autoconf/libs.m4 2008-12-31 17:51:44.000000000 +0000
11@@ -180,53 +180,6 @@
12 # --------------------- #
13
14
15-# _AC_PATH_X_XMKMF
16-# ----------------
17-# Internal subroutine of _AC_PATH_X.
18-# Set ac_x_includes and/or ac_x_libraries.
19-m4_define([_AC_PATH_X_XMKMF],
20-[AC_ARG_VAR(XMKMF, [Path to xmkmf, Makefile generator for X Window System])dnl
21-rm -f -r conftest.dir
22-if mkdir conftest.dir; then
23- cd conftest.dir
24- cat >Imakefile <<'_ACEOF'
25-incroot:
26- @echo incroot='${INCROOT}'
27-usrlibdir:
28- @echo usrlibdir='${USRLIBDIR}'
29-libdir:
30- @echo libdir='${LIBDIR}'
31-_ACEOF
32- if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
33- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34- for ac_var in incroot usrlibdir libdir; do
35- eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
36- done
37- # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
38- for ac_extension in a so sl dylib la dll; do
39- if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
40- test -f "$ac_im_libdir/libX11.$ac_extension"; then
41- ac_im_usrlibdir=$ac_im_libdir; break
42- fi
43- done
44- # Screen out bogus values from the imake configuration. They are
45- # bogus both because they are the default anyway, and because
46- # using them would break gcc on systems where it needs fixed includes.
47- case $ac_im_incroot in
48- /usr/include) ac_x_includes= ;;
49- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
50- esac
51- case $ac_im_usrlibdir in
52- /usr/lib | /usr/lib64 | /lib | /lib64) ;;
53- *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
54- esac
55- fi
56- cd ..
57- rm -f -r conftest.dir
58-fi
59-])# _AC_PATH_X_XMKMF
60-
61-
62 # _AC_PATH_X_DIRECT
63 # -----------------
64 # Internal subroutine of _AC_PATH_X.
65@@ -234,40 +187,7 @@
66 m4_define([_AC_PATH_X_DIRECT],
67 [# Standard set of common directories for X headers.
68 # Check X11 before X11Rn because it is often a symlink to the current release.
69-ac_x_header_dirs='
70-/usr/X11/include
71-/usr/X11R6/include
72-/usr/X11R5/include
73-/usr/X11R4/include
74-
75-/usr/include/X11
76-/usr/include/X11R6
77-/usr/include/X11R5
78-/usr/include/X11R4
79-
80-/usr/local/X11/include
81-/usr/local/X11R6/include
82-/usr/local/X11R5/include
83-/usr/local/X11R4/include
84-
85-/usr/local/include/X11
86-/usr/local/include/X11R6
87-/usr/local/include/X11R5
88-/usr/local/include/X11R4
89-
90-/usr/X386/include
91-/usr/x386/include
92-/usr/XFree86/include/X11
93-
94-/usr/include
95-/usr/local/include
96-/usr/unsupported/include
97-/usr/athena/include
98-/usr/local/x11r5/include
99-/usr/lpp/Xamples/include
100-
101-/usr/openwin/include
102-/usr/openwin/share/include'
103+ac_x_header_dirs=''
104
105 if test "$ac_x_includes" = no; then
106 # Guess where to find include files, by looking for Xlib.h.
107@@ -316,7 +236,6 @@
108 [AC_CACHE_VAL(ac_cv_have_x,
109 [# One or both of the vars are not set, and there is no cached value.
110 ac_x_includes=no ac_x_libraries=no
111-_AC_PATH_X_XMKMF
112 _AC_PATH_X_DIRECT
113 case $ac_x_includes,$ac_x_libraries in #(
114 no,* | *,no | *\'*)
diff --git a/meta/packages/autoconf/autoconf-2.63/path_prog_fixes.patch b/meta/packages/autoconf/autoconf-2.63/path_prog_fixes.patch
new file mode 100644
index 0000000000..f47b973ab6
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/path_prog_fixes.patch
@@ -0,0 +1,126 @@
1Index: autoconf-2.63/bin/autoheader.in
2===================================================================
3--- autoconf-2.63.orig/bin/autoheader.in 2008-12-31 17:48:33.000000000 +0000
4+++ autoconf-2.63/bin/autoheader.in 2008-12-31 17:48:33.000000000 +0000
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.63/bin/autom4te.in
17===================================================================
18--- autoconf-2.63.orig/bin/autom4te.in 2008-08-28 03:08:41.000000000 +0100
19+++ autoconf-2.63/bin/autom4te.in 2008-12-31 17:48:33.000000000 +0000
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@@ -88,7 +90,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.63/bin/autoreconf.in
43===================================================================
44--- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:48:33.000000000 +0000
45+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:48:33.000000000 +0000
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.63/bin/autoscan.in
60===================================================================
61--- autoconf-2.63.orig/bin/autoscan.in 2008-08-28 03:08:10.000000000 +0100
62+++ autoconf-2.63/bin/autoscan.in 2008-12-31 17:48:33.000000000 +0000
63@@ -1,4 +1,4 @@
64-#! @PERL@ -w
65+#! @bindir@/env perl
66 # -*- perl -*-
67 # @configure_input@
68
69@@ -23,7 +23,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.63/bin/autoupdate.in
81===================================================================
82--- autoconf-2.63.orig/bin/autoupdate.in 2008-08-28 03:08:10.000000000 +0100
83+++ autoconf-2.63/bin/autoupdate.in 2008-12-31 17:48:33.000000000 +0000
84@@ -1,4 +1,4 @@
85-#! @PERL@ -w
86+#! @bindir@/env perl
87 # -*- perl -*-
88 # @configure_input@
89
90@@ -24,7 +24,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@@ -56,7 +58,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.63/bin/ifnames.in
111===================================================================
112--- autoconf-2.63.orig/bin/ifnames.in 2008-08-28 03:08:10.000000000 +0100
113+++ autoconf-2.63/bin/ifnames.in 2008-12-31 17:48:33.000000000 +0000
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.63/program_prefix.patch b/meta/packages/autoconf/autoconf-2.63/program_prefix.patch
new file mode 100644
index 0000000000..e6f4096a97
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/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.63/sizeof_types.patch b/meta/packages/autoconf/autoconf-2.63/sizeof_types.patch
new file mode 100644
index 0000000000..30fd5c1926
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-2.63/sizeof_types.patch
@@ -0,0 +1,87 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: autoconf-2.59/lib/autoconf/types.m4
7===================================================================
8--- autoconf-2.59.orig/lib/autoconf/types.m4 2003-05-22 14:05:14.000000000 +0200
9+++ autoconf-2.59/lib/autoconf/types.m4 2006-08-06 02:05:02.000000000 +0200
10@@ -380,26 +380,66 @@
11 # Generic checks. #
12 # ---------------- #
13
14+# Backport of AC_CHECK_TARGET_TOOL from autoconf 2.60
15+# AC_CHECK_TARGET_TOOL(VARIABLE, PROG-TO-CHECK-FOR, [VALUE-IF-NOT-FOUND], [PATH )
16+# ------------------------------------------------------------------------
17+# (Use different variables $1 and ac_ct_$1 so that cache vars don't conflict.)
18+AC_DEFUN([AC_CHECK_TARGET_TOOL],
19+[AC_BEFORE([$0], [AC_CANONICAL_TARGET])dnl
20+AC_CHECK_PROG([$1], [$target_alias-$2], [$target_alias-$2], , [$4])
21+if test -z "$ac_cv_prog_$1"; then
22+ if test "$build" = "$target"; then
23+ ac_ct_$1=$$1
24+ AC_CHECK_PROG([ac_ct_$1], [$2], [$2], [$3], [$4])
25+ $1=ac_ct_$1
26+ else
27+ $1="$3"
28+ fi
29+else
30+ $1="$ac_cv_prog_$1"
31+fi
32+])# AC_CHECK_TARGET_TOOL
33+
34+
35+AC_DEFUN([AC_PROG_SIZE],
36+[
37+ AC_CHECK_TARGET_TOOL([SIZE], [size], [size], [$PATH])
38+])
39
40 # AC_CHECK_SIZEOF(TYPE, [IGNORED], [INCLUDES = DEFAULT-INCLUDES])
41 # ---------------------------------------------------------------
42 AC_DEFUN([AC_CHECK_SIZEOF],
43-[AS_LITERAL_IF([$1], [],
44+[AC_REQUIRE([AC_PROG_SIZE])
45+AC_REQUIRE([AC_PROG_AWK])
46+ AS_LITERAL_IF([$1], [],
47 [AC_FATAL([$0: requires literal arguments])])dnl
48 AC_CHECK_TYPE([$1], [], [], [$3])
49 AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
50-[if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
51- # The cast to unsigned long works around a bug in the HP C Compiler
52- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
53- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
54- # This bug is HP SR number 8606223364.
55- _AC_COMPUTE_INT([(long) (sizeof ($1))],
56- [AS_TR_SH([ac_cv_sizeof_$1])],
57- [AC_INCLUDES_DEFAULT([$3])],
58- [AC_MSG_FAILURE([cannot compute sizeof ($1), 77])])
59+[
60+if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
61+ if test "$cross_compiling" = yes; then
62+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])],
63+ [extern void dummy($1); static const $1 x[[256]]; dummy(x);])],
64+ [
65+ AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'`
66+ ],
67+ [
68+ AS_TR_SH([ac_cv_sizeof_$1])=0
69+ ])
70+ else
71+ # The cast to unsigned long works around a bug in the HP C Compiler
72+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74+ # This bug is HP SR number 8606223364.
75+ _AC_COMPUTE_INT([(long) (sizeof ($1))],
76+ [AS_TR_SH([ac_cv_sizeof_$1])],
77+ [AC_INCLUDES_DEFAULT([$3])],
78+ [AC_MSG_FAILURE([cannot compute sizeof ($1), 77])])
79+ fi
80 else
81 AS_TR_SH([ac_cv_sizeof_$1])=0
82-fi])dnl
83+fi
84+])dnl
85 AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
86 [The size of a `$1', as computed by sizeof.])
87 ])# AC_CHECK_SIZEOF
diff --git a/meta/packages/autoconf/autoconf-native_2.63.bb b/meta/packages/autoconf/autoconf-native_2.63.bb
new file mode 100644
index 0000000000..1dea334425
--- /dev/null
+++ b/meta/packages/autoconf/autoconf-native_2.63.bb
@@ -0,0 +1,8 @@
1require autoconf_${PV}.bb
2
3DEPENDS = "m4-native gnu-config-native"
4RDEPENDS_${PN} = "m4-native gnu-config-native"
5
6SRC_URI += "file://fix_path_xtra.patch;patch=1"
7
8inherit native
diff --git a/meta/packages/autoconf/autoconf.inc b/meta/packages/autoconf/autoconf.inc
index 7761af06d7..8816a66d32 100644
--- a/meta/packages/autoconf/autoconf.inc
+++ b/meta/packages/autoconf/autoconf.inc
@@ -1,6 +1,6 @@
1DESCRIPTION = "A package of M4 macros to produce scripts to \ 1DESCRIPTION = "A package of M4 macros to produce scripts to \
2automatically configure sourcecode." 2automatically configure sourcecode."
3LICENSE = "GPL" 3LICENSE = "GPLv3"
4HOMEPAGE = "http://www.gnu.org/software/autoconf/" 4HOMEPAGE = "http://www.gnu.org/software/autoconf/"
5SECTION = "devel" 5SECTION = "devel"
6DEPENDS += "m4-native" 6DEPENDS += "m4-native"
diff --git a/meta/packages/autoconf/autoconf_2.61.bb b/meta/packages/autoconf/autoconf_2.61.bb
index 6b92dc8120..33c1a9c775 100644
--- a/meta/packages/autoconf/autoconf_2.61.bb
+++ b/meta/packages/autoconf/autoconf_2.61.bb
@@ -2,6 +2,8 @@ require autoconf.inc
2 2
3PR = "r1" 3PR = "r1"
4 4
5LICENSE = "GPLv2"
6
5PARALLEL_MAKE = "" 7PARALLEL_MAKE = ""
6 8
7DEPENDS += "m4-native" 9DEPENDS += "m4-native"
diff --git a/meta/packages/autoconf/autoconf_2.63.bb b/meta/packages/autoconf/autoconf_2.63.bb
new file mode 100644
index 0000000000..03bcc18513
--- /dev/null
+++ b/meta/packages/autoconf/autoconf_2.63.bb
@@ -0,0 +1,17 @@
1require autoconf.inc
2
3PR = "r1"
4
5PARALLEL_MAKE = ""
6
7DEPENDS += "m4-native"
8RDEPENDS_${PN} = "m4 gnu-config"
9
10SRC_URI += "file://autoreconf-include.patch;patch=1 \
11 file://autoreconf-exclude.patch;patch=1 \
12 file://autoreconf-foreign.patch;patch=1 \
13 file://autoreconf-gnuconfigize.patch;patch=1 \
14 file://autoheader-nonfatal-warnings.patch;patch=1 \
15 ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
16
17DEFAULT_PREFERENCE = "-1" \ No newline at end of file