summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2013-12-10 16:58:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 17:42:43 +0000
commit511997535fbaa2976b85d8f2fa8607027e276148 (patch)
tree3ccc0c05b2620c12c88e190dbd8bc22a97036a6c /meta/recipes-devtools/gdb
parent2b428f455db79de95a3a13bd3a5ac6b9bcbbfb96 (diff)
downloadpoky-511997535fbaa2976b85d8f2fa8607027e276148.tar.gz
meta/*: remove unnecessary patches
The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb/libiberty-cross.patch632
1 files changed, 0 insertions, 632 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/libiberty-cross.patch b/meta/recipes-devtools/gdb/gdb/libiberty-cross.patch
deleted file mode 100644
index d051fdf1ba..0000000000
--- a/meta/recipes-devtools/gdb/gdb/libiberty-cross.patch
+++ /dev/null
@@ -1,632 +0,0 @@
1Upstream-Status: Pending
2
3--- libiberty/configure.in.old 2004-03-31 21:25:25.000000000 +0100
4+++ libiberty/configure.in 2004-03-31 21:18:02.000000000 +0100
5@@ -100,6 +100,7 @@
6 AC_CHECK_TOOL(RANLIB, ranlib, :)
7
8 LIB_AC_PROG_CC
9+AC_PROG_CC_WORKS
10
11 AC_PROG_CC_C_O
12 # autoconf is lame and doesn't give us any substitution variable for this.
13@@ -402,7 +403,6 @@
14
15 # We haven't set the list of objects yet. Use the standard autoconf
16 # tests. This will only work if the compiler works.
17- AC_PROG_CC_WORKS
18 AC_REPLACE_FUNCS($funcs)
19 libiberty_AC_FUNC_C_ALLOCA
20 AC_FUNC_VFORK
21
22--- libiberty/configure.old 2003-06-19 21:05:35.000000000 +0100
23+++ libiberty/configure 2004-03-31 21:35:12.000000000 +0100
24@@ -1000,13 +1000,60 @@
25 fi
26
27
28+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
29+echo "configure:1005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
30+
31+ac_ext=c
32+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
33+ac_cpp='$CPP $CPPFLAGS'
34+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
35+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
36+cross_compiling=$ac_cv_prog_cc_cross
37+
38+cat > conftest.$ac_ext << EOF
39+
40+#line 1016 "configure"
41+#include "confdefs.h"
42+
43+main(){return(0);}
44+EOF
45+if { (eval echo configure:1021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
46+ ac_cv_prog_cc_works=yes
47+ # If we can't run a trivial program, we are probably using a cross compiler.
48+ if (./conftest; exit) 2>/dev/null; then
49+ ac_cv_prog_cc_cross=no
50+ else
51+ ac_cv_prog_cc_cross=yes
52+ fi
53+else
54+ echo "configure: failed program was:" >&5
55+ cat conftest.$ac_ext >&5
56+ ac_cv_prog_cc_works=no
57+fi
58+rm -fr conftest*
59+ac_ext=c
60+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
61+ac_cpp='$CPP $CPPFLAGS'
62+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
63+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
64+cross_compiling=$ac_cv_prog_cc_cross
65+
66+echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
67+if test $ac_cv_prog_cc_works = no; then
68+ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
69+fi
70+echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
71+echo "configure:1047: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
72+echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
73+cross_compiling=$ac_cv_prog_cc_cross
74+
75
76 if test "x$CC" != xcc; then
77 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
78-echo "configure:1007: checking whether $CC and cc understand -c and -o together" >&5
79+echo "configure:1054: checking whether $CC and cc understand -c and -o together" >&5
80 else
81 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
82-echo "configure:1010: checking whether cc understands -c and -o together" >&5
83+echo "configure:1057: checking whether cc understands -c and -o together" >&5
84 fi
85 set dummy $CC; ac_cc="`echo $2 |
86 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
87@@ -1018,16 +1065,16 @@
88 # We do the test twice because some compilers refuse to overwrite an
89 # existing .o file with -o, though they will create one.
90 ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
91-if { (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
92- test -f conftest.o && { (eval echo configure:1023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
93+if { (eval echo configure:1069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
94+ test -f conftest.o && { (eval echo configure:1070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
95 then
96 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
97 if test "x$CC" != xcc; then
98 # Test first that cc exists at all.
99- if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
100+ if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
101 ac_try='cc -c conftest.c -o conftest.o 1>&5'
102- if { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
103- test -f conftest.o && { (eval echo configure:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
104+ if { (eval echo configure:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
105+ test -f conftest.o && { (eval echo configure:1078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
106 then
107 # cc works too.
108 :
109@@ -1063,7 +1110,7 @@
110
111
112 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
113-echo "configure:1067: checking for POSIXized ISC" >&5
114+echo "configure:1114: checking for POSIXized ISC" >&5
115 if test -d /etc/conf/kconfig.d &&
116 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
117 then
118@@ -1084,12 +1131,12 @@
119 fi
120
121 echo $ac_n "checking for working const""... $ac_c" 1>&6
122-echo "configure:1088: checking for working const" >&5
123+echo "configure:1135: checking for working const" >&5
124 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
125 echo $ac_n "(cached) $ac_c" 1>&6
126 else
127 cat > conftest.$ac_ext <<EOF
128-#line 1093 "configure"
129+#line 1140 "configure"
130 #include "confdefs.h"
131
132 int main() {
133@@ -1138,7 +1185,7 @@
134
135 ; return 0; }
136 EOF
137-if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
138+if { (eval echo configure:1189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
139 rm -rf conftest*
140 ac_cv_c_const=yes
141 else
142@@ -1159,21 +1206,21 @@
143 fi
144
145 echo $ac_n "checking for inline""... $ac_c" 1>&6
146-echo "configure:1163: checking for inline" >&5
147+echo "configure:1210: checking for inline" >&5
148 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
149 echo $ac_n "(cached) $ac_c" 1>&6
150 else
151 ac_cv_c_inline=no
152 for ac_kw in inline __inline__ __inline; do
153 cat > conftest.$ac_ext <<EOF
154-#line 1170 "configure"
155+#line 1217 "configure"
156 #include "confdefs.h"
157
158 int main() {
159 } $ac_kw foo() {
160 ; return 0; }
161 EOF
162-if { (eval echo configure:1177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
163+if { (eval echo configure:1224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
164 rm -rf conftest*
165 ac_cv_c_inline=$ac_kw; break
166 else
167@@ -1199,14 +1246,14 @@
168 esac
169
170 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
171-echo "configure:1203: checking whether byte ordering is bigendian" >&5
172+echo "configure:1250: checking whether byte ordering is bigendian" >&5
173 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
174 echo $ac_n "(cached) $ac_c" 1>&6
175 else
176 ac_cv_c_bigendian=unknown
177 # See if sys/param.h defines the BYTE_ORDER macro.
178 cat > conftest.$ac_ext <<EOF
179-#line 1210 "configure"
180+#line 1257 "configure"
181 #include "confdefs.h"
182 #include <sys/types.h>
183 #include <sys/param.h>
184@@ -1217,11 +1264,11 @@
185 #endif
186 ; return 0; }
187 EOF
188-if { (eval echo configure:1221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
189+if { (eval echo configure:1268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
190 rm -rf conftest*
191 # It does; now see whether it defined to BIG_ENDIAN or not.
192 cat > conftest.$ac_ext <<EOF
193-#line 1225 "configure"
194+#line 1272 "configure"
195 #include "confdefs.h"
196 #include <sys/types.h>
197 #include <sys/param.h>
198@@ -1232,7 +1279,7 @@
199 #endif
200 ; return 0; }
201 EOF
202-if { (eval echo configure:1236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
203+if { (eval echo configure:1283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
204 rm -rf conftest*
205 ac_cv_c_bigendian=yes
206 else
207@@ -1252,7 +1299,7 @@
208 echo $ac_n "cross-compiling... " 2>&6
209 else
210 cat > conftest.$ac_ext <<EOF
211-#line 1256 "configure"
212+#line 1303 "configure"
213 #include "confdefs.h"
214 main () {
215 /* Are we little or big endian? From Harbison&Steele. */
216@@ -1265,7 +1312,7 @@
217 exit (u.c[sizeof (long) - 1] == 1);
218 }
219 EOF
220-if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
221+if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
222 then
223 ac_cv_c_bigendian=no
224 else
225@@ -1283,7 +1330,7 @@
226 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
227 if test $ac_cv_c_bigendian = unknown; then
228 echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
229-echo "configure:1287: checking to probe for byte ordering" >&5
230+echo "configure:1334: checking to probe for byte ordering" >&5
231
232 cat >conftest.c <<EOF
233 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
234@@ -1352,7 +1399,7 @@
235 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
236 # ./install, which can be erroneously created by make from ./install.sh.
237 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
238-echo "configure:1356: checking for a BSD compatible install" >&5
239+echo "configure:1403: checking for a BSD compatible install" >&5
240 if test -z "$INSTALL"; then
241 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
242 echo $ac_n "(cached) $ac_c" 1>&6
243@@ -1413,7 +1460,7 @@
244 # able to link anything, it had better be able to at least compile
245 # something.
246 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
247-echo "configure:1417: checking how to run the C preprocessor" >&5
248+echo "configure:1464: checking how to run the C preprocessor" >&5
249 # On Suns, sometimes $CPP names a directory.
250 if test -n "$CPP" && test -d "$CPP"; then
251 CPP=
252@@ -1428,13 +1475,13 @@
253 # On the NeXT, cc -E runs the code through the compiler's parser,
254 # not just through cpp.
255 cat > conftest.$ac_ext <<EOF
256-#line 1432 "configure"
257+#line 1479 "configure"
258 #include "confdefs.h"
259 #include <assert.h>
260 Syntax Error
261 EOF
262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
263-{ (eval echo configure:1438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
264+{ (eval echo configure:1485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
266 if test -z "$ac_err"; then
267 :
268@@ -1445,13 +1492,13 @@
269 rm -rf conftest*
270 CPP="${CC-cc} -E -traditional-cpp"
271 cat > conftest.$ac_ext <<EOF
272-#line 1449 "configure"
273+#line 1496 "configure"
274 #include "confdefs.h"
275 #include <assert.h>
276 Syntax Error
277 EOF
278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
279-{ (eval echo configure:1455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
280+{ (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
282 if test -z "$ac_err"; then
283 :
284@@ -1462,13 +1509,13 @@
285 rm -rf conftest*
286 CPP="${CC-cc} -nologo -E"
287 cat > conftest.$ac_ext <<EOF
288-#line 1466 "configure"
289+#line 1513 "configure"
290 #include "confdefs.h"
291 #include <assert.h>
292 Syntax Error
293 EOF
294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
295-{ (eval echo configure:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
296+{ (eval echo configure:1519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
298 if test -z "$ac_err"; then
299 :
300@@ -1496,17 +1543,17 @@
301 do
302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
304-echo "configure:1500: checking for $ac_hdr" >&5
305+echo "configure:1547: checking for $ac_hdr" >&5
306 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
307 echo $ac_n "(cached) $ac_c" 1>&6
308 else
309 cat > conftest.$ac_ext <<EOF
310-#line 1505 "configure"
311+#line 1552 "configure"
312 #include "confdefs.h"
313 #include <$ac_hdr>
314 EOF
315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
316-{ (eval echo configure:1510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
317+{ (eval echo configure:1557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
319 if test -z "$ac_err"; then
320 rm -rf conftest*
321@@ -1533,12 +1580,12 @@
322 done
323
324 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
325-echo "configure:1537: checking for sys/wait.h that is POSIX.1 compatible" >&5
326+echo "configure:1584: checking for sys/wait.h that is POSIX.1 compatible" >&5
327 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
328 echo $ac_n "(cached) $ac_c" 1>&6
329 else
330 cat > conftest.$ac_ext <<EOF
331-#line 1542 "configure"
332+#line 1589 "configure"
333 #include "confdefs.h"
334 #include <sys/types.h>
335 #include <sys/wait.h>
336@@ -1554,7 +1601,7 @@
337 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
338 ; return 0; }
339 EOF
340-if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
341+if { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
342 rm -rf conftest*
343 ac_cv_header_sys_wait_h=yes
344 else
345@@ -1575,12 +1622,12 @@
346 fi
347
348 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
349-echo "configure:1579: checking whether time.h and sys/time.h may both be included" >&5
350+echo "configure:1626: checking whether time.h and sys/time.h may both be included" >&5
351 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
352 echo $ac_n "(cached) $ac_c" 1>&6
353 else
354 cat > conftest.$ac_ext <<EOF
355-#line 1584 "configure"
356+#line 1631 "configure"
357 #include "confdefs.h"
358 #include <sys/types.h>
359 #include <sys/time.h>
360@@ -1589,7 +1636,7 @@
361 struct tm *tp;
362 ; return 0; }
363 EOF
364-if { (eval echo configure:1593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
365+if { (eval echo configure:1640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
366 rm -rf conftest*
367 ac_cv_header_time=yes
368 else
369@@ -1611,19 +1658,19 @@
370
371
372 echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6
373-echo "configure:1615: checking whether errno must be declared" >&5
374+echo "configure:1662: checking whether errno must be declared" >&5
375 if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then
376 echo $ac_n "(cached) $ac_c" 1>&6
377 else
378 cat > conftest.$ac_ext <<EOF
379-#line 1620 "configure"
380+#line 1667 "configure"
381 #include "confdefs.h"
382 #include <errno.h>
383 int main() {
384 int x = errno;
385 ; return 0; }
386 EOF
387-if { (eval echo configure:1627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
388+if { (eval echo configure:1674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
389 rm -rf conftest*
390 libiberty_cv_declare_errno=no
391 else
392@@ -1645,12 +1692,12 @@
393
394
395 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
396-echo "configure:1649: checking for ANSI C header files" >&5
397+echo "configure:1696: checking for ANSI C header files" >&5
398 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
399 echo $ac_n "(cached) $ac_c" 1>&6
400 else
401 cat > conftest.$ac_ext <<EOF
402-#line 1654 "configure"
403+#line 1701 "configure"
404 #include "confdefs.h"
405 #include <stdlib.h>
406 #include <stdarg.h>
407@@ -1658,7 +1705,7 @@
408 #include <float.h>
409 EOF
410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
411-{ (eval echo configure:1662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
412+{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
414 if test -z "$ac_err"; then
415 rm -rf conftest*
416@@ -1675,7 +1722,7 @@
417 if test $ac_cv_header_stdc = yes; then
418 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
419 cat > conftest.$ac_ext <<EOF
420-#line 1679 "configure"
421+#line 1726 "configure"
422 #include "confdefs.h"
423 #include <string.h>
424 EOF
425@@ -1693,7 +1740,7 @@
426 if test $ac_cv_header_stdc = yes; then
427 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
428 cat > conftest.$ac_ext <<EOF
429-#line 1697 "configure"
430+#line 1744 "configure"
431 #include "confdefs.h"
432 #include <stdlib.h>
433 EOF
434@@ -1714,7 +1761,7 @@
435 :
436 else
437 cat > conftest.$ac_ext <<EOF
438-#line 1718 "configure"
439+#line 1765 "configure"
440 #include "confdefs.h"
441 #include <ctype.h>
442 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
443@@ -1725,7 +1772,7 @@
444 exit (0); }
445
446 EOF
447-if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
448+if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
449 then
450 :
451 else
452@@ -1749,12 +1796,12 @@
453 fi
454
455 echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6
456-echo "configure:1753: checking for uintptr_t" >&5
457+echo "configure:1800: checking for uintptr_t" >&5
458 if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then
459 echo $ac_n "(cached) $ac_c" 1>&6
460 else
461 cat > conftest.$ac_ext <<EOF
462-#line 1758 "configure"
463+#line 1805 "configure"
464 #include "confdefs.h"
465 #include <sys/types.h>
466 #if STDC_HEADERS
467@@ -1790,12 +1837,12 @@
468
469
470 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
471-echo "configure:1794: checking for pid_t" >&5
472+echo "configure:1841: checking for pid_t" >&5
473 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
474 echo $ac_n "(cached) $ac_c" 1>&6
475 else
476 cat > conftest.$ac_ext <<EOF
477-#line 1799 "configure"
478+#line 1846 "configure"
479 #include "confdefs.h"
480 #include <sys/types.h>
481 #if STDC_HEADERS
482@@ -1895,12 +1942,12 @@
483 realpath canonicalize_file_name
484 do
485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
486-echo "configure:1899: checking for $ac_func" >&5
487+echo "configure:1946: checking for $ac_func" >&5
488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
489 echo $ac_n "(cached) $ac_c" 1>&6
490 else
491 cat > conftest.$ac_ext <<EOF
492-#line 1904 "configure"
493+#line 1951 "configure"
494 #include "confdefs.h"
495 /* System header to define __stub macros and hopefully few prototypes,
496 which can conflict with char $ac_func(); below. */
497@@ -1923,7 +1970,7 @@
498
499 ; return 0; }
500 EOF
501-if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
502+if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
503 rm -rf conftest*
504 eval "ac_cv_func_$ac_func=yes"
505 else
506@@ -2152,53 +2199,6 @@
507
508 # We haven't set the list of objects yet. Use the standard autoconf
509 # tests. This will only work if the compiler works.
510- echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
511-echo "configure:2157: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
512-
513-ac_ext=c
514-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
515-ac_cpp='$CPP $CPPFLAGS'
516-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
517-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
518-cross_compiling=$ac_cv_prog_cc_cross
519-
520-cat > conftest.$ac_ext << EOF
521-
522-#line 2168 "configure"
523-#include "confdefs.h"
524-
525-main(){return(0);}
526-EOF
527-if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
528- ac_cv_prog_cc_works=yes
529- # If we can't run a trivial program, we are probably using a cross compiler.
530- if (./conftest; exit) 2>/dev/null; then
531- ac_cv_prog_cc_cross=no
532- else
533- ac_cv_prog_cc_cross=yes
534- fi
535-else
536- echo "configure: failed program was:" >&5
537- cat conftest.$ac_ext >&5
538- ac_cv_prog_cc_works=no
539-fi
540-rm -fr conftest*
541-ac_ext=c
542-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
543-ac_cpp='$CPP $CPPFLAGS'
544-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
545-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
546-cross_compiling=$ac_cv_prog_cc_cross
547-
548-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
549-if test $ac_cv_prog_cc_works = no; then
550- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
551-fi
552-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
553-echo "configure:2199: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
554-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
555-cross_compiling=$ac_cv_prog_cc_cross
556-
557 for ac_func in $funcs
558 do
559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
560@@ -2900,7 +2900,7 @@
561 esac
562
563
564-for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
565+for ac_hdr in unistd.h
566 do
567 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
568 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
569@@ -3032,24 +3032,11 @@
570 #include <fcntl.h>
571 #include <sys/mman.h>
572
573-#if HAVE_SYS_TYPES_H
574-# include <sys/types.h>
575-#endif
576-
577-#if HAVE_STDLIB_H
578-# include <stdlib.h>
579-#endif
580-
581-#if HAVE_SYS_STAT_H
582-# include <sys/stat.h>
583-#endif
584-
585-#if HAVE_UNISTD_H
586-# include <unistd.h>
587-#endif
588-
589 /* This mess was copied from the GNU getpagesize.h. */
590 #ifndef HAVE_GETPAGESIZE
591+# ifdef HAVE_UNISTD_H
592+# include <unistd.h>
593+# endif
594
595 /* Assume that all systems that can run configure have sys/param.h. */
596 # ifndef HAVE_SYS_PARAM_H
597@@ -3157,7 +3144,7 @@
598 }
599
600 EOF
601-if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
602+if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
603 then
604 ac_cv_func_mmap_fixed_mapped=yes
605 else
606@@ -3181,7 +3168,7 @@
607
608
609 echo $ac_n "checking for working strncmp""... $ac_c" 1>&6
610-echo "configure:3185: checking for working strncmp" >&5
611+echo "configure:3172: checking for working strncmp" >&5
612 if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then
613 echo $ac_n "(cached) $ac_c" 1>&6
614 else
615@@ -3189,7 +3176,7 @@
616 ac_cv_func_strncmp_works=no
617 else
618 cat > conftest.$ac_ext <<EOF
619-#line 3193 "configure"
620+#line 3180 "configure"
621 #include "confdefs.h"
622
623 /* Test by Jim Wilson and Kaveh Ghazi.
624@@ -3253,7 +3240,7 @@
625 }
626
627 EOF
628-if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
629+if { (eval echo configure:3244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
630 then
631 ac_cv_func_strncmp_works=yes
632 else