updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / sidplay2 / config.guess.diff
blobf13942a1f400c1b62c17c1e0dde573b6d655ca1a
1 --- sidplay-2.0.9.orig/config.guess
2 +++ sidplay-2.0.9/config.guess
3 @@ -0,0 +1,1526 @@
4 +#! /bin/sh
5 +# Attempt to guess a canonical system name.
6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
7 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
8 +# Free Software Foundation, Inc.
10 +timestamp='2008-01-23'
12 +# This file is free software; you can redistribute it and/or modify it
13 +# under the terms of the GNU General Public License as published by
14 +# the Free Software Foundation; either version 2 of the License, or
15 +# (at your option) any later version.
17 +# This program is distributed in the hope that it will be useful, but
18 +# WITHOUT ANY WARRANTY; without even the implied warranty of
19 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 +# General Public License for more details.
22 +# You should have received a copy of the GNU General Public License
23 +# along with this program; if not, write to the Free Software
24 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25 +# 02110-1301, USA.
27 +# As a special exception to the GNU General Public License, if you
28 +# distribute this file as part of a program that contains a
29 +# configuration script generated by Autoconf, you may include it under
30 +# the same distribution terms that you use for the rest of that program.
33 +# Originally written by Per Bothner <per@bothner.com>.
34 +# Please send patches to <config-patches@gnu.org>. Submit a context
35 +# diff and a properly formatted ChangeLog entry.
37 +# This script attempts to guess a canonical system name similar to
38 +# config.sub. If it succeeds, it prints the system name on stdout, and
39 +# exits with 0. Otherwise, it exits with 1.
41 +# The plan is that this can be called by configure scripts if you
42 +# don't specify an explicit build system type.
44 +me=`echo "$0" | sed -e 's,.*/,,'`
46 +usage="\
47 +Usage: $0 [OPTION]
49 +Output the configuration name of the system \`$me' is run on.
51 +Operation modes:
52 + -h, --help print this help, then exit
53 + -t, --time-stamp print date of last modification, then exit
54 + -v, --version print version number, then exit
56 +Report bugs and patches to <config-patches@gnu.org>."
58 +version="\
59 +GNU config.guess ($timestamp)
61 +Originally written by Per Bothner.
62 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
63 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
65 +This is free software; see the source for copying conditions. There is NO
66 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
68 +help="
69 +Try \`$me --help' for more information."
71 +# Parse command line
72 +while test $# -gt 0 ; do
73 + case $1 in
74 + --time-stamp | --time* | -t )
75 + echo "$timestamp" ; exit ;;
76 + --version | -v )
77 + echo "$version" ; exit ;;
78 + --help | --h* | -h )
79 + echo "$usage"; exit ;;
80 + -- ) # Stop option processing
81 + shift; break ;;
82 + - ) # Use stdin as input.
83 + break ;;
84 + -* )
85 + echo "$me: invalid option $1$help" >&2
86 + exit 1 ;;
87 + * )
88 + break ;;
89 + esac
90 +done
92 +if test $# != 0; then
93 + echo "$me: too many arguments$help" >&2
94 + exit 1
95 +fi
97 +trap 'exit 1' 1 2 15
99 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
100 +# compiler to aid in system detection is discouraged as it requires
101 +# temporary files to be created and, as you can see below, it is a
102 +# headache to deal with in a portable fashion.
104 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
105 +# use `HOST_CC' if defined, but it is deprecated.
107 +# Portable tmp directory creation inspired by the Autoconf team.
109 +set_cc_for_build='
110 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
111 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
112 +: ${TMPDIR=/tmp} ;
113 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
114 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
115 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
116 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
117 +dummy=$tmp/dummy ;
118 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
119 +case $CC_FOR_BUILD,$HOST_CC,$CC in
120 + ,,) echo "int x;" > $dummy.c ;
121 + for c in cc gcc c89 c99 ; do
122 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
123 + CC_FOR_BUILD="$c"; break ;
124 + fi ;
125 + done ;
126 + if test x"$CC_FOR_BUILD" = x ; then
127 + CC_FOR_BUILD=no_compiler_found ;
128 + fi
129 + ;;
130 + ,,*) CC_FOR_BUILD=$CC ;;
131 + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
132 +esac ; set_cc_for_build= ;'
134 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
135 +# (ghazi@noc.rutgers.edu 1994-08-24)
136 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
137 + PATH=$PATH:/.attbin ; export PATH
140 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
141 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
142 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
143 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
145 +# Note: order is significant - the case branches are not exclusive.
147 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
148 + *:NetBSD:*:*)
149 + # NetBSD (nbsd) targets should (where applicable) match one or
150 + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
151 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
152 + # switched to ELF, *-*-netbsd* would select the old
153 + # object file format. This provides both forward
154 + # compatibility and a consistent mechanism for selecting the
155 + # object file format.
157 + # Note: NetBSD doesn't particularly care about the vendor
158 + # portion of the name. We always set it to "unknown".
159 + sysctl="sysctl -n hw.machine_arch"
160 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
161 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
162 + case "${UNAME_MACHINE_ARCH}" in
163 + armeb) machine=armeb-unknown ;;
164 + arm*) machine=arm-unknown ;;
165 + sh3el) machine=shl-unknown ;;
166 + sh3eb) machine=sh-unknown ;;
167 + sh5el) machine=sh5le-unknown ;;
168 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
169 + esac
170 + # The Operating System including object format, if it has switched
171 + # to ELF recently, or will in the future.
172 + case "${UNAME_MACHINE_ARCH}" in
173 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
174 + eval $set_cc_for_build
175 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
176 + | grep __ELF__ >/dev/null
177 + then
178 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
179 + # Return netbsd for either. FIX?
180 + os=netbsd
181 + else
182 + os=netbsdelf
183 + fi
184 + ;;
185 + *)
186 + os=netbsd
187 + ;;
188 + esac
189 + # The OS release
190 + # Debian GNU/NetBSD machines have a different userland, and
191 + # thus, need a distinct triplet. However, they do not need
192 + # kernel version information, so it can be replaced with a
193 + # suitable tag, in the style of linux-gnu.
194 + case "${UNAME_VERSION}" in
195 + Debian*)
196 + release='-gnu'
197 + ;;
198 + *)
199 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
200 + ;;
201 + esac
202 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
203 + # contains redundant information, the shorter form:
204 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
205 + echo "${machine}-${os}${release}"
206 + exit ;;
207 + *:OpenBSD:*:*)
208 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
209 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
210 + exit ;;
211 + *:ekkoBSD:*:*)
212 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
213 + exit ;;
214 + *:SolidBSD:*:*)
215 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
216 + exit ;;
217 + macppc:MirBSD:*:*)
218 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
219 + exit ;;
220 + *:MirBSD:*:*)
221 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
222 + exit ;;
223 + alpha:OSF1:*:*)
224 + case $UNAME_RELEASE in
225 + *4.0)
226 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
227 + ;;
228 + *5.*)
229 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
230 + ;;
231 + esac
232 + # According to Compaq, /usr/sbin/psrinfo has been available on
233 + # OSF/1 and Tru64 systems produced since 1995. I hope that
234 + # covers most systems running today. This code pipes the CPU
235 + # types through head -n 1, so we only detect the type of CPU 0.
236 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
237 + case "$ALPHA_CPU_TYPE" in
238 + "EV4 (21064)")
239 + UNAME_MACHINE="alpha" ;;
240 + "EV4.5 (21064)")
241 + UNAME_MACHINE="alpha" ;;
242 + "LCA4 (21066/21068)")
243 + UNAME_MACHINE="alpha" ;;
244 + "EV5 (21164)")
245 + UNAME_MACHINE="alphaev5" ;;
246 + "EV5.6 (21164A)")
247 + UNAME_MACHINE="alphaev56" ;;
248 + "EV5.6 (21164PC)")
249 + UNAME_MACHINE="alphapca56" ;;
250 + "EV5.7 (21164PC)")
251 + UNAME_MACHINE="alphapca57" ;;
252 + "EV6 (21264)")
253 + UNAME_MACHINE="alphaev6" ;;
254 + "EV6.7 (21264A)")
255 + UNAME_MACHINE="alphaev67" ;;
256 + "EV6.8CB (21264C)")
257 + UNAME_MACHINE="alphaev68" ;;
258 + "EV6.8AL (21264B)")
259 + UNAME_MACHINE="alphaev68" ;;
260 + "EV6.8CX (21264D)")
261 + UNAME_MACHINE="alphaev68" ;;
262 + "EV6.9A (21264/EV69A)")
263 + UNAME_MACHINE="alphaev69" ;;
264 + "EV7 (21364)")
265 + UNAME_MACHINE="alphaev7" ;;
266 + "EV7.9 (21364A)")
267 + UNAME_MACHINE="alphaev79" ;;
268 + esac
269 + # A Pn.n version is a patched version.
270 + # A Vn.n version is a released version.
271 + # A Tn.n version is a released field test version.
272 + # A Xn.n version is an unreleased experimental baselevel.
273 + # 1.2 uses "1.2" for uname -r.
274 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
275 + exit ;;
276 + Alpha\ *:Windows_NT*:*)
277 + # How do we know it's Interix rather than the generic POSIX subsystem?
278 + # Should we change UNAME_MACHINE based on the output of uname instead
279 + # of the specific Alpha model?
280 + echo alpha-pc-interix
281 + exit ;;
282 + 21064:Windows_NT:50:3)
283 + echo alpha-dec-winnt3.5
284 + exit ;;
285 + Amiga*:UNIX_System_V:4.0:*)
286 + echo m68k-unknown-sysv4
287 + exit ;;
288 + *:[Aa]miga[Oo][Ss]:*:*)
289 + echo ${UNAME_MACHINE}-unknown-amigaos
290 + exit ;;
291 + *:[Mm]orph[Oo][Ss]:*:*)
292 + echo ${UNAME_MACHINE}-unknown-morphos
293 + exit ;;
294 + *:OS/390:*:*)
295 + echo i370-ibm-openedition
296 + exit ;;
297 + *:z/VM:*:*)
298 + echo s390-ibm-zvmoe
299 + exit ;;
300 + *:OS400:*:*)
301 + echo powerpc-ibm-os400
302 + exit ;;
303 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
304 + echo arm-acorn-riscix${UNAME_RELEASE}
305 + exit ;;
306 + arm:riscos:*:*|arm:RISCOS:*:*)
307 + echo arm-unknown-riscos
308 + exit ;;
309 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
310 + echo hppa1.1-hitachi-hiuxmpp
311 + exit ;;
312 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
313 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
314 + if test "`(/bin/universe) 2>/dev/null`" = att ; then
315 + echo pyramid-pyramid-sysv3
316 + else
317 + echo pyramid-pyramid-bsd
318 + fi
319 + exit ;;
320 + NILE*:*:*:dcosx)
321 + echo pyramid-pyramid-svr4
322 + exit ;;
323 + DRS?6000:unix:4.0:6*)
324 + echo sparc-icl-nx6
325 + exit ;;
326 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
327 + case `/usr/bin/uname -p` in
328 + sparc) echo sparc-icl-nx7; exit ;;
329 + esac ;;
330 + sun4H:SunOS:5.*:*)
331 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332 + exit ;;
333 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 + exit ;;
336 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
338 + exit ;;
339 + sun4*:SunOS:6*:*)
340 + # According to config.sub, this is the proper way to canonicalize
341 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
342 + # it's likely to be more like Solaris than SunOS4.
343 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
344 + exit ;;
345 + sun4*:SunOS:*:*)
346 + case "`/usr/bin/arch -k`" in
347 + Series*|S4*)
348 + UNAME_RELEASE=`uname -v`
349 + ;;
350 + esac
351 + # Japanese Language versions have a version number like `4.1.3-JL'.
352 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
353 + exit ;;
354 + sun3*:SunOS:*:*)
355 + echo m68k-sun-sunos${UNAME_RELEASE}
356 + exit ;;
357 + sun*:*:4.2BSD:*)
358 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
359 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
360 + case "`/bin/arch`" in
361 + sun3)
362 + echo m68k-sun-sunos${UNAME_RELEASE}
363 + ;;
364 + sun4)
365 + echo sparc-sun-sunos${UNAME_RELEASE}
366 + ;;
367 + esac
368 + exit ;;
369 + aushp:SunOS:*:*)
370 + echo sparc-auspex-sunos${UNAME_RELEASE}
371 + exit ;;
372 + # The situation for MiNT is a little confusing. The machine name
373 + # can be virtually everything (everything which is not
374 + # "atarist" or "atariste" at least should have a processor
375 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
376 + # to the lowercase version "mint" (or "freemint"). Finally
377 + # the system name "TOS" denotes a system which is actually not
378 + # MiNT. But MiNT is downward compatible to TOS, so this should
379 + # be no problem.
380 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
381 + echo m68k-atari-mint${UNAME_RELEASE}
382 + exit ;;
383 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
384 + echo m68k-atari-mint${UNAME_RELEASE}
385 + exit ;;
386 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
387 + echo m68k-atari-mint${UNAME_RELEASE}
388 + exit ;;
389 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
390 + echo m68k-milan-mint${UNAME_RELEASE}
391 + exit ;;
392 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
393 + echo m68k-hades-mint${UNAME_RELEASE}
394 + exit ;;
395 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
396 + echo m68k-unknown-mint${UNAME_RELEASE}
397 + exit ;;
398 + m68k:machten:*:*)
399 + echo m68k-apple-machten${UNAME_RELEASE}
400 + exit ;;
401 + powerpc:machten:*:*)
402 + echo powerpc-apple-machten${UNAME_RELEASE}
403 + exit ;;
404 + RISC*:Mach:*:*)
405 + echo mips-dec-mach_bsd4.3
406 + exit ;;
407 + RISC*:ULTRIX:*:*)
408 + echo mips-dec-ultrix${UNAME_RELEASE}
409 + exit ;;
410 + VAX*:ULTRIX*:*:*)
411 + echo vax-dec-ultrix${UNAME_RELEASE}
412 + exit ;;
413 + 2020:CLIX:*:* | 2430:CLIX:*:*)
414 + echo clipper-intergraph-clix${UNAME_RELEASE}
415 + exit ;;
416 + mips:*:*:UMIPS | mips:*:*:RISCos)
417 + eval $set_cc_for_build
418 + sed 's/^ //' << EOF >$dummy.c
419 +#ifdef __cplusplus
420 +#include <stdio.h> /* for printf() prototype */
421 + int main (int argc, char *argv[]) {
422 +#else
423 + int main (argc, argv) int argc; char *argv[]; {
424 +#endif
425 + #if defined (host_mips) && defined (MIPSEB)
426 + #if defined (SYSTYPE_SYSV)
427 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
428 + #endif
429 + #if defined (SYSTYPE_SVR4)
430 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
431 + #endif
432 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
433 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
434 + #endif
435 + #endif
436 + exit (-1);
438 +EOF
439 + $CC_FOR_BUILD -o $dummy $dummy.c &&
440 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
441 + SYSTEM_NAME=`$dummy $dummyarg` &&
442 + { echo "$SYSTEM_NAME"; exit; }
443 + echo mips-mips-riscos${UNAME_RELEASE}
444 + exit ;;
445 + Motorola:PowerMAX_OS:*:*)
446 + echo powerpc-motorola-powermax
447 + exit ;;
448 + Motorola:*:4.3:PL8-*)
449 + echo powerpc-harris-powermax
450 + exit ;;
451 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
452 + echo powerpc-harris-powermax
453 + exit ;;
454 + Night_Hawk:Power_UNIX:*:*)
455 + echo powerpc-harris-powerunix
456 + exit ;;
457 + m88k:CX/UX:7*:*)
458 + echo m88k-harris-cxux7
459 + exit ;;
460 + m88k:*:4*:R4*)
461 + echo m88k-motorola-sysv4
462 + exit ;;
463 + m88k:*:3*:R3*)
464 + echo m88k-motorola-sysv3
465 + exit ;;
466 + AViiON:dgux:*:*)
467 + # DG/UX returns AViiON for all architectures
468 + UNAME_PROCESSOR=`/usr/bin/uname -p`
469 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
470 + then
471 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
472 + [ ${TARGET_BINARY_INTERFACE}x = x ]
473 + then
474 + echo m88k-dg-dgux${UNAME_RELEASE}
475 + else
476 + echo m88k-dg-dguxbcs${UNAME_RELEASE}
477 + fi
478 + else
479 + echo i586-dg-dgux${UNAME_RELEASE}
480 + fi
481 + exit ;;
482 + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
483 + echo m88k-dolphin-sysv3
484 + exit ;;
485 + M88*:*:R3*:*)
486 + # Delta 88k system running SVR3
487 + echo m88k-motorola-sysv3
488 + exit ;;
489 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
490 + echo m88k-tektronix-sysv3
491 + exit ;;
492 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
493 + echo m68k-tektronix-bsd
494 + exit ;;
495 + *:IRIX*:*:*)
496 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
497 + exit ;;
498 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
499 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
500 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
501 + i*86:AIX:*:*)
502 + echo i386-ibm-aix
503 + exit ;;
504 + ia64:AIX:*:*)
505 + if [ -x /usr/bin/oslevel ] ; then
506 + IBM_REV=`/usr/bin/oslevel`
507 + else
508 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
509 + fi
510 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
511 + exit ;;
512 + *:AIX:2:3)
513 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
514 + eval $set_cc_for_build
515 + sed 's/^ //' << EOF >$dummy.c
516 + #include <sys/systemcfg.h>
518 + main()
520 + if (!__power_pc())
521 + exit(1);
522 + puts("powerpc-ibm-aix3.2.5");
523 + exit(0);
525 +EOF
526 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
527 + then
528 + echo "$SYSTEM_NAME"
529 + else
530 + echo rs6000-ibm-aix3.2.5
531 + fi
532 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
533 + echo rs6000-ibm-aix3.2.4
534 + else
535 + echo rs6000-ibm-aix3.2
536 + fi
537 + exit ;;
538 + *:AIX:*:[456])
539 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
540 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
541 + IBM_ARCH=rs6000
542 + else
543 + IBM_ARCH=powerpc
544 + fi
545 + if [ -x /usr/bin/oslevel ] ; then
546 + IBM_REV=`/usr/bin/oslevel`
547 + else
548 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
549 + fi
550 + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
551 + exit ;;
552 + *:AIX:*:*)
553 + echo rs6000-ibm-aix
554 + exit ;;
555 + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
556 + echo romp-ibm-bsd4.4
557 + exit ;;
558 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
559 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
560 + exit ;; # report: romp-ibm BSD 4.3
561 + *:BOSX:*:*)
562 + echo rs6000-bull-bosx
563 + exit ;;
564 + DPX/2?00:B.O.S.:*:*)
565 + echo m68k-bull-sysv3
566 + exit ;;
567 + 9000/[34]??:4.3bsd:1.*:*)
568 + echo m68k-hp-bsd
569 + exit ;;
570 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
571 + echo m68k-hp-bsd4.4
572 + exit ;;
573 + 9000/[34678]??:HP-UX:*:*)
574 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
575 + case "${UNAME_MACHINE}" in
576 + 9000/31? ) HP_ARCH=m68000 ;;
577 + 9000/[34]?? ) HP_ARCH=m68k ;;
578 + 9000/[678][0-9][0-9])
579 + if [ -x /usr/bin/getconf ]; then
580 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
581 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
582 + case "${sc_cpu_version}" in
583 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
584 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
585 + 532) # CPU_PA_RISC2_0
586 + case "${sc_kernel_bits}" in
587 + 32) HP_ARCH="hppa2.0n" ;;
588 + 64) HP_ARCH="hppa2.0w" ;;
589 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
590 + esac ;;
591 + esac
592 + fi
593 + if [ "${HP_ARCH}" = "" ]; then
594 + eval $set_cc_for_build
595 + sed 's/^ //' << EOF >$dummy.c
597 + #define _HPUX_SOURCE
598 + #include <stdlib.h>
599 + #include <unistd.h>
601 + int main ()
603 + #if defined(_SC_KERNEL_BITS)
604 + long bits = sysconf(_SC_KERNEL_BITS);
605 + #endif
606 + long cpu = sysconf (_SC_CPU_VERSION);
608 + switch (cpu)
610 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
611 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
612 + case CPU_PA_RISC2_0:
613 + #if defined(_SC_KERNEL_BITS)
614 + switch (bits)
616 + case 64: puts ("hppa2.0w"); break;
617 + case 32: puts ("hppa2.0n"); break;
618 + default: puts ("hppa2.0"); break;
619 + } break;
620 + #else /* !defined(_SC_KERNEL_BITS) */
621 + puts ("hppa2.0"); break;
622 + #endif
623 + default: puts ("hppa1.0"); break;
625 + exit (0);
627 +EOF
628 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
629 + test -z "$HP_ARCH" && HP_ARCH=hppa
630 + fi ;;
631 + esac
632 + if [ ${HP_ARCH} = "hppa2.0w" ]
633 + then
634 + eval $set_cc_for_build
636 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
637 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
638 + # generating 64-bit code. GNU and HP use different nomenclature:
640 + # $ CC_FOR_BUILD=cc ./config.guess
641 + # => hppa2.0w-hp-hpux11.23
642 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
643 + # => hppa64-hp-hpux11.23
645 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
646 + grep __LP64__ >/dev/null
647 + then
648 + HP_ARCH="hppa2.0w"
649 + else
650 + HP_ARCH="hppa64"
651 + fi
652 + fi
653 + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
654 + exit ;;
655 + ia64:HP-UX:*:*)
656 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
657 + echo ia64-hp-hpux${HPUX_REV}
658 + exit ;;
659 + 3050*:HI-UX:*:*)
660 + eval $set_cc_for_build
661 + sed 's/^ //' << EOF >$dummy.c
662 + #include <unistd.h>
663 + int
664 + main ()
666 + long cpu = sysconf (_SC_CPU_VERSION);
667 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
668 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
669 + results, however. */
670 + if (CPU_IS_PA_RISC (cpu))
672 + switch (cpu)
674 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
675 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
676 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
677 + default: puts ("hppa-hitachi-hiuxwe2"); break;
680 + else if (CPU_IS_HP_MC68K (cpu))
681 + puts ("m68k-hitachi-hiuxwe2");
682 + else puts ("unknown-hitachi-hiuxwe2");
683 + exit (0);
685 +EOF
686 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
687 + { echo "$SYSTEM_NAME"; exit; }
688 + echo unknown-hitachi-hiuxwe2
689 + exit ;;
690 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
691 + echo hppa1.1-hp-bsd
692 + exit ;;
693 + 9000/8??:4.3bsd:*:*)
694 + echo hppa1.0-hp-bsd
695 + exit ;;
696 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
697 + echo hppa1.0-hp-mpeix
698 + exit ;;
699 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
700 + echo hppa1.1-hp-osf
701 + exit ;;
702 + hp8??:OSF1:*:*)
703 + echo hppa1.0-hp-osf
704 + exit ;;
705 + i*86:OSF1:*:*)
706 + if [ -x /usr/sbin/sysversion ] ; then
707 + echo ${UNAME_MACHINE}-unknown-osf1mk
708 + else
709 + echo ${UNAME_MACHINE}-unknown-osf1
710 + fi
711 + exit ;;
712 + parisc*:Lites*:*:*)
713 + echo hppa1.1-hp-lites
714 + exit ;;
715 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
716 + echo c1-convex-bsd
717 + exit ;;
718 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
719 + if getsysinfo -f scalar_acc
720 + then echo c32-convex-bsd
721 + else echo c2-convex-bsd
722 + fi
723 + exit ;;
724 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
725 + echo c34-convex-bsd
726 + exit ;;
727 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
728 + echo c38-convex-bsd
729 + exit ;;
730 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
731 + echo c4-convex-bsd
732 + exit ;;
733 + CRAY*Y-MP:*:*:*)
734 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
735 + exit ;;
736 + CRAY*[A-Z]90:*:*:*)
737 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
738 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
739 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
740 + -e 's/\.[^.]*$/.X/'
741 + exit ;;
742 + CRAY*TS:*:*:*)
743 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
744 + exit ;;
745 + CRAY*T3E:*:*:*)
746 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
747 + exit ;;
748 + CRAY*SV1:*:*:*)
749 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
750 + exit ;;
751 + *:UNICOS/mp:*:*)
752 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
753 + exit ;;
754 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
755 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
756 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
757 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
758 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
759 + exit ;;
760 + 5000:UNIX_System_V:4.*:*)
761 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
762 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
763 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
764 + exit ;;
765 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
766 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
767 + exit ;;
768 + sparc*:BSD/OS:*:*)
769 + echo sparc-unknown-bsdi${UNAME_RELEASE}
770 + exit ;;
771 + *:BSD/OS:*:*)
772 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
773 + exit ;;
774 + *:FreeBSD:*:*)
775 + case ${UNAME_MACHINE} in
776 + pc98)
777 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
778 + amd64)
779 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
780 + *)
781 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
782 + esac
783 + exit ;;
784 + i*:CYGWIN*:*)
785 + echo ${UNAME_MACHINE}-pc-cygwin
786 + exit ;;
787 + *:MINGW*:*)
788 + echo ${UNAME_MACHINE}-pc-mingw32
789 + exit ;;
790 + i*:windows32*:*)
791 + # uname -m includes "-pc" on this system.
792 + echo ${UNAME_MACHINE}-mingw32
793 + exit ;;
794 + i*:PW*:*)
795 + echo ${UNAME_MACHINE}-pc-pw32
796 + exit ;;
797 + *:Interix*:[3456]*)
798 + case ${UNAME_MACHINE} in
799 + x86)
800 + echo i586-pc-interix${UNAME_RELEASE}
801 + exit ;;
802 + EM64T | authenticamd)
803 + echo x86_64-unknown-interix${UNAME_RELEASE}
804 + exit ;;
805 + IA64)
806 + echo ia64-unknown-interix${UNAME_RELEASE}
807 + exit ;;
808 + esac ;;
809 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
810 + echo i${UNAME_MACHINE}-pc-mks
811 + exit ;;
812 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
813 + # How do we know it's Interix rather than the generic POSIX subsystem?
814 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
815 + # UNAME_MACHINE based on the output of uname instead of i386?
816 + echo i586-pc-interix
817 + exit ;;
818 + i*:UWIN*:*)
819 + echo ${UNAME_MACHINE}-pc-uwin
820 + exit ;;
821 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
822 + echo x86_64-unknown-cygwin
823 + exit ;;
824 + p*:CYGWIN*:*)
825 + echo powerpcle-unknown-cygwin
826 + exit ;;
827 + prep*:SunOS:5.*:*)
828 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
829 + exit ;;
830 + *:GNU:*:*)
831 + # the GNU system
832 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
833 + exit ;;
834 + *:GNU/*:*:*)
835 + # other systems with GNU libc and userland
836 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
837 + exit ;;
838 + i*86:Minix:*:*)
839 + echo ${UNAME_MACHINE}-pc-minix
840 + exit ;;
841 + arm*:Linux:*:*)
842 + eval $set_cc_for_build
843 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
844 + | grep -q __ARM_EABI__
845 + then
846 + echo ${UNAME_MACHINE}-unknown-linux-gnu
847 + else
848 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
849 + fi
850 + exit ;;
851 + avr32*:Linux:*:*)
852 + echo ${UNAME_MACHINE}-unknown-linux-gnu
853 + exit ;;
854 + cris:Linux:*:*)
855 + echo cris-axis-linux-gnu
856 + exit ;;
857 + crisv32:Linux:*:*)
858 + echo crisv32-axis-linux-gnu
859 + exit ;;
860 + frv:Linux:*:*)
861 + echo frv-unknown-linux-gnu
862 + exit ;;
863 + ia64:Linux:*:*)
864 + echo ${UNAME_MACHINE}-unknown-linux-gnu
865 + exit ;;
866 + m32r*:Linux:*:*)
867 + echo ${UNAME_MACHINE}-unknown-linux-gnu
868 + exit ;;
869 + m68*:Linux:*:*)
870 + echo ${UNAME_MACHINE}-unknown-linux-gnu
871 + exit ;;
872 + mips:Linux:*:*)
873 + eval $set_cc_for_build
874 + sed 's/^ //' << EOF >$dummy.c
875 + #undef CPU
876 + #undef mips
877 + #undef mipsel
878 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
879 + CPU=mipsel
880 + #else
881 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
882 + CPU=mips
883 + #else
884 + CPU=
885 + #endif
886 + #endif
887 +EOF
888 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
889 + /^CPU/{
890 + s: ::g
892 + }'`"
893 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
894 + ;;
895 + mips64:Linux:*:*)
896 + eval $set_cc_for_build
897 + sed 's/^ //' << EOF >$dummy.c
898 + #undef CPU
899 + #undef mips64
900 + #undef mips64el
901 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
902 + CPU=mips64el
903 + #else
904 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
905 + CPU=mips64
906 + #else
907 + CPU=
908 + #endif
909 + #endif
910 +EOF
911 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
912 + /^CPU/{
913 + s: ::g
915 + }'`"
916 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
917 + ;;
918 + or32:Linux:*:*)
919 + echo or32-unknown-linux-gnu
920 + exit ;;
921 + ppc:Linux:*:*)
922 + echo powerpc-unknown-linux-gnu
923 + exit ;;
924 + ppc64:Linux:*:*)
925 + echo powerpc64-unknown-linux-gnu
926 + exit ;;
927 + alpha:Linux:*:*)
928 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
929 + EV5) UNAME_MACHINE=alphaev5 ;;
930 + EV56) UNAME_MACHINE=alphaev56 ;;
931 + PCA56) UNAME_MACHINE=alphapca56 ;;
932 + PCA57) UNAME_MACHINE=alphapca56 ;;
933 + EV6) UNAME_MACHINE=alphaev6 ;;
934 + EV67) UNAME_MACHINE=alphaev67 ;;
935 + EV68*) UNAME_MACHINE=alphaev68 ;;
936 + esac
937 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
938 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
939 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
940 + exit ;;
941 + parisc:Linux:*:* | hppa:Linux:*:*)
942 + # Look for CPU level
943 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
944 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
945 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
946 + *) echo hppa-unknown-linux-gnu ;;
947 + esac
948 + exit ;;
949 + parisc64:Linux:*:* | hppa64:Linux:*:*)
950 + echo hppa64-unknown-linux-gnu
951 + exit ;;
952 + s390:Linux:*:* | s390x:Linux:*:*)
953 + echo ${UNAME_MACHINE}-ibm-linux
954 + exit ;;
955 + sh64*:Linux:*:*)
956 + echo ${UNAME_MACHINE}-unknown-linux-gnu
957 + exit ;;
958 + sh*:Linux:*:*)
959 + echo ${UNAME_MACHINE}-unknown-linux-gnu
960 + exit ;;
961 + sparc:Linux:*:* | sparc64:Linux:*:*)
962 + echo ${UNAME_MACHINE}-unknown-linux-gnu
963 + exit ;;
964 + vax:Linux:*:*)
965 + echo ${UNAME_MACHINE}-dec-linux-gnu
966 + exit ;;
967 + x86_64:Linux:*:*)
968 + echo x86_64-unknown-linux-gnu
969 + exit ;;
970 + xtensa*:Linux:*:*)
971 + echo ${UNAME_MACHINE}-unknown-linux-gnu
972 + exit ;;
973 + i*86:Linux:*:*)
974 + # The BFD linker knows what the default object file format is, so
975 + # first see if it will tell us. cd to the root directory to prevent
976 + # problems with other programs or directories called `ld' in the path.
977 + # Set LC_ALL=C to ensure ld outputs messages in English.
978 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
979 + | sed -ne '/supported targets:/!d
980 + s/[ ][ ]*/ /g
981 + s/.*supported targets: *//
982 + s/ .*//
983 + p'`
984 + case "$ld_supported_targets" in
985 + elf32-i386)
986 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
987 + ;;
988 + a.out-i386-linux)
989 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
990 + exit ;;
991 + coff-i386)
992 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
993 + exit ;;
994 + "")
995 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
996 + # one that does not give us useful --help.
997 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
998 + exit ;;
999 + esac
1000 + # Determine whether the default compiler is a.out or elf
1001 + eval $set_cc_for_build
1002 + sed 's/^ //' << EOF >$dummy.c
1003 + #include <features.h>
1004 + #ifdef __ELF__
1005 + # ifdef __GLIBC__
1006 + # if __GLIBC__ >= 2
1007 + LIBC=gnu
1008 + # else
1009 + LIBC=gnulibc1
1010 + # endif
1011 + # else
1012 + LIBC=gnulibc1
1013 + # endif
1014 + #else
1015 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1016 + LIBC=gnu
1017 + #else
1018 + LIBC=gnuaout
1019 + #endif
1020 + #endif
1021 + #ifdef __dietlibc__
1022 + LIBC=dietlibc
1023 + #endif
1024 +EOF
1025 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1026 + /^LIBC/{
1027 + s: ::g
1029 + }'`"
1030 + test x"${LIBC}" != x && {
1031 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1032 + exit
1034 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1035 + ;;
1036 + i*86:DYNIX/ptx:4*:*)
1037 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1038 + # earlier versions are messed up and put the nodename in both
1039 + # sysname and nodename.
1040 + echo i386-sequent-sysv4
1041 + exit ;;
1042 + i*86:UNIX_SV:4.2MP:2.*)
1043 + # Unixware is an offshoot of SVR4, but it has its own version
1044 + # number series starting with 2...
1045 + # I am not positive that other SVR4 systems won't match this,
1046 + # I just have to hope. -- rms.
1047 + # Use sysv4.2uw... so that sysv4* matches it.
1048 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1049 + exit ;;
1050 + i*86:OS/2:*:*)
1051 + # If we were able to find `uname', then EMX Unix compatibility
1052 + # is probably installed.
1053 + echo ${UNAME_MACHINE}-pc-os2-emx
1054 + exit ;;
1055 + i*86:XTS-300:*:STOP)
1056 + echo ${UNAME_MACHINE}-unknown-stop
1057 + exit ;;
1058 + i*86:atheos:*:*)
1059 + echo ${UNAME_MACHINE}-unknown-atheos
1060 + exit ;;
1061 + i*86:syllable:*:*)
1062 + echo ${UNAME_MACHINE}-pc-syllable
1063 + exit ;;
1064 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1065 + echo i386-unknown-lynxos${UNAME_RELEASE}
1066 + exit ;;
1067 + i*86:*DOS:*:*)
1068 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
1069 + exit ;;
1070 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1071 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1072 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1073 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1074 + else
1075 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1076 + fi
1077 + exit ;;
1078 + i*86:*:5:[678]*)
1079 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
1080 + case `/bin/uname -X | grep "^Machine"` in
1081 + *486*) UNAME_MACHINE=i486 ;;
1082 + *Pentium) UNAME_MACHINE=i586 ;;
1083 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1084 + esac
1085 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1086 + exit ;;
1087 + i*86:*:3.2:*)
1088 + if test -f /usr/options/cb.name; then
1089 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1090 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1091 + elif /bin/uname -X 2>/dev/null >/dev/null ; then
1092 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1093 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1094 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1095 + && UNAME_MACHINE=i586
1096 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1097 + && UNAME_MACHINE=i686
1098 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1099 + && UNAME_MACHINE=i686
1100 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1101 + else
1102 + echo ${UNAME_MACHINE}-pc-sysv32
1103 + fi
1104 + exit ;;
1105 + pc:*:*:*)
1106 + # Left here for compatibility:
1107 + # uname -m prints for DJGPP always 'pc', but it prints nothing about
1108 + # the processor, so we play safe by assuming i386.
1109 + echo i386-pc-msdosdjgpp
1110 + exit ;;
1111 + Intel:Mach:3*:*)
1112 + echo i386-pc-mach3
1113 + exit ;;
1114 + paragon:*:*:*)
1115 + echo i860-intel-osf1
1116 + exit ;;
1117 + i860:*:4.*:*) # i860-SVR4
1118 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1119 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1120 + else # Add other i860-SVR4 vendors below as they are discovered.
1121 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1122 + fi
1123 + exit ;;
1124 + mini*:CTIX:SYS*5:*)
1125 + # "miniframe"
1126 + echo m68010-convergent-sysv
1127 + exit ;;
1128 + mc68k:UNIX:SYSTEM5:3.51m)
1129 + echo m68k-convergent-sysv
1130 + exit ;;
1131 + M680?0:D-NIX:5.3:*)
1132 + echo m68k-diab-dnix
1133 + exit ;;
1134 + M68*:*:R3V[5678]*:*)
1135 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1136 + 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 | S7501*:*:4.0:3.0)
1137 + OS_REL=''
1138 + test -r /etc/.relid \
1139 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1140 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1141 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1142 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1143 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1144 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1145 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1146 + && { echo i486-ncr-sysv4; exit; } ;;
1147 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1148 + echo m68k-unknown-lynxos${UNAME_RELEASE}
1149 + exit ;;
1150 + mc68030:UNIX_System_V:4.*:*)
1151 + echo m68k-atari-sysv4
1152 + exit ;;
1153 + TSUNAMI:LynxOS:2.*:*)
1154 + echo sparc-unknown-lynxos${UNAME_RELEASE}
1155 + exit ;;
1156 + rs6000:LynxOS:2.*:*)
1157 + echo rs6000-unknown-lynxos${UNAME_RELEASE}
1158 + exit ;;
1159 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1160 + echo powerpc-unknown-lynxos${UNAME_RELEASE}
1161 + exit ;;
1162 + SM[BE]S:UNIX_SV:*:*)
1163 + echo mips-dde-sysv${UNAME_RELEASE}
1164 + exit ;;
1165 + RM*:ReliantUNIX-*:*:*)
1166 + echo mips-sni-sysv4
1167 + exit ;;
1168 + RM*:SINIX-*:*:*)
1169 + echo mips-sni-sysv4
1170 + exit ;;
1171 + *:SINIX-*:*:*)
1172 + if uname -p 2>/dev/null >/dev/null ; then
1173 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
1174 + echo ${UNAME_MACHINE}-sni-sysv4
1175 + else
1176 + echo ns32k-sni-sysv
1177 + fi
1178 + exit ;;
1179 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1180 + # says <Richard.M.Bartel@ccMail.Census.GOV>
1181 + echo i586-unisys-sysv4
1182 + exit ;;
1183 + *:UNIX_System_V:4*:FTX*)
1184 + # From Gerald Hewes <hewes@openmarket.com>.
1185 + # How about differentiating between stratus architectures? -djm
1186 + echo hppa1.1-stratus-sysv4
1187 + exit ;;
1188 + *:*:*:FTX*)
1189 + # From seanf@swdc.stratus.com.
1190 + echo i860-stratus-sysv4
1191 + exit ;;
1192 + i*86:VOS:*:*)
1193 + # From Paul.Green@stratus.com.
1194 + echo ${UNAME_MACHINE}-stratus-vos
1195 + exit ;;
1196 + *:VOS:*:*)
1197 + # From Paul.Green@stratus.com.
1198 + echo hppa1.1-stratus-vos
1199 + exit ;;
1200 + mc68*:A/UX:*:*)
1201 + echo m68k-apple-aux${UNAME_RELEASE}
1202 + exit ;;
1203 + news*:NEWS-OS:6*:*)
1204 + echo mips-sony-newsos6
1205 + exit ;;
1206 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1207 + if [ -d /usr/nec ]; then
1208 + echo mips-nec-sysv${UNAME_RELEASE}
1209 + else
1210 + echo mips-unknown-sysv${UNAME_RELEASE}
1211 + fi
1212 + exit ;;
1213 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1214 + echo powerpc-be-beos
1215 + exit ;;
1216 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1217 + echo powerpc-apple-beos
1218 + exit ;;
1219 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1220 + echo i586-pc-beos
1221 + exit ;;
1222 + SX-4:SUPER-UX:*:*)
1223 + echo sx4-nec-superux${UNAME_RELEASE}
1224 + exit ;;
1225 + SX-5:SUPER-UX:*:*)
1226 + echo sx5-nec-superux${UNAME_RELEASE}
1227 + exit ;;
1228 + SX-6:SUPER-UX:*:*)
1229 + echo sx6-nec-superux${UNAME_RELEASE}
1230 + exit ;;
1231 + SX-7:SUPER-UX:*:*)
1232 + echo sx7-nec-superux${UNAME_RELEASE}
1233 + exit ;;
1234 + SX-8:SUPER-UX:*:*)
1235 + echo sx8-nec-superux${UNAME_RELEASE}
1236 + exit ;;
1237 + SX-8R:SUPER-UX:*:*)
1238 + echo sx8r-nec-superux${UNAME_RELEASE}
1239 + exit ;;
1240 + Power*:Rhapsody:*:*)
1241 + echo powerpc-apple-rhapsody${UNAME_RELEASE}
1242 + exit ;;
1243 + *:Rhapsody:*:*)
1244 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1245 + exit ;;
1246 + *:Darwin:*:*)
1247 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1248 + case $UNAME_PROCESSOR in
1249 + unknown) UNAME_PROCESSOR=powerpc ;;
1250 + esac
1251 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1252 + exit ;;
1253 + *:procnto*:*:* | *:QNX:[0123456789]*:*)
1254 + UNAME_PROCESSOR=`uname -p`
1255 + if test "$UNAME_PROCESSOR" = "x86"; then
1256 + UNAME_PROCESSOR=i386
1257 + UNAME_MACHINE=pc
1258 + fi
1259 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1260 + exit ;;
1261 + *:QNX:*:4*)
1262 + echo i386-pc-qnx
1263 + exit ;;
1264 + NSE-?:NONSTOP_KERNEL:*:*)
1265 + echo nse-tandem-nsk${UNAME_RELEASE}
1266 + exit ;;
1267 + NSR-?:NONSTOP_KERNEL:*:*)
1268 + echo nsr-tandem-nsk${UNAME_RELEASE}
1269 + exit ;;
1270 + *:NonStop-UX:*:*)
1271 + echo mips-compaq-nonstopux
1272 + exit ;;
1273 + BS2000:POSIX*:*:*)
1274 + echo bs2000-siemens-sysv
1275 + exit ;;
1276 + DS/*:UNIX_System_V:*:*)
1277 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1278 + exit ;;
1279 + *:Plan9:*:*)
1280 + # "uname -m" is not consistent, so use $cputype instead. 386
1281 + # is converted to i386 for consistency with other x86
1282 + # operating systems.
1283 + if test "$cputype" = "386"; then
1284 + UNAME_MACHINE=i386
1285 + else
1286 + UNAME_MACHINE="$cputype"
1287 + fi
1288 + echo ${UNAME_MACHINE}-unknown-plan9
1289 + exit ;;
1290 + *:TOPS-10:*:*)
1291 + echo pdp10-unknown-tops10
1292 + exit ;;
1293 + *:TENEX:*:*)
1294 + echo pdp10-unknown-tenex
1295 + exit ;;
1296 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1297 + echo pdp10-dec-tops20
1298 + exit ;;
1299 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1300 + echo pdp10-xkl-tops20
1301 + exit ;;
1302 + *:TOPS-20:*:*)
1303 + echo pdp10-unknown-tops20
1304 + exit ;;
1305 + *:ITS:*:*)
1306 + echo pdp10-unknown-its
1307 + exit ;;
1308 + SEI:*:*:SEIUX)
1309 + echo mips-sei-seiux${UNAME_RELEASE}
1310 + exit ;;
1311 + *:DragonFly:*:*)
1312 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1313 + exit ;;
1314 + *:*VMS:*:*)
1315 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
1316 + case "${UNAME_MACHINE}" in
1317 + A*) echo alpha-dec-vms ; exit ;;
1318 + I*) echo ia64-dec-vms ; exit ;;
1319 + V*) echo vax-dec-vms ; exit ;;
1320 + esac ;;
1321 + *:XENIX:*:SysV)
1322 + echo i386-pc-xenix
1323 + exit ;;
1324 + i*86:skyos:*:*)
1325 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1326 + exit ;;
1327 + i*86:rdos:*:*)
1328 + echo ${UNAME_MACHINE}-pc-rdos
1329 + exit ;;
1330 +esac
1332 +#echo '(No uname command or uname output not recognized.)' 1>&2
1333 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1335 +eval $set_cc_for_build
1336 +cat >$dummy.c <<EOF
1337 +#ifdef _SEQUENT_
1338 +# include <sys/types.h>
1339 +# include <sys/utsname.h>
1340 +#endif
1341 +main ()
1343 +#if defined (sony)
1344 +#if defined (MIPSEB)
1345 + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1346 + I don't know.... */
1347 + printf ("mips-sony-bsd\n"); exit (0);
1348 +#else
1349 +#include <sys/param.h>
1350 + printf ("m68k-sony-newsos%s\n",
1351 +#ifdef NEWSOS4
1352 + "4"
1353 +#else
1354 + ""
1355 +#endif
1356 + ); exit (0);
1357 +#endif
1358 +#endif
1360 +#if defined (__arm) && defined (__acorn) && defined (__unix)
1361 + printf ("arm-acorn-riscix\n"); exit (0);
1362 +#endif
1364 +#if defined (hp300) && !defined (hpux)
1365 + printf ("m68k-hp-bsd\n"); exit (0);
1366 +#endif
1368 +#if defined (NeXT)
1369 +#if !defined (__ARCHITECTURE__)
1370 +#define __ARCHITECTURE__ "m68k"
1371 +#endif
1372 + int version;
1373 + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1374 + if (version < 4)
1375 + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1376 + else
1377 + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1378 + exit (0);
1379 +#endif
1381 +#if defined (MULTIMAX) || defined (n16)
1382 +#if defined (UMAXV)
1383 + printf ("ns32k-encore-sysv\n"); exit (0);
1384 +#else
1385 +#if defined (CMU)
1386 + printf ("ns32k-encore-mach\n"); exit (0);
1387 +#else
1388 + printf ("ns32k-encore-bsd\n"); exit (0);
1389 +#endif
1390 +#endif
1391 +#endif
1393 +#if defined (__386BSD__)
1394 + printf ("i386-pc-bsd\n"); exit (0);
1395 +#endif
1397 +#if defined (sequent)
1398 +#if defined (i386)
1399 + printf ("i386-sequent-dynix\n"); exit (0);
1400 +#endif
1401 +#if defined (ns32000)
1402 + printf ("ns32k-sequent-dynix\n"); exit (0);
1403 +#endif
1404 +#endif
1406 +#if defined (_SEQUENT_)
1407 + struct utsname un;
1409 + uname(&un);
1411 + if (strncmp(un.version, "V2", 2) == 0) {
1412 + printf ("i386-sequent-ptx2\n"); exit (0);
1414 + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1415 + printf ("i386-sequent-ptx1\n"); exit (0);
1417 + printf ("i386-sequent-ptx\n"); exit (0);
1419 +#endif
1421 +#if defined (vax)
1422 +# if !defined (ultrix)
1423 +# include <sys/param.h>
1424 +# if defined (BSD)
1425 +# if BSD == 43
1426 + printf ("vax-dec-bsd4.3\n"); exit (0);
1427 +# else
1428 +# if BSD == 199006
1429 + printf ("vax-dec-bsd4.3reno\n"); exit (0);
1430 +# else
1431 + printf ("vax-dec-bsd\n"); exit (0);
1432 +# endif
1433 +# endif
1434 +# else
1435 + printf ("vax-dec-bsd\n"); exit (0);
1436 +# endif
1437 +# else
1438 + printf ("vax-dec-ultrix\n"); exit (0);
1439 +# endif
1440 +#endif
1442 +#if defined (alliant) && defined (i860)
1443 + printf ("i860-alliant-bsd\n"); exit (0);
1444 +#endif
1446 + exit (1);
1448 +EOF
1450 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1451 + { echo "$SYSTEM_NAME"; exit; }
1453 +# Apollos put the system type in the environment.
1455 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1457 +# Convex versions that predate uname can use getsysinfo(1)
1459 +if [ -x /usr/convex/getsysinfo ]
1460 +then
1461 + case `getsysinfo -f cpu_type` in
1462 + c1*)
1463 + echo c1-convex-bsd
1464 + exit ;;
1465 + c2*)
1466 + if getsysinfo -f scalar_acc
1467 + then echo c32-convex-bsd
1468 + else echo c2-convex-bsd
1469 + fi
1470 + exit ;;
1471 + c34*)
1472 + echo c34-convex-bsd
1473 + exit ;;
1474 + c38*)
1475 + echo c38-convex-bsd
1476 + exit ;;
1477 + c4*)
1478 + echo c4-convex-bsd
1479 + exit ;;
1480 + esac
1483 +cat >&2 <<EOF
1484 +$0: unable to guess system type
1486 +This script, last modified $timestamp, has failed to recognize
1487 +the operating system you are using. It is advised that you
1488 +download the most up to date version of the config scripts from
1490 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1491 +and
1492 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1494 +If the version you run ($0) is already up to date, please
1495 +send the following data and any information you think might be
1496 +pertinent to <config-patches@gnu.org> in order to provide the needed
1497 +information to handle your system.
1499 +config.guess timestamp = $timestamp
1501 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1502 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1503 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1504 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1506 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1507 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1509 +hostinfo = `(hostinfo) 2>/dev/null`
1510 +/bin/universe = `(/bin/universe) 2>/dev/null`
1511 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1512 +/bin/arch = `(/bin/arch) 2>/dev/null`
1513 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1514 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1516 +UNAME_MACHINE = ${UNAME_MACHINE}
1517 +UNAME_RELEASE = ${UNAME_RELEASE}
1518 +UNAME_SYSTEM = ${UNAME_SYSTEM}
1519 +UNAME_VERSION = ${UNAME_VERSION}
1520 +EOF
1522 +exit 1
1524 +# Local variables:
1525 +# eval: (add-hook 'write-file-hooks 'time-stamp)
1526 +# time-stamp-start: "timestamp='"
1527 +# time-stamp-format: "%:y-%02m-%02d"
1528 +# time-stamp-end: "'"
1529 +# End:
1530 --- sidplay-2.0.9.orig/config.sub
1531 +++ sidplay-2.0.9/config.sub
1532 @@ -0,0 +1,1658 @@
1533 +#! /bin/sh
1534 +# Configuration validation subroutine script.
1535 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1536 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1537 +# Free Software Foundation, Inc.
1539 +timestamp='2008-01-16'
1541 +# This file is (in principle) common to ALL GNU software.
1542 +# The presence of a machine in this file suggests that SOME GNU software
1543 +# can handle that machine. It does not imply ALL GNU software can.
1545 +# This file is free software; you can redistribute it and/or modify
1546 +# it under the terms of the GNU General Public License as published by
1547 +# the Free Software Foundation; either version 2 of the License, or
1548 +# (at your option) any later version.
1550 +# This program is distributed in the hope that it will be useful,
1551 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1552 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1553 +# GNU General Public License for more details.
1555 +# You should have received a copy of the GNU General Public License
1556 +# along with this program; if not, write to the Free Software
1557 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1558 +# 02110-1301, USA.
1560 +# As a special exception to the GNU General Public License, if you
1561 +# distribute this file as part of a program that contains a
1562 +# configuration script generated by Autoconf, you may include it under
1563 +# the same distribution terms that you use for the rest of that program.
1566 +# Please send patches to <config-patches@gnu.org>. Submit a context
1567 +# diff and a properly formatted ChangeLog entry.
1569 +# Configuration subroutine to validate and canonicalize a configuration type.
1570 +# Supply the specified configuration type as an argument.
1571 +# If it is invalid, we print an error message on stderr and exit with code 1.
1572 +# Otherwise, we print the canonical config type on stdout and succeed.
1574 +# This file is supposed to be the same for all GNU packages
1575 +# and recognize all the CPU types, system types and aliases
1576 +# that are meaningful with *any* GNU software.
1577 +# Each package is responsible for reporting which valid configurations
1578 +# it does not support. The user should be able to distinguish
1579 +# a failure to support a valid configuration from a meaningless
1580 +# configuration.
1582 +# The goal of this file is to map all the various variations of a given
1583 +# machine specification into a single specification in the form:
1584 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
1585 +# or in some cases, the newer four-part form:
1586 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
1587 +# It is wrong to echo any other type of specification.
1589 +me=`echo "$0" | sed -e 's,.*/,,'`
1591 +usage="\
1592 +Usage: $0 [OPTION] CPU-MFR-OPSYS
1593 + $0 [OPTION] ALIAS
1595 +Canonicalize a configuration name.
1597 +Operation modes:
1598 + -h, --help print this help, then exit
1599 + -t, --time-stamp print date of last modification, then exit
1600 + -v, --version print version number, then exit
1602 +Report bugs and patches to <config-patches@gnu.org>."
1604 +version="\
1605 +GNU config.sub ($timestamp)
1607 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1608 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1610 +This is free software; see the source for copying conditions. There is NO
1611 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1613 +help="
1614 +Try \`$me --help' for more information."
1616 +# Parse command line
1617 +while test $# -gt 0 ; do
1618 + case $1 in
1619 + --time-stamp | --time* | -t )
1620 + echo "$timestamp" ; exit ;;
1621 + --version | -v )
1622 + echo "$version" ; exit ;;
1623 + --help | --h* | -h )
1624 + echo "$usage"; exit ;;
1625 + -- ) # Stop option processing
1626 + shift; break ;;
1627 + - ) # Use stdin as input.
1628 + break ;;
1629 + -* )
1630 + echo "$me: invalid option $1$help"
1631 + exit 1 ;;
1633 + *local*)
1634 + # First pass through any local machine types.
1635 + echo $1
1636 + exit ;;
1638 + * )
1639 + break ;;
1640 + esac
1641 +done
1643 +case $# in
1644 + 0) echo "$me: missing argument$help" >&2
1645 + exit 1;;
1646 + 1) ;;
1647 + *) echo "$me: too many arguments$help" >&2
1648 + exit 1;;
1649 +esac
1651 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
1652 +# Here we must recognize all the valid KERNEL-OS combinations.
1653 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
1654 +case $maybe_os in
1655 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
1656 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
1657 + storm-chaos* | os2-emx* | rtmk-nova*)
1658 + os=-$maybe_os
1659 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
1660 + ;;
1661 + *)
1662 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
1663 + if [ $basic_machine != $1 ]
1664 + then os=`echo $1 | sed 's/.*-/-/'`
1665 + else os=; fi
1666 + ;;
1667 +esac
1669 +### Let's recognize common machines as not being operating systems so
1670 +### that things like config.sub decstation-3100 work. We also
1671 +### recognize some manufacturers as not being operating systems, so we
1672 +### can provide default operating systems below.
1673 +case $os in
1674 + -sun*os*)
1675 + # Prevent following clause from handling this invalid input.
1676 + ;;
1677 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
1678 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
1679 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
1680 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
1681 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1682 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
1683 + -apple | -axis | -knuth | -cray)
1684 + os=
1685 + basic_machine=$1
1686 + ;;
1687 + -sim | -cisco | -oki | -wec | -winbond)
1688 + os=
1689 + basic_machine=$1
1690 + ;;
1691 + -scout)
1692 + ;;
1693 + -wrs)
1694 + os=-vxworks
1695 + basic_machine=$1
1696 + ;;
1697 + -chorusos*)
1698 + os=-chorusos
1699 + basic_machine=$1
1700 + ;;
1701 + -chorusrdb)
1702 + os=-chorusrdb
1703 + basic_machine=$1
1704 + ;;
1705 + -hiux*)
1706 + os=-hiuxwe2
1707 + ;;
1708 + -sco6)
1709 + os=-sco5v6
1710 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1711 + ;;
1712 + -sco5)
1713 + os=-sco3.2v5
1714 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1715 + ;;
1716 + -sco4)
1717 + os=-sco3.2v4
1718 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1719 + ;;
1720 + -sco3.2.[4-9]*)
1721 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
1722 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1723 + ;;
1724 + -sco3.2v[4-9]*)
1725 + # Don't forget version if it is 3.2v4 or newer.
1726 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1727 + ;;
1728 + -sco5v6*)
1729 + # Don't forget version if it is 3.2v4 or newer.
1730 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1731 + ;;
1732 + -sco*)
1733 + os=-sco3.2v2
1734 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1735 + ;;
1736 + -udk*)
1737 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1738 + ;;
1739 + -isc)
1740 + os=-isc2.2
1741 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1742 + ;;
1743 + -clix*)
1744 + basic_machine=clipper-intergraph
1745 + ;;
1746 + -isc*)
1747 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1748 + ;;
1749 + -lynx*)
1750 + os=-lynxos
1751 + ;;
1752 + -ptx*)
1753 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
1754 + ;;
1755 + -windowsnt*)
1756 + os=`echo $os | sed -e 's/windowsnt/winnt/'`
1757 + ;;
1758 + -psos*)
1759 + os=-psos
1760 + ;;
1761 + -mint | -mint[0-9]*)
1762 + basic_machine=m68k-atari
1763 + os=-mint
1764 + ;;
1765 +esac
1767 +# Decode aliases for certain CPU-COMPANY combinations.
1768 +case $basic_machine in
1769 + # Recognize the basic CPU types without company name.
1770 + # Some are omitted here because they have special meanings below.
1771 + 1750a | 580 \
1772 + | a29k \
1773 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
1774 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
1775 + | am33_2.0 \
1776 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
1777 + | bfin \
1778 + | c4x | clipper \
1779 + | d10v | d30v | dlx | dsp16xx \
1780 + | fido | fr30 | frv \
1781 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1782 + | i370 | i860 | i960 | ia64 \
1783 + | ip2k | iq2000 \
1784 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
1785 + | maxq | mb | microblaze | mcore | mep \
1786 + | mips | mipsbe | mipseb | mipsel | mipsle \
1787 + | mips16 \
1788 + | mips64 | mips64el \
1789 + | mips64vr | mips64vrel \
1790 + | mips64orion | mips64orionel \
1791 + | mips64vr4100 | mips64vr4100el \
1792 + | mips64vr4300 | mips64vr4300el \
1793 + | mips64vr5000 | mips64vr5000el \
1794 + | mips64vr5900 | mips64vr5900el \
1795 + | mipsisa32 | mipsisa32el \
1796 + | mipsisa32r2 | mipsisa32r2el \
1797 + | mipsisa64 | mipsisa64el \
1798 + | mipsisa64r2 | mipsisa64r2el \
1799 + | mipsisa64sb1 | mipsisa64sb1el \
1800 + | mipsisa64sr71k | mipsisa64sr71kel \
1801 + | mipstx39 | mipstx39el \
1802 + | mn10200 | mn10300 \
1803 + | mt \
1804 + | msp430 \
1805 + | nios | nios2 \
1806 + | ns16k | ns32k \
1807 + | or32 \
1808 + | pdp10 | pdp11 | pj | pjl \
1809 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
1810 + | pyramid \
1811 + | score \
1812 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1813 + | sh64 | sh64le \
1814 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
1815 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
1816 + | spu | strongarm \
1817 + | tahoe | thumb | tic4x | tic80 | tron \
1818 + | v850 | v850e \
1819 + | we32k \
1820 + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
1821 + | z8k)
1822 + basic_machine=$basic_machine-unknown
1823 + ;;
1824 + m6811 | m68hc11 | m6812 | m68hc12)
1825 + # Motorola 68HC11/12.
1826 + basic_machine=$basic_machine-unknown
1827 + os=-none
1828 + ;;
1829 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
1830 + ;;
1831 + ms1)
1832 + basic_machine=mt-unknown
1833 + ;;
1835 + # We use `pc' rather than `unknown'
1836 + # because (1) that's what they normally are, and
1837 + # (2) the word "unknown" tends to confuse beginning users.
1838 + i*86 | x86_64)
1839 + basic_machine=$basic_machine-pc
1840 + ;;
1841 + # Object if more than one company name word.
1842 + *-*-*)
1843 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1844 + exit 1
1845 + ;;
1846 + # Recognize the basic CPU types with company name.
1847 + 580-* \
1848 + | a29k-* \
1849 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
1850 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
1851 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
1852 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
1853 + | avr-* | avr32-* \
1854 + | bfin-* | bs2000-* \
1855 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
1856 + | clipper-* | craynv-* | cydra-* \
1857 + | d10v-* | d30v-* | dlx-* \
1858 + | elxsi-* \
1859 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
1860 + | h8300-* | h8500-* \
1861 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
1862 + | i*86-* | i860-* | i960-* | ia64-* \
1863 + | ip2k-* | iq2000-* \
1864 + | m32c-* | m32r-* | m32rle-* \
1865 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1866 + | m88110-* | m88k-* | maxq-* | mcore-* \
1867 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1868 + | mips16-* \
1869 + | mips64-* | mips64el-* \
1870 + | mips64vr-* | mips64vrel-* \
1871 + | mips64orion-* | mips64orionel-* \
1872 + | mips64vr4100-* | mips64vr4100el-* \
1873 + | mips64vr4300-* | mips64vr4300el-* \
1874 + | mips64vr5000-* | mips64vr5000el-* \
1875 + | mips64vr5900-* | mips64vr5900el-* \
1876 + | mipsisa32-* | mipsisa32el-* \
1877 + | mipsisa32r2-* | mipsisa32r2el-* \
1878 + | mipsisa64-* | mipsisa64el-* \
1879 + | mipsisa64r2-* | mipsisa64r2el-* \
1880 + | mipsisa64sb1-* | mipsisa64sb1el-* \
1881 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
1882 + | mipstx39-* | mipstx39el-* \
1883 + | mmix-* \
1884 + | mt-* \
1885 + | msp430-* \
1886 + | nios-* | nios2-* \
1887 + | none-* | np1-* | ns16k-* | ns32k-* \
1888 + | orion-* \
1889 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
1890 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
1891 + | pyramid-* \
1892 + | romp-* | rs6000-* \
1893 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1894 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
1895 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
1896 + | sparclite-* \
1897 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1898 + | tahoe-* | thumb-* \
1899 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
1900 + | tron-* \
1901 + | v850-* | v850e-* | vax-* \
1902 + | we32k-* \
1903 + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1904 + | xstormy16-* | xtensa*-* \
1905 + | ymp-* \
1906 + | z8k-*)
1907 + ;;
1908 + # Recognize the basic CPU types without company name, with glob match.
1909 + xtensa*)
1910 + basic_machine=$basic_machine-unknown
1911 + ;;
1912 + # Recognize the various machine names and aliases which stand
1913 + # for a CPU type and a company and sometimes even an OS.
1914 + 386bsd)
1915 + basic_machine=i386-unknown
1916 + os=-bsd
1917 + ;;
1918 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
1919 + basic_machine=m68000-att
1920 + ;;
1921 + 3b*)
1922 + basic_machine=we32k-att
1923 + ;;
1924 + a29khif)
1925 + basic_machine=a29k-amd
1926 + os=-udi
1927 + ;;
1928 + abacus)
1929 + basic_machine=abacus-unknown
1930 + ;;
1931 + adobe68k)
1932 + basic_machine=m68010-adobe
1933 + os=-scout
1934 + ;;
1935 + alliant | fx80)
1936 + basic_machine=fx80-alliant
1937 + ;;
1938 + altos | altos3068)
1939 + basic_machine=m68k-altos
1940 + ;;
1941 + am29k)
1942 + basic_machine=a29k-none
1943 + os=-bsd
1944 + ;;
1945 + amd64)
1946 + basic_machine=x86_64-pc
1947 + ;;
1948 + amd64-*)
1949 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
1950 + ;;
1951 + amdahl)
1952 + basic_machine=580-amdahl
1953 + os=-sysv
1954 + ;;
1955 + amiga | amiga-*)
1956 + basic_machine=m68k-unknown
1957 + ;;
1958 + amigaos | amigados)
1959 + basic_machine=m68k-unknown
1960 + os=-amigaos
1961 + ;;
1962 + amigaunix | amix)
1963 + basic_machine=m68k-unknown
1964 + os=-sysv4
1965 + ;;
1966 + apollo68)
1967 + basic_machine=m68k-apollo
1968 + os=-sysv
1969 + ;;
1970 + apollo68bsd)
1971 + basic_machine=m68k-apollo
1972 + os=-bsd
1973 + ;;
1974 + aux)
1975 + basic_machine=m68k-apple
1976 + os=-aux
1977 + ;;
1978 + balance)
1979 + basic_machine=ns32k-sequent
1980 + os=-dynix
1981 + ;;
1982 + blackfin)
1983 + basic_machine=bfin-unknown
1984 + os=-linux
1985 + ;;
1986 + blackfin-*)
1987 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
1988 + os=-linux
1989 + ;;
1990 + c90)
1991 + basic_machine=c90-cray
1992 + os=-unicos
1993 + ;;
1994 + convex-c1)
1995 + basic_machine=c1-convex
1996 + os=-bsd
1997 + ;;
1998 + convex-c2)
1999 + basic_machine=c2-convex
2000 + os=-bsd
2001 + ;;
2002 + convex-c32)
2003 + basic_machine=c32-convex
2004 + os=-bsd
2005 + ;;
2006 + convex-c34)
2007 + basic_machine=c34-convex
2008 + os=-bsd
2009 + ;;
2010 + convex-c38)
2011 + basic_machine=c38-convex
2012 + os=-bsd
2013 + ;;
2014 + cray | j90)
2015 + basic_machine=j90-cray
2016 + os=-unicos
2017 + ;;
2018 + craynv)
2019 + basic_machine=craynv-cray
2020 + os=-unicosmp
2021 + ;;
2022 + cr16)
2023 + basic_machine=cr16-unknown
2024 + os=-elf
2025 + ;;
2026 + crds | unos)
2027 + basic_machine=m68k-crds
2028 + ;;
2029 + crisv32 | crisv32-* | etraxfs*)
2030 + basic_machine=crisv32-axis
2031 + ;;
2032 + cris | cris-* | etrax*)
2033 + basic_machine=cris-axis
2034 + ;;
2035 + crx)
2036 + basic_machine=crx-unknown
2037 + os=-elf
2038 + ;;
2039 + da30 | da30-*)
2040 + basic_machine=m68k-da30
2041 + ;;
2042 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
2043 + basic_machine=mips-dec
2044 + ;;
2045 + decsystem10* | dec10*)
2046 + basic_machine=pdp10-dec
2047 + os=-tops10
2048 + ;;
2049 + decsystem20* | dec20*)
2050 + basic_machine=pdp10-dec
2051 + os=-tops20
2052 + ;;
2053 + delta | 3300 | motorola-3300 | motorola-delta \
2054 + | 3300-motorola | delta-motorola)
2055 + basic_machine=m68k-motorola
2056 + ;;
2057 + delta88)
2058 + basic_machine=m88k-motorola
2059 + os=-sysv3
2060 + ;;
2061 + djgpp)
2062 + basic_machine=i586-pc
2063 + os=-msdosdjgpp
2064 + ;;
2065 + dpx20 | dpx20-*)
2066 + basic_machine=rs6000-bull
2067 + os=-bosx
2068 + ;;
2069 + dpx2* | dpx2*-bull)
2070 + basic_machine=m68k-bull
2071 + os=-sysv3
2072 + ;;
2073 + ebmon29k)
2074 + basic_machine=a29k-amd
2075 + os=-ebmon
2076 + ;;
2077 + elxsi)
2078 + basic_machine=elxsi-elxsi
2079 + os=-bsd
2080 + ;;
2081 + encore | umax | mmax)
2082 + basic_machine=ns32k-encore
2083 + ;;
2084 + es1800 | OSE68k | ose68k | ose | OSE)
2085 + basic_machine=m68k-ericsson
2086 + os=-ose
2087 + ;;
2088 + fx2800)
2089 + basic_machine=i860-alliant
2090 + ;;
2091 + genix)
2092 + basic_machine=ns32k-ns
2093 + ;;
2094 + gmicro)
2095 + basic_machine=tron-gmicro
2096 + os=-sysv
2097 + ;;
2098 + go32)
2099 + basic_machine=i386-pc
2100 + os=-go32
2101 + ;;
2102 + h3050r* | hiux*)
2103 + basic_machine=hppa1.1-hitachi
2104 + os=-hiuxwe2
2105 + ;;
2106 + h8300hms)
2107 + basic_machine=h8300-hitachi
2108 + os=-hms
2109 + ;;
2110 + h8300xray)
2111 + basic_machine=h8300-hitachi
2112 + os=-xray
2113 + ;;
2114 + h8500hms)
2115 + basic_machine=h8500-hitachi
2116 + os=-hms
2117 + ;;
2118 + harris)
2119 + basic_machine=m88k-harris
2120 + os=-sysv3
2121 + ;;
2122 + hp300-*)
2123 + basic_machine=m68k-hp
2124 + ;;
2125 + hp300bsd)
2126 + basic_machine=m68k-hp
2127 + os=-bsd
2128 + ;;
2129 + hp300hpux)
2130 + basic_machine=m68k-hp
2131 + os=-hpux
2132 + ;;
2133 + hp3k9[0-9][0-9] | hp9[0-9][0-9])
2134 + basic_machine=hppa1.0-hp
2135 + ;;
2136 + hp9k2[0-9][0-9] | hp9k31[0-9])
2137 + basic_machine=m68000-hp
2138 + ;;
2139 + hp9k3[2-9][0-9])
2140 + basic_machine=m68k-hp
2141 + ;;
2142 + hp9k6[0-9][0-9] | hp6[0-9][0-9])
2143 + basic_machine=hppa1.0-hp
2144 + ;;
2145 + hp9k7[0-79][0-9] | hp7[0-79][0-9])
2146 + basic_machine=hppa1.1-hp
2147 + ;;
2148 + hp9k78[0-9] | hp78[0-9])
2149 + # FIXME: really hppa2.0-hp
2150 + basic_machine=hppa1.1-hp
2151 + ;;
2152 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
2153 + # FIXME: really hppa2.0-hp
2154 + basic_machine=hppa1.1-hp
2155 + ;;
2156 + hp9k8[0-9][13679] | hp8[0-9][13679])
2157 + basic_machine=hppa1.1-hp
2158 + ;;
2159 + hp9k8[0-9][0-9] | hp8[0-9][0-9])
2160 + basic_machine=hppa1.0-hp
2161 + ;;
2162 + hppa-next)
2163 + os=-nextstep3
2164 + ;;
2165 + hppaosf)
2166 + basic_machine=hppa1.1-hp
2167 + os=-osf
2168 + ;;
2169 + hppro)
2170 + basic_machine=hppa1.1-hp
2171 + os=-proelf
2172 + ;;
2173 + i370-ibm* | ibm*)
2174 + basic_machine=i370-ibm
2175 + ;;
2176 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
2177 + i*86v32)
2178 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2179 + os=-sysv32
2180 + ;;
2181 + i*86v4*)
2182 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2183 + os=-sysv4
2184 + ;;
2185 + i*86v)
2186 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2187 + os=-sysv
2188 + ;;
2189 + i*86sol2)
2190 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
2191 + os=-solaris2
2192 + ;;
2193 + i386mach)
2194 + basic_machine=i386-mach
2195 + os=-mach
2196 + ;;
2197 + i386-vsta | vsta)
2198 + basic_machine=i386-unknown
2199 + os=-vsta
2200 + ;;
2201 + iris | iris4d)
2202 + basic_machine=mips-sgi
2203 + case $os in
2204 + -irix*)
2205 + ;;
2206 + *)
2207 + os=-irix4
2208 + ;;
2209 + esac
2210 + ;;
2211 + isi68 | isi)
2212 + basic_machine=m68k-isi
2213 + os=-sysv
2214 + ;;
2215 + m68knommu)
2216 + basic_machine=m68k-unknown
2217 + os=-linux
2218 + ;;
2219 + m68knommu-*)
2220 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
2221 + os=-linux
2222 + ;;
2223 + m88k-omron*)
2224 + basic_machine=m88k-omron
2225 + ;;
2226 + magnum | m3230)
2227 + basic_machine=mips-mips
2228 + os=-sysv
2229 + ;;
2230 + merlin)
2231 + basic_machine=ns32k-utek
2232 + os=-sysv
2233 + ;;
2234 + mingw32)
2235 + basic_machine=i386-pc
2236 + os=-mingw32
2237 + ;;
2238 + mingw32ce)
2239 + basic_machine=arm-unknown
2240 + os=-mingw32ce
2241 + ;;
2242 + miniframe)
2243 + basic_machine=m68000-convergent
2244 + ;;
2245 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
2246 + basic_machine=m68k-atari
2247 + os=-mint
2248 + ;;
2249 + mips3*-*)
2250 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
2251 + ;;
2252 + mips3*)
2253 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
2254 + ;;
2255 + monitor)
2256 + basic_machine=m68k-rom68k
2257 + os=-coff
2258 + ;;
2259 + morphos)
2260 + basic_machine=powerpc-unknown
2261 + os=-morphos
2262 + ;;
2263 + msdos)
2264 + basic_machine=i386-pc
2265 + os=-msdos
2266 + ;;
2267 + ms1-*)
2268 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
2269 + ;;
2270 + mvs)
2271 + basic_machine=i370-ibm
2272 + os=-mvs
2273 + ;;
2274 + ncr3000)
2275 + basic_machine=i486-ncr
2276 + os=-sysv4
2277 + ;;
2278 + netbsd386)
2279 + basic_machine=i386-unknown
2280 + os=-netbsd
2281 + ;;
2282 + netwinder)
2283 + basic_machine=armv4l-rebel
2284 + os=-linux
2285 + ;;
2286 + news | news700 | news800 | news900)
2287 + basic_machine=m68k-sony
2288 + os=-newsos
2289 + ;;
2290 + news1000)
2291 + basic_machine=m68030-sony
2292 + os=-newsos
2293 + ;;
2294 + news-3600 | risc-news)
2295 + basic_machine=mips-sony
2296 + os=-newsos
2297 + ;;
2298 + necv70)
2299 + basic_machine=v70-nec
2300 + os=-sysv
2301 + ;;
2302 + next | m*-next )
2303 + basic_machine=m68k-next
2304 + case $os in
2305 + -nextstep* )
2306 + ;;
2307 + -ns2*)
2308 + os=-nextstep2
2309 + ;;
2310 + *)
2311 + os=-nextstep3
2312 + ;;
2313 + esac
2314 + ;;
2315 + nh3000)
2316 + basic_machine=m68k-harris
2317 + os=-cxux
2318 + ;;
2319 + nh[45]000)
2320 + basic_machine=m88k-harris
2321 + os=-cxux
2322 + ;;
2323 + nindy960)
2324 + basic_machine=i960-intel
2325 + os=-nindy
2326 + ;;
2327 + mon960)
2328 + basic_machine=i960-intel
2329 + os=-mon960
2330 + ;;
2331 + nonstopux)
2332 + basic_machine=mips-compaq
2333 + os=-nonstopux
2334 + ;;
2335 + np1)
2336 + basic_machine=np1-gould
2337 + ;;
2338 + nsr-tandem)
2339 + basic_machine=nsr-tandem
2340 + ;;
2341 + op50n-* | op60c-*)
2342 + basic_machine=hppa1.1-oki
2343 + os=-proelf
2344 + ;;
2345 + openrisc | openrisc-*)
2346 + basic_machine=or32-unknown
2347 + ;;
2348 + os400)
2349 + basic_machine=powerpc-ibm
2350 + os=-os400
2351 + ;;
2352 + OSE68000 | ose68000)
2353 + basic_machine=m68000-ericsson
2354 + os=-ose
2355 + ;;
2356 + os68k)
2357 + basic_machine=m68k-none
2358 + os=-os68k
2359 + ;;
2360 + pa-hitachi)
2361 + basic_machine=hppa1.1-hitachi
2362 + os=-hiuxwe2
2363 + ;;
2364 + paragon)
2365 + basic_machine=i860-intel
2366 + os=-osf
2367 + ;;
2368 + parisc)
2369 + basic_machine=hppa-unknown
2370 + os=-linux
2371 + ;;
2372 + parisc-*)
2373 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
2374 + os=-linux
2375 + ;;
2376 + pbd)
2377 + basic_machine=sparc-tti
2378 + ;;
2379 + pbb)
2380 + basic_machine=m68k-tti
2381 + ;;
2382 + pc532 | pc532-*)
2383 + basic_machine=ns32k-pc532
2384 + ;;
2385 + pc98)
2386 + basic_machine=i386-pc
2387 + ;;
2388 + pc98-*)
2389 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
2390 + ;;
2391 + pentium | p5 | k5 | k6 | nexgen | viac3)
2392 + basic_machine=i586-pc
2393 + ;;
2394 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
2395 + basic_machine=i686-pc
2396 + ;;
2397 + pentiumii | pentium2 | pentiumiii | pentium3)
2398 + basic_machine=i686-pc
2399 + ;;
2400 + pentium4)
2401 + basic_machine=i786-pc
2402 + ;;
2403 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
2404 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
2405 + ;;
2406 + pentiumpro-* | p6-* | 6x86-* | athlon-*)
2407 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2408 + ;;
2409 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
2410 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2411 + ;;
2412 + pentium4-*)
2413 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
2414 + ;;
2415 + pn)
2416 + basic_machine=pn-gould
2417 + ;;
2418 + power) basic_machine=power-ibm
2419 + ;;
2420 + ppc) basic_machine=powerpc-unknown
2421 + ;;
2422 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
2423 + ;;
2424 + ppcle | powerpclittle | ppc-le | powerpc-little)
2425 + basic_machine=powerpcle-unknown
2426 + ;;
2427 + ppcle-* | powerpclittle-*)
2428 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
2429 + ;;
2430 + ppc64) basic_machine=powerpc64-unknown
2431 + ;;
2432 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
2433 + ;;
2434 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
2435 + basic_machine=powerpc64le-unknown
2436 + ;;
2437 + ppc64le-* | powerpc64little-*)
2438 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
2439 + ;;
2440 + ps2)
2441 + basic_machine=i386-ibm
2442 + ;;
2443 + pw32)
2444 + basic_machine=i586-unknown
2445 + os=-pw32
2446 + ;;
2447 + rdos)
2448 + basic_machine=i386-pc
2449 + os=-rdos
2450 + ;;
2451 + rom68k)
2452 + basic_machine=m68k-rom68k
2453 + os=-coff
2454 + ;;
2455 + rm[46]00)
2456 + basic_machine=mips-siemens
2457 + ;;
2458 + rtpc | rtpc-*)
2459 + basic_machine=romp-ibm
2460 + ;;
2461 + s390 | s390-*)
2462 + basic_machine=s390-ibm
2463 + ;;
2464 + s390x | s390x-*)
2465 + basic_machine=s390x-ibm
2466 + ;;
2467 + sa29200)
2468 + basic_machine=a29k-amd
2469 + os=-udi
2470 + ;;
2471 + sb1)
2472 + basic_machine=mipsisa64sb1-unknown
2473 + ;;
2474 + sb1el)
2475 + basic_machine=mipsisa64sb1el-unknown
2476 + ;;
2477 + sde)
2478 + basic_machine=mipsisa32-sde
2479 + os=-elf
2480 + ;;
2481 + sei)
2482 + basic_machine=mips-sei
2483 + os=-seiux
2484 + ;;
2485 + sequent)
2486 + basic_machine=i386-sequent
2487 + ;;
2488 + sh)
2489 + basic_machine=sh-hitachi
2490 + os=-hms
2491 + ;;
2492 + sh5el)
2493 + basic_machine=sh5le-unknown
2494 + ;;
2495 + sh64)
2496 + basic_machine=sh64-unknown
2497 + ;;
2498 + sparclite-wrs | simso-wrs)
2499 + basic_machine=sparclite-wrs
2500 + os=-vxworks
2501 + ;;
2502 + sps7)
2503 + basic_machine=m68k-bull
2504 + os=-sysv2
2505 + ;;
2506 + spur)
2507 + basic_machine=spur-unknown
2508 + ;;
2509 + st2000)
2510 + basic_machine=m68k-tandem
2511 + ;;
2512 + stratus)
2513 + basic_machine=i860-stratus
2514 + os=-sysv4
2515 + ;;
2516 + sun2)
2517 + basic_machine=m68000-sun
2518 + ;;
2519 + sun2os3)
2520 + basic_machine=m68000-sun
2521 + os=-sunos3
2522 + ;;
2523 + sun2os4)
2524 + basic_machine=m68000-sun
2525 + os=-sunos4
2526 + ;;
2527 + sun3os3)
2528 + basic_machine=m68k-sun
2529 + os=-sunos3
2530 + ;;
2531 + sun3os4)
2532 + basic_machine=m68k-sun
2533 + os=-sunos4
2534 + ;;
2535 + sun4os3)
2536 + basic_machine=sparc-sun
2537 + os=-sunos3
2538 + ;;
2539 + sun4os4)
2540 + basic_machine=sparc-sun
2541 + os=-sunos4
2542 + ;;
2543 + sun4sol2)
2544 + basic_machine=sparc-sun
2545 + os=-solaris2
2546 + ;;
2547 + sun3 | sun3-*)
2548 + basic_machine=m68k-sun
2549 + ;;
2550 + sun4)
2551 + basic_machine=sparc-sun
2552 + ;;
2553 + sun386 | sun386i | roadrunner)
2554 + basic_machine=i386-sun
2555 + ;;
2556 + sv1)
2557 + basic_machine=sv1-cray
2558 + os=-unicos
2559 + ;;
2560 + symmetry)
2561 + basic_machine=i386-sequent
2562 + os=-dynix
2563 + ;;
2564 + t3e)
2565 + basic_machine=alphaev5-cray
2566 + os=-unicos
2567 + ;;
2568 + t90)
2569 + basic_machine=t90-cray
2570 + os=-unicos
2571 + ;;
2572 + tic54x | c54x*)
2573 + basic_machine=tic54x-unknown
2574 + os=-coff
2575 + ;;
2576 + tic55x | c55x*)
2577 + basic_machine=tic55x-unknown
2578 + os=-coff
2579 + ;;
2580 + tic6x | c6x*)
2581 + basic_machine=tic6x-unknown
2582 + os=-coff
2583 + ;;
2584 + tile*)
2585 + basic_machine=tile-unknown
2586 + os=-linux-gnu
2587 + ;;
2588 + tx39)
2589 + basic_machine=mipstx39-unknown
2590 + ;;
2591 + tx39el)
2592 + basic_machine=mipstx39el-unknown
2593 + ;;
2594 + toad1)
2595 + basic_machine=pdp10-xkl
2596 + os=-tops20
2597 + ;;
2598 + tower | tower-32)
2599 + basic_machine=m68k-ncr
2600 + ;;
2601 + tpf)
2602 + basic_machine=s390x-ibm
2603 + os=-tpf
2604 + ;;
2605 + udi29k)
2606 + basic_machine=a29k-amd
2607 + os=-udi
2608 + ;;
2609 + ultra3)
2610 + basic_machine=a29k-nyu
2611 + os=-sym1
2612 + ;;
2613 + v810 | necv810)
2614 + basic_machine=v810-nec
2615 + os=-none
2616 + ;;
2617 + vaxv)
2618 + basic_machine=vax-dec
2619 + os=-sysv
2620 + ;;
2621 + vms)
2622 + basic_machine=vax-dec
2623 + os=-vms
2624 + ;;
2625 + vpp*|vx|vx-*)
2626 + basic_machine=f301-fujitsu
2627 + ;;
2628 + vxworks960)
2629 + basic_machine=i960-wrs
2630 + os=-vxworks
2631 + ;;
2632 + vxworks68)
2633 + basic_machine=m68k-wrs
2634 + os=-vxworks
2635 + ;;
2636 + vxworks29k)
2637 + basic_machine=a29k-wrs
2638 + os=-vxworks
2639 + ;;
2640 + w65*)
2641 + basic_machine=w65-wdc
2642 + os=-none
2643 + ;;
2644 + w89k-*)
2645 + basic_machine=hppa1.1-winbond
2646 + os=-proelf
2647 + ;;
2648 + xbox)
2649 + basic_machine=i686-pc
2650 + os=-mingw32
2651 + ;;
2652 + xps | xps100)
2653 + basic_machine=xps100-honeywell
2654 + ;;
2655 + ymp)
2656 + basic_machine=ymp-cray
2657 + os=-unicos
2658 + ;;
2659 + z8k-*-coff)
2660 + basic_machine=z8k-unknown
2661 + os=-sim
2662 + ;;
2663 + none)
2664 + basic_machine=none-none
2665 + os=-none
2666 + ;;
2668 +# Here we handle the default manufacturer of certain CPU types. It is in
2669 +# some cases the only manufacturer, in others, it is the most popular.
2670 + w89k)
2671 + basic_machine=hppa1.1-winbond
2672 + ;;
2673 + op50n)
2674 + basic_machine=hppa1.1-oki
2675 + ;;
2676 + op60c)
2677 + basic_machine=hppa1.1-oki
2678 + ;;
2679 + romp)
2680 + basic_machine=romp-ibm
2681 + ;;
2682 + mmix)
2683 + basic_machine=mmix-knuth
2684 + ;;
2685 + rs6000)
2686 + basic_machine=rs6000-ibm
2687 + ;;
2688 + vax)
2689 + basic_machine=vax-dec
2690 + ;;
2691 + pdp10)
2692 + # there are many clones, so DEC is not a safe bet
2693 + basic_machine=pdp10-unknown
2694 + ;;
2695 + pdp11)
2696 + basic_machine=pdp11-dec
2697 + ;;
2698 + we32k)
2699 + basic_machine=we32k-att
2700 + ;;
2701 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
2702 + basic_machine=sh-unknown
2703 + ;;
2704 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
2705 + basic_machine=sparc-sun
2706 + ;;
2707 + cydra)
2708 + basic_machine=cydra-cydrome
2709 + ;;
2710 + orion)
2711 + basic_machine=orion-highlevel
2712 + ;;
2713 + orion105)
2714 + basic_machine=clipper-highlevel
2715 + ;;
2716 + mac | mpw | mac-mpw)
2717 + basic_machine=m68k-apple
2718 + ;;
2719 + pmac | pmac-mpw)
2720 + basic_machine=powerpc-apple
2721 + ;;
2722 + *-unknown)
2723 + # Make sure to match an already-canonicalized machine name.
2724 + ;;
2725 + *)
2726 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
2727 + exit 1
2728 + ;;
2729 +esac
2731 +# Here we canonicalize certain aliases for manufacturers.
2732 +case $basic_machine in
2733 + *-digital*)
2734 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
2735 + ;;
2736 + *-commodore*)
2737 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
2738 + ;;
2739 + *)
2740 + ;;
2741 +esac
2743 +# Decode manufacturer-specific aliases for certain operating systems.
2745 +if [ x"$os" != x"" ]
2746 +then
2747 +case $os in
2748 + # First match some system type aliases
2749 + # that might get confused with valid system types.
2750 + # -solaris* is a basic system type, with this one exception.
2751 + -solaris1 | -solaris1.*)
2752 + os=`echo $os | sed -e 's|solaris1|sunos4|'`
2753 + ;;
2754 + -solaris)
2755 + os=-solaris2
2756 + ;;
2757 + -svr4*)
2758 + os=-sysv4
2759 + ;;
2760 + -unixware*)
2761 + os=-sysv4.2uw
2762 + ;;
2763 + -gnu/linux*)
2764 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
2765 + ;;
2766 + # First accept the basic system types.
2767 + # The portable systems comes first.
2768 + # Each alternative MUST END IN A *, to match a version number.
2769 + # -sysv* is not here because it comes later, after sysvr4.
2770 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
2771 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
2772 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
2773 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
2774 + | -aos* \
2775 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
2776 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
2777 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
2778 + | -openbsd* | -solidbsd* \
2779 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
2780 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
2781 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
2782 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
2783 + | -chorusos* | -chorusrdb* \
2784 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
2785 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
2786 + | -uxpv* | -beos* | -mpeix* | -udk* \
2787 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
2788 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
2789 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
2790 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2791 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2792 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
2793 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
2794 + # Remember, each alternative MUST END IN *, to match a version number.
2795 + ;;
2796 + -qnx*)
2797 + case $basic_machine in
2798 + x86-* | i*86-*)
2799 + ;;
2800 + *)
2801 + os=-nto$os
2802 + ;;
2803 + esac
2804 + ;;
2805 + -nto-qnx*)
2806 + ;;
2807 + -nto*)
2808 + os=`echo $os | sed -e 's|nto|nto-qnx|'`
2809 + ;;
2810 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
2811 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
2812 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
2813 + ;;
2814 + -mac*)
2815 + os=`echo $os | sed -e 's|mac|macos|'`
2816 + ;;
2817 + -linux-dietlibc)
2818 + os=-linux-dietlibc
2819 + ;;
2820 + -linux*)
2821 + os=`echo $os | sed -e 's|linux|linux-gnu|'`
2822 + ;;
2823 + -sunos5*)
2824 + os=`echo $os | sed -e 's|sunos5|solaris2|'`
2825 + ;;
2826 + -sunos6*)
2827 + os=`echo $os | sed -e 's|sunos6|solaris3|'`
2828 + ;;
2829 + -opened*)
2830 + os=-openedition
2831 + ;;
2832 + -os400*)
2833 + os=-os400
2834 + ;;
2835 + -wince*)
2836 + os=-wince
2837 + ;;
2838 + -osfrose*)
2839 + os=-osfrose
2840 + ;;
2841 + -osf*)
2842 + os=-osf
2843 + ;;
2844 + -utek*)
2845 + os=-bsd
2846 + ;;
2847 + -dynix*)
2848 + os=-bsd
2849 + ;;
2850 + -acis*)
2851 + os=-aos
2852 + ;;
2853 + -atheos*)
2854 + os=-atheos
2855 + ;;
2856 + -syllable*)
2857 + os=-syllable
2858 + ;;
2859 + -386bsd)
2860 + os=-bsd
2861 + ;;
2862 + -ctix* | -uts*)
2863 + os=-sysv
2864 + ;;
2865 + -nova*)
2866 + os=-rtmk-nova
2867 + ;;
2868 + -ns2 )
2869 + os=-nextstep2
2870 + ;;
2871 + -nsk*)
2872 + os=-nsk
2873 + ;;
2874 + # Preserve the version number of sinix5.
2875 + -sinix5.*)
2876 + os=`echo $os | sed -e 's|sinix|sysv|'`
2877 + ;;
2878 + -sinix*)
2879 + os=-sysv4
2880 + ;;
2881 + -tpf*)
2882 + os=-tpf
2883 + ;;
2884 + -triton*)
2885 + os=-sysv3
2886 + ;;
2887 + -oss*)
2888 + os=-sysv3
2889 + ;;
2890 + -svr4)
2891 + os=-sysv4
2892 + ;;
2893 + -svr3)
2894 + os=-sysv3
2895 + ;;
2896 + -sysvr4)
2897 + os=-sysv4
2898 + ;;
2899 + # This must come after -sysvr4.
2900 + -sysv*)
2901 + ;;
2902 + -ose*)
2903 + os=-ose
2904 + ;;
2905 + -es1800*)
2906 + os=-ose
2907 + ;;
2908 + -xenix)
2909 + os=-xenix
2910 + ;;
2911 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
2912 + os=-mint
2913 + ;;
2914 + -aros*)
2915 + os=-aros
2916 + ;;
2917 + -kaos*)
2918 + os=-kaos
2919 + ;;
2920 + -zvmoe)
2921 + os=-zvmoe
2922 + ;;
2923 + -none)
2924 + ;;
2925 + *)
2926 + # Get rid of the `-' at the beginning of $os.
2927 + os=`echo $os | sed 's/[^-]*-//'`
2928 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
2929 + exit 1
2930 + ;;
2931 +esac
2932 +else
2934 +# Here we handle the default operating systems that come with various machines.
2935 +# The value should be what the vendor currently ships out the door with their
2936 +# machine or put another way, the most popular os provided with the machine.
2938 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
2939 +# "-sun"), then you have to tell the case statement up towards the top
2940 +# that MANUFACTURER isn't an operating system. Otherwise, code above
2941 +# will signal an error saying that MANUFACTURER isn't an operating
2942 +# system, and we'll never get to this point.
2944 +case $basic_machine in
2945 + score-*)
2946 + os=-elf
2947 + ;;
2948 + spu-*)
2949 + os=-elf
2950 + ;;
2951 + *-acorn)
2952 + os=-riscix1.2
2953 + ;;
2954 + arm*-rebel)
2955 + os=-linux
2956 + ;;
2957 + arm*-semi)
2958 + os=-aout
2959 + ;;
2960 + c4x-* | tic4x-*)
2961 + os=-coff
2962 + ;;
2963 + # This must come before the *-dec entry.
2964 + pdp10-*)
2965 + os=-tops20
2966 + ;;
2967 + pdp11-*)
2968 + os=-none
2969 + ;;
2970 + *-dec | vax-*)
2971 + os=-ultrix4.2
2972 + ;;
2973 + m68*-apollo)
2974 + os=-domain
2975 + ;;
2976 + i386-sun)
2977 + os=-sunos4.0.2
2978 + ;;
2979 + m68000-sun)
2980 + os=-sunos3
2981 + # This also exists in the configure program, but was not the
2982 + # default.
2983 + # os=-sunos4
2984 + ;;
2985 + m68*-cisco)
2986 + os=-aout
2987 + ;;
2988 + mep-*)
2989 + os=-elf
2990 + ;;
2991 + mips*-cisco)
2992 + os=-elf
2993 + ;;
2994 + mips*-*)
2995 + os=-elf
2996 + ;;
2997 + or32-*)
2998 + os=-coff
2999 + ;;
3000 + *-tti) # must be before sparc entry or we get the wrong os.
3001 + os=-sysv3
3002 + ;;
3003 + sparc-* | *-sun)
3004 + os=-sunos4.1.1
3005 + ;;
3006 + *-be)
3007 + os=-beos
3008 + ;;
3009 + *-haiku)
3010 + os=-haiku
3011 + ;;
3012 + *-ibm)
3013 + os=-aix
3014 + ;;
3015 + *-knuth)
3016 + os=-mmixware
3017 + ;;
3018 + *-wec)
3019 + os=-proelf
3020 + ;;
3021 + *-winbond)
3022 + os=-proelf
3023 + ;;
3024 + *-oki)
3025 + os=-proelf
3026 + ;;
3027 + *-hp)
3028 + os=-hpux
3029 + ;;
3030 + *-hitachi)
3031 + os=-hiux
3032 + ;;
3033 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
3034 + os=-sysv
3035 + ;;
3036 + *-cbm)
3037 + os=-amigaos
3038 + ;;
3039 + *-dg)
3040 + os=-dgux
3041 + ;;
3042 + *-dolphin)
3043 + os=-sysv3
3044 + ;;
3045 + m68k-ccur)
3046 + os=-rtu
3047 + ;;
3048 + m88k-omron*)
3049 + os=-luna
3050 + ;;
3051 + *-next )
3052 + os=-nextstep
3053 + ;;
3054 + *-sequent)
3055 + os=-ptx
3056 + ;;
3057 + *-crds)
3058 + os=-unos
3059 + ;;
3060 + *-ns)
3061 + os=-genix
3062 + ;;
3063 + i370-*)
3064 + os=-mvs
3065 + ;;
3066 + *-next)
3067 + os=-nextstep3
3068 + ;;
3069 + *-gould)
3070 + os=-sysv
3071 + ;;
3072 + *-highlevel)
3073 + os=-bsd
3074 + ;;
3075 + *-encore)
3076 + os=-bsd
3077 + ;;
3078 + *-sgi)
3079 + os=-irix
3080 + ;;
3081 + *-siemens)
3082 + os=-sysv4
3083 + ;;
3084 + *-masscomp)
3085 + os=-rtu
3086 + ;;
3087 + f30[01]-fujitsu | f700-fujitsu)
3088 + os=-uxpv
3089 + ;;
3090 + *-rom68k)
3091 + os=-coff
3092 + ;;
3093 + *-*bug)
3094 + os=-coff
3095 + ;;
3096 + *-apple)
3097 + os=-macos
3098 + ;;
3099 + *-atari*)
3100 + os=-mint
3101 + ;;
3102 + *)
3103 + os=-none
3104 + ;;
3105 +esac
3108 +# Here we handle the case where we know the os, and the CPU type, but not the
3109 +# manufacturer. We pick the logical manufacturer.
3110 +vendor=unknown
3111 +case $basic_machine in
3112 + *-unknown)
3113 + case $os in
3114 + -riscix*)
3115 + vendor=acorn
3116 + ;;
3117 + -sunos*)
3118 + vendor=sun
3119 + ;;
3120 + -aix*)
3121 + vendor=ibm
3122 + ;;
3123 + -beos*)
3124 + vendor=be
3125 + ;;
3126 + -hpux*)
3127 + vendor=hp
3128 + ;;
3129 + -mpeix*)
3130 + vendor=hp
3131 + ;;
3132 + -hiux*)
3133 + vendor=hitachi
3134 + ;;
3135 + -unos*)
3136 + vendor=crds
3137 + ;;
3138 + -dgux*)
3139 + vendor=dg
3140 + ;;
3141 + -luna*)
3142 + vendor=omron
3143 + ;;
3144 + -genix*)
3145 + vendor=ns
3146 + ;;
3147 + -mvs* | -opened*)
3148 + vendor=ibm
3149 + ;;
3150 + -os400*)
3151 + vendor=ibm
3152 + ;;
3153 + -ptx*)
3154 + vendor=sequent
3155 + ;;
3156 + -tpf*)
3157 + vendor=ibm
3158 + ;;
3159 + -vxsim* | -vxworks* | -windiss*)
3160 + vendor=wrs
3161 + ;;
3162 + -aux*)
3163 + vendor=apple
3164 + ;;
3165 + -hms*)
3166 + vendor=hitachi
3167 + ;;
3168 + -mpw* | -macos*)
3169 + vendor=apple
3170 + ;;
3171 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3172 + vendor=atari
3173 + ;;
3174 + -vos*)
3175 + vendor=stratus
3176 + ;;
3177 + esac
3178 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
3179 + ;;
3180 +esac
3182 +echo $basic_machine$os
3183 +exit
3185 +# Local variables:
3186 +# eval: (add-hook 'write-file-hooks 'time-stamp)
3187 +# time-stamp-start: "timestamp='"
3188 +# time-stamp-format: "%:y-%02m-%02d"
3189 +# time-stamp-end: "'"
3190 +# End:
3191 --- sidplay-2.0.9.orig/configure
3192 +++ sidplay-2.0.9/configure
3193 @@ -1,25 +1,54 @@
3194 #! /bin/sh
3195 # Guess values for system-dependent variables and create Makefiles.
3196 -# Generated by GNU Autoconf 2.59.
3197 +# Generated by GNU Autoconf 2.61.
3199 -# Copyright (C) 2003 Free Software Foundation, Inc.
3200 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3201 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3202 # This configure script is free software; the Free Software Foundation
3203 # gives unlimited permission to copy, distribute and modify it.
3204 ## --------------------- ##
3205 ## M4sh Initialization. ##
3206 ## --------------------- ##
3208 -# Be Bourne compatible
3209 +# Be more Bourne compatible
3210 +DUALCASE=1; export DUALCASE # for MKS sh
3211 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3212 emulate sh
3213 NULLCMD=:
3214 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3215 # is contrary to our usage. Disable this feature.
3216 alias -g '${1+"$@"}'='"$@"'
3217 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3218 - set -o posix
3219 + setopt NO_GLOB_SUBST
3220 +else
3221 + case `(set -o) 2>/dev/null` in
3222 + *posix*) set -o posix ;;
3223 +esac
3230 +# PATH needs CR
3231 +# Avoid depending upon Character Ranges.
3232 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3233 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3234 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3235 +as_cr_digits='0123456789'
3236 +as_cr_alnum=$as_cr_Letters$as_cr_digits
3238 +# The user is always right.
3239 +if test "${PATH_SEPARATOR+set}" != set; then
3240 + echo "#! /bin/sh" >conf$$.sh
3241 + echo "exit 0" >>conf$$.sh
3242 + chmod +x conf$$.sh
3243 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3244 + PATH_SEPARATOR=';'
3245 + else
3246 + PATH_SEPARATOR=:
3247 + fi
3248 + rm -f conf$$.sh
3250 -DUALCASE=1; export DUALCASE # for MKS sh
3252 # Support unset when possible.
3253 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3254 @@ -29,8 +58,43 @@
3258 +# IFS
3259 +# We need space, tab and new line, in precisely that order. Quoting is
3260 +# there to prevent editors from complaining about space-tab.
3261 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3262 +# splitting by setting IFS to empty value.)
3263 +as_nl='
3265 +IFS=" "" $as_nl"
3267 +# Find who we are. Look in the path if we contain no directory separator.
3268 +case $0 in
3269 + *[\\/]* ) as_myself=$0 ;;
3270 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 +for as_dir in $PATH
3273 + IFS=$as_save_IFS
3274 + test -z "$as_dir" && as_dir=.
3275 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3276 +done
3277 +IFS=$as_save_IFS
3279 + ;;
3280 +esac
3281 +# We did not find ourselves, most probably we were run as `sh COMMAND'
3282 +# in which case we are not to be found in the path.
3283 +if test "x$as_myself" = x; then
3284 + as_myself=$0
3286 +if test ! -f "$as_myself"; then
3287 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3288 + { (exit 1); exit 1; }
3291 # Work around bugs in pre-3.0 UWIN ksh.
3292 -$as_unset ENV MAIL MAILPATH
3293 +for as_var in ENV MAIL MAILPATH
3294 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3295 +done
3296 PS1='$ '
3297 PS2='> '
3298 PS4='+ '
3299 @@ -44,18 +108,19 @@
3300 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3301 eval $as_var=C; export $as_var
3302 else
3303 - $as_unset $as_var
3304 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3306 done
3308 # Required to use basename.
3309 -if expr a : '\(a\)' >/dev/null 2>&1; then
3310 +if expr a : '\(a\)' >/dev/null 2>&1 &&
3311 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
3312 as_expr=expr
3313 else
3314 as_expr=false
3317 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3318 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3319 as_basename=basename
3320 else
3321 as_basename=false
3322 @@ -63,157 +128,388 @@
3325 # Name of the executable.
3326 -as_me=`$as_basename "$0" ||
3327 +as_me=`$as_basename -- "$0" ||
3328 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3329 X"$0" : 'X\(//\)$' \| \
3330 - X"$0" : 'X\(/\)$' \| \
3331 - . : '\(.\)' 2>/dev/null ||
3332 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3333 echo X/"$0" |
3334 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3335 - /^X\/\(\/\/\)$/{ s//\1/; q; }
3336 - /^X\/\(\/\).*/{ s//\1/; q; }
3337 - s/.*/./; q'`
3338 + sed '/^.*\/\([^/][^/]*\)\/*$/{
3339 + s//\1/
3342 + /^X\/\(\/\/\)$/{
3343 + s//\1/
3346 + /^X\/\(\/\).*/{
3347 + s//\1/
3350 + s/.*/./; q'`
3352 +# CDPATH.
3353 +$as_unset CDPATH
3355 -# PATH needs CR, and LINENO needs CR and PATH.
3356 -# Avoid depending upon Character Ranges.
3357 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3358 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3359 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3360 -as_cr_digits='0123456789'
3361 -as_cr_alnum=$as_cr_Letters$as_cr_digits
3363 -# The user is always right.
3364 -if test "${PATH_SEPARATOR+set}" != set; then
3365 - echo "#! /bin/sh" >conf$$.sh
3366 - echo "exit 0" >>conf$$.sh
3367 - chmod +x conf$$.sh
3368 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3369 - PATH_SEPARATOR=';'
3370 - else
3371 - PATH_SEPARATOR=:
3372 - fi
3373 - rm -f conf$$.sh
3374 +if test "x$CONFIG_SHELL" = x; then
3375 + if (eval ":") 2>/dev/null; then
3376 + as_have_required=yes
3377 +else
3378 + as_have_required=no
3381 + if test $as_have_required = yes && (eval ":
3382 +(as_func_return () {
3383 + (exit \$1)
3385 +as_func_success () {
3386 + as_func_return 0
3388 +as_func_failure () {
3389 + as_func_return 1
3391 +as_func_ret_success () {
3392 + return 0
3394 +as_func_ret_failure () {
3395 + return 1
3398 - as_lineno_1=$LINENO
3399 - as_lineno_2=$LINENO
3400 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3401 - test "x$as_lineno_1" != "x$as_lineno_2" &&
3402 - test "x$as_lineno_3" = "x$as_lineno_2" || {
3403 - # Find who we are. Look in the path if we contain no path at all
3404 - # relative or not.
3405 - case $0 in
3406 - *[\\/]* ) as_myself=$0 ;;
3407 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 -for as_dir in $PATH
3410 - IFS=$as_save_IFS
3411 - test -z "$as_dir" && as_dir=.
3412 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3413 -done
3414 +exitcode=0
3415 +if as_func_success; then
3417 +else
3418 + exitcode=1
3419 + echo as_func_success failed.
3422 - ;;
3423 - esac
3424 - # We did not find ourselves, most probably we were run as `sh COMMAND'
3425 - # in which case we are not to be found in the path.
3426 - if test "x$as_myself" = x; then
3427 - as_myself=$0
3428 - fi
3429 - if test ! -f "$as_myself"; then
3430 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
3431 - { (exit 1); exit 1; }; }
3432 - fi
3433 - case $CONFIG_SHELL in
3434 - '')
3435 +if as_func_failure; then
3436 + exitcode=1
3437 + echo as_func_failure succeeded.
3440 +if as_func_ret_success; then
3442 +else
3443 + exitcode=1
3444 + echo as_func_ret_success failed.
3447 +if as_func_ret_failure; then
3448 + exitcode=1
3449 + echo as_func_ret_failure succeeded.
3452 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
3454 +else
3455 + exitcode=1
3456 + echo positional parameters were not saved.
3459 +test \$exitcode = 0) || { (exit 1); exit 1; }
3462 + as_lineno_1=\$LINENO
3463 + as_lineno_2=\$LINENO
3464 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
3465 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
3466 +") 2> /dev/null; then
3468 +else
3469 + as_candidate_shells=
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3473 IFS=$as_save_IFS
3474 test -z "$as_dir" && as_dir=.
3475 - for as_base in sh bash ksh sh5; do
3476 - case $as_dir in
3477 + case $as_dir in
3479 - if ("$as_dir/$as_base" -c '
3480 + for as_base in sh bash ksh sh5; do
3481 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
3482 + done;;
3483 + esac
3484 +done
3485 +IFS=$as_save_IFS
3488 + for as_shell in $as_candidate_shells $SHELL; do
3489 + # Try only shells that exist, to save several forks.
3490 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
3491 + { ("$as_shell") 2> /dev/null <<\_ASEOF
3492 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3493 + emulate sh
3494 + NULLCMD=:
3495 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3496 + # is contrary to our usage. Disable this feature.
3497 + alias -g '${1+"$@"}'='"$@"'
3498 + setopt NO_GLOB_SUBST
3499 +else
3500 + case `(set -o) 2>/dev/null` in
3501 + *posix*) set -o posix ;;
3502 +esac
3508 +_ASEOF
3509 +}; then
3510 + CONFIG_SHELL=$as_shell
3511 + as_have_required=yes
3512 + if { "$as_shell" 2> /dev/null <<\_ASEOF
3513 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3514 + emulate sh
3515 + NULLCMD=:
3516 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3517 + # is contrary to our usage. Disable this feature.
3518 + alias -g '${1+"$@"}'='"$@"'
3519 + setopt NO_GLOB_SUBST
3520 +else
3521 + case `(set -o) 2>/dev/null` in
3522 + *posix*) set -o posix ;;
3523 +esac
3529 +(as_func_return () {
3530 + (exit $1)
3532 +as_func_success () {
3533 + as_func_return 0
3535 +as_func_failure () {
3536 + as_func_return 1
3538 +as_func_ret_success () {
3539 + return 0
3541 +as_func_ret_failure () {
3542 + return 1
3545 +exitcode=0
3546 +if as_func_success; then
3548 +else
3549 + exitcode=1
3550 + echo as_func_success failed.
3553 +if as_func_failure; then
3554 + exitcode=1
3555 + echo as_func_failure succeeded.
3558 +if as_func_ret_success; then
3560 +else
3561 + exitcode=1
3562 + echo as_func_ret_success failed.
3565 +if as_func_ret_failure; then
3566 + exitcode=1
3567 + echo as_func_ret_failure succeeded.
3570 +if ( set x; as_func_ret_success y && test x = "$1" ); then
3572 +else
3573 + exitcode=1
3574 + echo positional parameters were not saved.
3577 +test $exitcode = 0) || { (exit 1); exit 1; }
3580 as_lineno_1=$LINENO
3581 as_lineno_2=$LINENO
3582 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3583 test "x$as_lineno_1" != "x$as_lineno_2" &&
3584 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3585 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3586 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3587 - CONFIG_SHELL=$as_dir/$as_base
3588 - export CONFIG_SHELL
3589 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3590 - fi;;
3591 - esac
3592 - done
3593 -done
3595 - esac
3596 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3598 +_ASEOF
3599 +}; then
3600 + break
3605 + done
3607 + if test "x$CONFIG_SHELL" != x; then
3608 + for as_var in BASH_ENV ENV
3609 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3610 + done
3611 + export CONFIG_SHELL
3612 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3616 + if test $as_have_required = no; then
3617 + echo This script requires a shell more modern than all the
3618 + echo shells that I found on your system. Please install a
3619 + echo modern shell, or manually run the script under such a
3620 + echo shell if you do have one.
3621 + { (exit 1); exit 1; }
3631 +(eval "as_func_return () {
3632 + (exit \$1)
3634 +as_func_success () {
3635 + as_func_return 0
3637 +as_func_failure () {
3638 + as_func_return 1
3640 +as_func_ret_success () {
3641 + return 0
3643 +as_func_ret_failure () {
3644 + return 1
3647 +exitcode=0
3648 +if as_func_success; then
3650 +else
3651 + exitcode=1
3652 + echo as_func_success failed.
3655 +if as_func_failure; then
3656 + exitcode=1
3657 + echo as_func_failure succeeded.
3660 +if as_func_ret_success; then
3662 +else
3663 + exitcode=1
3664 + echo as_func_ret_success failed.
3667 +if as_func_ret_failure; then
3668 + exitcode=1
3669 + echo as_func_ret_failure succeeded.
3672 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
3674 +else
3675 + exitcode=1
3676 + echo positional parameters were not saved.
3679 +test \$exitcode = 0") || {
3680 + echo No shell found that supports shell functions.
3681 + echo Please tell autoconf@gnu.org about your system,
3682 + echo including any error possibly output before this
3683 + echo message
3688 + as_lineno_1=$LINENO
3689 + as_lineno_2=$LINENO
3690 + test "x$as_lineno_1" != "x$as_lineno_2" &&
3691 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3693 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3694 # uniformly replaced by the line number. The first 'sed' inserts a
3695 - # line-number line before each line; the second 'sed' does the real
3696 - # work. The second script uses 'N' to pair each line-number line
3697 - # with the numbered line, and appends trailing '-' during
3698 - # substitution so that $LINENO is not a special case at line end.
3699 + # line-number line after each line using $LINENO; the second 'sed'
3700 + # does the real work. The second script uses 'N' to pair each
3701 + # line-number line with the line containing $LINENO, and appends
3702 + # trailing '-' during substitution so that $LINENO is not a special
3703 + # case at line end.
3704 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3705 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3706 - sed '=' <$as_myself |
3707 + # scripts with optimization help from Paolo Bonzini. Blame Lee
3708 + # E. McMahon (1931-1989) for sed's syntax. :-)
3709 + sed -n '
3711 + /[$]LINENO/=
3712 + ' <$as_myself |
3713 sed '
3714 + s/[$]LINENO.*/&-/
3715 + t lineno
3717 + :lineno
3719 - s,$,-,
3720 - : loop
3721 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3722 + :loop
3723 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3724 t loop
3725 - s,-$,,
3726 - s,^['$as_cr_digits']*\n,,
3727 + s/-\n.*//
3728 ' >$as_me.lineno &&
3729 - chmod +x $as_me.lineno ||
3730 + chmod +x "$as_me.lineno" ||
3731 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3732 { (exit 1); exit 1; }; }
3734 # Don't try to exec as it changes $[0], causing all sort of problems
3735 # (the dirname of $[0] is not the place where we might find the
3736 - # original and so on. Autoconf is especially sensible to this).
3737 - . ./$as_me.lineno
3738 + # original and so on. Autoconf is especially sensitive to this).
3739 + . "./$as_me.lineno"
3740 # Exit status is that of the last command.
3741 exit
3745 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3746 - *c*,-n*) ECHO_N= ECHO_C='
3747 -' ECHO_T=' ' ;;
3748 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3749 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3750 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3751 + as_dirname=dirname
3752 +else
3753 + as_dirname=false
3756 +ECHO_C= ECHO_N= ECHO_T=
3757 +case `echo -n x` in
3758 +-n*)
3759 + case `echo 'x\c'` in
3760 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3761 + *) ECHO_C='\c';;
3762 + esac;;
3764 + ECHO_N='-n';;
3765 esac
3767 -if expr a : '\(a\)' >/dev/null 2>&1; then
3768 +if expr a : '\(a\)' >/dev/null 2>&1 &&
3769 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
3770 as_expr=expr
3771 else
3772 as_expr=false
3775 rm -f conf$$ conf$$.exe conf$$.file
3776 +if test -d conf$$.dir; then
3777 + rm -f conf$$.dir/conf$$.file
3778 +else
3779 + rm -f conf$$.dir
3780 + mkdir conf$$.dir
3782 echo >conf$$.file
3783 if ln -s conf$$.file conf$$ 2>/dev/null; then
3784 - # We could just check for DJGPP; but this test a) works b) is more generic
3785 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3786 - if test -f conf$$.exe; then
3787 - # Don't use ln at all; we don't have any links
3788 + as_ln_s='ln -s'
3789 + # ... but there are two gotchas:
3790 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3791 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3792 + # In both cases, we have to default to `cp -p'.
3793 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3794 as_ln_s='cp -p'
3795 - else
3796 - as_ln_s='ln -s'
3797 - fi
3798 elif ln conf$$.file conf$$ 2>/dev/null; then
3799 as_ln_s=ln
3800 else
3801 as_ln_s='cp -p'
3803 -rm -f conf$$ conf$$.exe conf$$.file
3804 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3805 +rmdir conf$$.dir 2>/dev/null
3807 if mkdir -p . 2>/dev/null; then
3808 as_mkdir_p=:
3809 @@ -222,7 +518,28 @@
3810 as_mkdir_p=false
3813 -as_executable_p="test -f"
3814 +if test -x / >/dev/null 2>&1; then
3815 + as_test_x='test -x'
3816 +else
3817 + if ls -dL / >/dev/null 2>&1; then
3818 + as_ls_L_option=L
3819 + else
3820 + as_ls_L_option=
3821 + fi
3822 + as_test_x='
3823 + eval sh -c '\''
3824 + if test -d "$1"; then
3825 + test -d "$1/.";
3826 + else
3827 + case $1 in
3828 + -*)set "./$1";;
3829 + esac;
3830 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3831 + ???[sx]*):;;*)false;;esac;fi
3832 + '\'' sh
3835 +as_executable_p=$as_test_x
3837 # Sed expression to map a string onto a valid CPP name.
3838 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3839 @@ -231,15 +548,6 @@
3840 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3843 -# IFS
3844 -# We need space, tab and new line, in precisely that order.
3845 -as_nl='
3847 -IFS=" $as_nl"
3849 -# CDPATH.
3850 -$as_unset CDPATH
3854 # Check that we are running under the correct shell.
3855 @@ -395,29 +703,26 @@
3857 tagnames=${tagnames+${tagnames},}F77
3859 +exec 7<&0 </dev/null 6>&1
3861 # Name of the host.
3862 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3863 # so uname gets run too.
3864 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
3866 -exec 6>&1
3869 # Initializations.
3871 ac_default_prefix=/usr/local
3872 +ac_clean_files=
3873 ac_config_libobj_dir=.
3874 +LIBOBJS=
3875 cross_compiling=no
3876 subdirs=
3877 MFLAGS=
3878 MAKEFLAGS=
3879 SHELL=${CONFIG_SHELL-/bin/sh}
3881 -# Maximum number of lines to put in a shell here document.
3882 -# This variable seems obsolete. It should probably be removed, and
3883 -# only ac_max_sed_lines should be used.
3884 -: ${ac_max_here_lines=38}
3886 # Identity of this package.
3887 PACKAGE_NAME=
3888 PACKAGE_TARNAME=
3889 @@ -429,42 +734,170 @@
3890 # Factoring default headers for most tests.
3891 ac_includes_default="\
3892 #include <stdio.h>
3893 -#if HAVE_SYS_TYPES_H
3894 +#ifdef HAVE_SYS_TYPES_H
3895 # include <sys/types.h>
3896 #endif
3897 -#if HAVE_SYS_STAT_H
3898 +#ifdef HAVE_SYS_STAT_H
3899 # include <sys/stat.h>
3900 #endif
3901 -#if STDC_HEADERS
3902 +#ifdef STDC_HEADERS
3903 # include <stdlib.h>
3904 # include <stddef.h>
3905 #else
3906 -# if HAVE_STDLIB_H
3907 +# ifdef HAVE_STDLIB_H
3908 # include <stdlib.h>
3909 # endif
3910 #endif
3911 -#if HAVE_STRING_H
3912 -# if !STDC_HEADERS && HAVE_MEMORY_H
3913 +#ifdef HAVE_STRING_H
3914 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3915 # include <memory.h>
3916 # endif
3917 # include <string.h>
3918 #endif
3919 -#if HAVE_STRINGS_H
3920 +#ifdef HAVE_STRINGS_H
3921 # include <strings.h>
3922 #endif
3923 -#if HAVE_INTTYPES_H
3924 +#ifdef HAVE_INTTYPES_H
3925 # include <inttypes.h>
3926 -#else
3927 -# if HAVE_STDINT_H
3928 -# include <stdint.h>
3929 -# endif
3930 #endif
3931 -#if HAVE_UNISTD_H
3932 +#ifdef HAVE_STDINT_H
3933 +# include <stdint.h>
3934 +#endif
3935 +#ifdef HAVE_UNISTD_H
3936 # include <unistd.h>
3937 #endif"
3939 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL AUDIO_LDADD AUDIO_LDFLAGS AUDIO_DRV PKG_CONFIG LIBSIDPLAY2_CXXFLAGS LIBSIDPLAY2_LDFLAGS LIBSIDPLAY2_BUILDERS LIBSIDUTILS_CXXFLAGS LIBSIDUTILS_LDFLAGS BUILDERS_LDFLAGS ACLOCAL_AMFLAGS LIBOBJS LTLIBOBJS'
3940 +ac_subst_vars='SHELL
3941 +PATH_SEPARATOR
3942 +PACKAGE_NAME
3943 +PACKAGE_TARNAME
3944 +PACKAGE_VERSION
3945 +PACKAGE_STRING
3946 +PACKAGE_BUGREPORT
3947 +exec_prefix
3948 +prefix
3949 +program_transform_name
3950 +bindir
3951 +sbindir
3952 +libexecdir
3953 +datarootdir
3954 +datadir
3955 +sysconfdir
3956 +sharedstatedir
3957 +localstatedir
3958 +includedir
3959 +oldincludedir
3960 +docdir
3961 +infodir
3962 +htmldir
3963 +dvidir
3964 +pdfdir
3965 +psdir
3966 +libdir
3967 +localedir
3968 +mandir
3969 +DEFS
3970 +ECHO_C
3971 +ECHO_N
3972 +ECHO_T
3973 +LIBS
3974 +build_alias
3975 +host_alias
3976 +target_alias
3977 +INSTALL_PROGRAM
3978 +INSTALL_SCRIPT
3979 +INSTALL_DATA
3980 +CYGPATH_W
3981 +PACKAGE
3982 +VERSION
3983 +ACLOCAL
3984 +AUTOCONF
3985 +AUTOMAKE
3986 +AUTOHEADER
3987 +MAKEINFO
3988 +AMTAR
3989 +install_sh
3990 +STRIP
3991 +INSTALL_STRIP_PROGRAM
3992 +mkdir_p
3993 +AWK
3994 +SET_MAKE
3995 +am__leading_dot
3996 +build
3997 +build_cpu
3998 +build_vendor
3999 +build_os
4000 +host
4001 +host_cpu
4002 +host_vendor
4003 +host_os
4005 +CFLAGS
4006 +LDFLAGS
4007 +CPPFLAGS
4008 +ac_ct_CC
4009 +EXEEXT
4010 +OBJEXT
4011 +DEPDIR
4012 +am__include
4013 +am__quote
4014 +AMDEP_TRUE
4015 +AMDEP_FALSE
4016 +AMDEPBACKSLASH
4017 +CCDEPMODE
4018 +am__fastdepCC_TRUE
4019 +am__fastdepCC_FALSE
4020 +CXX
4021 +CXXFLAGS
4022 +ac_ct_CXX
4023 +CXXDEPMODE
4024 +am__fastdepCXX_TRUE
4025 +am__fastdepCXX_FALSE
4026 +GREP
4027 +EGREP
4028 +LN_S
4029 +ECHO
4031 +RANLIB
4032 +DLLTOOL
4034 +OBJDUMP
4035 +CPP
4036 +CXXCPP
4037 +F77
4038 +FFLAGS
4039 +ac_ct_F77
4040 +LIBTOOL
4041 +AUDIO_LDADD
4042 +AUDIO_LDFLAGS
4043 +AUDIO_DRV
4044 +PKG_CONFIG
4045 +LIBSIDPLAY2_CXXFLAGS
4046 +LIBSIDPLAY2_LDFLAGS
4047 +LIBSIDPLAY2_BUILDERS
4048 +LIBSIDUTILS_CXXFLAGS
4049 +LIBSIDUTILS_LDFLAGS
4050 +BUILDERS_LDFLAGS
4051 +ACLOCAL_AMFLAGS
4052 +LIBOBJS
4053 +LTLIBOBJS'
4054 ac_subst_files=''
4055 + ac_precious_vars='build_alias
4056 +host_alias
4057 +target_alias
4059 +CFLAGS
4060 +LDFLAGS
4061 +LIBS
4062 +CPPFLAGS
4063 +CXX
4064 +CXXFLAGS
4065 +CCC
4066 +CPP
4067 +CXXCPP
4068 +F77
4069 +FFLAGS'
4072 # Initialize some variables set by options.
4073 ac_init_help=
4074 @@ -491,34 +924,48 @@
4075 # and all the variables that are supposed to be based on exec_prefix
4076 # by default will actually change.
4077 # Use braces instead of parens because sh, perl, etc. also accept them.
4078 +# (The list follows the same order as the GNU Coding Standards.)
4079 bindir='${exec_prefix}/bin'
4080 sbindir='${exec_prefix}/sbin'
4081 libexecdir='${exec_prefix}/libexec'
4082 -datadir='${prefix}/share'
4083 +datarootdir='${prefix}/share'
4084 +datadir='${datarootdir}'
4085 sysconfdir='${prefix}/etc'
4086 sharedstatedir='${prefix}/com'
4087 localstatedir='${prefix}/var'
4088 -libdir='${exec_prefix}/lib'
4089 includedir='${prefix}/include'
4090 oldincludedir='/usr/include'
4091 -infodir='${prefix}/info'
4092 -mandir='${prefix}/man'
4093 +docdir='${datarootdir}/doc/${PACKAGE}'
4094 +infodir='${datarootdir}/info'
4095 +htmldir='${docdir}'
4096 +dvidir='${docdir}'
4097 +pdfdir='${docdir}'
4098 +psdir='${docdir}'
4099 +libdir='${exec_prefix}/lib'
4100 +localedir='${datarootdir}/locale'
4101 +mandir='${datarootdir}/man'
4103 ac_prev=
4104 +ac_dashdash=
4105 for ac_option
4107 # If the previous option needs an argument, assign it.
4108 if test -n "$ac_prev"; then
4109 - eval "$ac_prev=\$ac_option"
4110 + eval $ac_prev=\$ac_option
4111 ac_prev=
4112 continue
4115 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
4116 + case $ac_option in
4117 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
4118 + *) ac_optarg=yes ;;
4119 + esac
4121 # Accept the important Cygnus configure options, so we can diagnose typos.
4123 - case $ac_option in
4124 + case $ac_dashdash$ac_option in
4125 + --)
4126 + ac_dashdash=yes ;;
4128 -bindir | --bindir | --bindi | --bind | --bin | --bi)
4129 ac_prev=bindir ;;
4130 @@ -540,33 +987,45 @@
4131 --config-cache | -C)
4132 cache_file=config.cache ;;
4134 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
4135 + -datadir | --datadir | --datadi | --datad)
4136 ac_prev=datadir ;;
4137 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
4138 - | --da=*)
4139 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
4140 datadir=$ac_optarg ;;
4142 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
4143 + | --dataroo | --dataro | --datar)
4144 + ac_prev=datarootdir ;;
4145 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
4146 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
4147 + datarootdir=$ac_optarg ;;
4149 -disable-* | --disable-*)
4150 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
4151 # Reject names that are not valid shell variable names.
4152 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4153 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4155 { (exit 1); exit 1; }; }
4156 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4157 - eval "enable_$ac_feature=no" ;;
4158 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
4159 + eval enable_$ac_feature=no ;;
4161 + -docdir | --docdir | --docdi | --doc | --do)
4162 + ac_prev=docdir ;;
4163 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
4164 + docdir=$ac_optarg ;;
4166 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
4167 + ac_prev=dvidir ;;
4168 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
4169 + dvidir=$ac_optarg ;;
4171 -enable-* | --enable-*)
4172 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
4173 # Reject names that are not valid shell variable names.
4174 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4175 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
4177 { (exit 1); exit 1; }; }
4178 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
4179 - case $ac_option in
4180 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4181 - *) ac_optarg=yes ;;
4182 - esac
4183 - eval "enable_$ac_feature='$ac_optarg'" ;;
4184 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
4185 + eval enable_$ac_feature=\$ac_optarg ;;
4187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
4188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
4189 @@ -593,6 +1052,12 @@
4190 -host=* | --host=* | --hos=* | --ho=*)
4191 host_alias=$ac_optarg ;;
4193 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
4194 + ac_prev=htmldir ;;
4195 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
4196 + | --ht=*)
4197 + htmldir=$ac_optarg ;;
4199 -includedir | --includedir | --includedi | --included | --include \
4200 | --includ | --inclu | --incl | --inc)
4201 ac_prev=includedir ;;
4202 @@ -617,13 +1082,16 @@
4203 | --libexe=* | --libex=* | --libe=*)
4204 libexecdir=$ac_optarg ;;
4206 + -localedir | --localedir | --localedi | --localed | --locale)
4207 + ac_prev=localedir ;;
4208 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
4209 + localedir=$ac_optarg ;;
4211 -localstatedir | --localstatedir | --localstatedi | --localstated \
4212 - | --localstate | --localstat | --localsta | --localst \
4213 - | --locals | --local | --loca | --loc | --lo)
4214 + | --localstate | --localstat | --localsta | --localst | --locals)
4215 ac_prev=localstatedir ;;
4216 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4217 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
4218 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
4219 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
4220 localstatedir=$ac_optarg ;;
4222 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4223 @@ -688,6 +1156,16 @@
4224 | --progr-tra=* | --program-tr=* | --program-t=*)
4225 program_transform_name=$ac_optarg ;;
4227 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
4228 + ac_prev=pdfdir ;;
4229 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
4230 + pdfdir=$ac_optarg ;;
4232 + -psdir | --psdir | --psdi | --psd | --ps)
4233 + ac_prev=psdir ;;
4234 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
4235 + psdir=$ac_optarg ;;
4237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4238 | -silent | --silent | --silen | --sile | --sil)
4239 silent=yes ;;
4240 @@ -740,24 +1218,20 @@
4241 -with-* | --with-*)
4242 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4243 # Reject names that are not valid shell variable names.
4244 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4245 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4246 { echo "$as_me: error: invalid package name: $ac_package" >&2
4247 { (exit 1); exit 1; }; }
4248 - ac_package=`echo $ac_package| sed 's/-/_/g'`
4249 - case $ac_option in
4250 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4251 - *) ac_optarg=yes ;;
4252 - esac
4253 - eval "with_$ac_package='$ac_optarg'" ;;
4254 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
4255 + eval with_$ac_package=\$ac_optarg ;;
4257 -without-* | --without-*)
4258 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4259 # Reject names that are not valid shell variable names.
4260 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4261 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4262 { echo "$as_me: error: invalid package name: $ac_package" >&2
4263 { (exit 1); exit 1; }; }
4264 - ac_package=`echo $ac_package | sed 's/-/_/g'`
4265 - eval "with_$ac_package=no" ;;
4266 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
4267 + eval with_$ac_package=no ;;
4269 --x)
4270 # Obsolete; use --with-x.
4271 @@ -788,8 +1262,7 @@
4272 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4273 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4274 { (exit 1); exit 1; }; }
4275 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4276 - eval "$ac_envvar='$ac_optarg'"
4277 + eval $ac_envvar=\$ac_optarg
4278 export $ac_envvar ;;
4281 @@ -809,27 +1282,19 @@
4282 { (exit 1); exit 1; }; }
4285 -# Be sure to have absolute paths.
4286 -for ac_var in exec_prefix prefix
4288 - eval ac_val=$`echo $ac_var`
4289 - case $ac_val in
4290 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
4291 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4292 - { (exit 1); exit 1; }; };;
4293 - esac
4294 -done
4296 -# Be sure to have absolute paths.
4297 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
4298 - localstatedir libdir includedir oldincludedir infodir mandir
4299 +# Be sure to have absolute directory names.
4300 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
4301 + datadir sysconfdir sharedstatedir localstatedir includedir \
4302 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
4303 + libdir localedir mandir
4305 - eval ac_val=$`echo $ac_var`
4306 + eval ac_val=\$$ac_var
4307 case $ac_val in
4308 - [\\/$]* | ?:[\\/]* ) ;;
4309 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4310 - { (exit 1); exit 1; }; };;
4311 + [\\/$]* | ?:[\\/]* ) continue;;
4312 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
4313 esac
4314 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4315 + { (exit 1); exit 1; }; }
4316 done
4318 # There might be people who depend on the old broken behavior: `$host'
4319 @@ -856,94 +1321,76 @@
4320 test "$silent" = yes && exec 6>/dev/null
4323 -# Find the source files, if location was not specified.
4324 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
4325 +ac_ls_di=`ls -di .` &&
4326 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
4327 + { echo "$as_me: error: Working directory cannot be determined" >&2
4328 + { (exit 1); exit 1; }; }
4329 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
4330 + { echo "$as_me: error: pwd does not report name of working directory" >&2
4331 + { (exit 1); exit 1; }; }
4334 +# Find the source files, if location was not specified.
4335 if test -z "$srcdir"; then
4336 ac_srcdir_defaulted=yes
4337 - # Try the directory containing this script, then its parent.
4338 - ac_confdir=`(dirname "$0") 2>/dev/null ||
4339 + # Try the directory containing this script, then the parent directory.
4340 + ac_confdir=`$as_dirname -- "$0" ||
4341 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4342 X"$0" : 'X\(//\)[^/]' \| \
4343 X"$0" : 'X\(//\)$' \| \
4344 - X"$0" : 'X\(/\)' \| \
4345 - . : '\(.\)' 2>/dev/null ||
4346 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4347 echo X"$0" |
4348 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4349 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4350 - /^X\(\/\/\)$/{ s//\1/; q; }
4351 - /^X\(\/\).*/{ s//\1/; q; }
4352 - s/.*/./; q'`
4353 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4354 + s//\1/
4357 + /^X\(\/\/\)[^/].*/{
4358 + s//\1/
4361 + /^X\(\/\/\)$/{
4362 + s//\1/
4365 + /^X\(\/\).*/{
4366 + s//\1/
4369 + s/.*/./; q'`
4370 srcdir=$ac_confdir
4371 - if test ! -r $srcdir/$ac_unique_file; then
4372 + if test ! -r "$srcdir/$ac_unique_file"; then
4373 srcdir=..
4375 else
4376 ac_srcdir_defaulted=no
4378 -if test ! -r $srcdir/$ac_unique_file; then
4379 - if test "$ac_srcdir_defaulted" = yes; then
4380 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
4381 - { (exit 1); exit 1; }; }
4382 - else
4383 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
4384 +if test ! -r "$srcdir/$ac_unique_file"; then
4385 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
4386 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
4387 { (exit 1); exit 1; }; }
4388 - fi
4390 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
4391 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
4392 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
4393 +ac_abs_confdir=`(
4394 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
4395 { (exit 1); exit 1; }; }
4396 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
4397 -ac_env_build_alias_set=${build_alias+set}
4398 -ac_env_build_alias_value=$build_alias
4399 -ac_cv_env_build_alias_set=${build_alias+set}
4400 -ac_cv_env_build_alias_value=$build_alias
4401 -ac_env_host_alias_set=${host_alias+set}
4402 -ac_env_host_alias_value=$host_alias
4403 -ac_cv_env_host_alias_set=${host_alias+set}
4404 -ac_cv_env_host_alias_value=$host_alias
4405 -ac_env_target_alias_set=${target_alias+set}
4406 -ac_env_target_alias_value=$target_alias
4407 -ac_cv_env_target_alias_set=${target_alias+set}
4408 -ac_cv_env_target_alias_value=$target_alias
4409 -ac_env_CC_set=${CC+set}
4410 -ac_env_CC_value=$CC
4411 -ac_cv_env_CC_set=${CC+set}
4412 -ac_cv_env_CC_value=$CC
4413 -ac_env_CFLAGS_set=${CFLAGS+set}
4414 -ac_env_CFLAGS_value=$CFLAGS
4415 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
4416 -ac_cv_env_CFLAGS_value=$CFLAGS
4417 -ac_env_LDFLAGS_set=${LDFLAGS+set}
4418 -ac_env_LDFLAGS_value=$LDFLAGS
4419 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
4420 -ac_cv_env_LDFLAGS_value=$LDFLAGS
4421 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
4422 -ac_env_CPPFLAGS_value=$CPPFLAGS
4423 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
4424 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
4425 -ac_env_CXX_set=${CXX+set}
4426 -ac_env_CXX_value=$CXX
4427 -ac_cv_env_CXX_set=${CXX+set}
4428 -ac_cv_env_CXX_value=$CXX
4429 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
4430 -ac_env_CXXFLAGS_value=$CXXFLAGS
4431 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
4432 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
4433 -ac_env_CPP_set=${CPP+set}
4434 -ac_env_CPP_value=$CPP
4435 -ac_cv_env_CPP_set=${CPP+set}
4436 -ac_cv_env_CPP_value=$CPP
4437 -ac_env_CXXCPP_set=${CXXCPP+set}
4438 -ac_env_CXXCPP_value=$CXXCPP
4439 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
4440 -ac_cv_env_CXXCPP_value=$CXXCPP
4441 -ac_env_F77_set=${F77+set}
4442 -ac_env_F77_value=$F77
4443 -ac_cv_env_F77_set=${F77+set}
4444 -ac_cv_env_F77_value=$F77
4445 -ac_env_FFLAGS_set=${FFLAGS+set}
4446 -ac_env_FFLAGS_value=$FFLAGS
4447 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
4448 -ac_cv_env_FFLAGS_value=$FFLAGS
4449 + pwd)`
4450 +# When building in place, set srcdir=.
4451 +if test "$ac_abs_confdir" = "$ac_pwd"; then
4452 + srcdir=.
4454 +# Remove unnecessary trailing slashes from srcdir.
4455 +# Double slashes in file names in object file debugging info
4456 +# mess up M-x gdb in Emacs.
4457 +case $srcdir in
4458 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
4459 +esac
4460 +for ac_var in $ac_precious_vars; do
4461 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
4462 + eval ac_env_${ac_var}_value=\$${ac_var}
4463 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
4464 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
4465 +done
4468 # Report the --help message.
4469 @@ -972,9 +1419,6 @@
4470 -n, --no-create do not create output files
4471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
4473 -_ACEOF
4475 - cat <<_ACEOF
4476 Installation directories:
4477 --prefix=PREFIX install architecture-independent files in PREFIX
4478 [$ac_default_prefix]
4479 @@ -992,15 +1436,22 @@
4480 --bindir=DIR user executables [EPREFIX/bin]
4481 --sbindir=DIR system admin executables [EPREFIX/sbin]
4482 --libexecdir=DIR program executables [EPREFIX/libexec]
4483 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
4484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
4485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
4486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
4487 --libdir=DIR object code libraries [EPREFIX/lib]
4488 --includedir=DIR C header files [PREFIX/include]
4489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
4490 - --infodir=DIR info documentation [PREFIX/info]
4491 - --mandir=DIR man documentation [PREFIX/man]
4492 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
4493 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
4494 + --infodir=DIR info documentation [DATAROOTDIR/info]
4495 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
4496 + --mandir=DIR man documentation [DATAROOTDIR/man]
4497 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
4498 + --htmldir=DIR html documentation [DOCDIR]
4499 + --dvidir=DIR dvi documentation [DOCDIR]
4500 + --pdfdir=DIR pdf documentation [DOCDIR]
4501 + --psdir=DIR ps documentation [DOCDIR]
4502 _ACEOF
4504 cat <<\_ACEOF
4505 @@ -1025,10 +1476,8 @@
4506 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4507 --disable-dependency-tracking speeds up one-time build
4508 --enable-dependency-tracking do not reject slow dependency extractors
4509 - --enable-shared[=PKGS]
4510 - build shared libraries [default=yes]
4511 - --enable-static[=PKGS]
4512 - build static libraries [default=yes]
4513 + --enable-shared[=PKGS] build shared libraries [default=yes]
4514 + --enable-static[=PKGS] build static libraries [default=yes]
4515 --enable-fast-install[=PKGS]
4516 optimize for fast installation [default=yes]
4517 --disable-libtool-lock avoid locking (might break parallel builds)
4518 @@ -1040,8 +1489,7 @@
4519 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
4520 --with-pic try to use only PIC/non-PIC objects [default=use
4521 both]
4522 - --with-tags[=TAGS]
4523 - include additional configurations [automatic]
4524 + --with-tags[=TAGS] include additional configurations [automatic]
4525 --with-sidplay2=DIR
4526 where the sidplay2 is located
4527 --with-sidplay2-includes=DIR
4528 @@ -1062,8 +1510,9 @@
4529 CFLAGS C compiler flags
4530 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
4531 nonstandard directory <lib dir>
4532 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
4533 - headers in a nonstandard directory <include dir>
4534 + LIBS libraries to pass to the linker, e.g. -l<library>
4535 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
4536 + you have headers in a nonstandard directory <include dir>
4537 CXX C++ compiler command
4538 CXXFLAGS C++ compiler flags
4539 CPP C preprocessor
4540 @@ -1075,118 +1524,86 @@
4541 it to find libraries and programs with nonstandard names/locations.
4543 _ACEOF
4544 +ac_status=$?
4547 if test "$ac_init_help" = "recursive"; then
4548 # If there are subdirs, report their specific --help.
4549 - ac_popdir=`pwd`
4550 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
4551 - test -d $ac_dir || continue
4552 + test -d "$ac_dir" || continue
4553 ac_builddir=.
4555 -if test "$ac_dir" != .; then
4556 +case "$ac_dir" in
4557 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4560 - # A "../" for each directory in $ac_dir_suffix.
4561 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4562 -else
4563 - ac_dir_suffix= ac_top_builddir=
4565 + # A ".." for each directory in $ac_dir_suffix.
4566 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4567 + case $ac_top_builddir_sub in
4568 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4569 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4570 + esac ;;
4571 +esac
4572 +ac_abs_top_builddir=$ac_pwd
4573 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
4574 +# for backward compatibility:
4575 +ac_top_builddir=$ac_top_build_prefix
4577 case $srcdir in
4578 - .) # No --srcdir option. We are building in place.
4579 + .) # We are building in place.
4580 ac_srcdir=.
4581 - if test -z "$ac_top_builddir"; then
4582 - ac_top_srcdir=.
4583 - else
4584 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4585 - fi ;;
4586 - [\\/]* | ?:[\\/]* ) # Absolute path.
4587 + ac_top_srcdir=$ac_top_builddir_sub
4588 + ac_abs_top_srcdir=$ac_pwd ;;
4589 + [\\/]* | ?:[\\/]* ) # Absolute name.
4590 ac_srcdir=$srcdir$ac_dir_suffix;
4591 - ac_top_srcdir=$srcdir ;;
4592 - *) # Relative path.
4593 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4594 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
4595 -esac
4597 -# Do not use `cd foo && pwd` to compute absolute paths, because
4598 -# the directories may not exist.
4599 -case `pwd` in
4600 -.) ac_abs_builddir="$ac_dir";;
4602 - case "$ac_dir" in
4603 - .) ac_abs_builddir=`pwd`;;
4604 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4605 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
4606 - esac;;
4607 -esac
4608 -case $ac_abs_builddir in
4609 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
4611 - case ${ac_top_builddir}. in
4612 - .) ac_abs_top_builddir=$ac_abs_builddir;;
4613 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4614 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4615 - esac;;
4616 -esac
4617 -case $ac_abs_builddir in
4618 -.) ac_abs_srcdir=$ac_srcdir;;
4620 - case $ac_srcdir in
4621 - .) ac_abs_srcdir=$ac_abs_builddir;;
4622 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4623 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4624 - esac;;
4625 -esac
4626 -case $ac_abs_builddir in
4627 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
4629 - case $ac_top_srcdir in
4630 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
4631 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4632 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4633 - esac;;
4634 + ac_top_srcdir=$srcdir
4635 + ac_abs_top_srcdir=$srcdir ;;
4636 + *) # Relative name.
4637 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4638 + ac_top_srcdir=$ac_top_build_prefix$srcdir
4639 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4640 esac
4641 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4643 - cd $ac_dir
4644 - # Check for guested configure; otherwise get Cygnus style configure.
4645 - if test -f $ac_srcdir/configure.gnu; then
4646 - echo
4647 - $SHELL $ac_srcdir/configure.gnu --help=recursive
4648 - elif test -f $ac_srcdir/configure; then
4649 - echo
4650 - $SHELL $ac_srcdir/configure --help=recursive
4651 - elif test -f $ac_srcdir/configure.ac ||
4652 - test -f $ac_srcdir/configure.in; then
4653 - echo
4654 - $ac_configure --help
4655 + cd "$ac_dir" || { ac_status=$?; continue; }
4656 + # Check for guested configure.
4657 + if test -f "$ac_srcdir/configure.gnu"; then
4658 + echo &&
4659 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
4660 + elif test -f "$ac_srcdir/configure"; then
4661 + echo &&
4662 + $SHELL "$ac_srcdir/configure" --help=recursive
4663 else
4664 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
4665 - fi
4666 - cd $ac_popdir
4667 + fi || ac_status=$?
4668 + cd "$ac_pwd" || { ac_status=$?; break; }
4669 done
4672 -test -n "$ac_init_help" && exit 0
4673 +test -n "$ac_init_help" && exit $ac_status
4674 if $ac_init_version; then
4675 cat <<\_ACEOF
4676 +configure
4677 +generated by GNU Autoconf 2.61
4679 -Copyright (C) 2003 Free Software Foundation, Inc.
4680 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
4681 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4682 This configure script is free software; the Free Software Foundation
4683 gives unlimited permission to copy, distribute and modify it.
4684 _ACEOF
4685 - exit 0
4686 + exit
4688 -exec 5>config.log
4689 -cat >&5 <<_ACEOF
4690 +cat >config.log <<_ACEOF
4691 This file contains any messages produced by compilers while
4692 running configure, to aid debugging if configure makes a mistake.
4694 It was created by $as_me, which was
4695 -generated by GNU Autoconf 2.59. Invocation command line was
4696 +generated by GNU Autoconf 2.61. Invocation command line was
4698 $ $0 $@
4700 _ACEOF
4701 +exec 5>>config.log
4703 cat <<_ASUNAME
4704 ## --------- ##
4705 @@ -1205,7 +1622,7 @@
4706 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
4707 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
4708 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
4709 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
4710 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
4711 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
4712 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
4713 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
4714 @@ -1219,6 +1636,7 @@
4715 test -z "$as_dir" && as_dir=.
4716 echo "PATH: $as_dir"
4717 done
4718 +IFS=$as_save_IFS
4720 } >&5
4722 @@ -1240,7 +1658,6 @@
4723 ac_configure_args=
4724 ac_configure_args0=
4725 ac_configure_args1=
4726 -ac_sep=
4727 ac_must_keep_next=false
4728 for ac_pass in 1 2
4730 @@ -1251,7 +1668,7 @@
4731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4732 | -silent | --silent | --silen | --sile | --sil)
4733 continue ;;
4734 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
4735 + *\'*)
4736 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4737 esac
4738 case $ac_pass in
4739 @@ -1273,9 +1690,7 @@
4740 -* ) ac_must_keep_next=true ;;
4741 esac
4743 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4744 - # Get rid of the leading space.
4745 - ac_sep=" "
4746 + ac_configure_args="$ac_configure_args '$ac_arg'"
4748 esac
4749 done
4750 @@ -1286,8 +1701,8 @@
4751 # When interrupted or exit'd, cleanup temporary files, and complete
4752 # config.log. We remove comments because anyway the quotes in there
4753 # would cause problems or look ugly.
4754 -# WARNING: Be sure not to use single quotes in there, as some shells,
4755 -# such as our DU 5.0 friend, will then `close' the trap.
4756 +# WARNING: Use '\'' to represent an apostrophe within the trap.
4757 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
4758 trap 'exit_status=$?
4759 # Save into config.log some information that might help in debugging.
4761 @@ -1300,20 +1715,34 @@
4762 _ASBOX
4763 echo
4764 # The following way of writing the cache mishandles newlines in values,
4767 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
4768 + eval ac_val=\$$ac_var
4769 + case $ac_val in #(
4770 + *${as_nl}*)
4771 + case $ac_var in #(
4772 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4773 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4774 + esac
4775 + case $ac_var in #(
4776 + _ | IFS | as_nl) ;; #(
4777 + *) $as_unset $ac_var ;;
4778 + esac ;;
4779 + esac
4780 + done
4781 (set) 2>&1 |
4782 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
4783 - *ac_space=\ *)
4784 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
4785 + *${as_nl}ac_space=\ *)
4786 sed -n \
4787 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4788 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4789 - ;;
4790 + "s/'\''/'\''\\\\'\'''\''/g;
4791 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
4792 + ;; #(
4794 - sed -n \
4795 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4796 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4798 - esac;
4800 + esac |
4801 + sort
4803 echo
4805 cat <<\_ASBOX
4806 @@ -1324,22 +1753,28 @@
4807 echo
4808 for ac_var in $ac_subst_vars
4810 - eval ac_val=$`echo $ac_var`
4811 - echo "$ac_var='"'"'$ac_val'"'"'"
4812 + eval ac_val=\$$ac_var
4813 + case $ac_val in
4814 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4815 + esac
4816 + echo "$ac_var='\''$ac_val'\''"
4817 done | sort
4818 echo
4820 if test -n "$ac_subst_files"; then
4821 cat <<\_ASBOX
4822 -## ------------- ##
4823 -## Output files. ##
4824 -## ------------- ##
4825 +## ------------------- ##
4826 +## File substitutions. ##
4827 +## ------------------- ##
4828 _ASBOX
4829 echo
4830 for ac_var in $ac_subst_files
4832 - eval ac_val=$`echo $ac_var`
4833 - echo "$ac_var='"'"'$ac_val'"'"'"
4834 + eval ac_val=\$$ac_var
4835 + case $ac_val in
4836 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4837 + esac
4838 + echo "$ac_var='\''$ac_val'\''"
4839 done | sort
4840 echo
4842 @@ -1351,26 +1786,24 @@
4843 ## ----------- ##
4844 _ASBOX
4845 echo
4846 - sed "/^$/d" confdefs.h | sort
4847 + cat confdefs.h
4848 echo
4850 test "$ac_signal" != 0 &&
4851 echo "$as_me: caught signal $ac_signal"
4852 echo "$as_me: exit $exit_status"
4853 } >&5
4854 - rm -f core *.core &&
4855 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
4856 + rm -f core *.core core.conftest.* &&
4857 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
4858 exit $exit_status
4859 - ' 0
4860 +' 0
4861 for ac_signal in 1 2 13 15; do
4862 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
4863 done
4864 ac_signal=0
4866 # confdefs.h avoids OS command line length limits that DEFS can exceed.
4867 -rm -rf conftest* confdefs.h
4868 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
4869 -echo >confdefs.h
4870 +rm -f -r conftest* confdefs.h
4872 # Predefined preprocessor variables.
4874 @@ -1401,14 +1834,17 @@
4876 # Let the site file select an alternate cache file if it wants to.
4877 # Prefer explicitly selected file to automatically selected ones.
4878 -if test -z "$CONFIG_SITE"; then
4879 - if test "x$prefix" != xNONE; then
4880 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
4881 - else
4882 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
4883 - fi
4884 +if test -n "$CONFIG_SITE"; then
4885 + set x "$CONFIG_SITE"
4886 +elif test "x$prefix" != xNONE; then
4887 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
4888 +else
4889 + set x "$ac_default_prefix/share/config.site" \
4890 + "$ac_default_prefix/etc/config.site"
4892 -for ac_site_file in $CONFIG_SITE; do
4893 +shift
4894 +for ac_site_file
4896 if test -r "$ac_site_file"; then
4897 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
4898 echo "$as_me: loading site script $ac_site_file" >&6;}
4899 @@ -1424,8 +1860,8 @@
4900 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4901 echo "$as_me: loading cache $cache_file" >&6;}
4902 case $cache_file in
4903 - [\\/]* | ?:[\\/]* ) . $cache_file;;
4904 - *) . ./$cache_file;;
4905 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
4906 + *) . "./$cache_file";;
4907 esac
4909 else
4910 @@ -1437,12 +1873,11 @@
4911 # Check that the precious variables saved in the cache have kept the same
4912 # value.
4913 ac_cache_corrupted=false
4914 -for ac_var in `(set) 2>&1 |
4915 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4916 +for ac_var in $ac_precious_vars; do
4917 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4918 eval ac_new_set=\$ac_env_${ac_var}_set
4919 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4920 - eval ac_new_val="\$ac_env_${ac_var}_value"
4921 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
4922 + eval ac_new_val=\$ac_env_${ac_var}_value
4923 case $ac_old_set,$ac_new_set in
4924 set,)
4925 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4926 @@ -1467,8 +1902,7 @@
4927 # Pass precious variables to config.status.
4928 if test "$ac_new_set" = set; then
4929 case $ac_new_val in
4930 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
4931 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4932 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4933 *) ac_arg=$ac_var=$ac_new_val ;;
4934 esac
4935 case " $ac_configure_args " in
4936 @@ -1485,12 +1919,6 @@
4937 { (exit 1); exit 1; }; }
4940 -ac_ext=c
4941 -ac_cpp='$CPP $CPPFLAGS'
4942 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
4949 @@ -1507,34 +1935,45 @@
4953 +ac_ext=c
4954 +ac_cpp='$CPP $CPPFLAGS'
4955 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 ac_aux_dir=
4961 -for ac_dir in unix $srcdir/unix; do
4962 - if test -f $ac_dir/install-sh; then
4963 +for ac_dir in unix "$srcdir"/unix; do
4964 + if test -f "$ac_dir/install-sh"; then
4965 ac_aux_dir=$ac_dir
4966 ac_install_sh="$ac_aux_dir/install-sh -c"
4967 break
4968 - elif test -f $ac_dir/install.sh; then
4969 + elif test -f "$ac_dir/install.sh"; then
4970 ac_aux_dir=$ac_dir
4971 ac_install_sh="$ac_aux_dir/install.sh -c"
4972 break
4973 - elif test -f $ac_dir/shtool; then
4974 + elif test -f "$ac_dir/shtool"; then
4975 ac_aux_dir=$ac_dir
4976 ac_install_sh="$ac_aux_dir/shtool install -c"
4977 break
4979 done
4980 if test -z "$ac_aux_dir"; then
4981 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in unix $srcdir/unix" >&5
4982 -echo "$as_me: error: cannot find install-sh or install.sh in unix $srcdir/unix" >&2;}
4983 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in unix \"$srcdir\"/unix" >&5
4984 +echo "$as_me: error: cannot find install-sh or install.sh in unix \"$srcdir\"/unix" >&2;}
4985 { (exit 1); exit 1; }; }
4987 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
4988 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4989 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4991 - ac_config_headers="$ac_config_headers unix/config.h"
4992 +# These three variables are undocumented and unsupported,
4993 +# and are intended to be withdrawn in a future Autoconf release.
4994 +# They can cause serious problems if a builder's source tree is in a directory
4995 +# whose full name contains unusual characters.
4996 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4997 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4998 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
5001 +ac_config_headers="$ac_config_headers unix/config.h"
5004 am__api_version="1.8"
5005 @@ -1551,8 +1990,8 @@
5006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5007 # OS/2's system install, which has a completely different semantic
5008 # ./install, which can be erroneously created by make from ./install.sh.
5009 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5010 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5011 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5012 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5013 if test -z "$INSTALL"; then
5014 if test "${ac_cv_path_install+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 @@ -1574,7 +2013,7 @@
5017 # by default.
5018 for ac_prog in ginstall scoinst install; do
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5021 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5022 if test $ac_prog = install &&
5023 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5024 # AIX install. It has an incompatible calling convention.
5025 @@ -1593,21 +2032,22 @@
5027 esac
5028 done
5029 +IFS=$as_save_IFS
5033 if test "${ac_cv_path_install+set}" = set; then
5034 INSTALL=$ac_cv_path_install
5035 else
5036 - # As a last resort, use the slow shell script. We don't cache a
5037 - # path for INSTALL within a source directory, because that will
5038 + # As a last resort, use the slow shell script. Don't cache a
5039 + # value for INSTALL within a source directory, because that will
5040 # break other packages using the cache if that directory is
5041 - # removed, or if the path is relative.
5042 + # removed, or if the value is a relative name.
5043 INSTALL=$ac_install_sh
5046 -echo "$as_me:$LINENO: result: $INSTALL" >&5
5047 -echo "${ECHO_T}$INSTALL" >&6
5048 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5049 +echo "${ECHO_T}$INSTALL" >&6; }
5051 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5052 # It thinks the first close brace ends the variable substitution.
5053 @@ -1617,8 +2057,8 @@
5055 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5057 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
5058 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
5059 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
5060 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
5061 # Just in case
5062 sleep 1
5063 echo timestamp > conftest.file
5064 @@ -1660,20 +2100,20 @@
5065 Check your system clock" >&2;}
5066 { (exit 1); exit 1; }; }
5068 -echo "$as_me:$LINENO: result: yes" >&5
5069 -echo "${ECHO_T}yes" >&6
5070 +{ echo "$as_me:$LINENO: result: yes" >&5
5071 +echo "${ECHO_T}yes" >&6; }
5072 test "$program_prefix" != NONE &&
5073 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
5074 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
5075 # Use a double $ so make ignores it.
5076 test "$program_suffix" != NONE &&
5077 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
5078 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
5079 # Double any \ or $. echo might interpret backslashes.
5080 # By default was `s,x,x', remove it if useless.
5081 cat <<\_ACEOF >conftest.sed
5082 s/[\\$]/&&/g;s/;s,x,x,$//
5083 _ACEOF
5084 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
5085 -rm conftest.sed
5086 +rm -f conftest.sed
5088 # expand $ac_aux_dir to an absolute path
5089 am_aux_dir=`cd $ac_aux_dir && pwd`
5090 @@ -1717,8 +2157,8 @@
5092 # Extract the first word of "$ac_prog", so it can be a program name with args.
5093 set dummy $ac_prog; ac_word=$2
5094 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5095 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5096 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5098 if test "${ac_cv_prog_AWK+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 else
5101 @@ -1731,54 +2171,57 @@
5102 IFS=$as_save_IFS
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5107 ac_cv_prog_AWK="$ac_prog"
5108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 break 2
5111 done
5112 done
5113 +IFS=$as_save_IFS
5117 AWK=$ac_cv_prog_AWK
5118 if test -n "$AWK"; then
5119 - echo "$as_me:$LINENO: result: $AWK" >&5
5120 -echo "${ECHO_T}$AWK" >&6
5121 + { echo "$as_me:$LINENO: result: $AWK" >&5
5122 +echo "${ECHO_T}$AWK" >&6; }
5123 else
5124 - echo "$as_me:$LINENO: result: no" >&5
5125 -echo "${ECHO_T}no" >&6
5126 + { echo "$as_me:$LINENO: result: no" >&5
5127 +echo "${ECHO_T}no" >&6; }
5131 test -n "$AWK" && break
5132 done
5134 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5135 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5136 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5137 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5138 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5139 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5140 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5141 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5144 cat >conftest.make <<\_ACEOF
5145 +SHELL = /bin/sh
5146 all:
5147 - @echo 'ac_maketemp="$(MAKE)"'
5148 + @echo '@@@%%%=$(MAKE)=@@@%%%'
5149 _ACEOF
5150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5151 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5152 -if test -n "$ac_maketemp"; then
5153 - eval ac_cv_prog_make_${ac_make}_set=yes
5154 -else
5155 - eval ac_cv_prog_make_${ac_make}_set=no
5157 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
5158 + *@@@%%%=?*=@@@%%%*)
5159 + eval ac_cv_prog_make_${ac_make}_set=yes;;
5160 + *)
5161 + eval ac_cv_prog_make_${ac_make}_set=no;;
5162 +esac
5163 rm -f conftest.make
5165 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5166 - echo "$as_me:$LINENO: result: yes" >&5
5167 -echo "${ECHO_T}yes" >&6
5168 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5169 + { echo "$as_me:$LINENO: result: yes" >&5
5170 +echo "${ECHO_T}yes" >&6; }
5171 SET_MAKE=
5172 else
5173 - echo "$as_me:$LINENO: result: no" >&5
5174 -echo "${ECHO_T}no" >&6
5175 + { echo "$as_me:$LINENO: result: no" >&5
5176 +echo "${ECHO_T}no" >&6; }
5177 SET_MAKE="MAKE=${MAKE-make}"
5180 @@ -1852,8 +2295,8 @@
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}strip; ac_word=$2
5184 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5185 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5186 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5187 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5188 if test "${ac_cv_prog_STRIP+set}" = set; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 else
5191 @@ -1866,32 +2309,34 @@
5192 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 +IFS=$as_save_IFS
5207 STRIP=$ac_cv_prog_STRIP
5208 if test -n "$STRIP"; then
5209 - echo "$as_me:$LINENO: result: $STRIP" >&5
5210 -echo "${ECHO_T}$STRIP" >&6
5211 + { echo "$as_me:$LINENO: result: $STRIP" >&5
5212 +echo "${ECHO_T}$STRIP" >&6; }
5213 else
5214 - echo "$as_me:$LINENO: result: no" >&5
5215 -echo "${ECHO_T}no" >&6
5216 + { echo "$as_me:$LINENO: result: no" >&5
5217 +echo "${ECHO_T}no" >&6; }
5222 if test -z "$ac_cv_prog_STRIP"; then
5223 ac_ct_STRIP=$STRIP
5224 # Extract the first word of "strip", so it can be a program name with args.
5225 set dummy strip; ac_word=$2
5226 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5227 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5228 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5229 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 else
5233 @@ -1904,27 +2349,41 @@
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_ac_ct_STRIP="strip"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 +IFS=$as_save_IFS
5247 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5251 if test -n "$ac_ct_STRIP"; then
5252 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5253 -echo "${ECHO_T}$ac_ct_STRIP" >&6
5254 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5255 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5256 else
5257 - echo "$as_me:$LINENO: result: no" >&5
5258 -echo "${ECHO_T}no" >&6
5259 + { echo "$as_me:$LINENO: result: no" >&5
5260 +echo "${ECHO_T}no" >&6; }
5263 - STRIP=$ac_ct_STRIP
5264 + if test "x$ac_ct_STRIP" = x; then
5265 + STRIP=":"
5266 + else
5267 + case $cross_compiling:$ac_tool_warned in
5268 +yes:)
5269 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5270 +whose name does not start with the host triplet. If you think this
5271 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5272 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5273 +whose name does not start with the host triplet. If you think this
5274 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5275 +ac_tool_warned=yes ;;
5276 +esac
5277 + STRIP=$ac_ct_STRIP
5278 + fi
5279 else
5280 STRIP="$ac_cv_prog_STRIP"
5282 @@ -1939,57 +2398,86 @@
5285 # Make sure we can run config.sub.
5286 -$ac_config_sub sun4 >/dev/null 2>&1 ||
5287 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5288 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5289 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5290 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5291 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5292 { (exit 1); exit 1; }; }
5294 -echo "$as_me:$LINENO: checking build system type" >&5
5295 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
5296 +{ echo "$as_me:$LINENO: checking build system type" >&5
5297 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5298 if test "${ac_cv_build+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 else
5301 - ac_cv_build_alias=$build_alias
5302 -test -z "$ac_cv_build_alias" &&
5303 - ac_cv_build_alias=`$ac_config_guess`
5304 -test -z "$ac_cv_build_alias" &&
5305 + ac_build_alias=$build_alias
5306 +test "x$ac_build_alias" = x &&
5307 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5308 +test "x$ac_build_alias" = x &&
5309 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5310 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5311 { (exit 1); exit 1; }; }
5312 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5313 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5314 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5315 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5316 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5317 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5318 { (exit 1); exit 1; }; }
5321 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5322 -echo "${ECHO_T}$ac_cv_build" >&6
5323 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5324 +echo "${ECHO_T}$ac_cv_build" >&6; }
5325 +case $ac_cv_build in
5326 +*-*-*) ;;
5327 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5328 +echo "$as_me: error: invalid value of canonical build" >&2;}
5329 + { (exit 1); exit 1; }; };;
5330 +esac
5331 build=$ac_cv_build
5332 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5333 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5334 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5335 +ac_save_IFS=$IFS; IFS='-'
5336 +set x $ac_cv_build
5337 +shift
5338 +build_cpu=$1
5339 +build_vendor=$2
5340 +shift; shift
5341 +# Remember, the first character of IFS is used to create $*,
5342 +# except with old shells:
5343 +build_os=$*
5344 +IFS=$ac_save_IFS
5345 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5348 -echo "$as_me:$LINENO: checking host system type" >&5
5349 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
5350 +{ echo "$as_me:$LINENO: checking host system type" >&5
5351 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5352 if test "${ac_cv_host+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 else
5355 - ac_cv_host_alias=$host_alias
5356 -test -z "$ac_cv_host_alias" &&
5357 - ac_cv_host_alias=$ac_cv_build_alias
5358 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5359 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5360 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5361 + if test "x$host_alias" = x; then
5362 + ac_cv_host=$ac_cv_build
5363 +else
5364 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5365 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5366 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5367 { (exit 1); exit 1; }; }
5371 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5372 -echo "${ECHO_T}$ac_cv_host" >&6
5373 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5374 +echo "${ECHO_T}$ac_cv_host" >&6; }
5375 +case $ac_cv_host in
5376 +*-*-*) ;;
5377 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5378 +echo "$as_me: error: invalid value of canonical host" >&2;}
5379 + { (exit 1); exit 1; }; };;
5380 +esac
5381 host=$ac_cv_host
5382 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5383 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5384 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5385 +ac_save_IFS=$IFS; IFS='-'
5386 +set x $ac_cv_host
5387 +shift
5388 +host_cpu=$1
5389 +host_vendor=$2
5390 +shift; shift
5391 +# Remember, the first character of IFS is used to create $*,
5392 +# except with old shells:
5393 +host_os=$*
5394 +IFS=$ac_save_IFS
5395 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5399 @@ -2001,8 +2489,8 @@
5400 if test -n "$ac_tool_prefix"; then
5401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5402 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5403 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5406 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5407 if test "${ac_cv_prog_CC+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 else
5410 @@ -2015,32 +2503,34 @@
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5416 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 +IFS=$as_save_IFS
5426 CC=$ac_cv_prog_CC
5427 if test -n "$CC"; then
5428 - echo "$as_me:$LINENO: result: $CC" >&5
5429 -echo "${ECHO_T}$CC" >&6
5430 + { echo "$as_me:$LINENO: result: $CC" >&5
5431 +echo "${ECHO_T}$CC" >&6; }
5432 else
5433 - echo "$as_me:$LINENO: result: no" >&5
5434 -echo "${ECHO_T}no" >&6
5435 + { echo "$as_me:$LINENO: result: no" >&5
5436 +echo "${ECHO_T}no" >&6; }
5441 if test -z "$ac_cv_prog_CC"; then
5442 ac_ct_CC=$CC
5443 # Extract the first word of "gcc", so it can be a program name with args.
5444 set dummy gcc; ac_word=$2
5445 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5446 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5447 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 else
5452 @@ -2053,36 +2543,51 @@
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_ac_ct_CC="gcc"
5459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 break 2
5462 done
5463 done
5464 +IFS=$as_save_IFS
5468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5469 if test -n "$ac_ct_CC"; then
5470 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5471 -echo "${ECHO_T}$ac_ct_CC" >&6
5472 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5473 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5474 else
5475 - echo "$as_me:$LINENO: result: no" >&5
5476 -echo "${ECHO_T}no" >&6
5477 + { echo "$as_me:$LINENO: result: no" >&5
5478 +echo "${ECHO_T}no" >&6; }
5481 - CC=$ac_ct_CC
5482 + if test "x$ac_ct_CC" = x; then
5483 + CC=""
5484 + else
5485 + case $cross_compiling:$ac_tool_warned in
5486 +yes:)
5487 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5488 +whose name does not start with the host triplet. If you think this
5489 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5490 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5491 +whose name does not start with the host triplet. If you think this
5492 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5493 +ac_tool_warned=yes ;;
5494 +esac
5495 + CC=$ac_ct_CC
5496 + fi
5497 else
5498 CC="$ac_cv_prog_CC"
5501 if test -z "$CC"; then
5502 - if test -n "$ac_tool_prefix"; then
5503 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5504 + if test -n "$ac_tool_prefix"; then
5505 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5506 set dummy ${ac_tool_prefix}cc; ac_word=$2
5507 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5508 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5509 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5510 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5511 if test "${ac_cv_prog_CC+set}" = set; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 else
5514 @@ -2095,74 +2600,34 @@
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520 ac_cv_prog_CC="${ac_tool_prefix}cc"
5521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 +IFS=$as_save_IFS
5530 CC=$ac_cv_prog_CC
5531 if test -n "$CC"; then
5532 - echo "$as_me:$LINENO: result: $CC" >&5
5533 -echo "${ECHO_T}$CC" >&6
5534 -else
5535 - echo "$as_me:$LINENO: result: no" >&5
5536 -echo "${ECHO_T}no" >&6
5540 -if test -z "$ac_cv_prog_CC"; then
5541 - ac_ct_CC=$CC
5542 - # Extract the first word of "cc", so it can be a program name with args.
5543 -set dummy cc; ac_word=$2
5544 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5545 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5546 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5547 - echo $ECHO_N "(cached) $ECHO_C" >&6
5548 -else
5549 - if test -n "$ac_ct_CC"; then
5550 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5551 -else
5552 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 -for as_dir in $PATH
5555 - IFS=$as_save_IFS
5556 - test -z "$as_dir" && as_dir=.
5557 - for ac_exec_ext in '' $ac_executable_extensions; do
5558 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 - ac_cv_prog_ac_ct_CC="cc"
5560 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 - break 2
5562 - fi
5563 -done
5564 -done
5568 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5569 -if test -n "$ac_ct_CC"; then
5570 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5571 -echo "${ECHO_T}$ac_ct_CC" >&6
5572 + { echo "$as_me:$LINENO: result: $CC" >&5
5573 +echo "${ECHO_T}$CC" >&6; }
5574 else
5575 - echo "$as_me:$LINENO: result: no" >&5
5576 -echo "${ECHO_T}no" >&6
5577 + { echo "$as_me:$LINENO: result: no" >&5
5578 +echo "${ECHO_T}no" >&6; }
5581 - CC=$ac_ct_CC
5582 -else
5583 - CC="$ac_cv_prog_CC"
5586 + fi
5588 if test -z "$CC"; then
5589 # Extract the first word of "cc", so it can be a program name with args.
5590 set dummy cc; ac_word=$2
5591 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5592 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5593 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5594 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5595 if test "${ac_cv_prog_CC+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 else
5598 @@ -2176,7 +2641,7 @@
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5604 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5605 ac_prog_rejected=yes
5606 continue
5607 @@ -2187,6 +2652,7 @@
5609 done
5610 done
5611 +IFS=$as_save_IFS
5613 if test $ac_prog_rejected = yes; then
5614 # We found a bogon in the path, so make sure we never use it.
5615 @@ -2204,22 +2670,23 @@
5617 CC=$ac_cv_prog_CC
5618 if test -n "$CC"; then
5619 - echo "$as_me:$LINENO: result: $CC" >&5
5620 -echo "${ECHO_T}$CC" >&6
5621 + { echo "$as_me:$LINENO: result: $CC" >&5
5622 +echo "${ECHO_T}$CC" >&6; }
5623 else
5624 - echo "$as_me:$LINENO: result: no" >&5
5625 -echo "${ECHO_T}no" >&6
5626 + { echo "$as_me:$LINENO: result: no" >&5
5627 +echo "${ECHO_T}no" >&6; }
5632 if test -z "$CC"; then
5633 if test -n "$ac_tool_prefix"; then
5634 - for ac_prog in cl
5635 + for ac_prog in cl.exe
5637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5639 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5640 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5641 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5642 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5643 if test "${ac_cv_prog_CC+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 else
5646 @@ -2232,36 +2699,38 @@
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 +IFS=$as_save_IFS
5662 CC=$ac_cv_prog_CC
5663 if test -n "$CC"; then
5664 - echo "$as_me:$LINENO: result: $CC" >&5
5665 -echo "${ECHO_T}$CC" >&6
5666 + { echo "$as_me:$LINENO: result: $CC" >&5
5667 +echo "${ECHO_T}$CC" >&6; }
5668 else
5669 - echo "$as_me:$LINENO: result: no" >&5
5670 -echo "${ECHO_T}no" >&6
5671 + { echo "$as_me:$LINENO: result: no" >&5
5672 +echo "${ECHO_T}no" >&6; }
5676 test -n "$CC" && break
5677 done
5679 if test -z "$CC"; then
5680 ac_ct_CC=$CC
5681 - for ac_prog in cl
5682 + for ac_prog in cl.exe
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy $ac_prog; ac_word=$2
5686 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5687 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5689 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 else
5693 @@ -2274,29 +2743,45 @@
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699 ac_cv_prog_ac_ct_CC="$ac_prog"
5700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 +IFS=$as_save_IFS
5709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5710 if test -n "$ac_ct_CC"; then
5711 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5712 -echo "${ECHO_T}$ac_ct_CC" >&6
5713 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5714 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5715 else
5716 - echo "$as_me:$LINENO: result: no" >&5
5717 -echo "${ECHO_T}no" >&6
5718 + { echo "$as_me:$LINENO: result: no" >&5
5719 +echo "${ECHO_T}no" >&6; }
5723 test -n "$ac_ct_CC" && break
5724 done
5726 - CC=$ac_ct_CC
5727 + if test "x$ac_ct_CC" = x; then
5728 + CC=""
5729 + else
5730 + case $cross_compiling:$ac_tool_warned in
5731 +yes:)
5732 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5733 +whose name does not start with the host triplet. If you think this
5734 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5735 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5736 +whose name does not start with the host triplet. If you think this
5737 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5738 +ac_tool_warned=yes ;;
5739 +esac
5740 + CC=$ac_ct_CC
5741 + fi
5745 @@ -2309,21 +2794,35 @@
5746 { (exit 1); exit 1; }; }
5748 # Provide some information about the compiler.
5749 -echo "$as_me:$LINENO:" \
5750 - "checking for C compiler version" >&5
5751 +echo "$as_me:$LINENO: checking for C compiler version" >&5
5752 ac_compiler=`set X $ac_compile; echo $2`
5753 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5754 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5755 +{ (ac_try="$ac_compiler --version >&5"
5756 +case "(($ac_try" in
5757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5758 + *) ac_try_echo=$ac_try;;
5759 +esac
5760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5761 + (eval "$ac_compiler --version >&5") 2>&5
5762 ac_status=$?
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }
5765 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5766 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5767 +{ (ac_try="$ac_compiler -v >&5"
5768 +case "(($ac_try" in
5769 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 + *) ac_try_echo=$ac_try;;
5771 +esac
5772 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773 + (eval "$ac_compiler -v >&5") 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }
5777 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5778 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5779 +{ (ac_try="$ac_compiler -V >&5"
5780 +case "(($ac_try" in
5781 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5782 + *) ac_try_echo=$ac_try;;
5783 +esac
5784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5785 + (eval "$ac_compiler -V >&5") 2>&5
5786 ac_status=$?
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }
5789 @@ -2348,47 +2847,77 @@
5790 # Try to create an executable without -o first, disregard a.out.
5791 # It will help us diagnose broken compilers, and finding out an intuition
5792 # of exeext.
5793 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
5794 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
5795 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
5796 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
5797 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5798 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
5799 - (eval $ac_link_default) 2>&5
5801 +# List of possible output files, starting from the most likely.
5802 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
5803 +# only as a last resort. b.out is created by i960 compilers.
5804 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
5806 +# The IRIX 6 linker writes into existing files which may not be
5807 +# executable, retaining their permissions. Remove them first so a
5808 +# subsequent execution test works.
5809 +ac_rmfiles=
5810 +for ac_file in $ac_files
5812 + case $ac_file in
5813 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
5814 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5815 + esac
5816 +done
5817 +rm -f $ac_rmfiles
5819 +if { (ac_try="$ac_link_default"
5820 +case "(($ac_try" in
5821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5822 + *) ac_try_echo=$ac_try;;
5823 +esac
5824 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5825 + (eval "$ac_link_default") 2>&5
5826 ac_status=$?
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; then
5829 - # Find the output, starting from the most likely. This scheme is
5830 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
5831 -# resort.
5833 -# Be careful to initialize this variable, since it used to be cached.
5834 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
5835 -ac_cv_exeext=
5836 -# b.out is created by i960 compilers.
5837 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
5838 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5839 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5840 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
5841 +# so that the user can short-circuit this test for compilers unknown to
5842 +# Autoconf.
5843 +for ac_file in $ac_files ''
5845 test -f "$ac_file" || continue
5846 case $ac_file in
5847 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
5848 - ;;
5849 - conftest.$ac_ext )
5850 - # This is the source file.
5851 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
5853 [ab].out )
5854 # We found the default executable, but exeext='' is most
5855 # certainly right.
5856 break;;
5857 *.* )
5858 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5859 - # FIXME: I believe we export ac_cv_exeext for Libtool,
5860 - # but it would be cool to find out if it's true. Does anybody
5861 - # maintain Libtool? --akim.
5862 - export ac_cv_exeext
5863 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5864 + then :; else
5865 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5866 + fi
5867 + # We set ac_cv_exeext here because the later test for it is not
5868 + # safe: cross compilers may not add the suffix if given an `-o'
5869 + # argument, so we may need to know it at that point already.
5870 + # Even if this section looks crufty: it has the advantage of
5871 + # actually working.
5872 break;;
5874 break;;
5875 esac
5876 done
5877 +test "$ac_cv_exeext" = no && ac_cv_exeext=
5879 else
5880 + ac_file=''
5883 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
5884 +echo "${ECHO_T}$ac_file" >&6; }
5885 +if test -z "$ac_file"; then
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5889 @@ -2400,19 +2929,21 @@
5892 ac_exeext=$ac_cv_exeext
5893 -echo "$as_me:$LINENO: result: $ac_file" >&5
5894 -echo "${ECHO_T}$ac_file" >&6
5896 -# Check the compiler produces executables we can run. If not, either
5897 +# Check that the compiler produces executables we can run. If not, either
5898 # the compiler is broken, or we cross compile.
5899 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
5900 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
5901 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
5902 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
5903 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
5904 # If not cross compiling, check that we can run a simple program.
5905 if test "$cross_compiling" != yes; then
5906 if { ac_try='./$ac_file'
5907 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 - (eval $ac_try) 2>&5
5909 + { (case "(($ac_try" in
5910 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911 + *) ac_try_echo=$ac_try;;
5912 +esac
5913 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5914 + (eval "$ac_try") 2>&5
5915 ac_status=$?
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then
5918 @@ -2431,22 +2962,27 @@
5922 -echo "$as_me:$LINENO: result: yes" >&5
5923 -echo "${ECHO_T}yes" >&6
5924 +{ echo "$as_me:$LINENO: result: yes" >&5
5925 +echo "${ECHO_T}yes" >&6; }
5927 rm -f a.out a.exe conftest$ac_cv_exeext b.out
5928 ac_clean_files=$ac_clean_files_save
5929 -# Check the compiler produces executables we can run. If not, either
5930 +# Check that the compiler produces executables we can run. If not, either
5931 # the compiler is broken, or we cross compile.
5932 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5933 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
5934 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
5935 -echo "${ECHO_T}$cross_compiling" >&6
5937 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
5938 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
5939 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5940 - (eval $ac_link) 2>&5
5941 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5942 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
5943 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
5944 +echo "${ECHO_T}$cross_compiling" >&6; }
5946 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
5947 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
5948 +if { (ac_try="$ac_link"
5949 +case "(($ac_try" in
5950 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5951 + *) ac_try_echo=$ac_try;;
5952 +esac
5953 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5954 + (eval "$ac_link") 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; then
5958 @@ -2457,9 +2993,8 @@
5959 for ac_file in conftest.exe conftest conftest.*; do
5960 test -f "$ac_file" || continue
5961 case $ac_file in
5962 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
5963 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
5964 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5965 - export ac_cv_exeext
5966 break;;
5967 * ) break;;
5968 esac
5969 @@ -2473,14 +3008,14 @@
5972 rm -f conftest$ac_cv_exeext
5973 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5974 -echo "${ECHO_T}$ac_cv_exeext" >&6
5975 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5976 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
5978 rm -f conftest.$ac_ext
5979 EXEEXT=$ac_cv_exeext
5980 ac_exeext=$EXEEXT
5981 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
5982 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
5983 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
5984 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
5985 if test "${ac_cv_objext+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 else
5988 @@ -2500,14 +3035,20 @@
5990 _ACEOF
5991 rm -f conftest.o conftest.obj
5992 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 - (eval $ac_compile) 2>&5
5994 +if { (ac_try="$ac_compile"
5995 +case "(($ac_try" in
5996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 + *) ac_try_echo=$ac_try;;
5998 +esac
5999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 + (eval "$ac_compile") 2>&5
6001 ac_status=$?
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; then
6004 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6005 + for ac_file in conftest.o conftest.obj conftest.*; do
6006 + test -f "$ac_file" || continue;
6007 case $ac_file in
6008 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6009 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
6010 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6011 break;;
6012 esac
6013 @@ -2525,12 +3066,12 @@
6015 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6017 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6018 -echo "${ECHO_T}$ac_cv_objext" >&6
6019 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6020 +echo "${ECHO_T}$ac_cv_objext" >&6; }
6021 OBJEXT=$ac_cv_objext
6022 ac_objext=$OBJEXT
6023 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6024 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6025 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6026 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6027 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6028 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 else
6030 @@ -2553,50 +3094,49 @@
6032 _ACEOF
6033 rm -f conftest.$ac_objext
6034 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6035 - (eval $ac_compile) 2>conftest.er1
6036 +if { (ac_try="$ac_compile"
6037 +case "(($ac_try" in
6038 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039 + *) ac_try_echo=$ac_try;;
6040 +esac
6041 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042 + (eval "$ac_compile") 2>conftest.er1
6043 ac_status=$?
6044 grep -v '^ *+' conftest.er1 >conftest.err
6045 rm -f conftest.er1
6046 cat conftest.err >&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 - (exit $ac_status); } &&
6049 - { ac_try='test -z "$ac_c_werror_flag"
6050 - || test ! -s conftest.err'
6051 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 - (eval $ac_try) 2>&5
6053 - ac_status=$?
6054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 - (exit $ac_status); }; } &&
6056 - { ac_try='test -s conftest.$ac_objext'
6057 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6058 - (eval $ac_try) 2>&5
6059 - ac_status=$?
6060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 - (exit $ac_status); }; }; then
6062 + (exit $ac_status); } && {
6063 + test -z "$ac_c_werror_flag" ||
6064 + test ! -s conftest.err
6065 + } && test -s conftest.$ac_objext; then
6066 ac_compiler_gnu=yes
6067 else
6068 echo "$as_me: failed program was:" >&5
6069 sed 's/^/| /' conftest.$ac_ext >&5
6071 -ac_compiler_gnu=no
6072 + ac_compiler_gnu=no
6074 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6076 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6080 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6081 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6082 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6083 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6084 GCC=`test $ac_compiler_gnu = yes && echo yes`
6085 ac_test_CFLAGS=${CFLAGS+set}
6086 ac_save_CFLAGS=$CFLAGS
6087 -CFLAGS="-g"
6088 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6089 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6090 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6091 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_cc_g+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 - cat >conftest.$ac_ext <<_ACEOF
6096 + ac_save_c_werror_flag=$ac_c_werror_flag
6097 + ac_c_werror_flag=yes
6098 + ac_cv_prog_cc_g=no
6099 + CFLAGS="-g"
6100 + cat >conftest.$ac_ext <<_ACEOF
6101 /* confdefs.h. */
6102 _ACEOF
6103 cat confdefs.h >>conftest.$ac_ext
6104 @@ -2612,38 +3152,118 @@
6106 _ACEOF
6107 rm -f conftest.$ac_objext
6108 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 - (eval $ac_compile) 2>conftest.er1
6110 +if { (ac_try="$ac_compile"
6111 +case "(($ac_try" in
6112 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6113 + *) ac_try_echo=$ac_try;;
6114 +esac
6115 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6116 + (eval "$ac_compile") 2>conftest.er1
6117 ac_status=$?
6118 grep -v '^ *+' conftest.er1 >conftest.err
6119 rm -f conftest.er1
6120 cat conftest.err >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 - (exit $ac_status); } &&
6123 - { ac_try='test -z "$ac_c_werror_flag"
6124 - || test ! -s conftest.err'
6125 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 - (eval $ac_try) 2>&5
6127 + (exit $ac_status); } && {
6128 + test -z "$ac_c_werror_flag" ||
6129 + test ! -s conftest.err
6130 + } && test -s conftest.$ac_objext; then
6131 + ac_cv_prog_cc_g=yes
6132 +else
6133 + echo "$as_me: failed program was:" >&5
6134 +sed 's/^/| /' conftest.$ac_ext >&5
6136 + CFLAGS=""
6137 + cat >conftest.$ac_ext <<_ACEOF
6138 +/* confdefs.h. */
6139 +_ACEOF
6140 +cat confdefs.h >>conftest.$ac_ext
6141 +cat >>conftest.$ac_ext <<_ACEOF
6142 +/* end confdefs.h. */
6144 +int
6145 +main ()
6149 + return 0;
6151 +_ACEOF
6152 +rm -f conftest.$ac_objext
6153 +if { (ac_try="$ac_compile"
6154 +case "(($ac_try" in
6155 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156 + *) ac_try_echo=$ac_try;;
6157 +esac
6158 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 + (eval "$ac_compile") 2>conftest.er1
6160 ac_status=$?
6161 + grep -v '^ *+' conftest.er1 >conftest.err
6162 + rm -f conftest.er1
6163 + cat conftest.err >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 - (exit $ac_status); }; } &&
6166 - { ac_try='test -s conftest.$ac_objext'
6167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 - (eval $ac_try) 2>&5
6169 + (exit $ac_status); } && {
6170 + test -z "$ac_c_werror_flag" ||
6171 + test ! -s conftest.err
6172 + } && test -s conftest.$ac_objext; then
6174 +else
6175 + echo "$as_me: failed program was:" >&5
6176 +sed 's/^/| /' conftest.$ac_ext >&5
6178 + ac_c_werror_flag=$ac_save_c_werror_flag
6179 + CFLAGS="-g"
6180 + cat >conftest.$ac_ext <<_ACEOF
6181 +/* confdefs.h. */
6182 +_ACEOF
6183 +cat confdefs.h >>conftest.$ac_ext
6184 +cat >>conftest.$ac_ext <<_ACEOF
6185 +/* end confdefs.h. */
6187 +int
6188 +main ()
6192 + return 0;
6194 +_ACEOF
6195 +rm -f conftest.$ac_objext
6196 +if { (ac_try="$ac_compile"
6197 +case "(($ac_try" in
6198 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6199 + *) ac_try_echo=$ac_try;;
6200 +esac
6201 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6202 + (eval "$ac_compile") 2>conftest.er1
6203 ac_status=$?
6204 + grep -v '^ *+' conftest.er1 >conftest.err
6205 + rm -f conftest.er1
6206 + cat conftest.err >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 - (exit $ac_status); }; }; then
6209 + (exit $ac_status); } && {
6210 + test -z "$ac_c_werror_flag" ||
6211 + test ! -s conftest.err
6212 + } && test -s conftest.$ac_objext; then
6213 ac_cv_prog_cc_g=yes
6214 else
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6218 -ac_cv_prog_cc_g=no
6222 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6225 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6227 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6229 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 + ac_c_werror_flag=$ac_save_c_werror_flag
6232 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6233 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6234 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6235 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6236 if test "$ac_test_CFLAGS" = set; then
6237 CFLAGS=$ac_save_CFLAGS
6238 elif test $ac_cv_prog_cc_g = yes; then
6239 @@ -2659,12 +3279,12 @@
6240 CFLAGS=
6243 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6244 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6245 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
6246 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6247 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6248 +if test "${ac_cv_prog_cc_c89+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 else
6251 - ac_cv_prog_cc_stdc=no
6252 + ac_cv_prog_cc_c89=no
6253 ac_save_CC=$CC
6254 cat >conftest.$ac_ext <<_ACEOF
6255 /* confdefs.h. */
6256 @@ -2698,12 +3318,17 @@
6257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6258 function prototypes and stuff, but not '\xHH' hex character constants.
6259 These don't provoke an error unfortunately, instead are silently treated
6260 - as 'x'. The following induces an error, until -std1 is added to get
6261 + as 'x'. The following induces an error, until -std is added to get
6262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6263 array size at least. It's necessary to write '\x00'==0 to get something
6264 - that's true only with -std1. */
6265 + that's true only with -std. */
6266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6268 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6269 + inside strings and character constants. */
6270 +#define FOO(x) 'x'
6271 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6273 int test (int i, double x);
6274 struct s1 {int (*f) (int a);};
6275 struct s2 {int (*f) (double a);};
6276 @@ -2718,205 +3343,57 @@
6277 return 0;
6279 _ACEOF
6280 -# Don't try gcc -ansi; that turns off useful extensions and
6281 -# breaks some systems' header files.
6282 -# AIX -qlanglvl=ansi
6283 -# Ultrix and OSF/1 -std1
6284 -# HP-UX 10.20 and later -Ae
6285 -# HP-UX older versions -Aa -D_HPUX_SOURCE
6286 -# SVR4 -Xc -D__EXTENSIONS__
6287 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6288 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6289 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6291 CC="$ac_save_CC $ac_arg"
6292 rm -f conftest.$ac_objext
6293 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6294 - (eval $ac_compile) 2>conftest.er1
6295 +if { (ac_try="$ac_compile"
6296 +case "(($ac_try" in
6297 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6298 + *) ac_try_echo=$ac_try;;
6299 +esac
6300 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6301 + (eval "$ac_compile") 2>conftest.er1
6302 ac_status=$?
6303 grep -v '^ *+' conftest.er1 >conftest.err
6304 rm -f conftest.er1
6305 cat conftest.err >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 - (exit $ac_status); } &&
6308 - { ac_try='test -z "$ac_c_werror_flag"
6309 - || test ! -s conftest.err'
6310 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 - (eval $ac_try) 2>&5
6312 - ac_status=$?
6313 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 - (exit $ac_status); }; } &&
6315 - { ac_try='test -s conftest.$ac_objext'
6316 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 - (eval $ac_try) 2>&5
6318 - ac_status=$?
6319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 - (exit $ac_status); }; }; then
6321 - ac_cv_prog_cc_stdc=$ac_arg
6322 -break
6323 + (exit $ac_status); } && {
6324 + test -z "$ac_c_werror_flag" ||
6325 + test ! -s conftest.err
6326 + } && test -s conftest.$ac_objext; then
6327 + ac_cv_prog_cc_c89=$ac_arg
6328 else
6329 echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.$ac_ext >&5
6334 -rm -f conftest.err conftest.$ac_objext
6336 +rm -f core conftest.err conftest.$ac_objext
6337 + test "x$ac_cv_prog_cc_c89" != "xno" && break
6338 done
6339 -rm -f conftest.$ac_ext conftest.$ac_objext
6340 +rm -f conftest.$ac_ext
6341 CC=$ac_save_CC
6345 -case "x$ac_cv_prog_cc_stdc" in
6346 - x|xno)
6347 - echo "$as_me:$LINENO: result: none needed" >&5
6348 -echo "${ECHO_T}none needed" >&6 ;;
6349 +# AC_CACHE_VAL
6350 +case "x$ac_cv_prog_cc_c89" in
6351 + x)
6352 + { echo "$as_me:$LINENO: result: none needed" >&5
6353 +echo "${ECHO_T}none needed" >&6; } ;;
6354 + xno)
6355 + { echo "$as_me:$LINENO: result: unsupported" >&5
6356 +echo "${ECHO_T}unsupported" >&6; } ;;
6358 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6359 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6360 - CC="$CC $ac_cv_prog_cc_stdc" ;;
6361 + CC="$CC $ac_cv_prog_cc_c89"
6362 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6363 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6364 esac
6366 -# Some people use a C++ compiler to compile C. Since we use `exit',
6367 -# in C++ we need to declare it. In case someone uses the same compiler
6368 -# for both compiling C and C++ we need to have the C++ compiler decide
6369 -# the declaration of exit, since it's the most demanding environment.
6370 -cat >conftest.$ac_ext <<_ACEOF
6371 -#ifndef __cplusplus
6372 - choke me
6373 -#endif
6374 -_ACEOF
6375 -rm -f conftest.$ac_objext
6376 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6377 - (eval $ac_compile) 2>conftest.er1
6378 - ac_status=$?
6379 - grep -v '^ *+' conftest.er1 >conftest.err
6380 - rm -f conftest.er1
6381 - cat conftest.err >&5
6382 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 - (exit $ac_status); } &&
6384 - { ac_try='test -z "$ac_c_werror_flag"
6385 - || test ! -s conftest.err'
6386 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 - (eval $ac_try) 2>&5
6388 - ac_status=$?
6389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 - (exit $ac_status); }; } &&
6391 - { ac_try='test -s conftest.$ac_objext'
6392 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 - (eval $ac_try) 2>&5
6394 - ac_status=$?
6395 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 - (exit $ac_status); }; }; then
6397 - for ac_declaration in \
6398 - '' \
6399 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6400 - 'extern "C" void std::exit (int); using std::exit;' \
6401 - 'extern "C" void exit (int) throw ();' \
6402 - 'extern "C" void exit (int);' \
6403 - 'void exit (int);'
6405 - cat >conftest.$ac_ext <<_ACEOF
6406 -/* confdefs.h. */
6407 -_ACEOF
6408 -cat confdefs.h >>conftest.$ac_ext
6409 -cat >>conftest.$ac_ext <<_ACEOF
6410 -/* end confdefs.h. */
6411 -$ac_declaration
6412 -#include <stdlib.h>
6413 -int
6414 -main ()
6416 -exit (42);
6418 - return 0;
6420 -_ACEOF
6421 -rm -f conftest.$ac_objext
6422 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6423 - (eval $ac_compile) 2>conftest.er1
6424 - ac_status=$?
6425 - grep -v '^ *+' conftest.er1 >conftest.err
6426 - rm -f conftest.er1
6427 - cat conftest.err >&5
6428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 - (exit $ac_status); } &&
6430 - { ac_try='test -z "$ac_c_werror_flag"
6431 - || test ! -s conftest.err'
6432 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 - (eval $ac_try) 2>&5
6434 - ac_status=$?
6435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 - (exit $ac_status); }; } &&
6437 - { ac_try='test -s conftest.$ac_objext'
6438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 - (eval $ac_try) 2>&5
6440 - ac_status=$?
6441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 - (exit $ac_status); }; }; then
6444 -else
6445 - echo "$as_me: failed program was:" >&5
6446 -sed 's/^/| /' conftest.$ac_ext >&5
6448 -continue
6450 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6451 - cat >conftest.$ac_ext <<_ACEOF
6452 -/* confdefs.h. */
6453 -_ACEOF
6454 -cat confdefs.h >>conftest.$ac_ext
6455 -cat >>conftest.$ac_ext <<_ACEOF
6456 -/* end confdefs.h. */
6457 -$ac_declaration
6458 -int
6459 -main ()
6461 -exit (42);
6463 - return 0;
6465 -_ACEOF
6466 -rm -f conftest.$ac_objext
6467 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 - (eval $ac_compile) 2>conftest.er1
6469 - ac_status=$?
6470 - grep -v '^ *+' conftest.er1 >conftest.err
6471 - rm -f conftest.er1
6472 - cat conftest.err >&5
6473 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 - (exit $ac_status); } &&
6475 - { ac_try='test -z "$ac_c_werror_flag"
6476 - || test ! -s conftest.err'
6477 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 - (eval $ac_try) 2>&5
6479 - ac_status=$?
6480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 - (exit $ac_status); }; } &&
6482 - { ac_try='test -s conftest.$ac_objext'
6483 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 - (eval $ac_try) 2>&5
6485 - ac_status=$?
6486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 - (exit $ac_status); }; }; then
6488 - break
6489 -else
6490 - echo "$as_me: failed program was:" >&5
6491 -sed 's/^/| /' conftest.$ac_ext >&5
6494 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6495 -done
6496 -rm -f conftest*
6497 -if test -n "$ac_declaration"; then
6498 - echo '#ifdef __cplusplus' >>confdefs.h
6499 - echo $ac_declaration >>confdefs.h
6500 - echo '#endif' >>confdefs.h
6503 -else
6504 - echo "$as_me: failed program was:" >&5
6505 -sed 's/^/| /' conftest.$ac_ext >&5
6508 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6509 ac_ext=c
6510 ac_cpp='$CPP $CPPFLAGS'
6511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6512 @@ -2924,7 +3401,7 @@
6513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6514 DEPDIR="${am__leading_dot}deps"
6516 - ac_config_commands="$ac_config_commands depfiles"
6517 +ac_config_commands="$ac_config_commands depfiles"
6520 am_make=${MAKE-make}
6521 @@ -2934,8 +3411,8 @@
6522 .PHONY: am__doit
6524 # If we don't find an include directive, just comment out the code.
6525 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6526 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6527 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6528 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
6529 am__include="#"
6530 am__quote=
6531 _am_result=none
6532 @@ -2962,15 +3439,15 @@
6536 -echo "$as_me:$LINENO: result: $_am_result" >&5
6537 -echo "${ECHO_T}$_am_result" >&6
6538 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
6539 +echo "${ECHO_T}$_am_result" >&6; }
6540 rm -f confinc confmf
6542 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6543 +# Check whether --enable-dependency-tracking was given.
6544 if test "${enable_dependency_tracking+set}" = set; then
6545 - enableval="$enable_dependency_tracking"
6546 + enableval=$enable_dependency_tracking;
6549 -fi;
6550 if test "x$enable_dependency_tracking" != xno; then
6551 am_depcomp="$ac_aux_dir/depcomp"
6552 AMDEPBACKSLASH='\'
6553 @@ -2990,8 +3467,8 @@
6555 depcc="$CC" am_compiler_list=
6557 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6558 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6559 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6560 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6561 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 else
6564 @@ -3080,8 +3557,8 @@
6568 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6569 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6570 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6571 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6572 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6575 @@ -3097,18 +3574,22 @@
6579 -ac_ext=cc
6580 +ac_ext=cpp
6581 ac_cpp='$CXXCPP $CPPFLAGS'
6582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6585 -if test -n "$ac_tool_prefix"; then
6586 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6587 +if test -z "$CXX"; then
6588 + if test -n "$CCC"; then
6589 + CXX=$CCC
6590 + else
6591 + if test -n "$ac_tool_prefix"; then
6592 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6600 if test "${ac_cv_prog_CXX+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 else
6603 @@ -3121,36 +3602,38 @@
6604 IFS=$as_save_IFS
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6609 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 break 2
6613 done
6614 done
6615 +IFS=$as_save_IFS
6619 CXX=$ac_cv_prog_CXX
6620 if test -n "$CXX"; then
6621 - echo "$as_me:$LINENO: result: $CXX" >&5
6622 -echo "${ECHO_T}$CXX" >&6
6623 + { echo "$as_me:$LINENO: result: $CXX" >&5
6624 +echo "${ECHO_T}$CXX" >&6; }
6625 else
6626 - echo "$as_me:$LINENO: result: no" >&5
6627 -echo "${ECHO_T}no" >&6
6628 + { echo "$as_me:$LINENO: result: no" >&5
6629 +echo "${ECHO_T}no" >&6; }
6633 test -n "$CXX" && break
6634 done
6636 if test -z "$CXX"; then
6637 ac_ct_CXX=$CXX
6638 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6639 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6644 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6645 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6646 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6647 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6648 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 else
6650 @@ -3163,55 +3646,85 @@
6651 IFS=$as_save_IFS
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6655 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_ac_ct_CXX="$ac_prog"
6657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 break 2
6660 done
6661 done
6662 +IFS=$as_save_IFS
6666 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6667 if test -n "$ac_ct_CXX"; then
6668 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6669 -echo "${ECHO_T}$ac_ct_CXX" >&6
6670 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6671 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
6672 else
6673 - echo "$as_me:$LINENO: result: no" >&5
6674 -echo "${ECHO_T}no" >&6
6675 + { echo "$as_me:$LINENO: result: no" >&5
6676 +echo "${ECHO_T}no" >&6; }
6680 test -n "$ac_ct_CXX" && break
6681 done
6682 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6684 - CXX=$ac_ct_CXX
6685 + if test "x$ac_ct_CXX" = x; then
6686 + CXX="g++"
6687 + else
6688 + case $cross_compiling:$ac_tool_warned in
6689 +yes:)
6690 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6691 +whose name does not start with the host triplet. If you think this
6692 +configuration is useful to you, please write to autoconf@gnu.org." >&5
6693 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6694 +whose name does not start with the host triplet. If you think this
6695 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6696 +ac_tool_warned=yes ;;
6697 +esac
6698 + CXX=$ac_ct_CXX
6699 + fi
6703 + fi
6705 # Provide some information about the compiler.
6706 -echo "$as_me:$LINENO:" \
6707 - "checking for C++ compiler version" >&5
6708 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6709 ac_compiler=`set X $ac_compile; echo $2`
6710 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6711 - (eval $ac_compiler --version </dev/null >&5) 2>&5
6712 +{ (ac_try="$ac_compiler --version >&5"
6713 +case "(($ac_try" in
6714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6715 + *) ac_try_echo=$ac_try;;
6716 +esac
6717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6718 + (eval "$ac_compiler --version >&5") 2>&5
6719 ac_status=$?
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }
6722 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6723 - (eval $ac_compiler -v </dev/null >&5) 2>&5
6724 +{ (ac_try="$ac_compiler -v >&5"
6725 +case "(($ac_try" in
6726 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6727 + *) ac_try_echo=$ac_try;;
6728 +esac
6729 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730 + (eval "$ac_compiler -v >&5") 2>&5
6731 ac_status=$?
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }
6734 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6735 - (eval $ac_compiler -V </dev/null >&5) 2>&5
6736 +{ (ac_try="$ac_compiler -V >&5"
6737 +case "(($ac_try" in
6738 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6739 + *) ac_try_echo=$ac_try;;
6740 +esac
6741 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6742 + (eval "$ac_compiler -V >&5") 2>&5
6743 ac_status=$?
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }
6747 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6748 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6749 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6750 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6751 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 else
6754 @@ -3234,50 +3747,49 @@
6756 _ACEOF
6757 rm -f conftest.$ac_objext
6758 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6759 - (eval $ac_compile) 2>conftest.er1
6760 +if { (ac_try="$ac_compile"
6761 +case "(($ac_try" in
6762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 + *) ac_try_echo=$ac_try;;
6764 +esac
6765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 + (eval "$ac_compile") 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 - (exit $ac_status); } &&
6773 - { ac_try='test -z "$ac_cxx_werror_flag"
6774 - || test ! -s conftest.err'
6775 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 - (eval $ac_try) 2>&5
6777 - ac_status=$?
6778 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 - (exit $ac_status); }; } &&
6780 - { ac_try='test -s conftest.$ac_objext'
6781 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 - (eval $ac_try) 2>&5
6783 - ac_status=$?
6784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 - (exit $ac_status); }; }; then
6786 + (exit $ac_status); } && {
6787 + test -z "$ac_cxx_werror_flag" ||
6788 + test ! -s conftest.err
6789 + } && test -s conftest.$ac_objext; then
6790 ac_compiler_gnu=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 -ac_compiler_gnu=no
6796 + ac_compiler_gnu=no
6798 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6804 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6805 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6806 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6807 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6808 GXX=`test $ac_compiler_gnu = yes && echo yes`
6809 ac_test_CXXFLAGS=${CXXFLAGS+set}
6810 ac_save_CXXFLAGS=$CXXFLAGS
6811 -CXXFLAGS="-g"
6812 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6813 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6814 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6815 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6816 if test "${ac_cv_prog_cxx_g+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 else
6819 - cat >conftest.$ac_ext <<_ACEOF
6820 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6821 + ac_cxx_werror_flag=yes
6822 + ac_cv_prog_cxx_g=no
6823 + CXXFLAGS="-g"
6824 + cat >conftest.$ac_ext <<_ACEOF
6825 /* confdefs.h. */
6826 _ACEOF
6827 cat confdefs.h >>conftest.$ac_ext
6828 @@ -3293,159 +3805,133 @@
6830 _ACEOF
6831 rm -f conftest.$ac_objext
6832 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 - (eval $ac_compile) 2>conftest.er1
6834 +if { (ac_try="$ac_compile"
6835 +case "(($ac_try" in
6836 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6837 + *) ac_try_echo=$ac_try;;
6838 +esac
6839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6840 + (eval "$ac_compile") 2>conftest.er1
6841 ac_status=$?
6842 grep -v '^ *+' conftest.er1 >conftest.err
6843 rm -f conftest.er1
6844 cat conftest.err >&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 - (exit $ac_status); } &&
6847 - { ac_try='test -z "$ac_cxx_werror_flag"
6848 - || test ! -s conftest.err'
6849 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 - (eval $ac_try) 2>&5
6851 - ac_status=$?
6852 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 - (exit $ac_status); }; } &&
6854 - { ac_try='test -s conftest.$ac_objext'
6855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6856 - (eval $ac_try) 2>&5
6857 - ac_status=$?
6858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 - (exit $ac_status); }; }; then
6860 + (exit $ac_status); } && {
6861 + test -z "$ac_cxx_werror_flag" ||
6862 + test ! -s conftest.err
6863 + } && test -s conftest.$ac_objext; then
6864 ac_cv_prog_cxx_g=yes
6865 else
6866 echo "$as_me: failed program was:" >&5
6867 sed 's/^/| /' conftest.$ac_ext >&5
6869 -ac_cv_prog_cxx_g=no
6871 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6873 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6874 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6875 -if test "$ac_test_CXXFLAGS" = set; then
6876 - CXXFLAGS=$ac_save_CXXFLAGS
6877 -elif test $ac_cv_prog_cxx_g = yes; then
6878 - if test "$GXX" = yes; then
6879 - CXXFLAGS="-g -O2"
6880 - else
6881 - CXXFLAGS="-g"
6882 - fi
6883 -else
6884 - if test "$GXX" = yes; then
6885 - CXXFLAGS="-O2"
6886 - else
6887 - CXXFLAGS=
6888 - fi
6890 -for ac_declaration in \
6891 - '' \
6892 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
6893 - 'extern "C" void std::exit (int); using std::exit;' \
6894 - 'extern "C" void exit (int) throw ();' \
6895 - 'extern "C" void exit (int);' \
6896 - 'void exit (int);'
6898 - cat >conftest.$ac_ext <<_ACEOF
6899 + CXXFLAGS=""
6900 + cat >conftest.$ac_ext <<_ACEOF
6901 /* confdefs.h. */
6902 _ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 -$ac_declaration
6907 -#include <stdlib.h>
6910 main ()
6912 -exit (42);
6915 return 0;
6917 _ACEOF
6918 rm -f conftest.$ac_objext
6919 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6920 - (eval $ac_compile) 2>conftest.er1
6921 +if { (ac_try="$ac_compile"
6922 +case "(($ac_try" in
6923 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6924 + *) ac_try_echo=$ac_try;;
6925 +esac
6926 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6927 + (eval "$ac_compile") 2>conftest.er1
6928 ac_status=$?
6929 grep -v '^ *+' conftest.er1 >conftest.err
6930 rm -f conftest.er1
6931 cat conftest.err >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 - (exit $ac_status); } &&
6934 - { ac_try='test -z "$ac_cxx_werror_flag"
6935 - || test ! -s conftest.err'
6936 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937 - (eval $ac_try) 2>&5
6938 - ac_status=$?
6939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 - (exit $ac_status); }; } &&
6941 - { ac_try='test -s conftest.$ac_objext'
6942 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 - (eval $ac_try) 2>&5
6944 - ac_status=$?
6945 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 - (exit $ac_status); }; }; then
6947 + (exit $ac_status); } && {
6948 + test -z "$ac_cxx_werror_flag" ||
6949 + test ! -s conftest.err
6950 + } && test -s conftest.$ac_objext; then
6952 else
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6956 -continue
6958 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6959 - cat >conftest.$ac_ext <<_ACEOF
6960 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6961 + CXXFLAGS="-g"
6962 + cat >conftest.$ac_ext <<_ACEOF
6963 /* confdefs.h. */
6964 _ACEOF
6965 cat confdefs.h >>conftest.$ac_ext
6966 cat >>conftest.$ac_ext <<_ACEOF
6967 /* end confdefs.h. */
6968 -$ac_declaration
6971 main ()
6973 -exit (42);
6976 return 0;
6978 _ACEOF
6979 rm -f conftest.$ac_objext
6980 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6981 - (eval $ac_compile) 2>conftest.er1
6982 +if { (ac_try="$ac_compile"
6983 +case "(($ac_try" in
6984 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 + *) ac_try_echo=$ac_try;;
6986 +esac
6987 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6988 + (eval "$ac_compile") 2>conftest.er1
6989 ac_status=$?
6990 grep -v '^ *+' conftest.er1 >conftest.err
6991 rm -f conftest.er1
6992 cat conftest.err >&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 - (exit $ac_status); } &&
6995 - { ac_try='test -z "$ac_cxx_werror_flag"
6996 - || test ! -s conftest.err'
6997 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 - (eval $ac_try) 2>&5
6999 - ac_status=$?
7000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 - (exit $ac_status); }; } &&
7002 - { ac_try='test -s conftest.$ac_objext'
7003 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 - (eval $ac_try) 2>&5
7005 - ac_status=$?
7006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 - (exit $ac_status); }; }; then
7008 - break
7009 + (exit $ac_status); } && {
7010 + test -z "$ac_cxx_werror_flag" ||
7011 + test ! -s conftest.err
7012 + } && test -s conftest.$ac_objext; then
7013 + ac_cv_prog_cxx_g=yes
7014 else
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.$ac_ext >&5
7020 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7021 -done
7022 -rm -f conftest*
7023 -if test -n "$ac_declaration"; then
7024 - echo '#ifdef __cplusplus' >>confdefs.h
7025 - echo $ac_declaration >>confdefs.h
7026 - echo '#endif' >>confdefs.h
7028 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7031 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7034 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7035 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7037 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7038 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7039 +if test "$ac_test_CXXFLAGS" = set; then
7040 + CXXFLAGS=$ac_save_CXXFLAGS
7041 +elif test $ac_cv_prog_cxx_g = yes; then
7042 + if test "$GXX" = yes; then
7043 + CXXFLAGS="-g -O2"
7044 + else
7045 + CXXFLAGS="-g"
7046 + fi
7047 +else
7048 + if test "$GXX" = yes; then
7049 + CXXFLAGS="-O2"
7050 + else
7051 + CXXFLAGS=
7052 + fi
7054 ac_ext=c
7055 ac_cpp='$CPP $CPPFLAGS'
7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 @@ -3454,8 +3940,8 @@
7059 depcc="$CXX" am_compiler_list=
7061 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7062 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7063 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7064 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7065 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 else
7068 @@ -3544,8 +4030,8 @@
7072 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7073 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7074 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7075 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7076 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7079 @@ -3564,10 +4050,9 @@
7083 -# Check whether --enable-shared or --disable-shared was given.
7084 +# Check whether --enable-shared was given.
7085 if test "${enable_shared+set}" = set; then
7086 - enableval="$enable_shared"
7087 - p=${PACKAGE-default}
7088 + enableval=$enable_shared; p=${PACKAGE-default}
7089 case $enableval in
7090 yes) enable_shared=yes ;;
7091 no) enable_shared=no ;;
7092 @@ -3586,12 +4071,12 @@
7093 esac
7094 else
7095 enable_shared=yes
7096 -fi;
7100 -# Check whether --enable-static or --disable-static was given.
7101 +# Check whether --enable-static was given.
7102 if test "${enable_static+set}" = set; then
7103 - enableval="$enable_static"
7104 - p=${PACKAGE-default}
7105 + enableval=$enable_static; p=${PACKAGE-default}
7106 case $enableval in
7107 yes) enable_static=yes ;;
7108 no) enable_static=no ;;
7109 @@ -3610,12 +4095,12 @@
7110 esac
7111 else
7112 enable_static=yes
7113 -fi;
7117 -# Check whether --enable-fast-install or --disable-fast-install was given.
7118 +# Check whether --enable-fast-install was given.
7119 if test "${enable_fast_install+set}" = set; then
7120 - enableval="$enable_fast_install"
7121 - p=${PACKAGE-default}
7122 + enableval=$enable_fast_install; p=${PACKAGE-default}
7123 case $enableval in
7124 yes) enable_fast_install=yes ;;
7125 no) enable_fast_install=no ;;
7126 @@ -3634,10 +4119,11 @@
7127 esac
7128 else
7129 enable_fast_install=yes
7130 -fi;
7134 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7135 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
7136 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7137 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7138 if test "${lt_cv_path_SED+set}" = set; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7140 else
7141 @@ -3690,37 +4176,184 @@
7145 -echo "$as_me:$LINENO: result: $SED" >&5
7146 -echo "${ECHO_T}$SED" >&6
7147 +{ echo "$as_me:$LINENO: result: $SED" >&5
7148 +echo "${ECHO_T}$SED" >&6; }
7150 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7151 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7152 +if test "${ac_cv_path_GREP+set}" = set; then
7153 + echo $ECHO_N "(cached) $ECHO_C" >&6
7154 +else
7155 + # Extract the first word of "grep ggrep" to use in msg output
7156 +if test -z "$GREP"; then
7157 +set dummy grep ggrep; ac_prog_name=$2
7158 +if test "${ac_cv_path_GREP+set}" = set; then
7159 + echo $ECHO_N "(cached) $ECHO_C" >&6
7160 +else
7161 + ac_path_GREP_found=false
7162 +# Loop through the user's path and test for each of PROGNAME-LIST
7163 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7166 + IFS=$as_save_IFS
7167 + test -z "$as_dir" && as_dir=.
7168 + for ac_prog in grep ggrep; do
7169 + for ac_exec_ext in '' $ac_executable_extensions; do
7170 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7171 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7172 + # Check for GNU ac_path_GREP and select it if it is found.
7173 + # Check for GNU $ac_path_GREP
7174 +case `"$ac_path_GREP" --version 2>&1` in
7175 +*GNU*)
7176 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7178 + ac_count=0
7179 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7180 + while :
7181 + do
7182 + cat "conftest.in" "conftest.in" >"conftest.tmp"
7183 + mv "conftest.tmp" "conftest.in"
7184 + cp "conftest.in" "conftest.nl"
7185 + echo 'GREP' >> "conftest.nl"
7186 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7187 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7188 + ac_count=`expr $ac_count + 1`
7189 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
7190 + # Best one so far, save it but keep looking for a better one
7191 + ac_cv_path_GREP="$ac_path_GREP"
7192 + ac_path_GREP_max=$ac_count
7193 + fi
7194 + # 10*(2^10) chars as input seems more than enough
7195 + test $ac_count -gt 10 && break
7196 + done
7197 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7198 +esac
7201 + $ac_path_GREP_found && break 3
7202 + done
7203 +done
7205 +done
7206 +IFS=$as_save_IFS
7211 +GREP="$ac_cv_path_GREP"
7212 +if test -z "$GREP"; then
7213 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7214 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7215 + { (exit 1); exit 1; }; }
7218 +else
7219 + ac_cv_path_GREP=$GREP
7224 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7225 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7226 + GREP="$ac_cv_path_GREP"
7229 -echo "$as_me:$LINENO: checking for egrep" >&5
7230 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7231 -if test "${ac_cv_prog_egrep+set}" = set; then
7232 +{ echo "$as_me:$LINENO: checking for egrep" >&5
7233 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7234 +if test "${ac_cv_path_EGREP+set}" = set; then
7235 + echo $ECHO_N "(cached) $ECHO_C" >&6
7236 +else
7237 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7238 + then ac_cv_path_EGREP="$GREP -E"
7239 + else
7240 + # Extract the first word of "egrep" to use in msg output
7241 +if test -z "$EGREP"; then
7242 +set dummy egrep; ac_prog_name=$2
7243 +if test "${ac_cv_path_EGREP+set}" = set; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 else
7246 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7247 - then ac_cv_prog_egrep='grep -E'
7248 - else ac_cv_prog_egrep='egrep'
7249 + ac_path_EGREP_found=false
7250 +# Loop through the user's path and test for each of PROGNAME-LIST
7251 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7254 + IFS=$as_save_IFS
7255 + test -z "$as_dir" && as_dir=.
7256 + for ac_prog in egrep; do
7257 + for ac_exec_ext in '' $ac_executable_extensions; do
7258 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7259 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7260 + # Check for GNU ac_path_EGREP and select it if it is found.
7261 + # Check for GNU $ac_path_EGREP
7262 +case `"$ac_path_EGREP" --version 2>&1` in
7263 +*GNU*)
7264 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7266 + ac_count=0
7267 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7268 + while :
7269 + do
7270 + cat "conftest.in" "conftest.in" >"conftest.tmp"
7271 + mv "conftest.tmp" "conftest.in"
7272 + cp "conftest.in" "conftest.nl"
7273 + echo 'EGREP' >> "conftest.nl"
7274 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7275 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7276 + ac_count=`expr $ac_count + 1`
7277 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7278 + # Best one so far, save it but keep looking for a better one
7279 + ac_cv_path_EGREP="$ac_path_EGREP"
7280 + ac_path_EGREP_max=$ac_count
7282 + # 10*(2^10) chars as input seems more than enough
7283 + test $ac_count -gt 10 && break
7284 + done
7285 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7286 +esac
7289 + $ac_path_EGREP_found && break 3
7290 + done
7291 +done
7293 +done
7294 +IFS=$as_save_IFS
7299 +EGREP="$ac_cv_path_EGREP"
7300 +if test -z "$EGREP"; then
7301 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7302 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7303 + { (exit 1); exit 1; }; }
7306 +else
7307 + ac_cv_path_EGREP=$EGREP
7309 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7310 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7311 - EGREP=$ac_cv_prog_egrep
7314 + fi
7316 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7317 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7318 + EGREP="$ac_cv_path_EGREP"
7322 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
7323 +# Check whether --with-gnu-ld was given.
7324 if test "${with_gnu_ld+set}" = set; then
7325 - withval="$with_gnu_ld"
7326 - test "$withval" = no || with_gnu_ld=yes
7327 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7328 else
7329 with_gnu_ld=no
7330 -fi;
7333 ac_prog=ld
7334 if test "$GCC" = yes; then
7335 # Check if gcc -print-prog-name=ld gives a path.
7336 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7337 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7338 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7339 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7340 case $host in
7341 *-*-mingw*)
7342 # gcc leaves a trailing carriage return which upsets mingw
7343 @@ -3749,11 +4382,11 @@
7345 esac
7346 elif test "$with_gnu_ld" = yes; then
7347 - echo "$as_me:$LINENO: checking for GNU ld" >&5
7348 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7349 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
7350 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7351 else
7352 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7353 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7354 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7355 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7357 if test "${lt_cv_path_LD+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 @@ -3786,17 +4419,17 @@
7361 LD="$lt_cv_path_LD"
7362 if test -n "$LD"; then
7363 - echo "$as_me:$LINENO: result: $LD" >&5
7364 -echo "${ECHO_T}$LD" >&6
7365 + { echo "$as_me:$LINENO: result: $LD" >&5
7366 +echo "${ECHO_T}$LD" >&6; }
7367 else
7368 - echo "$as_me:$LINENO: result: no" >&5
7369 -echo "${ECHO_T}no" >&6
7370 + { echo "$as_me:$LINENO: result: no" >&5
7371 +echo "${ECHO_T}no" >&6; }
7373 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7374 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7375 { (exit 1); exit 1; }; }
7376 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7377 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7378 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7379 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7380 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 else
7383 @@ -3810,20 +4443,20 @@
7385 esac
7387 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7388 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7389 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7390 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7391 with_gnu_ld=$lt_cv_prog_gnu_ld
7394 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7395 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7396 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7397 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7398 if test "${lt_cv_ld_reload_flag+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 else
7401 lt_cv_ld_reload_flag='-r'
7403 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7404 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7405 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7406 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7407 reload_flag=$lt_cv_ld_reload_flag
7408 case $reload_flag in
7409 "" | " "*) ;;
7410 @@ -3831,8 +4464,8 @@
7411 esac
7412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7414 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7415 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7416 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7417 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7418 if test "${lt_cv_path_NM+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 else
7421 @@ -3873,23 +4506,23 @@
7422 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7425 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7426 -echo "${ECHO_T}$lt_cv_path_NM" >&6
7427 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7428 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7429 NM="$lt_cv_path_NM"
7431 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
7432 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7433 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
7434 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
7435 LN_S=$as_ln_s
7436 if test "$LN_S" = "ln -s"; then
7437 - echo "$as_me:$LINENO: result: yes" >&5
7438 -echo "${ECHO_T}yes" >&6
7439 + { echo "$as_me:$LINENO: result: yes" >&5
7440 +echo "${ECHO_T}yes" >&6; }
7441 else
7442 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7443 -echo "${ECHO_T}no, using $LN_S" >&6
7444 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7445 +echo "${ECHO_T}no, using $LN_S" >&6; }
7448 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7449 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7450 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7451 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
7452 if test "${lt_cv_deplibs_check_method+set}" = set; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 else
7455 @@ -4071,8 +4704,8 @@
7456 esac
7459 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7460 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7461 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7462 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7463 file_magic_cmd=$lt_cv_file_magic_cmd
7464 deplibs_check_method=$lt_cv_deplibs_check_method
7465 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7466 @@ -4087,11 +4720,11 @@
7467 compiler=$CC
7470 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7471 +# Check whether --enable-libtool-lock was given.
7472 if test "${enable_libtool_lock+set}" = set; then
7473 - enableval="$enable_libtool_lock"
7474 + enableval=$enable_libtool_lock;
7477 -fi;
7478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7480 # Some flags need to be propagated to the compiler or linker for good
7481 @@ -4118,7 +4751,7 @@
7483 *-*-irix6*)
7484 # Find out which ABI we are using.
7485 - echo '#line 4121 "configure"' > conftest.$ac_ext
7486 + echo '#line 4754 "configure"' > conftest.$ac_ext
7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7488 (eval $ac_compile) 2>&5
7489 ac_status=$?
7490 @@ -4203,8 +4836,8 @@
7491 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7492 SAVE_CFLAGS="$CFLAGS"
7493 CFLAGS="$CFLAGS -belf"
7494 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7495 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7496 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7497 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7498 if test "${lt_cv_cc_needs_belf+set}" = set; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 @@ -4230,35 +4863,32 @@
7503 _ACEOF
7504 rm -f conftest.$ac_objext conftest$ac_exeext
7505 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 - (eval $ac_link) 2>conftest.er1
7507 +if { (ac_try="$ac_link"
7508 +case "(($ac_try" in
7509 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 + *) ac_try_echo=$ac_try;;
7511 +esac
7512 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 + (eval "$ac_link") 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 - (exit $ac_status); } &&
7520 - { ac_try='test -z "$ac_c_werror_flag"
7521 - || test ! -s conftest.err'
7522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 - (eval $ac_try) 2>&5
7524 - ac_status=$?
7525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 - (exit $ac_status); }; } &&
7527 - { ac_try='test -s conftest$ac_exeext'
7528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 - (eval $ac_try) 2>&5
7530 - ac_status=$?
7531 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 - (exit $ac_status); }; }; then
7533 + (exit $ac_status); } && {
7534 + test -z "$ac_c_werror_flag" ||
7535 + test ! -s conftest.err
7536 + } && test -s conftest$ac_exeext &&
7537 + $as_test_x conftest$ac_exeext; then
7538 lt_cv_cc_needs_belf=yes
7539 else
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 -lt_cv_cc_needs_belf=no
7544 + lt_cv_cc_needs_belf=no
7546 -rm -f conftest.err conftest.$ac_objext \
7548 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7549 conftest$ac_exeext conftest.$ac_ext
7550 ac_ext=c
7551 ac_cpp='$CPP $CPPFLAGS'
7552 @@ -4267,8 +4897,8 @@
7553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7556 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7557 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7558 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7559 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7560 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7561 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7562 CFLAGS="$SAVE_CFLAGS"
7563 @@ -4278,8 +4908,8 @@
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7567 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7568 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7569 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7570 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7571 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 else
7574 @@ -4292,32 +4922,34 @@
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 +IFS=$as_save_IFS
7590 DLLTOOL=$ac_cv_prog_DLLTOOL
7591 if test -n "$DLLTOOL"; then
7592 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7593 -echo "${ECHO_T}$DLLTOOL" >&6
7594 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7595 +echo "${ECHO_T}$DLLTOOL" >&6; }
7596 else
7597 - echo "$as_me:$LINENO: result: no" >&5
7598 -echo "${ECHO_T}no" >&6
7599 + { echo "$as_me:$LINENO: result: no" >&5
7600 +echo "${ECHO_T}no" >&6; }
7605 if test -z "$ac_cv_prog_DLLTOOL"; then
7606 ac_ct_DLLTOOL=$DLLTOOL
7607 # Extract the first word of "dlltool", so it can be a program name with args.
7608 set dummy dlltool; ac_word=$2
7609 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7610 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7611 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7612 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7613 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 else
7616 @@ -4330,27 +4962,41 @@
7617 IFS=$as_save_IFS
7618 test -z "$as_dir" && as_dir=.
7619 for ac_exec_ext in '' $ac_executable_extensions; do
7620 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7621 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7622 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 break 2
7626 done
7627 done
7628 +IFS=$as_save_IFS
7630 - test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
7633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 - echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7636 -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7637 + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7638 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7639 else
7640 - echo "$as_me:$LINENO: result: no" >&5
7641 -echo "${ECHO_T}no" >&6
7642 + { echo "$as_me:$LINENO: result: no" >&5
7643 +echo "${ECHO_T}no" >&6; }
7646 - DLLTOOL=$ac_ct_DLLTOOL
7647 + if test "x$ac_ct_DLLTOOL" = x; then
7648 + DLLTOOL="false"
7649 + else
7650 + case $cross_compiling:$ac_tool_warned in
7651 +yes:)
7652 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7653 +whose name does not start with the host triplet. If you think this
7654 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7655 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7656 +whose name does not start with the host triplet. If you think this
7657 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7658 +ac_tool_warned=yes ;;
7659 +esac
7660 + DLLTOOL=$ac_ct_DLLTOOL
7661 + fi
7662 else
7663 DLLTOOL="$ac_cv_prog_DLLTOOL"
7665 @@ -4358,8 +5004,8 @@
7666 if test -n "$ac_tool_prefix"; then
7667 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7668 set dummy ${ac_tool_prefix}as; ac_word=$2
7669 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7670 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7671 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7672 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7673 if test "${ac_cv_prog_AS+set}" = set; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 else
7676 @@ -4372,32 +5018,34 @@
7677 IFS=$as_save_IFS
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_AS="${ac_tool_prefix}as"
7683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7686 done
7687 done
7688 +IFS=$as_save_IFS
7692 AS=$ac_cv_prog_AS
7693 if test -n "$AS"; then
7694 - echo "$as_me:$LINENO: result: $AS" >&5
7695 -echo "${ECHO_T}$AS" >&6
7696 + { echo "$as_me:$LINENO: result: $AS" >&5
7697 +echo "${ECHO_T}$AS" >&6; }
7698 else
7699 - echo "$as_me:$LINENO: result: no" >&5
7700 -echo "${ECHO_T}no" >&6
7701 + { echo "$as_me:$LINENO: result: no" >&5
7702 +echo "${ECHO_T}no" >&6; }
7707 if test -z "$ac_cv_prog_AS"; then
7708 ac_ct_AS=$AS
7709 # Extract the first word of "as", so it can be a program name with args.
7710 set dummy as; ac_word=$2
7711 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7712 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7713 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7714 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7715 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 else
7718 @@ -4410,27 +5058,41 @@
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_ac_ct_AS="as"
7725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7728 done
7729 done
7730 +IFS=$as_save_IFS
7732 - test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
7735 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7736 if test -n "$ac_ct_AS"; then
7737 - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
7738 -echo "${ECHO_T}$ac_ct_AS" >&6
7739 + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
7740 +echo "${ECHO_T}$ac_ct_AS" >&6; }
7741 else
7742 - echo "$as_me:$LINENO: result: no" >&5
7743 -echo "${ECHO_T}no" >&6
7744 + { echo "$as_me:$LINENO: result: no" >&5
7745 +echo "${ECHO_T}no" >&6; }
7748 - AS=$ac_ct_AS
7749 + if test "x$ac_ct_AS" = x; then
7750 + AS="false"
7751 + else
7752 + case $cross_compiling:$ac_tool_warned in
7753 +yes:)
7754 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7755 +whose name does not start with the host triplet. If you think this
7756 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7757 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7758 +whose name does not start with the host triplet. If you think this
7759 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7760 +ac_tool_warned=yes ;;
7761 +esac
7762 + AS=$ac_ct_AS
7763 + fi
7764 else
7765 AS="$ac_cv_prog_AS"
7767 @@ -4438,8 +5100,8 @@
7768 if test -n "$ac_tool_prefix"; then
7769 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7770 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7771 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7772 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7773 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7774 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7775 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7777 else
7778 @@ -4452,32 +5114,34 @@
7779 IFS=$as_save_IFS
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7788 done
7789 done
7790 +IFS=$as_save_IFS
7794 OBJDUMP=$ac_cv_prog_OBJDUMP
7795 if test -n "$OBJDUMP"; then
7796 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7797 -echo "${ECHO_T}$OBJDUMP" >&6
7798 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7799 +echo "${ECHO_T}$OBJDUMP" >&6; }
7800 else
7801 - echo "$as_me:$LINENO: result: no" >&5
7802 -echo "${ECHO_T}no" >&6
7803 + { echo "$as_me:$LINENO: result: no" >&5
7804 +echo "${ECHO_T}no" >&6; }
7809 if test -z "$ac_cv_prog_OBJDUMP"; then
7810 ac_ct_OBJDUMP=$OBJDUMP
7811 # Extract the first word of "objdump", so it can be a program name with args.
7812 set dummy objdump; ac_word=$2
7813 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7814 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7815 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7816 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7817 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 else
7820 @@ -4490,27 +5154,41 @@
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7826 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 break 2
7830 done
7831 done
7832 +IFS=$as_save_IFS
7834 - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
7837 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7838 if test -n "$ac_ct_OBJDUMP"; then
7839 - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7840 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
7841 + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7842 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
7843 else
7844 - echo "$as_me:$LINENO: result: no" >&5
7845 -echo "${ECHO_T}no" >&6
7846 + { echo "$as_me:$LINENO: result: no" >&5
7847 +echo "${ECHO_T}no" >&6; }
7850 - OBJDUMP=$ac_ct_OBJDUMP
7851 + if test "x$ac_ct_OBJDUMP" = x; then
7852 + OBJDUMP="false"
7853 + else
7854 + case $cross_compiling:$ac_tool_warned in
7855 +yes:)
7856 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7857 +whose name does not start with the host triplet. If you think this
7858 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7859 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7860 +whose name does not start with the host triplet. If you think this
7861 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7862 +ac_tool_warned=yes ;;
7863 +esac
7864 + OBJDUMP=$ac_ct_OBJDUMP
7865 + fi
7866 else
7867 OBJDUMP="$ac_cv_prog_OBJDUMP"
7869 @@ -4527,8 +5205,8 @@
7870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7873 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7874 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7875 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7876 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
7877 # On Suns, sometimes $CPP names a directory.
7878 if test -n "$CPP" && test -d "$CPP"; then
7879 CPP=
7880 @@ -4562,24 +5240,22 @@
7881 #endif
7882 Syntax error
7883 _ACEOF
7884 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7885 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7886 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7887 +case "(($ac_try" in
7888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889 + *) ac_try_echo=$ac_try;;
7890 +esac
7891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7892 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7893 ac_status=$?
7894 grep -v '^ *+' conftest.er1 >conftest.err
7895 rm -f conftest.er1
7896 cat conftest.err >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 - (exit $ac_status); } >/dev/null; then
7899 - if test -s conftest.err; then
7900 - ac_cpp_err=$ac_c_preproc_warn_flag
7901 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7902 - else
7903 - ac_cpp_err=
7904 - fi
7905 -else
7906 - ac_cpp_err=yes
7908 -if test -z "$ac_cpp_err"; then
7909 + (exit $ac_status); } >/dev/null && {
7910 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7911 + test ! -s conftest.err
7912 + }; then
7914 else
7915 echo "$as_me: failed program was:" >&5
7916 @@ -4588,9 +5264,10 @@
7917 # Broken: fails on valid input.
7918 continue
7921 rm -f conftest.err conftest.$ac_ext
7923 - # OK, works on sane cases. Now check whether non-existent headers
7924 + # OK, works on sane cases. Now check whether nonexistent headers
7925 # can be detected and how.
7926 cat >conftest.$ac_ext <<_ACEOF
7927 /* confdefs.h. */
7928 @@ -4600,24 +5277,22 @@
7929 /* end confdefs.h. */
7930 #include <ac_nonexistent.h>
7931 _ACEOF
7932 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7933 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7934 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7935 +case "(($ac_try" in
7936 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937 + *) ac_try_echo=$ac_try;;
7938 +esac
7939 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7940 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7941 ac_status=$?
7942 grep -v '^ *+' conftest.er1 >conftest.err
7943 rm -f conftest.er1
7944 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 - (exit $ac_status); } >/dev/null; then
7947 - if test -s conftest.err; then
7948 - ac_cpp_err=$ac_c_preproc_warn_flag
7949 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7950 - else
7951 - ac_cpp_err=
7952 - fi
7953 -else
7954 - ac_cpp_err=yes
7956 -if test -z "$ac_cpp_err"; then
7957 + (exit $ac_status); } >/dev/null && {
7958 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7959 + test ! -s conftest.err
7960 + }; then
7961 # Broken: success on invalid input.
7962 continue
7963 else
7964 @@ -4628,6 +5303,7 @@
7965 ac_preproc_ok=:
7966 break
7969 rm -f conftest.err conftest.$ac_ext
7971 done
7972 @@ -4645,8 +5321,8 @@
7973 else
7974 ac_cv_prog_CPP=$CPP
7976 -echo "$as_me:$LINENO: result: $CPP" >&5
7977 -echo "${ECHO_T}$CPP" >&6
7978 +{ echo "$as_me:$LINENO: result: $CPP" >&5
7979 +echo "${ECHO_T}$CPP" >&6; }
7980 ac_preproc_ok=false
7981 for ac_c_preproc_warn_flag in '' yes
7983 @@ -4669,24 +5345,22 @@
7984 #endif
7985 Syntax error
7986 _ACEOF
7987 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7988 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7989 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7990 +case "(($ac_try" in
7991 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7992 + *) ac_try_echo=$ac_try;;
7993 +esac
7994 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7995 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7996 ac_status=$?
7997 grep -v '^ *+' conftest.er1 >conftest.err
7998 rm -f conftest.er1
7999 cat conftest.err >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 - (exit $ac_status); } >/dev/null; then
8002 - if test -s conftest.err; then
8003 - ac_cpp_err=$ac_c_preproc_warn_flag
8004 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8005 - else
8006 - ac_cpp_err=
8007 - fi
8008 -else
8009 - ac_cpp_err=yes
8011 -if test -z "$ac_cpp_err"; then
8012 + (exit $ac_status); } >/dev/null && {
8013 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8014 + test ! -s conftest.err
8015 + }; then
8017 else
8018 echo "$as_me: failed program was:" >&5
8019 @@ -4695,9 +5369,10 @@
8020 # Broken: fails on valid input.
8021 continue
8024 rm -f conftest.err conftest.$ac_ext
8026 - # OK, works on sane cases. Now check whether non-existent headers
8027 + # OK, works on sane cases. Now check whether nonexistent headers
8028 # can be detected and how.
8029 cat >conftest.$ac_ext <<_ACEOF
8030 /* confdefs.h. */
8031 @@ -4707,24 +5382,22 @@
8032 /* end confdefs.h. */
8033 #include <ac_nonexistent.h>
8034 _ACEOF
8035 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8036 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8037 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8038 +case "(($ac_try" in
8039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8040 + *) ac_try_echo=$ac_try;;
8041 +esac
8042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8043 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8044 ac_status=$?
8045 grep -v '^ *+' conftest.er1 >conftest.err
8046 rm -f conftest.er1
8047 cat conftest.err >&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 - (exit $ac_status); } >/dev/null; then
8050 - if test -s conftest.err; then
8051 - ac_cpp_err=$ac_c_preproc_warn_flag
8052 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8053 - else
8054 - ac_cpp_err=
8055 - fi
8056 -else
8057 - ac_cpp_err=yes
8059 -if test -z "$ac_cpp_err"; then
8060 + (exit $ac_status); } >/dev/null && {
8061 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8062 + test ! -s conftest.err
8063 + }; then
8064 # Broken: success on invalid input.
8065 continue
8066 else
8067 @@ -4735,6 +5408,7 @@
8068 ac_preproc_ok=:
8069 break
8072 rm -f conftest.err conftest.$ac_ext
8074 done
8075 @@ -4757,8 +5431,8 @@
8076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8079 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8080 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8081 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8082 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8083 if test "${ac_cv_header_stdc+set}" = set; then
8084 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 else
8086 @@ -4782,35 +5456,31 @@
8088 _ACEOF
8089 rm -f conftest.$ac_objext
8090 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8091 - (eval $ac_compile) 2>conftest.er1
8092 +if { (ac_try="$ac_compile"
8093 +case "(($ac_try" in
8094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 + *) ac_try_echo=$ac_try;;
8096 +esac
8097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 + (eval "$ac_compile") 2>conftest.er1
8099 ac_status=$?
8100 grep -v '^ *+' conftest.er1 >conftest.err
8101 rm -f conftest.er1
8102 cat conftest.err >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 - (exit $ac_status); } &&
8105 - { ac_try='test -z "$ac_c_werror_flag"
8106 - || test ! -s conftest.err'
8107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 - (eval $ac_try) 2>&5
8109 - ac_status=$?
8110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 - (exit $ac_status); }; } &&
8112 - { ac_try='test -s conftest.$ac_objext'
8113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114 - (eval $ac_try) 2>&5
8115 - ac_status=$?
8116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 - (exit $ac_status); }; }; then
8118 + (exit $ac_status); } && {
8119 + test -z "$ac_c_werror_flag" ||
8120 + test ! -s conftest.err
8121 + } && test -s conftest.$ac_objext; then
8122 ac_cv_header_stdc=yes
8123 else
8124 echo "$as_me: failed program was:" >&5
8125 sed 's/^/| /' conftest.$ac_ext >&5
8127 -ac_cv_header_stdc=no
8128 + ac_cv_header_stdc=no
8130 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8132 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8134 if test $ac_cv_header_stdc = yes; then
8135 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8136 @@ -4866,6 +5536,7 @@
8137 cat >>conftest.$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8139 #include <ctype.h>
8140 +#include <stdlib.h>
8141 #if ((' ' & 0x0FF) == 0x020)
8142 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8143 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8144 @@ -4885,18 +5556,27 @@
8145 for (i = 0; i < 256; i++)
8146 if (XOR (islower (i), ISLOWER (i))
8147 || toupper (i) != TOUPPER (i))
8148 - exit(2);
8149 - exit (0);
8150 + return 2;
8151 + return 0;
8153 _ACEOF
8154 rm -f conftest$ac_exeext
8155 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8156 - (eval $ac_link) 2>&5
8157 +if { (ac_try="$ac_link"
8158 +case "(($ac_try" in
8159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8160 + *) ac_try_echo=$ac_try;;
8161 +esac
8162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8163 + (eval "$ac_link") 2>&5
8164 ac_status=$?
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8168 - (eval $ac_try) 2>&5
8169 + { (case "(($ac_try" in
8170 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8171 + *) ac_try_echo=$ac_try;;
8172 +esac
8173 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8174 + (eval "$ac_try") 2>&5
8175 ac_status=$?
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; }; then
8178 @@ -4909,12 +5589,14 @@
8179 ( exit $ac_status )
8180 ac_cv_header_stdc=no
8182 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8183 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8189 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8190 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
8191 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8192 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8193 if test $ac_cv_header_stdc = yes; then
8195 cat >>confdefs.h <<\_ACEOF
8196 @@ -4937,9 +5619,9 @@
8197 inttypes.h stdint.h unistd.h
8199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8200 -echo "$as_me:$LINENO: checking for $ac_header" >&5
8201 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8202 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8203 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8204 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8205 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8206 echo $ECHO_N "(cached) $ECHO_C" >&6
8207 else
8208 cat >conftest.$ac_ext <<_ACEOF
8209 @@ -4953,38 +5635,35 @@
8210 #include <$ac_header>
8211 _ACEOF
8212 rm -f conftest.$ac_objext
8213 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8214 - (eval $ac_compile) 2>conftest.er1
8215 +if { (ac_try="$ac_compile"
8216 +case "(($ac_try" in
8217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218 + *) ac_try_echo=$ac_try;;
8219 +esac
8220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 + (eval "$ac_compile") 2>conftest.er1
8222 ac_status=$?
8223 grep -v '^ *+' conftest.er1 >conftest.err
8224 rm -f conftest.er1
8225 cat conftest.err >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 - (exit $ac_status); } &&
8228 - { ac_try='test -z "$ac_c_werror_flag"
8229 - || test ! -s conftest.err'
8230 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 - (eval $ac_try) 2>&5
8232 - ac_status=$?
8233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 - (exit $ac_status); }; } &&
8235 - { ac_try='test -s conftest.$ac_objext'
8236 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 - (eval $ac_try) 2>&5
8238 - ac_status=$?
8239 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 - (exit $ac_status); }; }; then
8241 + (exit $ac_status); } && {
8242 + test -z "$ac_c_werror_flag" ||
8243 + test ! -s conftest.err
8244 + } && test -s conftest.$ac_objext; then
8245 eval "$as_ac_Header=yes"
8246 else
8247 echo "$as_me: failed program was:" >&5
8248 sed 's/^/| /' conftest.$ac_ext >&5
8250 -eval "$as_ac_Header=no"
8251 + eval "$as_ac_Header=no"
8253 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8255 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8257 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8258 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8259 +ac_res=`eval echo '${'$as_ac_Header'}'`
8260 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8261 +echo "${ECHO_T}$ac_res" >&6; }
8262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8263 cat >>confdefs.h <<_ACEOF
8264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8265 @@ -4999,18 +5678,19 @@
8266 for ac_header in dlfcn.h
8268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8269 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8270 - echo "$as_me:$LINENO: checking for $ac_header" >&5
8271 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8272 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8273 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8274 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
8275 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8276 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8279 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8280 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8281 +ac_res=`eval echo '${'$as_ac_Header'}'`
8282 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8283 +echo "${ECHO_T}$ac_res" >&6; }
8284 else
8285 # Is the header compilable?
8286 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
8287 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8288 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8289 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8290 cat >conftest.$ac_ext <<_ACEOF
8291 /* confdefs.h. */
8292 _ACEOF
8293 @@ -5021,41 +5701,37 @@
8294 #include <$ac_header>
8295 _ACEOF
8296 rm -f conftest.$ac_objext
8297 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8298 - (eval $ac_compile) 2>conftest.er1
8299 +if { (ac_try="$ac_compile"
8300 +case "(($ac_try" in
8301 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8302 + *) ac_try_echo=$ac_try;;
8303 +esac
8304 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8305 + (eval "$ac_compile") 2>conftest.er1
8306 ac_status=$?
8307 grep -v '^ *+' conftest.er1 >conftest.err
8308 rm -f conftest.er1
8309 cat conftest.err >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 - (exit $ac_status); } &&
8312 - { ac_try='test -z "$ac_c_werror_flag"
8313 - || test ! -s conftest.err'
8314 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 - (eval $ac_try) 2>&5
8316 - ac_status=$?
8317 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 - (exit $ac_status); }; } &&
8319 - { ac_try='test -s conftest.$ac_objext'
8320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 - (eval $ac_try) 2>&5
8322 - ac_status=$?
8323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 - (exit $ac_status); }; }; then
8325 + (exit $ac_status); } && {
8326 + test -z "$ac_c_werror_flag" ||
8327 + test ! -s conftest.err
8328 + } && test -s conftest.$ac_objext; then
8329 ac_header_compiler=yes
8330 else
8331 echo "$as_me: failed program was:" >&5
8332 sed 's/^/| /' conftest.$ac_ext >&5
8334 -ac_header_compiler=no
8335 + ac_header_compiler=no
8337 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8338 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8339 -echo "${ECHO_T}$ac_header_compiler" >&6
8341 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8342 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8343 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8345 # Is the header present?
8346 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
8347 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8348 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8349 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8350 cat >conftest.$ac_ext <<_ACEOF
8351 /* confdefs.h. */
8352 _ACEOF
8353 @@ -5064,24 +5740,22 @@
8354 /* end confdefs.h. */
8355 #include <$ac_header>
8356 _ACEOF
8357 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8358 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8359 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8360 +case "(($ac_try" in
8361 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8362 + *) ac_try_echo=$ac_try;;
8363 +esac
8364 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8365 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8366 ac_status=$?
8367 grep -v '^ *+' conftest.er1 >conftest.err
8368 rm -f conftest.er1
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 - (exit $ac_status); } >/dev/null; then
8372 - if test -s conftest.err; then
8373 - ac_cpp_err=$ac_c_preproc_warn_flag
8374 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8375 - else
8376 - ac_cpp_err=
8377 - fi
8378 -else
8379 - ac_cpp_err=yes
8381 -if test -z "$ac_cpp_err"; then
8382 + (exit $ac_status); } >/dev/null && {
8383 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8384 + test ! -s conftest.err
8385 + }; then
8386 ac_header_preproc=yes
8387 else
8388 echo "$as_me: failed program was:" >&5
8389 @@ -5089,9 +5763,10 @@
8391 ac_header_preproc=no
8394 rm -f conftest.err conftest.$ac_ext
8395 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8396 -echo "${ECHO_T}$ac_header_preproc" >&6
8397 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8398 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8400 # So? What about this header?
8401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8402 @@ -5115,25 +5790,19 @@
8403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8407 - cat <<\_ASBOX
8408 -## ------------------------------------------ ##
8409 -## Report this to the AC_PACKAGE_NAME lists. ##
8410 -## ------------------------------------------ ##
8411 -_ASBOX
8412 - ) |
8413 - sed "s/^/$as_me: WARNING: /" >&2
8416 esac
8417 -echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8419 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8420 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8421 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8422 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 else
8425 eval "$as_ac_Header=\$ac_header_preproc"
8427 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8428 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8429 +ac_res=`eval echo '${'$as_ac_Header'}'`
8430 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8431 +echo "${ECHO_T}$ac_res" >&6; }
8434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8435 @@ -5145,13 +5814,13 @@
8437 done
8439 -ac_ext=cc
8440 +ac_ext=cpp
8441 ac_cpp='$CXXCPP $CPPFLAGS'
8442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8445 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8446 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8447 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8448 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8449 if test -z "$CXXCPP"; then
8450 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 @@ -5181,24 +5850,22 @@
8453 #endif
8454 Syntax error
8455 _ACEOF
8456 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8457 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8458 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8459 +case "(($ac_try" in
8460 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8461 + *) ac_try_echo=$ac_try;;
8462 +esac
8463 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8464 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8465 ac_status=$?
8466 grep -v '^ *+' conftest.er1 >conftest.err
8467 rm -f conftest.er1
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 - (exit $ac_status); } >/dev/null; then
8471 - if test -s conftest.err; then
8472 - ac_cpp_err=$ac_cxx_preproc_warn_flag
8473 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8474 - else
8475 - ac_cpp_err=
8476 - fi
8477 -else
8478 - ac_cpp_err=yes
8480 -if test -z "$ac_cpp_err"; then
8481 + (exit $ac_status); } >/dev/null && {
8482 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8483 + test ! -s conftest.err
8484 + }; then
8486 else
8487 echo "$as_me: failed program was:" >&5
8488 @@ -5207,9 +5874,10 @@
8489 # Broken: fails on valid input.
8490 continue
8493 rm -f conftest.err conftest.$ac_ext
8495 - # OK, works on sane cases. Now check whether non-existent headers
8496 + # OK, works on sane cases. Now check whether nonexistent headers
8497 # can be detected and how.
8498 cat >conftest.$ac_ext <<_ACEOF
8499 /* confdefs.h. */
8500 @@ -5219,24 +5887,22 @@
8501 /* end confdefs.h. */
8502 #include <ac_nonexistent.h>
8503 _ACEOF
8504 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8505 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8506 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8507 +case "(($ac_try" in
8508 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8509 + *) ac_try_echo=$ac_try;;
8510 +esac
8511 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8512 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8513 ac_status=$?
8514 grep -v '^ *+' conftest.er1 >conftest.err
8515 rm -f conftest.er1
8516 cat conftest.err >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 - (exit $ac_status); } >/dev/null; then
8519 - if test -s conftest.err; then
8520 - ac_cpp_err=$ac_cxx_preproc_warn_flag
8521 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8522 - else
8523 - ac_cpp_err=
8524 - fi
8525 -else
8526 - ac_cpp_err=yes
8528 -if test -z "$ac_cpp_err"; then
8529 + (exit $ac_status); } >/dev/null && {
8530 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8531 + test ! -s conftest.err
8532 + }; then
8533 # Broken: success on invalid input.
8534 continue
8535 else
8536 @@ -5247,6 +5913,7 @@
8537 ac_preproc_ok=:
8538 break
8541 rm -f conftest.err conftest.$ac_ext
8543 done
8544 @@ -5264,8 +5931,8 @@
8545 else
8546 ac_cv_prog_CXXCPP=$CXXCPP
8548 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
8549 -echo "${ECHO_T}$CXXCPP" >&6
8550 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
8551 +echo "${ECHO_T}$CXXCPP" >&6; }
8552 ac_preproc_ok=false
8553 for ac_cxx_preproc_warn_flag in '' yes
8555 @@ -5288,24 +5955,22 @@
8556 #endif
8557 Syntax error
8558 _ACEOF
8559 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8560 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8561 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8562 +case "(($ac_try" in
8563 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 + *) ac_try_echo=$ac_try;;
8565 +esac
8566 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8568 ac_status=$?
8569 grep -v '^ *+' conftest.er1 >conftest.err
8570 rm -f conftest.er1
8571 cat conftest.err >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 - (exit $ac_status); } >/dev/null; then
8574 - if test -s conftest.err; then
8575 - ac_cpp_err=$ac_cxx_preproc_warn_flag
8576 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8577 - else
8578 - ac_cpp_err=
8579 - fi
8580 -else
8581 - ac_cpp_err=yes
8583 -if test -z "$ac_cpp_err"; then
8584 + (exit $ac_status); } >/dev/null && {
8585 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8586 + test ! -s conftest.err
8587 + }; then
8589 else
8590 echo "$as_me: failed program was:" >&5
8591 @@ -5314,9 +5979,10 @@
8592 # Broken: fails on valid input.
8593 continue
8596 rm -f conftest.err conftest.$ac_ext
8598 - # OK, works on sane cases. Now check whether non-existent headers
8599 + # OK, works on sane cases. Now check whether nonexistent headers
8600 # can be detected and how.
8601 cat >conftest.$ac_ext <<_ACEOF
8602 /* confdefs.h. */
8603 @@ -5326,24 +5992,22 @@
8604 /* end confdefs.h. */
8605 #include <ac_nonexistent.h>
8606 _ACEOF
8607 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8608 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8609 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8610 +case "(($ac_try" in
8611 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612 + *) ac_try_echo=$ac_try;;
8613 +esac
8614 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8616 ac_status=$?
8617 grep -v '^ *+' conftest.er1 >conftest.err
8618 rm -f conftest.er1
8619 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 - (exit $ac_status); } >/dev/null; then
8622 - if test -s conftest.err; then
8623 - ac_cpp_err=$ac_cxx_preproc_warn_flag
8624 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8625 - else
8626 - ac_cpp_err=
8627 - fi
8628 -else
8629 - ac_cpp_err=yes
8631 -if test -z "$ac_cpp_err"; then
8632 + (exit $ac_status); } >/dev/null && {
8633 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8634 + test ! -s conftest.err
8635 + }; then
8636 # Broken: success on invalid input.
8637 continue
8638 else
8639 @@ -5354,6 +6018,7 @@
8640 ac_preproc_ok=:
8641 break
8644 rm -f conftest.err conftest.$ac_ext
8646 done
8647 @@ -5369,7 +6034,7 @@
8648 { (exit 1); exit 1; }; }
8651 -ac_ext=cc
8652 +ac_ext=cpp
8653 ac_cpp='$CXXCPP $CPPFLAGS'
8654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8656 @@ -5381,12 +6046,12 @@
8657 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8658 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8659 if test -n "$ac_tool_prefix"; then
8660 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8661 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8665 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8666 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8667 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8668 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8669 if test "${ac_cv_prog_F77+set}" = set; then
8670 echo $ECHO_N "(cached) $ECHO_C" >&6
8671 else
8672 @@ -5399,36 +6064,38 @@
8673 IFS=$as_save_IFS
8674 test -z "$as_dir" && as_dir=.
8675 for ac_exec_ext in '' $ac_executable_extensions; do
8676 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8677 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8678 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 break 2
8682 done
8683 done
8684 +IFS=$as_save_IFS
8688 F77=$ac_cv_prog_F77
8689 if test -n "$F77"; then
8690 - echo "$as_me:$LINENO: result: $F77" >&5
8691 -echo "${ECHO_T}$F77" >&6
8692 + { echo "$as_me:$LINENO: result: $F77" >&5
8693 +echo "${ECHO_T}$F77" >&6; }
8694 else
8695 - echo "$as_me:$LINENO: result: no" >&5
8696 -echo "${ECHO_T}no" >&6
8697 + { echo "$as_me:$LINENO: result: no" >&5
8698 +echo "${ECHO_T}no" >&6; }
8702 test -n "$F77" && break
8703 done
8705 if test -z "$F77"; then
8706 ac_ct_F77=$F77
8707 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8708 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8710 # Extract the first word of "$ac_prog", so it can be a program name with args.
8711 set dummy $ac_prog; ac_word=$2
8712 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8713 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8714 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8715 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8716 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 else
8719 @@ -5441,48 +6108,78 @@
8720 IFS=$as_save_IFS
8721 test -z "$as_dir" && as_dir=.
8722 for ac_exec_ext in '' $ac_executable_extensions; do
8723 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8724 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8725 ac_cv_prog_ac_ct_F77="$ac_prog"
8726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8727 break 2
8729 done
8730 done
8731 +IFS=$as_save_IFS
8735 ac_ct_F77=$ac_cv_prog_ac_ct_F77
8736 if test -n "$ac_ct_F77"; then
8737 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8738 -echo "${ECHO_T}$ac_ct_F77" >&6
8739 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8740 +echo "${ECHO_T}$ac_ct_F77" >&6; }
8741 else
8742 - echo "$as_me:$LINENO: result: no" >&5
8743 -echo "${ECHO_T}no" >&6
8744 + { echo "$as_me:$LINENO: result: no" >&5
8745 +echo "${ECHO_T}no" >&6; }
8749 test -n "$ac_ct_F77" && break
8750 done
8752 - F77=$ac_ct_F77
8753 + if test "x$ac_ct_F77" = x; then
8754 + F77=""
8755 + else
8756 + case $cross_compiling:$ac_tool_warned in
8757 +yes:)
8758 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8759 +whose name does not start with the host triplet. If you think this
8760 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8761 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8762 +whose name does not start with the host triplet. If you think this
8763 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8764 +ac_tool_warned=yes ;;
8765 +esac
8766 + F77=$ac_ct_F77
8767 + fi
8771 # Provide some information about the compiler.
8772 -echo "$as_me:5471:" \
8773 - "checking for Fortran 77 compiler version" >&5
8774 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8775 ac_compiler=`set X $ac_compile; echo $2`
8776 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8777 - (eval $ac_compiler --version </dev/null >&5) 2>&5
8778 +{ (ac_try="$ac_compiler --version >&5"
8779 +case "(($ac_try" in
8780 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8781 + *) ac_try_echo=$ac_try;;
8782 +esac
8783 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8784 + (eval "$ac_compiler --version >&5") 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }
8788 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8789 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8790 +{ (ac_try="$ac_compiler -v >&5"
8791 +case "(($ac_try" in
8792 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 + *) ac_try_echo=$ac_try;;
8794 +esac
8795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 + (eval "$ac_compiler -v >&5") 2>&5
8797 ac_status=$?
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); }
8800 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8801 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8802 +{ (ac_try="$ac_compiler -V >&5"
8803 +case "(($ac_try" in
8804 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8805 + *) ac_try_echo=$ac_try;;
8806 +esac
8807 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 + (eval "$ac_compiler -V >&5") 2>&5
8809 ac_status=$?
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }
8812 @@ -5492,8 +6189,8 @@
8813 # input file. (Note that this only needs to work for GNU compilers.)
8814 ac_save_ext=$ac_ext
8815 ac_ext=F
8816 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8817 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
8818 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8819 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8820 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8821 echo $ECHO_N "(cached) $ECHO_C" >&6
8822 else
8823 @@ -5506,46 +6203,42 @@
8825 _ACEOF
8826 rm -f conftest.$ac_objext
8827 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8828 - (eval $ac_compile) 2>conftest.er1
8829 +if { (ac_try="$ac_compile"
8830 +case "(($ac_try" in
8831 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8832 + *) ac_try_echo=$ac_try;;
8833 +esac
8834 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8835 + (eval "$ac_compile") 2>conftest.er1
8836 ac_status=$?
8837 grep -v '^ *+' conftest.er1 >conftest.err
8838 rm -f conftest.er1
8839 cat conftest.err >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 - (exit $ac_status); } &&
8842 - { ac_try='test -z "$ac_f77_werror_flag"
8843 - || test ! -s conftest.err'
8844 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845 - (eval $ac_try) 2>&5
8846 - ac_status=$?
8847 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 - (exit $ac_status); }; } &&
8849 - { ac_try='test -s conftest.$ac_objext'
8850 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 - (eval $ac_try) 2>&5
8852 - ac_status=$?
8853 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 - (exit $ac_status); }; }; then
8855 + (exit $ac_status); } && {
8856 + test -z "$ac_f77_werror_flag" ||
8857 + test ! -s conftest.err
8858 + } && test -s conftest.$ac_objext; then
8859 ac_compiler_gnu=yes
8860 else
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.$ac_ext >&5
8864 -ac_compiler_gnu=no
8865 + ac_compiler_gnu=no
8867 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8869 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8870 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8873 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8874 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
8875 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8876 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8877 ac_ext=$ac_save_ext
8878 ac_test_FFLAGS=${FFLAGS+set}
8879 ac_save_FFLAGS=$FFLAGS
8880 FFLAGS=
8881 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8882 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
8883 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8884 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8885 if test "${ac_cv_prog_f77_g+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 else
8888 @@ -5556,39 +6249,35 @@
8890 _ACEOF
8891 rm -f conftest.$ac_objext
8892 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8893 - (eval $ac_compile) 2>conftest.er1
8894 +if { (ac_try="$ac_compile"
8895 +case "(($ac_try" in
8896 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 + *) ac_try_echo=$ac_try;;
8898 +esac
8899 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 + (eval "$ac_compile") 2>conftest.er1
8901 ac_status=$?
8902 grep -v '^ *+' conftest.er1 >conftest.err
8903 rm -f conftest.er1
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 - (exit $ac_status); } &&
8907 - { ac_try='test -z "$ac_f77_werror_flag"
8908 - || test ! -s conftest.err'
8909 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910 - (eval $ac_try) 2>&5
8911 - ac_status=$?
8912 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 - (exit $ac_status); }; } &&
8914 - { ac_try='test -s conftest.$ac_objext'
8915 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 - (eval $ac_try) 2>&5
8917 - ac_status=$?
8918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 - (exit $ac_status); }; }; then
8920 + (exit $ac_status); } && {
8921 + test -z "$ac_f77_werror_flag" ||
8922 + test ! -s conftest.err
8923 + } && test -s conftest.$ac_objext; then
8924 ac_cv_prog_f77_g=yes
8925 else
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.$ac_ext >&5
8929 -ac_cv_prog_f77_g=no
8930 + ac_cv_prog_f77_g=no
8932 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8934 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8937 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8938 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
8939 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8940 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8941 if test "$ac_test_FFLAGS" = set; then
8942 FFLAGS=$ac_save_FFLAGS
8943 elif test $ac_cv_prog_f77_g = yes; then
8944 @@ -5617,8 +6306,8 @@
8945 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8947 # find the maximum length of command line arguments
8948 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8949 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
8950 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8951 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8952 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 else
8955 @@ -5682,19 +6371,19 @@
8958 if test -n $lt_cv_sys_max_cmd_len ; then
8959 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8960 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8961 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8962 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8963 else
8964 - echo "$as_me:$LINENO: result: none" >&5
8965 -echo "${ECHO_T}none" >&6
8966 + { echo "$as_me:$LINENO: result: none" >&5
8967 +echo "${ECHO_T}none" >&6; }
8973 # Check for command to grab the raw symbol name followed by C symbol from nm.
8974 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8975 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8976 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8977 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8978 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 else
8981 @@ -5882,15 +6571,15 @@
8982 lt_cv_sys_global_symbol_to_cdecl=
8984 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8985 - echo "$as_me:$LINENO: result: failed" >&5
8986 -echo "${ECHO_T}failed" >&6
8987 + { echo "$as_me:$LINENO: result: failed" >&5
8988 +echo "${ECHO_T}failed" >&6; }
8989 else
8990 - echo "$as_me:$LINENO: result: ok" >&5
8991 -echo "${ECHO_T}ok" >&6
8992 + { echo "$as_me:$LINENO: result: ok" >&5
8993 +echo "${ECHO_T}ok" >&6; }
8996 -echo "$as_me:$LINENO: checking for objdir" >&5
8997 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8998 +{ echo "$as_me:$LINENO: checking for objdir" >&5
8999 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9000 if test "${lt_cv_objdir+set}" = set; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 else
9003 @@ -5904,8 +6593,8 @@
9005 rmdir .libs 2>/dev/null
9007 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9008 -echo "${ECHO_T}$lt_cv_objdir" >&6
9009 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9010 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
9011 objdir=$lt_cv_objdir
9014 @@ -5956,8 +6645,8 @@
9015 if test -n "$ac_tool_prefix"; then
9016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9017 set dummy ${ac_tool_prefix}ar; ac_word=$2
9018 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9019 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9020 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9021 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9022 if test "${ac_cv_prog_AR+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025 @@ -5970,32 +6659,34 @@
9026 IFS=$as_save_IFS
9027 test -z "$as_dir" && as_dir=.
9028 for ac_exec_ext in '' $ac_executable_extensions; do
9029 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9030 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_AR="${ac_tool_prefix}ar"
9032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 break 2
9035 done
9036 done
9037 +IFS=$as_save_IFS
9041 AR=$ac_cv_prog_AR
9042 if test -n "$AR"; then
9043 - echo "$as_me:$LINENO: result: $AR" >&5
9044 -echo "${ECHO_T}$AR" >&6
9045 + { echo "$as_me:$LINENO: result: $AR" >&5
9046 +echo "${ECHO_T}$AR" >&6; }
9047 else
9048 - echo "$as_me:$LINENO: result: no" >&5
9049 -echo "${ECHO_T}no" >&6
9050 + { echo "$as_me:$LINENO: result: no" >&5
9051 +echo "${ECHO_T}no" >&6; }
9056 if test -z "$ac_cv_prog_AR"; then
9057 ac_ct_AR=$AR
9058 # Extract the first word of "ar", so it can be a program name with args.
9059 set dummy ar; ac_word=$2
9060 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9061 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9062 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9063 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9064 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 else
9067 @@ -6008,27 +6699,41 @@
9068 IFS=$as_save_IFS
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9072 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9073 ac_cv_prog_ac_ct_AR="ar"
9074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9075 break 2
9077 done
9078 done
9079 +IFS=$as_save_IFS
9081 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
9084 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9085 if test -n "$ac_ct_AR"; then
9086 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9087 -echo "${ECHO_T}$ac_ct_AR" >&6
9088 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9089 +echo "${ECHO_T}$ac_ct_AR" >&6; }
9090 else
9091 - echo "$as_me:$LINENO: result: no" >&5
9092 -echo "${ECHO_T}no" >&6
9093 + { echo "$as_me:$LINENO: result: no" >&5
9094 +echo "${ECHO_T}no" >&6; }
9097 - AR=$ac_ct_AR
9098 + if test "x$ac_ct_AR" = x; then
9099 + AR="false"
9100 + else
9101 + case $cross_compiling:$ac_tool_warned in
9102 +yes:)
9103 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9104 +whose name does not start with the host triplet. If you think this
9105 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9106 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9107 +whose name does not start with the host triplet. If you think this
9108 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9109 +ac_tool_warned=yes ;;
9110 +esac
9111 + AR=$ac_ct_AR
9112 + fi
9113 else
9114 AR="$ac_cv_prog_AR"
9116 @@ -6036,8 +6741,8 @@
9117 if test -n "$ac_tool_prefix"; then
9118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9120 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9121 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9122 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9123 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9124 if test "${ac_cv_prog_RANLIB+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 else
9127 @@ -6050,32 +6755,34 @@
9128 IFS=$as_save_IFS
9129 test -z "$as_dir" && as_dir=.
9130 for ac_exec_ext in '' $ac_executable_extensions; do
9131 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9132 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9133 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9135 break 2
9137 done
9138 done
9139 +IFS=$as_save_IFS
9143 RANLIB=$ac_cv_prog_RANLIB
9144 if test -n "$RANLIB"; then
9145 - echo "$as_me:$LINENO: result: $RANLIB" >&5
9146 -echo "${ECHO_T}$RANLIB" >&6
9147 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
9148 +echo "${ECHO_T}$RANLIB" >&6; }
9149 else
9150 - echo "$as_me:$LINENO: result: no" >&5
9151 -echo "${ECHO_T}no" >&6
9152 + { echo "$as_me:$LINENO: result: no" >&5
9153 +echo "${ECHO_T}no" >&6; }
9158 if test -z "$ac_cv_prog_RANLIB"; then
9159 ac_ct_RANLIB=$RANLIB
9160 # Extract the first word of "ranlib", so it can be a program name with args.
9161 set dummy ranlib; ac_word=$2
9162 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9163 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9164 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9165 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9166 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9168 else
9169 @@ -6088,27 +6795,41 @@
9170 IFS=$as_save_IFS
9171 test -z "$as_dir" && as_dir=.
9172 for ac_exec_ext in '' $ac_executable_extensions; do
9173 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9174 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9175 ac_cv_prog_ac_ct_RANLIB="ranlib"
9176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9177 break 2
9179 done
9180 done
9181 +IFS=$as_save_IFS
9183 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9186 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9187 if test -n "$ac_ct_RANLIB"; then
9188 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9189 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
9190 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9191 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9192 else
9193 - echo "$as_me:$LINENO: result: no" >&5
9194 -echo "${ECHO_T}no" >&6
9195 + { echo "$as_me:$LINENO: result: no" >&5
9196 +echo "${ECHO_T}no" >&6; }
9199 - RANLIB=$ac_ct_RANLIB
9200 + if test "x$ac_ct_RANLIB" = x; then
9201 + RANLIB=":"
9202 + else
9203 + case $cross_compiling:$ac_tool_warned in
9204 +yes:)
9205 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9206 +whose name does not start with the host triplet. If you think this
9207 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9208 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9209 +whose name does not start with the host triplet. If you think this
9210 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9211 +ac_tool_warned=yes ;;
9212 +esac
9213 + RANLIB=$ac_ct_RANLIB
9214 + fi
9215 else
9216 RANLIB="$ac_cv_prog_RANLIB"
9218 @@ -6116,8 +6837,8 @@
9219 if test -n "$ac_tool_prefix"; then
9220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9221 set dummy ${ac_tool_prefix}strip; ac_word=$2
9222 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9223 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9224 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9225 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9226 if test "${ac_cv_prog_STRIP+set}" = set; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 else
9229 @@ -6130,32 +6851,34 @@
9230 IFS=$as_save_IFS
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9234 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9235 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9237 break 2
9239 done
9240 done
9241 +IFS=$as_save_IFS
9245 STRIP=$ac_cv_prog_STRIP
9246 if test -n "$STRIP"; then
9247 - echo "$as_me:$LINENO: result: $STRIP" >&5
9248 -echo "${ECHO_T}$STRIP" >&6
9249 + { echo "$as_me:$LINENO: result: $STRIP" >&5
9250 +echo "${ECHO_T}$STRIP" >&6; }
9251 else
9252 - echo "$as_me:$LINENO: result: no" >&5
9253 -echo "${ECHO_T}no" >&6
9254 + { echo "$as_me:$LINENO: result: no" >&5
9255 +echo "${ECHO_T}no" >&6; }
9260 if test -z "$ac_cv_prog_STRIP"; then
9261 ac_ct_STRIP=$STRIP
9262 # Extract the first word of "strip", so it can be a program name with args.
9263 set dummy strip; ac_word=$2
9264 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9265 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9266 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9267 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 else
9271 @@ -6168,27 +6891,41 @@
9272 IFS=$as_save_IFS
9273 test -z "$as_dir" && as_dir=.
9274 for ac_exec_ext in '' $ac_executable_extensions; do
9275 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9276 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9277 ac_cv_prog_ac_ct_STRIP="strip"
9278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 break 2
9281 done
9282 done
9283 +IFS=$as_save_IFS
9285 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
9288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9289 if test -n "$ac_ct_STRIP"; then
9290 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9291 -echo "${ECHO_T}$ac_ct_STRIP" >&6
9292 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9293 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9294 else
9295 - echo "$as_me:$LINENO: result: no" >&5
9296 -echo "${ECHO_T}no" >&6
9297 + { echo "$as_me:$LINENO: result: no" >&5
9298 +echo "${ECHO_T}no" >&6; }
9301 - STRIP=$ac_ct_STRIP
9302 + if test "x$ac_ct_STRIP" = x; then
9303 + STRIP=":"
9304 + else
9305 + case $cross_compiling:$ac_tool_warned in
9306 +yes:)
9307 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9308 +whose name does not start with the host triplet. If you think this
9309 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9310 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9311 +whose name does not start with the host triplet. If you think this
9312 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9313 +ac_tool_warned=yes ;;
9314 +esac
9315 + STRIP=$ac_ct_STRIP
9316 + fi
9317 else
9318 STRIP="$ac_cv_prog_STRIP"
9320 @@ -6235,8 +6972,8 @@
9321 case $deplibs_check_method in
9322 file_magic*)
9323 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9324 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9325 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
9326 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9327 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9328 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 else
9331 @@ -6288,17 +7025,17 @@
9333 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9334 if test -n "$MAGIC_CMD"; then
9335 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9336 -echo "${ECHO_T}$MAGIC_CMD" >&6
9337 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9338 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
9339 else
9340 - echo "$as_me:$LINENO: result: no" >&5
9341 -echo "${ECHO_T}no" >&6
9342 + { echo "$as_me:$LINENO: result: no" >&5
9343 +echo "${ECHO_T}no" >&6; }
9346 if test -z "$lt_cv_path_MAGIC_CMD"; then
9347 if test -n "$ac_tool_prefix"; then
9348 - echo "$as_me:$LINENO: checking for file" >&5
9349 -echo $ECHO_N "checking for file... $ECHO_C" >&6
9350 + { echo "$as_me:$LINENO: checking for file" >&5
9351 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9352 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9355 @@ -6350,11 +7087,11 @@
9357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9358 if test -n "$MAGIC_CMD"; then
9359 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9360 -echo "${ECHO_T}$MAGIC_CMD" >&6
9361 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9362 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
9363 else
9364 - echo "$as_me:$LINENO: result: no" >&5
9365 -echo "${ECHO_T}no" >&6
9366 + { echo "$as_me:$LINENO: result: no" >&5
9367 +echo "${ECHO_T}no" >&6; }
9370 else
9371 @@ -6369,21 +7106,21 @@
9372 enable_dlopen=no
9373 enable_win32_dll=yes
9375 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9376 +# Check whether --enable-libtool-lock was given.
9377 if test "${enable_libtool_lock+set}" = set; then
9378 - enableval="$enable_libtool_lock"
9379 + enableval=$enable_libtool_lock;
9382 -fi;
9383 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9386 -# Check whether --with-pic or --without-pic was given.
9387 +# Check whether --with-pic was given.
9388 if test "${with_pic+set}" = set; then
9389 - withval="$with_pic"
9390 - pic_mode="$withval"
9391 + withval=$with_pic; pic_mode="$withval"
9392 else
9393 pic_mode=default
9394 -fi;
9397 test -z "$pic_mode" && pic_mode=default
9399 # Use C for the default configuration in the libtool script
9400 @@ -6443,8 +7180,8 @@
9402 # Check to make sure the static flag actually works.
9404 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9405 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
9406 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9407 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
9408 if test "${lt_prog_compiler_static_works+set}" = set; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 else
9411 @@ -6466,8 +7203,8 @@
9412 LDFLAGS="$save_LDFLAGS"
9415 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9416 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9417 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9418 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9420 if test x"$lt_prog_compiler_static_works" = xyes; then
9422 @@ -6484,8 +7221,8 @@
9423 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9426 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9427 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9428 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9429 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9430 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else
9433 @@ -6502,11 +7239,11 @@
9434 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9436 -e 's:$: $lt_compiler_flag:'`
9437 - (eval echo "\"\$as_me:6505: $lt_compile\"" >&5)
9438 + (eval echo "\"\$as_me:7242: $lt_compile\"" >&5)
9439 (eval "$lt_compile" 2>conftest.err)
9440 ac_status=$?
9441 cat conftest.err >&5
9442 - echo "$as_me:6509: \$? = $ac_status" >&5
9443 + echo "$as_me:7246: \$? = $ac_status" >&5
9444 if (exit $ac_status) && test -s "$ac_outfile"; then
9445 # The compiler can only warn and ignore the option if not recognized
9446 # So say no if there are warnings
9447 @@ -6517,8 +7254,8 @@
9448 $rm conftest*
9451 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9452 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
9453 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9454 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9456 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9457 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9458 @@ -6532,8 +7269,8 @@
9459 lt_prog_compiler_pic=
9460 lt_prog_compiler_static=
9462 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9463 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9464 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9465 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9467 if test "$GCC" = yes; then
9468 lt_prog_compiler_wl='-Wl,'
9469 @@ -6709,16 +7446,16 @@
9470 esac
9473 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9474 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9475 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9476 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9479 # Check to make sure the PIC flag actually works.
9481 if test -n "$lt_prog_compiler_pic"; then
9483 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9484 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9485 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9486 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9487 if test "${lt_prog_compiler_pic_works+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 else
9490 @@ -6735,11 +7472,11 @@
9491 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9493 -e 's:$: $lt_compiler_flag:'`
9494 - (eval echo "\"\$as_me:6738: $lt_compile\"" >&5)
9495 + (eval echo "\"\$as_me:7475: $lt_compile\"" >&5)
9496 (eval "$lt_compile" 2>conftest.err)
9497 ac_status=$?
9498 cat conftest.err >&5
9499 - echo "$as_me:6742: \$? = $ac_status" >&5
9500 + echo "$as_me:7479: \$? = $ac_status" >&5
9501 if (exit $ac_status) && test -s "$ac_outfile"; then
9502 # The compiler can only warn and ignore the option if not recognized
9503 # So say no if there are warnings
9504 @@ -6750,8 +7487,8 @@
9505 $rm conftest*
9508 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9509 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9510 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9511 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9513 if test x"$lt_prog_compiler_pic_works" = xyes; then
9514 case $lt_prog_compiler_pic in
9515 @@ -6774,8 +7511,8 @@
9517 esac
9519 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9520 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9521 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9522 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9523 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9524 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 else
9526 @@ -6795,11 +7532,11 @@
9527 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9529 -e 's:$: $lt_compiler_flag:'`
9530 - (eval echo "\"\$as_me:6798: $lt_compile\"" >&5)
9531 + (eval echo "\"\$as_me:7535: $lt_compile\"" >&5)
9532 (eval "$lt_compile" 2>out/conftest.err)
9533 ac_status=$?
9534 cat out/conftest.err >&5
9535 - echo "$as_me:6802: \$? = $ac_status" >&5
9536 + echo "$as_me:7539: \$? = $ac_status" >&5
9537 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9538 then
9539 # The compiler can only warn and ignore the option if not recognized
9540 @@ -6819,23 +7556,23 @@
9541 $rm conftest*
9544 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9545 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9546 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9547 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9550 hard_links="nottested"
9551 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9552 # do not overwrite the value of need_locks provided by the user
9553 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9554 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9555 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9556 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9557 hard_links=yes
9558 $rm conftest*
9559 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9560 touch conftest.a
9561 ln conftest.a conftest.b 2>&5 || hard_links=no
9562 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9563 - echo "$as_me:$LINENO: result: $hard_links" >&5
9564 -echo "${ECHO_T}$hard_links" >&6
9565 + { echo "$as_me:$LINENO: result: $hard_links" >&5
9566 +echo "${ECHO_T}$hard_links" >&6; }
9567 if test "$hard_links" = no; then
9568 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9569 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9570 @@ -6845,8 +7582,8 @@
9571 need_locks=no
9574 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9575 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9576 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9577 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9579 runpath_var=
9580 allow_undefined_flag=
9581 @@ -7178,27 +7915,23 @@
9583 _ACEOF
9584 rm -f conftest.$ac_objext conftest$ac_exeext
9585 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9586 - (eval $ac_link) 2>conftest.er1
9587 +if { (ac_try="$ac_link"
9588 +case "(($ac_try" in
9589 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9590 + *) ac_try_echo=$ac_try;;
9591 +esac
9592 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 + (eval "$ac_link") 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 - (exit $ac_status); } &&
9600 - { ac_try='test -z "$ac_c_werror_flag"
9601 - || test ! -s conftest.err'
9602 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 - (eval $ac_try) 2>&5
9604 - ac_status=$?
9605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 - (exit $ac_status); }; } &&
9607 - { ac_try='test -s conftest$ac_exeext'
9608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 - (eval $ac_try) 2>&5
9610 - ac_status=$?
9611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 - (exit $ac_status); }; }; then
9613 + (exit $ac_status); } && {
9614 + test -z "$ac_c_werror_flag" ||
9615 + test ! -s conftest.err
9616 + } && test -s conftest$ac_exeext &&
9617 + $as_test_x conftest$ac_exeext; then
9619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9621 @@ -7209,8 +7942,10 @@
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.$ac_ext >&5
9627 -rm -f conftest.err conftest.$ac_objext \
9629 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9630 conftest$ac_exeext conftest.$ac_ext
9631 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9633 @@ -7239,27 +7974,23 @@
9635 _ACEOF
9636 rm -f conftest.$ac_objext conftest$ac_exeext
9637 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9638 - (eval $ac_link) 2>conftest.er1
9639 +if { (ac_try="$ac_link"
9640 +case "(($ac_try" in
9641 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9642 + *) ac_try_echo=$ac_try;;
9643 +esac
9644 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645 + (eval "$ac_link") 2>conftest.er1
9646 ac_status=$?
9647 grep -v '^ *+' conftest.er1 >conftest.err
9648 rm -f conftest.er1
9649 cat conftest.err >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 - (exit $ac_status); } &&
9652 - { ac_try='test -z "$ac_c_werror_flag"
9653 - || test ! -s conftest.err'
9654 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 - (eval $ac_try) 2>&5
9656 - ac_status=$?
9657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 - (exit $ac_status); }; } &&
9659 - { ac_try='test -s conftest$ac_exeext'
9660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9661 - (eval $ac_try) 2>&5
9662 - ac_status=$?
9663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 - (exit $ac_status); }; }; then
9665 + (exit $ac_status); } && {
9666 + test -z "$ac_c_werror_flag" ||
9667 + test ! -s conftest.err
9668 + } && test -s conftest$ac_exeext &&
9669 + $as_test_x conftest$ac_exeext; then
9671 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9673 @@ -7270,8 +8001,10 @@
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.$ac_ext >&5
9679 -rm -f conftest.err conftest.$ac_objext \
9681 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9682 conftest$ac_exeext conftest.$ac_ext
9683 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9685 @@ -7693,8 +8426,8 @@
9686 esac
9689 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9690 -echo "${ECHO_T}$ld_shlibs" >&6
9691 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9692 +echo "${ECHO_T}$ld_shlibs" >&6; }
9693 test "$ld_shlibs" = no && can_build_shared=no
9695 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9696 @@ -7719,8 +8452,8 @@
9697 # Test whether the compiler implicitly links with -lc since on some
9698 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9699 # to ld, don't add -lc before -lgcc.
9700 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9701 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9702 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9703 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9704 $rm conftest*
9705 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9707 @@ -7756,16 +8489,16 @@
9708 cat conftest.err 1>&5
9710 $rm conftest*
9711 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9712 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
9713 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9714 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9716 esac
9719 esac
9721 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9722 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9723 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9724 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9725 library_names_spec=
9726 libname_spec='lib$name'
9727 soname_spec=
9728 @@ -8304,12 +9037,12 @@
9729 dynamic_linker=no
9731 esac
9732 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9733 -echo "${ECHO_T}$dynamic_linker" >&6
9734 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9735 +echo "${ECHO_T}$dynamic_linker" >&6; }
9736 test "$dynamic_linker" = no && can_build_shared=no
9738 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9739 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9740 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9741 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9742 hardcode_action=
9743 if test -n "$hardcode_libdir_flag_spec" || \
9744 test -n "$runpath_var " || \
9745 @@ -8333,8 +9066,8 @@
9746 # directories.
9747 hardcode_action=unsupported
9749 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
9750 -echo "${ECHO_T}$hardcode_action" >&6
9751 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9752 +echo "${ECHO_T}$hardcode_action" >&6; }
9754 if test "$hardcode_action" = relink; then
9755 # Fast installation is not supported
9756 @@ -8347,29 +9080,29 @@
9758 striplib=
9759 old_striplib=
9760 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9761 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9762 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9763 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9764 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9765 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9766 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9767 - echo "$as_me:$LINENO: result: yes" >&5
9768 -echo "${ECHO_T}yes" >&6
9769 + { echo "$as_me:$LINENO: result: yes" >&5
9770 +echo "${ECHO_T}yes" >&6; }
9771 else
9772 # FIXME - insert some real tests, host_os isn't really good enough
9773 case $host_os in
9774 darwin*)
9775 if test -n "$STRIP" ; then
9776 striplib="$STRIP -x"
9777 - echo "$as_me:$LINENO: result: yes" >&5
9778 -echo "${ECHO_T}yes" >&6
9779 + { echo "$as_me:$LINENO: result: yes" >&5
9780 +echo "${ECHO_T}yes" >&6; }
9781 else
9782 - echo "$as_me:$LINENO: result: no" >&5
9783 -echo "${ECHO_T}no" >&6
9784 + { echo "$as_me:$LINENO: result: no" >&5
9785 +echo "${ECHO_T}no" >&6; }
9789 - echo "$as_me:$LINENO: result: no" >&5
9790 -echo "${ECHO_T}no" >&6
9791 + { echo "$as_me:$LINENO: result: no" >&5
9792 +echo "${ECHO_T}no" >&6; }
9794 esac
9796 @@ -8401,8 +9134,8 @@
9798 darwin*)
9799 # if libdl is installed we need to link against it
9800 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9801 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9802 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9803 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9804 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 else
9807 @@ -8415,56 +9148,53 @@
9808 cat >>conftest.$ac_ext <<_ACEOF
9809 /* end confdefs.h. */
9811 -/* Override any gcc2 internal prototype to avoid an error. */
9812 +/* Override any GCC internal prototype to avoid an error.
9813 + Use char because int might match the return type of a GCC
9814 + builtin and then its argument prototype would still apply. */
9815 #ifdef __cplusplus
9816 extern "C"
9817 #endif
9818 -/* We use char because int might match the return type of a gcc2
9819 - builtin and then its argument prototype would still apply. */
9820 char dlopen ();
9822 main ()
9824 -dlopen ();
9825 +return dlopen ();
9827 return 0;
9829 _ACEOF
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 - (eval $ac_link) 2>conftest.er1
9833 +if { (ac_try="$ac_link"
9834 +case "(($ac_try" in
9835 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9836 + *) ac_try_echo=$ac_try;;
9837 +esac
9838 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9839 + (eval "$ac_link") 2>conftest.er1
9840 ac_status=$?
9841 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 - (exit $ac_status); } &&
9846 - { ac_try='test -z "$ac_c_werror_flag"
9847 - || test ! -s conftest.err'
9848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 - (eval $ac_try) 2>&5
9850 - ac_status=$?
9851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 - (exit $ac_status); }; } &&
9853 - { ac_try='test -s conftest$ac_exeext'
9854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 - (eval $ac_try) 2>&5
9856 - ac_status=$?
9857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 - (exit $ac_status); }; }; then
9859 + (exit $ac_status); } && {
9860 + test -z "$ac_c_werror_flag" ||
9861 + test ! -s conftest.err
9862 + } && test -s conftest$ac_exeext &&
9863 + $as_test_x conftest$ac_exeext; then
9864 ac_cv_lib_dl_dlopen=yes
9865 else
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 -ac_cv_lib_dl_dlopen=no
9870 + ac_cv_lib_dl_dlopen=no
9872 -rm -f conftest.err conftest.$ac_objext \
9874 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9878 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9879 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9880 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9881 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9882 if test $ac_cv_lib_dl_dlopen = yes; then
9883 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9884 else
9885 @@ -8478,8 +9208,8 @@
9889 - echo "$as_me:$LINENO: checking for shl_load" >&5
9890 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9891 + { echo "$as_me:$LINENO: checking for shl_load" >&5
9892 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9893 if test "${ac_cv_func_shl_load+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 else
9896 @@ -8506,73 +9236,64 @@
9898 #undef shl_load
9900 -/* Override any gcc2 internal prototype to avoid an error. */
9901 +/* Override any GCC internal prototype to avoid an error.
9902 + Use char because int might match the return type of a GCC
9903 + builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9907 #endif
9908 -/* We use char because int might match the return type of a gcc2
9909 - builtin and then its argument prototype would still apply. */
9910 char shl_load ();
9911 /* The GNU C library defines this for functions which it implements
9912 to always fail with ENOSYS. Some functions are actually named
9913 something starting with __ and the normal name is an alias. */
9914 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
9915 +#if defined __stub_shl_load || defined __stub___shl_load
9916 choke me
9917 -#else
9918 -char (*f) () = shl_load;
9919 -#endif
9920 -#ifdef __cplusplus
9922 #endif
9925 main ()
9927 -return f != shl_load;
9928 +return shl_load ();
9930 return 0;
9932 _ACEOF
9933 rm -f conftest.$ac_objext conftest$ac_exeext
9934 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9935 - (eval $ac_link) 2>conftest.er1
9936 +if { (ac_try="$ac_link"
9937 +case "(($ac_try" in
9938 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 + *) ac_try_echo=$ac_try;;
9940 +esac
9941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 + (eval "$ac_link") 2>conftest.er1
9943 ac_status=$?
9944 grep -v '^ *+' conftest.er1 >conftest.err
9945 rm -f conftest.er1
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 - (exit $ac_status); } &&
9949 - { ac_try='test -z "$ac_c_werror_flag"
9950 - || test ! -s conftest.err'
9951 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9952 - (eval $ac_try) 2>&5
9953 - ac_status=$?
9954 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 - (exit $ac_status); }; } &&
9956 - { ac_try='test -s conftest$ac_exeext'
9957 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 - (eval $ac_try) 2>&5
9959 - ac_status=$?
9960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 - (exit $ac_status); }; }; then
9962 + (exit $ac_status); } && {
9963 + test -z "$ac_c_werror_flag" ||
9964 + test ! -s conftest.err
9965 + } && test -s conftest$ac_exeext &&
9966 + $as_test_x conftest$ac_exeext; then
9967 ac_cv_func_shl_load=yes
9968 else
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.$ac_ext >&5
9972 -ac_cv_func_shl_load=no
9973 + ac_cv_func_shl_load=no
9975 -rm -f conftest.err conftest.$ac_objext \
9977 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9978 conftest$ac_exeext conftest.$ac_ext
9980 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9981 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9982 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9983 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9984 if test $ac_cv_func_shl_load = yes; then
9985 lt_cv_dlopen="shl_load"
9986 else
9987 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9988 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9989 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9990 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9991 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 else
9994 @@ -8585,61 +9306,58 @@
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9998 -/* Override any gcc2 internal prototype to avoid an error. */
9999 +/* Override any GCC internal prototype to avoid an error.
10000 + Use char because int might match the return type of a GCC
10001 + builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 -/* We use char because int might match the return type of a gcc2
10006 - builtin and then its argument prototype would still apply. */
10007 char shl_load ();
10009 main ()
10011 -shl_load ();
10012 +return shl_load ();
10014 return 0;
10016 _ACEOF
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10019 - (eval $ac_link) 2>conftest.er1
10020 +if { (ac_try="$ac_link"
10021 +case "(($ac_try" in
10022 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023 + *) ac_try_echo=$ac_try;;
10024 +esac
10025 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10026 + (eval "$ac_link") 2>conftest.er1
10027 ac_status=$?
10028 grep -v '^ *+' conftest.er1 >conftest.err
10029 rm -f conftest.er1
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 - (exit $ac_status); } &&
10033 - { ac_try='test -z "$ac_c_werror_flag"
10034 - || test ! -s conftest.err'
10035 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 - (eval $ac_try) 2>&5
10037 - ac_status=$?
10038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 - (exit $ac_status); }; } &&
10040 - { ac_try='test -s conftest$ac_exeext'
10041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 - (eval $ac_try) 2>&5
10043 - ac_status=$?
10044 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 - (exit $ac_status); }; }; then
10046 + (exit $ac_status); } && {
10047 + test -z "$ac_c_werror_flag" ||
10048 + test ! -s conftest.err
10049 + } && test -s conftest$ac_exeext &&
10050 + $as_test_x conftest$ac_exeext; then
10051 ac_cv_lib_dld_shl_load=yes
10052 else
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10056 -ac_cv_lib_dld_shl_load=no
10057 + ac_cv_lib_dld_shl_load=no
10059 -rm -f conftest.err conftest.$ac_objext \
10061 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10066 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10067 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10068 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10069 if test $ac_cv_lib_dld_shl_load = yes; then
10070 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10071 else
10072 - echo "$as_me:$LINENO: checking for dlopen" >&5
10073 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10074 + { echo "$as_me:$LINENO: checking for dlopen" >&5
10075 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10076 if test "${ac_cv_func_dlopen+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 else
10079 @@ -8666,73 +9384,64 @@
10081 #undef dlopen
10083 -/* Override any gcc2 internal prototype to avoid an error. */
10084 +/* Override any GCC internal prototype to avoid an error.
10085 + Use char because int might match the return type of a GCC
10086 + builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10090 #endif
10091 -/* We use char because int might match the return type of a gcc2
10092 - builtin and then its argument prototype would still apply. */
10093 char dlopen ();
10094 /* The GNU C library defines this for functions which it implements
10095 to always fail with ENOSYS. Some functions are actually named
10096 something starting with __ and the normal name is an alias. */
10097 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
10098 +#if defined __stub_dlopen || defined __stub___dlopen
10099 choke me
10100 -#else
10101 -char (*f) () = dlopen;
10102 -#endif
10103 -#ifdef __cplusplus
10105 #endif
10108 main ()
10110 -return f != dlopen;
10111 +return dlopen ();
10113 return 0;
10115 _ACEOF
10116 rm -f conftest.$ac_objext conftest$ac_exeext
10117 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10118 - (eval $ac_link) 2>conftest.er1
10119 +if { (ac_try="$ac_link"
10120 +case "(($ac_try" in
10121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10122 + *) ac_try_echo=$ac_try;;
10123 +esac
10124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10125 + (eval "$ac_link") 2>conftest.er1
10126 ac_status=$?
10127 grep -v '^ *+' conftest.er1 >conftest.err
10128 rm -f conftest.er1
10129 cat conftest.err >&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 - (exit $ac_status); } &&
10132 - { ac_try='test -z "$ac_c_werror_flag"
10133 - || test ! -s conftest.err'
10134 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10135 - (eval $ac_try) 2>&5
10136 - ac_status=$?
10137 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 - (exit $ac_status); }; } &&
10139 - { ac_try='test -s conftest$ac_exeext'
10140 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141 - (eval $ac_try) 2>&5
10142 - ac_status=$?
10143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 - (exit $ac_status); }; }; then
10145 + (exit $ac_status); } && {
10146 + test -z "$ac_c_werror_flag" ||
10147 + test ! -s conftest.err
10148 + } && test -s conftest$ac_exeext &&
10149 + $as_test_x conftest$ac_exeext; then
10150 ac_cv_func_dlopen=yes
10151 else
10152 echo "$as_me: failed program was:" >&5
10153 sed 's/^/| /' conftest.$ac_ext >&5
10155 -ac_cv_func_dlopen=no
10156 + ac_cv_func_dlopen=no
10158 -rm -f conftest.err conftest.$ac_objext \
10160 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10161 conftest$ac_exeext conftest.$ac_ext
10163 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10164 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10165 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10166 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10167 if test $ac_cv_func_dlopen = yes; then
10168 lt_cv_dlopen="dlopen"
10169 else
10170 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10171 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10172 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10173 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10174 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 else
10177 @@ -8745,61 +9454,58 @@
10178 cat >>conftest.$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10181 -/* Override any gcc2 internal prototype to avoid an error. */
10182 +/* Override any GCC internal prototype to avoid an error.
10183 + Use char because int might match the return type of a GCC
10184 + builtin and then its argument prototype would still apply. */
10185 #ifdef __cplusplus
10186 extern "C"
10187 #endif
10188 -/* We use char because int might match the return type of a gcc2
10189 - builtin and then its argument prototype would still apply. */
10190 char dlopen ();
10192 main ()
10194 -dlopen ();
10195 +return dlopen ();
10197 return 0;
10199 _ACEOF
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202 - (eval $ac_link) 2>conftest.er1
10203 +if { (ac_try="$ac_link"
10204 +case "(($ac_try" in
10205 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10206 + *) ac_try_echo=$ac_try;;
10207 +esac
10208 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10209 + (eval "$ac_link") 2>conftest.er1
10210 ac_status=$?
10211 grep -v '^ *+' conftest.er1 >conftest.err
10212 rm -f conftest.er1
10213 cat conftest.err >&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 - (exit $ac_status); } &&
10216 - { ac_try='test -z "$ac_c_werror_flag"
10217 - || test ! -s conftest.err'
10218 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10219 - (eval $ac_try) 2>&5
10220 - ac_status=$?
10221 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 - (exit $ac_status); }; } &&
10223 - { ac_try='test -s conftest$ac_exeext'
10224 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225 - (eval $ac_try) 2>&5
10226 - ac_status=$?
10227 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 - (exit $ac_status); }; }; then
10229 + (exit $ac_status); } && {
10230 + test -z "$ac_c_werror_flag" ||
10231 + test ! -s conftest.err
10232 + } && test -s conftest$ac_exeext &&
10233 + $as_test_x conftest$ac_exeext; then
10234 ac_cv_lib_dl_dlopen=yes
10235 else
10236 echo "$as_me: failed program was:" >&5
10237 sed 's/^/| /' conftest.$ac_ext >&5
10239 -ac_cv_lib_dl_dlopen=no
10240 + ac_cv_lib_dl_dlopen=no
10242 -rm -f conftest.err conftest.$ac_objext \
10244 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_lib_save_LIBS
10248 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10249 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10250 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10251 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10252 if test $ac_cv_lib_dl_dlopen = yes; then
10253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10254 else
10255 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10256 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10257 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10258 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10259 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 else
10262 @@ -8812,61 +9518,58 @@
10263 cat >>conftest.$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10266 -/* Override any gcc2 internal prototype to avoid an error. */
10267 +/* Override any GCC internal prototype to avoid an error.
10268 + Use char because int might match the return type of a GCC
10269 + builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 -/* We use char because int might match the return type of a gcc2
10274 - builtin and then its argument prototype would still apply. */
10275 char dlopen ();
10277 main ()
10279 -dlopen ();
10280 +return dlopen ();
10282 return 0;
10284 _ACEOF
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 - (eval $ac_link) 2>conftest.er1
10288 +if { (ac_try="$ac_link"
10289 +case "(($ac_try" in
10290 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10291 + *) ac_try_echo=$ac_try;;
10292 +esac
10293 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10294 + (eval "$ac_link") 2>conftest.er1
10295 ac_status=$?
10296 grep -v '^ *+' conftest.er1 >conftest.err
10297 rm -f conftest.er1
10298 cat conftest.err >&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 - (exit $ac_status); } &&
10301 - { ac_try='test -z "$ac_c_werror_flag"
10302 - || test ! -s conftest.err'
10303 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 - (eval $ac_try) 2>&5
10305 - ac_status=$?
10306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 - (exit $ac_status); }; } &&
10308 - { ac_try='test -s conftest$ac_exeext'
10309 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10310 - (eval $ac_try) 2>&5
10311 - ac_status=$?
10312 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 - (exit $ac_status); }; }; then
10314 + (exit $ac_status); } && {
10315 + test -z "$ac_c_werror_flag" ||
10316 + test ! -s conftest.err
10317 + } && test -s conftest$ac_exeext &&
10318 + $as_test_x conftest$ac_exeext; then
10319 ac_cv_lib_svld_dlopen=yes
10320 else
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10324 -ac_cv_lib_svld_dlopen=no
10325 + ac_cv_lib_svld_dlopen=no
10327 -rm -f conftest.err conftest.$ac_objext \
10329 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10334 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10335 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10336 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10337 if test $ac_cv_lib_svld_dlopen = yes; then
10338 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10339 else
10340 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10341 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10342 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10343 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10344 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10345 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 else
10347 @@ -8879,56 +9582,53 @@
10348 cat >>conftest.$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10351 -/* Override any gcc2 internal prototype to avoid an error. */
10352 +/* Override any GCC internal prototype to avoid an error.
10353 + Use char because int might match the return type of a GCC
10354 + builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 -/* We use char because int might match the return type of a gcc2
10359 - builtin and then its argument prototype would still apply. */
10360 char dld_link ();
10362 main ()
10364 -dld_link ();
10365 +return dld_link ();
10367 return 0;
10369 _ACEOF
10370 rm -f conftest.$ac_objext conftest$ac_exeext
10371 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10372 - (eval $ac_link) 2>conftest.er1
10373 +if { (ac_try="$ac_link"
10374 +case "(($ac_try" in
10375 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10376 + *) ac_try_echo=$ac_try;;
10377 +esac
10378 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10379 + (eval "$ac_link") 2>conftest.er1
10380 ac_status=$?
10381 grep -v '^ *+' conftest.er1 >conftest.err
10382 rm -f conftest.er1
10383 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 - (exit $ac_status); } &&
10386 - { ac_try='test -z "$ac_c_werror_flag"
10387 - || test ! -s conftest.err'
10388 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 - (eval $ac_try) 2>&5
10390 - ac_status=$?
10391 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 - (exit $ac_status); }; } &&
10393 - { ac_try='test -s conftest$ac_exeext'
10394 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 - (eval $ac_try) 2>&5
10396 - ac_status=$?
10397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 - (exit $ac_status); }; }; then
10399 + (exit $ac_status); } && {
10400 + test -z "$ac_c_werror_flag" ||
10401 + test ! -s conftest.err
10402 + } && test -s conftest$ac_exeext &&
10403 + $as_test_x conftest$ac_exeext; then
10404 ac_cv_lib_dld_dld_link=yes
10405 else
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10409 -ac_cv_lib_dld_dld_link=no
10410 + ac_cv_lib_dld_dld_link=no
10412 -rm -f conftest.err conftest.$ac_objext \
10414 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_lib_save_LIBS
10418 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10419 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10420 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10421 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10422 if test $ac_cv_lib_dld_dld_link = yes; then
10423 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10425 @@ -8968,8 +9668,8 @@
10426 save_LIBS="$LIBS"
10427 LIBS="$lt_cv_dlopen_libs $LIBS"
10429 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10430 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10431 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10432 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10433 if test "${lt_cv_dlopen_self+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 else
10436 @@ -8979,7 +9679,7 @@
10437 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10438 lt_status=$lt_dlunknown
10439 cat > conftest.$ac_ext <<EOF
10440 -#line 8982 "configure"
10441 +#line 9682 "configure"
10442 #include "confdefs.h"
10444 #if HAVE_DLFCN_H
10445 @@ -9061,13 +9761,13 @@
10449 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10450 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10451 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10452 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10454 if test "x$lt_cv_dlopen_self" = xyes; then
10455 LDFLAGS="$LDFLAGS $link_static_flag"
10456 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10457 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10458 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10459 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10460 if test "${lt_cv_dlopen_self_static+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 else
10463 @@ -9077,7 +9777,7 @@
10464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10465 lt_status=$lt_dlunknown
10466 cat > conftest.$ac_ext <<EOF
10467 -#line 9080 "configure"
10468 +#line 9780 "configure"
10469 #include "confdefs.h"
10471 #if HAVE_DLFCN_H
10472 @@ -9159,8 +9859,8 @@
10476 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10477 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10478 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10479 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10482 CPPFLAGS="$save_CPPFLAGS"
10483 @@ -9182,13 +9882,13 @@
10486 # Report which librarie types wil actually be built
10487 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10488 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10489 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
10490 -echo "${ECHO_T}$can_build_shared" >&6
10491 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10492 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10493 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10494 +echo "${ECHO_T}$can_build_shared" >&6; }
10496 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10497 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10498 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10499 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10500 test "$can_build_shared" = "no" && enable_shared=no
10502 # On AIX, shared libraries and static libraries use the same namespace, and
10503 @@ -9245,15 +9945,15 @@
10506 esac
10507 -echo "$as_me:$LINENO: result: $enable_shared" >&5
10508 -echo "${ECHO_T}$enable_shared" >&6
10509 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10510 +echo "${ECHO_T}$enable_shared" >&6; }
10512 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10513 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10514 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10515 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10516 # Make sure either enable_shared or enable_static is yes.
10517 test "$enable_shared" = yes || enable_static=yes
10518 -echo "$as_me:$LINENO: result: $enable_static" >&5
10519 -echo "${ECHO_T}$enable_static" >&6
10520 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
10521 +echo "${ECHO_T}$enable_static" >&6; }
10523 # The else clause should only fire when bootstrapping the
10524 # libtool distribution, otherwise you forgot to ship ltmain.sh
10525 @@ -9736,11 +10436,11 @@
10526 CC="$lt_save_CC"
10529 -# Check whether --with-tags or --without-tags was given.
10530 +# Check whether --with-tags was given.
10531 if test "${with_tags+set}" = set; then
10532 - withval="$with_tags"
10533 - tagnames="$withval"
10534 -fi;
10535 + withval=$with_tags; tagnames="$withval"
10539 if test -f "$ltmain" && test -n "$tagnames"; then
10540 if test ! -f "${ofile}"; then
10541 @@ -9789,7 +10489,7 @@
10542 case $tagname in
10543 CXX)
10544 if test -n "$CXX" && test "X$CXX" != "Xno"; then
10545 - ac_ext=cc
10546 + ac_ext=cpp
10547 ac_cpp='$CXXCPP $CPPFLAGS'
10548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10550 @@ -9881,18 +10581,18 @@
10551 # Set up default GNU C++ configuration
10554 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
10555 +# Check whether --with-gnu-ld was given.
10556 if test "${with_gnu_ld+set}" = set; then
10557 - withval="$with_gnu_ld"
10558 - test "$withval" = no || with_gnu_ld=yes
10559 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10560 else
10561 with_gnu_ld=no
10562 -fi;
10565 ac_prog=ld
10566 if test "$GCC" = yes; then
10567 # Check if gcc -print-prog-name=ld gives a path.
10568 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10569 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10570 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10571 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10572 case $host in
10573 *-*-mingw*)
10574 # gcc leaves a trailing carriage return which upsets mingw
10575 @@ -9921,11 +10621,11 @@
10577 esac
10578 elif test "$with_gnu_ld" = yes; then
10579 - echo "$as_me:$LINENO: checking for GNU ld" >&5
10580 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10581 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
10582 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10583 else
10584 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10585 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10586 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10587 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10589 if test "${lt_cv_path_LD+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 @@ -9958,17 +10658,17 @@
10593 LD="$lt_cv_path_LD"
10594 if test -n "$LD"; then
10595 - echo "$as_me:$LINENO: result: $LD" >&5
10596 -echo "${ECHO_T}$LD" >&6
10597 + { echo "$as_me:$LINENO: result: $LD" >&5
10598 +echo "${ECHO_T}$LD" >&6; }
10599 else
10600 - echo "$as_me:$LINENO: result: no" >&5
10601 -echo "${ECHO_T}no" >&6
10602 + { echo "$as_me:$LINENO: result: no" >&5
10603 +echo "${ECHO_T}no" >&6; }
10605 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10606 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10607 { (exit 1); exit 1; }; }
10608 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10609 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10610 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10611 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10612 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 else
10615 @@ -9982,8 +10682,8 @@
10617 esac
10619 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10620 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10621 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10622 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10623 with_gnu_ld=$lt_cv_prog_gnu_ld
10626 @@ -10033,8 +10733,8 @@
10629 # PORTME: fill in a description of your system's C++ link characteristics
10630 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10631 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10632 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10633 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10634 ld_shlibs_CXX=yes
10635 case $host_os in
10636 aix3*)
10637 @@ -10141,27 +10841,23 @@
10639 _ACEOF
10640 rm -f conftest.$ac_objext conftest$ac_exeext
10641 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10642 - (eval $ac_link) 2>conftest.er1
10643 +if { (ac_try="$ac_link"
10644 +case "(($ac_try" in
10645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10646 + *) ac_try_echo=$ac_try;;
10647 +esac
10648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10649 + (eval "$ac_link") 2>conftest.er1
10650 ac_status=$?
10651 grep -v '^ *+' conftest.er1 >conftest.err
10652 rm -f conftest.er1
10653 cat conftest.err >&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 - (exit $ac_status); } &&
10656 - { ac_try='test -z "$ac_cxx_werror_flag"
10657 - || test ! -s conftest.err'
10658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 - (eval $ac_try) 2>&5
10660 - ac_status=$?
10661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 - (exit $ac_status); }; } &&
10663 - { ac_try='test -s conftest$ac_exeext'
10664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 - (eval $ac_try) 2>&5
10666 - ac_status=$?
10667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 - (exit $ac_status); }; }; then
10669 + (exit $ac_status); } && {
10670 + test -z "$ac_cxx_werror_flag" ||
10671 + test ! -s conftest.err
10672 + } && test -s conftest$ac_exeext &&
10673 + $as_test_x conftest$ac_exeext; then
10675 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10677 @@ -10172,8 +10868,10 @@
10678 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5
10683 -rm -f conftest.err conftest.$ac_objext \
10685 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10686 conftest$ac_exeext conftest.$ac_ext
10687 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10689 @@ -10203,27 +10901,23 @@
10691 _ACEOF
10692 rm -f conftest.$ac_objext conftest$ac_exeext
10693 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10694 - (eval $ac_link) 2>conftest.er1
10695 +if { (ac_try="$ac_link"
10696 +case "(($ac_try" in
10697 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10698 + *) ac_try_echo=$ac_try;;
10699 +esac
10700 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701 + (eval "$ac_link") 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 - (exit $ac_status); } &&
10708 - { ac_try='test -z "$ac_cxx_werror_flag"
10709 - || test ! -s conftest.err'
10710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 - (eval $ac_try) 2>&5
10712 - ac_status=$?
10713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 - (exit $ac_status); }; } &&
10715 - { ac_try='test -s conftest$ac_exeext'
10716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 - (eval $ac_try) 2>&5
10718 - ac_status=$?
10719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 - (exit $ac_status); }; }; then
10721 + (exit $ac_status); } && {
10722 + test -z "$ac_cxx_werror_flag" ||
10723 + test ! -s conftest.err
10724 + } && test -s conftest$ac_exeext &&
10725 + $as_test_x conftest$ac_exeext; then
10727 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10729 @@ -10234,8 +10928,10 @@
10730 echo "$as_me: failed program was:" >&5
10731 sed 's/^/| /' conftest.$ac_ext >&5
10735 -rm -f conftest.err conftest.$ac_objext \
10737 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10738 conftest$ac_exeext conftest.$ac_ext
10739 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10741 @@ -10861,8 +11557,8 @@
10742 ld_shlibs_CXX=no
10744 esac
10745 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10746 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
10747 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10748 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10749 test "$ld_shlibs_CXX" = no && can_build_shared=no
10751 GCC_CXX="$GXX"
10752 @@ -10978,8 +11674,8 @@
10753 lt_prog_compiler_pic_CXX=
10754 lt_prog_compiler_static_CXX=
10756 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10757 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10758 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10759 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10761 # C++ specific cases for pic, static, wl, etc.
10762 if test "$GXX" = yes; then
10763 @@ -11230,16 +11926,16 @@
10764 esac
10767 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10768 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10769 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10770 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
10773 # Check to make sure the PIC flag actually works.
10775 if test -n "$lt_prog_compiler_pic_CXX"; then
10777 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10778 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10779 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10780 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
10781 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else
10784 @@ -11256,11 +11952,11 @@
10785 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10787 -e 's:$: $lt_compiler_flag:'`
10788 - (eval echo "\"\$as_me:11259: $lt_compile\"" >&5)
10789 + (eval echo "\"\$as_me:11955: $lt_compile\"" >&5)
10790 (eval "$lt_compile" 2>conftest.err)
10791 ac_status=$?
10792 cat conftest.err >&5
10793 - echo "$as_me:11263: \$? = $ac_status" >&5
10794 + echo "$as_me:11959: \$? = $ac_status" >&5
10795 if (exit $ac_status) && test -s "$ac_outfile"; then
10796 # The compiler can only warn and ignore the option if not recognized
10797 # So say no if there are warnings
10798 @@ -11271,8 +11967,8 @@
10799 $rm conftest*
10802 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10803 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10804 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10805 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
10807 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10808 case $lt_prog_compiler_pic_CXX in
10809 @@ -11295,8 +11991,8 @@
10811 esac
10813 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10814 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10815 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10816 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10817 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 else
10820 @@ -11316,11 +12012,11 @@
10821 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10823 -e 's:$: $lt_compiler_flag:'`
10824 - (eval echo "\"\$as_me:11319: $lt_compile\"" >&5)
10825 + (eval echo "\"\$as_me:12015: $lt_compile\"" >&5)
10826 (eval "$lt_compile" 2>out/conftest.err)
10827 ac_status=$?
10828 cat out/conftest.err >&5
10829 - echo "$as_me:11323: \$? = $ac_status" >&5
10830 + echo "$as_me:12019: \$? = $ac_status" >&5
10831 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10832 then
10833 # The compiler can only warn and ignore the option if not recognized
10834 @@ -11340,23 +12036,23 @@
10835 $rm conftest*
10838 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10839 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10840 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10841 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
10844 hard_links="nottested"
10845 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10846 # do not overwrite the value of need_locks provided by the user
10847 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10848 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10849 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10850 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10851 hard_links=yes
10852 $rm conftest*
10853 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10854 touch conftest.a
10855 ln conftest.a conftest.b 2>&5 || hard_links=no
10856 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10857 - echo "$as_me:$LINENO: result: $hard_links" >&5
10858 -echo "${ECHO_T}$hard_links" >&6
10859 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10860 +echo "${ECHO_T}$hard_links" >&6; }
10861 if test "$hard_links" = no; then
10862 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10863 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10864 @@ -11366,8 +12062,8 @@
10865 need_locks=no
10868 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10869 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10870 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10871 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10873 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10874 case $host_os in
10875 @@ -11391,8 +12087,8 @@
10877 esac
10879 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10880 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
10881 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10882 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10883 test "$ld_shlibs_CXX" = no && can_build_shared=no
10885 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10886 @@ -11417,8 +12113,8 @@
10887 # Test whether the compiler implicitly links with -lc since on some
10888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10889 # to ld, don't add -lc before -lgcc.
10890 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10891 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10892 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10893 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10894 $rm conftest*
10895 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10897 @@ -11454,16 +12150,16 @@
10898 cat conftest.err 1>&5
10900 $rm conftest*
10901 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10902 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10903 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10904 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
10906 esac
10909 esac
10911 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10912 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10913 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10914 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10915 library_names_spec=
10916 libname_spec='lib$name'
10917 soname_spec=
10918 @@ -12002,12 +12698,12 @@
10919 dynamic_linker=no
10921 esac
10922 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10923 -echo "${ECHO_T}$dynamic_linker" >&6
10924 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10925 +echo "${ECHO_T}$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10928 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10929 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10930 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10931 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10932 hardcode_action_CXX=
10933 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10934 test -n "$runpath_var CXX" || \
10935 @@ -12031,8 +12727,8 @@
10936 # directories.
10937 hardcode_action_CXX=unsupported
10939 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10940 -echo "${ECHO_T}$hardcode_action_CXX" >&6
10941 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
10942 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
10944 if test "$hardcode_action_CXX" = relink; then
10945 # Fast installation is not supported
10946 @@ -12045,29 +12741,29 @@
10948 striplib=
10949 old_striplib=
10950 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10951 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10952 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10953 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10954 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10955 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10956 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10957 - echo "$as_me:$LINENO: result: yes" >&5
10958 -echo "${ECHO_T}yes" >&6
10959 + { echo "$as_me:$LINENO: result: yes" >&5
10960 +echo "${ECHO_T}yes" >&6; }
10961 else
10962 # FIXME - insert some real tests, host_os isn't really good enough
10963 case $host_os in
10964 darwin*)
10965 if test -n "$STRIP" ; then
10966 striplib="$STRIP -x"
10967 - echo "$as_me:$LINENO: result: yes" >&5
10968 -echo "${ECHO_T}yes" >&6
10969 + { echo "$as_me:$LINENO: result: yes" >&5
10970 +echo "${ECHO_T}yes" >&6; }
10971 else
10972 - echo "$as_me:$LINENO: result: no" >&5
10973 -echo "${ECHO_T}no" >&6
10974 + { echo "$as_me:$LINENO: result: no" >&5
10975 +echo "${ECHO_T}no" >&6; }
10979 - echo "$as_me:$LINENO: result: no" >&5
10980 -echo "${ECHO_T}no" >&6
10981 + { echo "$as_me:$LINENO: result: no" >&5
10982 +echo "${ECHO_T}no" >&6; }
10984 esac
10986 @@ -12099,8 +12795,8 @@
10988 darwin*)
10989 # if libdl is installed we need to link against it
10990 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10991 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10992 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10993 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10994 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 else
10997 @@ -12113,56 +12809,53 @@
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11001 -/* Override any gcc2 internal prototype to avoid an error. */
11002 +/* Override any GCC internal prototype to avoid an error.
11003 + Use char because int might match the return type of a GCC
11004 + builtin and then its argument prototype would still apply. */
11005 #ifdef __cplusplus
11006 extern "C"
11007 #endif
11008 -/* We use char because int might match the return type of a gcc2
11009 - builtin and then its argument prototype would still apply. */
11010 char dlopen ();
11012 main ()
11014 -dlopen ();
11015 +return dlopen ();
11017 return 0;
11019 _ACEOF
11020 rm -f conftest.$ac_objext conftest$ac_exeext
11021 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11022 - (eval $ac_link) 2>conftest.er1
11023 +if { (ac_try="$ac_link"
11024 +case "(($ac_try" in
11025 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 + *) ac_try_echo=$ac_try;;
11027 +esac
11028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 + (eval "$ac_link") 2>conftest.er1
11030 ac_status=$?
11031 grep -v '^ *+' conftest.er1 >conftest.err
11032 rm -f conftest.er1
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 - (exit $ac_status); } &&
11036 - { ac_try='test -z "$ac_cxx_werror_flag"
11037 - || test ! -s conftest.err'
11038 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 - (eval $ac_try) 2>&5
11040 - ac_status=$?
11041 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 - (exit $ac_status); }; } &&
11043 - { ac_try='test -s conftest$ac_exeext'
11044 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 - (eval $ac_try) 2>&5
11046 - ac_status=$?
11047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 - (exit $ac_status); }; }; then
11049 + (exit $ac_status); } && {
11050 + test -z "$ac_cxx_werror_flag" ||
11051 + test ! -s conftest.err
11052 + } && test -s conftest$ac_exeext &&
11053 + $as_test_x conftest$ac_exeext; then
11054 ac_cv_lib_dl_dlopen=yes
11055 else
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11059 -ac_cv_lib_dl_dlopen=no
11060 + ac_cv_lib_dl_dlopen=no
11062 -rm -f conftest.err conftest.$ac_objext \
11064 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11069 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11070 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11071 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11072 if test $ac_cv_lib_dl_dlopen = yes; then
11073 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11074 else
11075 @@ -12176,8 +12869,8 @@
11079 - echo "$as_me:$LINENO: checking for shl_load" >&5
11080 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11081 + { echo "$as_me:$LINENO: checking for shl_load" >&5
11082 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11083 if test "${ac_cv_func_shl_load+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 else
11086 @@ -12204,73 +12897,64 @@
11088 #undef shl_load
11090 -/* Override any gcc2 internal prototype to avoid an error. */
11091 +/* Override any GCC internal prototype to avoid an error.
11092 + Use char because int might match the return type of a GCC
11093 + builtin and then its argument prototype would still apply. */
11094 #ifdef __cplusplus
11095 extern "C"
11097 #endif
11098 -/* We use char because int might match the return type of a gcc2
11099 - builtin and then its argument prototype would still apply. */
11100 char shl_load ();
11101 /* The GNU C library defines this for functions which it implements
11102 to always fail with ENOSYS. Some functions are actually named
11103 something starting with __ and the normal name is an alias. */
11104 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
11105 +#if defined __stub_shl_load || defined __stub___shl_load
11106 choke me
11107 -#else
11108 -char (*f) () = shl_load;
11109 -#endif
11110 -#ifdef __cplusplus
11112 #endif
11115 main ()
11117 -return f != shl_load;
11118 +return shl_load ();
11120 return 0;
11122 _ACEOF
11123 rm -f conftest.$ac_objext conftest$ac_exeext
11124 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11125 - (eval $ac_link) 2>conftest.er1
11126 +if { (ac_try="$ac_link"
11127 +case "(($ac_try" in
11128 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11129 + *) ac_try_echo=$ac_try;;
11130 +esac
11131 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 + (eval "$ac_link") 2>conftest.er1
11133 ac_status=$?
11134 grep -v '^ *+' conftest.er1 >conftest.err
11135 rm -f conftest.er1
11136 cat conftest.err >&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 - (exit $ac_status); } &&
11139 - { ac_try='test -z "$ac_cxx_werror_flag"
11140 - || test ! -s conftest.err'
11141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 - (eval $ac_try) 2>&5
11143 - ac_status=$?
11144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 - (exit $ac_status); }; } &&
11146 - { ac_try='test -s conftest$ac_exeext'
11147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 - (eval $ac_try) 2>&5
11149 - ac_status=$?
11150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 - (exit $ac_status); }; }; then
11152 + (exit $ac_status); } && {
11153 + test -z "$ac_cxx_werror_flag" ||
11154 + test ! -s conftest.err
11155 + } && test -s conftest$ac_exeext &&
11156 + $as_test_x conftest$ac_exeext; then
11157 ac_cv_func_shl_load=yes
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 -ac_cv_func_shl_load=no
11163 + ac_cv_func_shl_load=no
11165 -rm -f conftest.err conftest.$ac_objext \
11167 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168 conftest$ac_exeext conftest.$ac_ext
11170 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11171 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11172 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11173 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11174 if test $ac_cv_func_shl_load = yes; then
11175 lt_cv_dlopen="shl_load"
11176 else
11177 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11178 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11179 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11180 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11181 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 @@ -12283,61 +12967,58 @@
11185 cat >>conftest.$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11188 -/* Override any gcc2 internal prototype to avoid an error. */
11189 +/* Override any GCC internal prototype to avoid an error.
11190 + Use char because int might match the return type of a GCC
11191 + builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 -/* We use char because int might match the return type of a gcc2
11196 - builtin and then its argument prototype would still apply. */
11197 char shl_load ();
11199 main ()
11201 -shl_load ();
11202 +return shl_load ();
11204 return 0;
11206 _ACEOF
11207 rm -f conftest.$ac_objext conftest$ac_exeext
11208 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11209 - (eval $ac_link) 2>conftest.er1
11210 +if { (ac_try="$ac_link"
11211 +case "(($ac_try" in
11212 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11213 + *) ac_try_echo=$ac_try;;
11214 +esac
11215 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11216 + (eval "$ac_link") 2>conftest.er1
11217 ac_status=$?
11218 grep -v '^ *+' conftest.er1 >conftest.err
11219 rm -f conftest.er1
11220 cat conftest.err >&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 - (exit $ac_status); } &&
11223 - { ac_try='test -z "$ac_cxx_werror_flag"
11224 - || test ! -s conftest.err'
11225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 - (eval $ac_try) 2>&5
11227 - ac_status=$?
11228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 - (exit $ac_status); }; } &&
11230 - { ac_try='test -s conftest$ac_exeext'
11231 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 - (eval $ac_try) 2>&5
11233 - ac_status=$?
11234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 - (exit $ac_status); }; }; then
11236 + (exit $ac_status); } && {
11237 + test -z "$ac_cxx_werror_flag" ||
11238 + test ! -s conftest.err
11239 + } && test -s conftest$ac_exeext &&
11240 + $as_test_x conftest$ac_exeext; then
11241 ac_cv_lib_dld_shl_load=yes
11242 else
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.$ac_ext >&5
11246 -ac_cv_lib_dld_shl_load=no
11247 + ac_cv_lib_dld_shl_load=no
11249 -rm -f conftest.err conftest.$ac_objext \
11251 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11256 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11257 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11258 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11259 if test $ac_cv_lib_dld_shl_load = yes; then
11260 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11261 else
11262 - echo "$as_me:$LINENO: checking for dlopen" >&5
11263 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11264 + { echo "$as_me:$LINENO: checking for dlopen" >&5
11265 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11266 if test "${ac_cv_func_dlopen+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 else
11269 @@ -12364,73 +13045,64 @@
11271 #undef dlopen
11273 -/* Override any gcc2 internal prototype to avoid an error. */
11274 +/* Override any GCC internal prototype to avoid an error.
11275 + Use char because int might match the return type of a GCC
11276 + builtin and then its argument prototype would still apply. */
11277 #ifdef __cplusplus
11278 extern "C"
11280 #endif
11281 -/* We use char because int might match the return type of a gcc2
11282 - builtin and then its argument prototype would still apply. */
11283 char dlopen ();
11284 /* The GNU C library defines this for functions which it implements
11285 to always fail with ENOSYS. Some functions are actually named
11286 something starting with __ and the normal name is an alias. */
11287 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
11288 +#if defined __stub_dlopen || defined __stub___dlopen
11289 choke me
11290 -#else
11291 -char (*f) () = dlopen;
11292 -#endif
11293 -#ifdef __cplusplus
11295 #endif
11298 main ()
11300 -return f != dlopen;
11301 +return dlopen ();
11303 return 0;
11305 _ACEOF
11306 rm -f conftest.$ac_objext conftest$ac_exeext
11307 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11308 - (eval $ac_link) 2>conftest.er1
11309 +if { (ac_try="$ac_link"
11310 +case "(($ac_try" in
11311 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11312 + *) ac_try_echo=$ac_try;;
11313 +esac
11314 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11315 + (eval "$ac_link") 2>conftest.er1
11316 ac_status=$?
11317 grep -v '^ *+' conftest.er1 >conftest.err
11318 rm -f conftest.er1
11319 cat conftest.err >&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 - (exit $ac_status); } &&
11322 - { ac_try='test -z "$ac_cxx_werror_flag"
11323 - || test ! -s conftest.err'
11324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 - (eval $ac_try) 2>&5
11326 - ac_status=$?
11327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 - (exit $ac_status); }; } &&
11329 - { ac_try='test -s conftest$ac_exeext'
11330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 - (eval $ac_try) 2>&5
11332 - ac_status=$?
11333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 - (exit $ac_status); }; }; then
11335 + (exit $ac_status); } && {
11336 + test -z "$ac_cxx_werror_flag" ||
11337 + test ! -s conftest.err
11338 + } && test -s conftest$ac_exeext &&
11339 + $as_test_x conftest$ac_exeext; then
11340 ac_cv_func_dlopen=yes
11341 else
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.$ac_ext >&5
11345 -ac_cv_func_dlopen=no
11346 + ac_cv_func_dlopen=no
11348 -rm -f conftest.err conftest.$ac_objext \
11350 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11351 conftest$ac_exeext conftest.$ac_ext
11353 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11354 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11355 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11356 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11357 if test $ac_cv_func_dlopen = yes; then
11358 lt_cv_dlopen="dlopen"
11359 else
11360 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11361 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11362 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11363 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11364 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 @@ -12443,61 +13115,58 @@
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11371 -/* Override any gcc2 internal prototype to avoid an error. */
11372 +/* Override any GCC internal prototype to avoid an error.
11373 + Use char because int might match the return type of a GCC
11374 + builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 -/* We use char because int might match the return type of a gcc2
11379 - builtin and then its argument prototype would still apply. */
11380 char dlopen ();
11382 main ()
11384 -dlopen ();
11385 +return dlopen ();
11387 return 0;
11389 _ACEOF
11390 rm -f conftest.$ac_objext conftest$ac_exeext
11391 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11392 - (eval $ac_link) 2>conftest.er1
11393 +if { (ac_try="$ac_link"
11394 +case "(($ac_try" in
11395 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11396 + *) ac_try_echo=$ac_try;;
11397 +esac
11398 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11399 + (eval "$ac_link") 2>conftest.er1
11400 ac_status=$?
11401 grep -v '^ *+' conftest.er1 >conftest.err
11402 rm -f conftest.er1
11403 cat conftest.err >&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 - (exit $ac_status); } &&
11406 - { ac_try='test -z "$ac_cxx_werror_flag"
11407 - || test ! -s conftest.err'
11408 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 - (eval $ac_try) 2>&5
11410 - ac_status=$?
11411 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 - (exit $ac_status); }; } &&
11413 - { ac_try='test -s conftest$ac_exeext'
11414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 - (eval $ac_try) 2>&5
11416 - ac_status=$?
11417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 - (exit $ac_status); }; }; then
11419 + (exit $ac_status); } && {
11420 + test -z "$ac_cxx_werror_flag" ||
11421 + test ! -s conftest.err
11422 + } && test -s conftest$ac_exeext &&
11423 + $as_test_x conftest$ac_exeext; then
11424 ac_cv_lib_dl_dlopen=yes
11425 else
11426 echo "$as_me: failed program was:" >&5
11427 sed 's/^/| /' conftest.$ac_ext >&5
11429 -ac_cv_lib_dl_dlopen=no
11430 + ac_cv_lib_dl_dlopen=no
11432 -rm -f conftest.err conftest.$ac_objext \
11434 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11438 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11439 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11440 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11441 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11442 if test $ac_cv_lib_dl_dlopen = yes; then
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11444 else
11445 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11446 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11447 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11448 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11449 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 else
11452 @@ -12510,61 +13179,58 @@
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11456 -/* Override any gcc2 internal prototype to avoid an error. */
11457 +/* Override any GCC internal prototype to avoid an error.
11458 + Use char because int might match the return type of a GCC
11459 + builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 -/* We use char because int might match the return type of a gcc2
11464 - builtin and then its argument prototype would still apply. */
11465 char dlopen ();
11467 main ()
11469 -dlopen ();
11470 +return dlopen ();
11472 return 0;
11474 _ACEOF
11475 rm -f conftest.$ac_objext conftest$ac_exeext
11476 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11477 - (eval $ac_link) 2>conftest.er1
11478 +if { (ac_try="$ac_link"
11479 +case "(($ac_try" in
11480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 + *) ac_try_echo=$ac_try;;
11482 +esac
11483 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 + (eval "$ac_link") 2>conftest.er1
11485 ac_status=$?
11486 grep -v '^ *+' conftest.er1 >conftest.err
11487 rm -f conftest.er1
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 - (exit $ac_status); } &&
11491 - { ac_try='test -z "$ac_cxx_werror_flag"
11492 - || test ! -s conftest.err'
11493 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 - (eval $ac_try) 2>&5
11495 - ac_status=$?
11496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 - (exit $ac_status); }; } &&
11498 - { ac_try='test -s conftest$ac_exeext'
11499 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 - (eval $ac_try) 2>&5
11501 - ac_status=$?
11502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 - (exit $ac_status); }; }; then
11504 + (exit $ac_status); } && {
11505 + test -z "$ac_cxx_werror_flag" ||
11506 + test ! -s conftest.err
11507 + } && test -s conftest$ac_exeext &&
11508 + $as_test_x conftest$ac_exeext; then
11509 ac_cv_lib_svld_dlopen=yes
11510 else
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11514 -ac_cv_lib_svld_dlopen=no
11515 + ac_cv_lib_svld_dlopen=no
11517 -rm -f conftest.err conftest.$ac_objext \
11519 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_lib_save_LIBS
11523 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11524 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11525 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11526 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11527 if test $ac_cv_lib_svld_dlopen = yes; then
11528 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11529 else
11530 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11531 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11532 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11533 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11534 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 else
11537 @@ -12577,56 +13243,53 @@
11538 cat >>conftest.$ac_ext <<_ACEOF
11539 /* end confdefs.h. */
11541 -/* Override any gcc2 internal prototype to avoid an error. */
11542 +/* Override any GCC internal prototype to avoid an error.
11543 + Use char because int might match the return type of a GCC
11544 + builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 -/* We use char because int might match the return type of a gcc2
11549 - builtin and then its argument prototype would still apply. */
11550 char dld_link ();
11552 main ()
11554 -dld_link ();
11555 +return dld_link ();
11557 return 0;
11559 _ACEOF
11560 rm -f conftest.$ac_objext conftest$ac_exeext
11561 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11562 - (eval $ac_link) 2>conftest.er1
11563 +if { (ac_try="$ac_link"
11564 +case "(($ac_try" in
11565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11566 + *) ac_try_echo=$ac_try;;
11567 +esac
11568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11569 + (eval "$ac_link") 2>conftest.er1
11570 ac_status=$?
11571 grep -v '^ *+' conftest.er1 >conftest.err
11572 rm -f conftest.er1
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 - (exit $ac_status); } &&
11576 - { ac_try='test -z "$ac_cxx_werror_flag"
11577 - || test ! -s conftest.err'
11578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 - (eval $ac_try) 2>&5
11580 - ac_status=$?
11581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 - (exit $ac_status); }; } &&
11583 - { ac_try='test -s conftest$ac_exeext'
11584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 - (eval $ac_try) 2>&5
11586 - ac_status=$?
11587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 - (exit $ac_status); }; }; then
11589 + (exit $ac_status); } && {
11590 + test -z "$ac_cxx_werror_flag" ||
11591 + test ! -s conftest.err
11592 + } && test -s conftest$ac_exeext &&
11593 + $as_test_x conftest$ac_exeext; then
11594 ac_cv_lib_dld_dld_link=yes
11595 else
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 -ac_cv_lib_dld_dld_link=no
11600 + ac_cv_lib_dld_dld_link=no
11602 -rm -f conftest.err conftest.$ac_objext \
11604 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_lib_save_LIBS
11608 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11609 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11610 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11611 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11612 if test $ac_cv_lib_dld_dld_link = yes; then
11613 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11615 @@ -12666,8 +13329,8 @@
11616 save_LIBS="$LIBS"
11617 LIBS="$lt_cv_dlopen_libs $LIBS"
11619 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11620 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11621 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11622 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11623 if test "${lt_cv_dlopen_self+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 else
11626 @@ -12677,7 +13340,7 @@
11627 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11628 lt_status=$lt_dlunknown
11629 cat > conftest.$ac_ext <<EOF
11630 -#line 12680 "configure"
11631 +#line 13343 "configure"
11632 #include "confdefs.h"
11634 #if HAVE_DLFCN_H
11635 @@ -12759,13 +13422,13 @@
11639 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11640 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11641 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11642 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11644 if test "x$lt_cv_dlopen_self" = xyes; then
11645 LDFLAGS="$LDFLAGS $link_static_flag"
11646 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11647 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11648 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11649 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11650 if test "${lt_cv_dlopen_self_static+set}" = set; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 else
11653 @@ -12775,7 +13438,7 @@
11654 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11655 lt_status=$lt_dlunknown
11656 cat > conftest.$ac_ext <<EOF
11657 -#line 12778 "configure"
11658 +#line 13441 "configure"
11659 #include "confdefs.h"
11661 #if HAVE_DLFCN_H
11662 @@ -12857,8 +13520,8 @@
11666 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11667 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11668 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11669 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11672 CPPFLAGS="$save_CPPFLAGS"
11673 @@ -13357,13 +14020,13 @@
11674 compiler_F77=$CC
11675 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11677 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11678 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11679 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
11680 -echo "${ECHO_T}$can_build_shared" >&6
11681 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11682 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11683 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11684 +echo "${ECHO_T}$can_build_shared" >&6; }
11686 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11687 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11688 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11689 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11690 test "$can_build_shared" = "no" && enable_shared=no
11692 # On AIX, shared libraries and static libraries use the same namespace, and
11693 @@ -13380,15 +14043,15 @@
11694 test "$enable_shared" = yes && enable_static=no
11696 esac
11697 -echo "$as_me:$LINENO: result: $enable_shared" >&5
11698 -echo "${ECHO_T}$enable_shared" >&6
11699 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11700 +echo "${ECHO_T}$enable_shared" >&6; }
11702 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11703 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11704 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11705 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11706 # Make sure either enable_shared or enable_static is yes.
11707 test "$enable_shared" = yes || enable_static=yes
11708 -echo "$as_me:$LINENO: result: $enable_static" >&5
11709 -echo "${ECHO_T}$enable_static" >&6
11710 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
11711 +echo "${ECHO_T}$enable_static" >&6; }
11713 test "$ld_shlibs_F77" = no && can_build_shared=no
11715 @@ -13399,8 +14062,8 @@
11716 lt_prog_compiler_pic_F77=
11717 lt_prog_compiler_static_F77=
11719 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11720 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11721 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11722 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11724 if test "$GCC" = yes; then
11725 lt_prog_compiler_wl_F77='-Wl,'
11726 @@ -13576,16 +14239,16 @@
11727 esac
11730 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
11731 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
11732 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
11733 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
11736 # Check to make sure the PIC flag actually works.
11738 if test -n "$lt_prog_compiler_pic_F77"; then
11740 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11741 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
11742 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11743 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
11744 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 else
11747 @@ -13602,11 +14265,11 @@
11748 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11750 -e 's:$: $lt_compiler_flag:'`
11751 - (eval echo "\"\$as_me:13605: $lt_compile\"" >&5)
11752 + (eval echo "\"\$as_me:14268: $lt_compile\"" >&5)
11753 (eval "$lt_compile" 2>conftest.err)
11754 ac_status=$?
11755 cat conftest.err >&5
11756 - echo "$as_me:13609: \$? = $ac_status" >&5
11757 + echo "$as_me:14272: \$? = $ac_status" >&5
11758 if (exit $ac_status) && test -s "$ac_outfile"; then
11759 # The compiler can only warn and ignore the option if not recognized
11760 # So say no if there are warnings
11761 @@ -13617,8 +14280,8 @@
11762 $rm conftest*
11765 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
11766 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
11767 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
11768 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
11770 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
11771 case $lt_prog_compiler_pic_F77 in
11772 @@ -13641,8 +14304,8 @@
11774 esac
11776 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11777 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11778 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11779 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11780 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 else
11783 @@ -13662,11 +14325,11 @@
11784 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11786 -e 's:$: $lt_compiler_flag:'`
11787 - (eval echo "\"\$as_me:13665: $lt_compile\"" >&5)
11788 + (eval echo "\"\$as_me:14328: $lt_compile\"" >&5)
11789 (eval "$lt_compile" 2>out/conftest.err)
11790 ac_status=$?
11791 cat out/conftest.err >&5
11792 - echo "$as_me:13669: \$? = $ac_status" >&5
11793 + echo "$as_me:14332: \$? = $ac_status" >&5
11794 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11795 then
11796 # The compiler can only warn and ignore the option if not recognized
11797 @@ -13686,23 +14349,23 @@
11798 $rm conftest*
11801 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
11802 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
11803 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
11804 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
11807 hard_links="nottested"
11808 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
11809 # do not overwrite the value of need_locks provided by the user
11810 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11811 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11812 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11813 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11814 hard_links=yes
11815 $rm conftest*
11816 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11817 touch conftest.a
11818 ln conftest.a conftest.b 2>&5 || hard_links=no
11819 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11820 - echo "$as_me:$LINENO: result: $hard_links" >&5
11821 -echo "${ECHO_T}$hard_links" >&6
11822 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11823 +echo "${ECHO_T}$hard_links" >&6; }
11824 if test "$hard_links" = no; then
11825 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11826 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11827 @@ -13712,8 +14375,8 @@
11828 need_locks=no
11831 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11832 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11833 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11834 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11836 runpath_var=
11837 allow_undefined_flag_F77=
11838 @@ -14035,27 +14698,23 @@
11840 _ACEOF
11841 rm -f conftest.$ac_objext conftest$ac_exeext
11842 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11843 - (eval $ac_link) 2>conftest.er1
11844 +if { (ac_try="$ac_link"
11845 +case "(($ac_try" in
11846 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847 + *) ac_try_echo=$ac_try;;
11848 +esac
11849 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 + (eval "$ac_link") 2>conftest.er1
11851 ac_status=$?
11852 grep -v '^ *+' conftest.er1 >conftest.err
11853 rm -f conftest.er1
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 - (exit $ac_status); } &&
11857 - { ac_try='test -z "$ac_f77_werror_flag"
11858 - || test ! -s conftest.err'
11859 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 - (eval $ac_try) 2>&5
11861 - ac_status=$?
11862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 - (exit $ac_status); }; } &&
11864 - { ac_try='test -s conftest$ac_exeext'
11865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 - (eval $ac_try) 2>&5
11867 - ac_status=$?
11868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 - (exit $ac_status); }; }; then
11870 + (exit $ac_status); } && {
11871 + test -z "$ac_f77_werror_flag" ||
11872 + test ! -s conftest.err
11873 + } && test -s conftest$ac_exeext &&
11874 + $as_test_x conftest$ac_exeext; then
11876 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11878 @@ -14066,8 +14725,10 @@
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11884 -rm -f conftest.err conftest.$ac_objext \
11886 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11887 conftest$ac_exeext conftest.$ac_ext
11888 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11890 @@ -14086,27 +14747,23 @@
11892 _ACEOF
11893 rm -f conftest.$ac_objext conftest$ac_exeext
11894 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11895 - (eval $ac_link) 2>conftest.er1
11896 +if { (ac_try="$ac_link"
11897 +case "(($ac_try" in
11898 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 + *) ac_try_echo=$ac_try;;
11900 +esac
11901 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 + (eval "$ac_link") 2>conftest.er1
11903 ac_status=$?
11904 grep -v '^ *+' conftest.er1 >conftest.err
11905 rm -f conftest.er1
11906 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 - (exit $ac_status); } &&
11909 - { ac_try='test -z "$ac_f77_werror_flag"
11910 - || test ! -s conftest.err'
11911 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 - (eval $ac_try) 2>&5
11913 - ac_status=$?
11914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 - (exit $ac_status); }; } &&
11916 - { ac_try='test -s conftest$ac_exeext'
11917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 - (eval $ac_try) 2>&5
11919 - ac_status=$?
11920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 - (exit $ac_status); }; }; then
11922 + (exit $ac_status); } && {
11923 + test -z "$ac_f77_werror_flag" ||
11924 + test ! -s conftest.err
11925 + } && test -s conftest$ac_exeext &&
11926 + $as_test_x conftest$ac_exeext; then
11928 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11930 @@ -14117,8 +14774,10 @@
11931 echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11936 -rm -f conftest.err conftest.$ac_objext \
11938 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11939 conftest$ac_exeext conftest.$ac_ext
11940 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11942 @@ -14540,8 +15199,8 @@
11943 esac
11946 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
11947 -echo "${ECHO_T}$ld_shlibs_F77" >&6
11948 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
11949 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
11950 test "$ld_shlibs_F77" = no && can_build_shared=no
11952 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11953 @@ -14566,8 +15225,8 @@
11954 # Test whether the compiler implicitly links with -lc since on some
11955 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11956 # to ld, don't add -lc before -lgcc.
11957 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11958 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11959 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11960 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11961 $rm conftest*
11962 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11964 @@ -14603,16 +15262,16 @@
11965 cat conftest.err 1>&5
11967 $rm conftest*
11968 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
11969 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
11970 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
11971 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
11973 esac
11976 esac
11978 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11979 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11980 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11981 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11982 library_names_spec=
11983 libname_spec='lib$name'
11984 soname_spec=
11985 @@ -15151,12 +15810,12 @@
11986 dynamic_linker=no
11988 esac
11989 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11990 -echo "${ECHO_T}$dynamic_linker" >&6
11991 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11992 +echo "${ECHO_T}$dynamic_linker" >&6; }
11993 test "$dynamic_linker" = no && can_build_shared=no
11995 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11996 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11997 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11998 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11999 hardcode_action_F77=
12000 if test -n "$hardcode_libdir_flag_spec_F77" || \
12001 test -n "$runpath_var F77" || \
12002 @@ -15180,8 +15839,8 @@
12003 # directories.
12004 hardcode_action_F77=unsupported
12006 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
12007 -echo "${ECHO_T}$hardcode_action_F77" >&6
12008 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
12009 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
12011 if test "$hardcode_action_F77" = relink; then
12012 # Fast installation is not supported
12013 @@ -15194,29 +15853,29 @@
12015 striplib=
12016 old_striplib=
12017 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12018 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12019 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12020 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12021 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12022 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12023 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12024 - echo "$as_me:$LINENO: result: yes" >&5
12025 -echo "${ECHO_T}yes" >&6
12026 + { echo "$as_me:$LINENO: result: yes" >&5
12027 +echo "${ECHO_T}yes" >&6; }
12028 else
12029 # FIXME - insert some real tests, host_os isn't really good enough
12030 case $host_os in
12031 darwin*)
12032 if test -n "$STRIP" ; then
12033 striplib="$STRIP -x"
12034 - echo "$as_me:$LINENO: result: yes" >&5
12035 -echo "${ECHO_T}yes" >&6
12036 + { echo "$as_me:$LINENO: result: yes" >&5
12037 +echo "${ECHO_T}yes" >&6; }
12038 else
12039 - echo "$as_me:$LINENO: result: no" >&5
12040 -echo "${ECHO_T}no" >&6
12041 + { echo "$as_me:$LINENO: result: no" >&5
12042 +echo "${ECHO_T}no" >&6; }
12046 - echo "$as_me:$LINENO: result: no" >&5
12047 -echo "${ECHO_T}no" >&6
12048 + { echo "$as_me:$LINENO: result: no" >&5
12049 +echo "${ECHO_T}no" >&6; }
12051 esac
12053 @@ -15639,7 +16298,6 @@
12054 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
12058 # Source file extension for Java test sources.
12059 ac_ext=java
12061 @@ -15678,8 +16336,8 @@
12062 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
12065 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12066 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12067 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12068 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
12069 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 else
12072 @@ -15696,11 +16354,11 @@
12073 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12075 -e 's:$: $lt_compiler_flag:'`
12076 - (eval echo "\"\$as_me:15699: $lt_compile\"" >&5)
12077 + (eval echo "\"\$as_me:16357: $lt_compile\"" >&5)
12078 (eval "$lt_compile" 2>conftest.err)
12079 ac_status=$?
12080 cat conftest.err >&5
12081 - echo "$as_me:15703: \$? = $ac_status" >&5
12082 + echo "$as_me:16361: \$? = $ac_status" >&5
12083 if (exit $ac_status) && test -s "$ac_outfile"; then
12084 # The compiler can only warn and ignore the option if not recognized
12085 # So say no if there are warnings
12086 @@ -15711,8 +16369,8 @@
12087 $rm conftest*
12090 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12091 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12092 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12093 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12095 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12096 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
12097 @@ -15726,8 +16384,8 @@
12098 lt_prog_compiler_pic_GCJ=
12099 lt_prog_compiler_static_GCJ=
12101 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12102 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12103 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12104 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12106 if test "$GCC" = yes; then
12107 lt_prog_compiler_wl_GCJ='-Wl,'
12108 @@ -15903,16 +16561,16 @@
12109 esac
12112 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
12113 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
12114 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
12115 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
12118 # Check to make sure the PIC flag actually works.
12120 if test -n "$lt_prog_compiler_pic_GCJ"; then
12122 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
12123 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
12124 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
12125 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
12126 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else
12129 @@ -15929,11 +16587,11 @@
12130 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12131 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12132 -e 's:$: $lt_compiler_flag:'`
12133 - (eval echo "\"\$as_me:15932: $lt_compile\"" >&5)
12134 + (eval echo "\"\$as_me:16590: $lt_compile\"" >&5)
12135 (eval "$lt_compile" 2>conftest.err)
12136 ac_status=$?
12137 cat conftest.err >&5
12138 - echo "$as_me:15936: \$? = $ac_status" >&5
12139 + echo "$as_me:16594: \$? = $ac_status" >&5
12140 if (exit $ac_status) && test -s "$ac_outfile"; then
12141 # The compiler can only warn and ignore the option if not recognized
12142 # So say no if there are warnings
12143 @@ -15944,8 +16602,8 @@
12144 $rm conftest*
12147 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
12148 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
12149 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
12150 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
12152 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
12153 case $lt_prog_compiler_pic_GCJ in
12154 @@ -15968,8 +16626,8 @@
12156 esac
12158 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12159 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12160 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12161 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12162 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12165 @@ -15989,11 +16647,11 @@
12166 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12168 -e 's:$: $lt_compiler_flag:'`
12169 - (eval echo "\"\$as_me:15992: $lt_compile\"" >&5)
12170 + (eval echo "\"\$as_me:16650: $lt_compile\"" >&5)
12171 (eval "$lt_compile" 2>out/conftest.err)
12172 ac_status=$?
12173 cat out/conftest.err >&5
12174 - echo "$as_me:15996: \$? = $ac_status" >&5
12175 + echo "$as_me:16654: \$? = $ac_status" >&5
12176 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12177 then
12178 # The compiler can only warn and ignore the option if not recognized
12179 @@ -16013,23 +16671,23 @@
12180 $rm conftest*
12183 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
12184 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
12185 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
12186 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
12189 hard_links="nottested"
12190 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
12191 # do not overwrite the value of need_locks provided by the user
12192 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12193 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12194 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12195 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12196 hard_links=yes
12197 $rm conftest*
12198 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12199 touch conftest.a
12200 ln conftest.a conftest.b 2>&5 || hard_links=no
12201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12202 - echo "$as_me:$LINENO: result: $hard_links" >&5
12203 -echo "${ECHO_T}$hard_links" >&6
12204 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12205 +echo "${ECHO_T}$hard_links" >&6; }
12206 if test "$hard_links" = no; then
12207 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12208 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12209 @@ -16039,8 +16697,8 @@
12210 need_locks=no
12213 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12214 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12215 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12216 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12218 runpath_var=
12219 allow_undefined_flag_GCJ=
12220 @@ -16372,27 +17030,23 @@
12222 _ACEOF
12223 rm -f conftest.$ac_objext conftest$ac_exeext
12224 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12225 - (eval $ac_link) 2>conftest.er1
12226 +if { (ac_try="$ac_link"
12227 +case "(($ac_try" in
12228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12229 + *) ac_try_echo=$ac_try;;
12230 +esac
12231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12232 + (eval "$ac_link") 2>conftest.er1
12233 ac_status=$?
12234 grep -v '^ *+' conftest.er1 >conftest.err
12235 rm -f conftest.er1
12236 cat conftest.err >&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 - (exit $ac_status); } &&
12239 - { ac_try='test -z "$ac_c_werror_flag"
12240 - || test ! -s conftest.err'
12241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242 - (eval $ac_try) 2>&5
12243 - ac_status=$?
12244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 - (exit $ac_status); }; } &&
12246 - { ac_try='test -s conftest$ac_exeext'
12247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 - (eval $ac_try) 2>&5
12249 - ac_status=$?
12250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 - (exit $ac_status); }; }; then
12252 + (exit $ac_status); } && {
12253 + test -z "$ac_c_werror_flag" ||
12254 + test ! -s conftest.err
12255 + } && test -s conftest$ac_exeext &&
12256 + $as_test_x conftest$ac_exeext; then
12258 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12260 @@ -16403,8 +17057,10 @@
12261 echo "$as_me: failed program was:" >&5
12262 sed 's/^/| /' conftest.$ac_ext >&5
12266 -rm -f conftest.err conftest.$ac_objext \
12268 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12269 conftest$ac_exeext conftest.$ac_ext
12270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12272 @@ -16433,27 +17089,23 @@
12274 _ACEOF
12275 rm -f conftest.$ac_objext conftest$ac_exeext
12276 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12277 - (eval $ac_link) 2>conftest.er1
12278 +if { (ac_try="$ac_link"
12279 +case "(($ac_try" in
12280 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12281 + *) ac_try_echo=$ac_try;;
12282 +esac
12283 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12284 + (eval "$ac_link") 2>conftest.er1
12285 ac_status=$?
12286 grep -v '^ *+' conftest.er1 >conftest.err
12287 rm -f conftest.er1
12288 cat conftest.err >&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 - (exit $ac_status); } &&
12291 - { ac_try='test -z "$ac_c_werror_flag"
12292 - || test ! -s conftest.err'
12293 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294 - (eval $ac_try) 2>&5
12295 - ac_status=$?
12296 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 - (exit $ac_status); }; } &&
12298 - { ac_try='test -s conftest$ac_exeext'
12299 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 - (eval $ac_try) 2>&5
12301 - ac_status=$?
12302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 - (exit $ac_status); }; }; then
12304 + (exit $ac_status); } && {
12305 + test -z "$ac_c_werror_flag" ||
12306 + test ! -s conftest.err
12307 + } && test -s conftest$ac_exeext &&
12308 + $as_test_x conftest$ac_exeext; then
12310 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12312 @@ -16464,8 +17116,10 @@
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.$ac_ext >&5
12318 -rm -f conftest.err conftest.$ac_objext \
12320 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12321 conftest$ac_exeext conftest.$ac_ext
12322 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12324 @@ -16887,8 +17541,8 @@
12325 esac
12328 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
12329 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
12330 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
12331 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
12332 test "$ld_shlibs_GCJ" = no && can_build_shared=no
12334 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12335 @@ -16913,8 +17567,8 @@
12336 # Test whether the compiler implicitly links with -lc since on some
12337 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12338 # to ld, don't add -lc before -lgcc.
12339 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12340 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12341 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12342 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12343 $rm conftest*
12344 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12346 @@ -16950,16 +17604,16 @@
12347 cat conftest.err 1>&5
12349 $rm conftest*
12350 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
12351 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
12352 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
12353 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
12355 esac
12358 esac
12360 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12361 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12362 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12363 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12364 library_names_spec=
12365 libname_spec='lib$name'
12366 soname_spec=
12367 @@ -17498,12 +18152,12 @@
12368 dynamic_linker=no
12370 esac
12371 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12372 -echo "${ECHO_T}$dynamic_linker" >&6
12373 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12374 +echo "${ECHO_T}$dynamic_linker" >&6; }
12375 test "$dynamic_linker" = no && can_build_shared=no
12377 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12378 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12379 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12380 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12381 hardcode_action_GCJ=
12382 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
12383 test -n "$runpath_var GCJ" || \
12384 @@ -17527,8 +18181,8 @@
12385 # directories.
12386 hardcode_action_GCJ=unsupported
12388 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
12389 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
12390 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
12391 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
12393 if test "$hardcode_action_GCJ" = relink; then
12394 # Fast installation is not supported
12395 @@ -17541,29 +18195,29 @@
12397 striplib=
12398 old_striplib=
12399 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12400 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12401 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12402 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12403 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12404 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12405 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12406 - echo "$as_me:$LINENO: result: yes" >&5
12407 -echo "${ECHO_T}yes" >&6
12408 + { echo "$as_me:$LINENO: result: yes" >&5
12409 +echo "${ECHO_T}yes" >&6; }
12410 else
12411 # FIXME - insert some real tests, host_os isn't really good enough
12412 case $host_os in
12413 darwin*)
12414 if test -n "$STRIP" ; then
12415 striplib="$STRIP -x"
12416 - echo "$as_me:$LINENO: result: yes" >&5
12417 -echo "${ECHO_T}yes" >&6
12418 + { echo "$as_me:$LINENO: result: yes" >&5
12419 +echo "${ECHO_T}yes" >&6; }
12420 else
12421 - echo "$as_me:$LINENO: result: no" >&5
12422 -echo "${ECHO_T}no" >&6
12423 + { echo "$as_me:$LINENO: result: no" >&5
12424 +echo "${ECHO_T}no" >&6; }
12428 - echo "$as_me:$LINENO: result: no" >&5
12429 -echo "${ECHO_T}no" >&6
12430 + { echo "$as_me:$LINENO: result: no" >&5
12431 +echo "${ECHO_T}no" >&6; }
12433 esac
12435 @@ -17595,8 +18249,8 @@
12437 darwin*)
12438 # if libdl is installed we need to link against it
12439 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12440 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12441 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12442 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12443 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446 @@ -17609,56 +18263,53 @@
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12450 -/* Override any gcc2 internal prototype to avoid an error. */
12451 +/* Override any GCC internal prototype to avoid an error.
12452 + Use char because int might match the return type of a GCC
12453 + builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 -/* We use char because int might match the return type of a gcc2
12458 - builtin and then its argument prototype would still apply. */
12459 char dlopen ();
12461 main ()
12463 -dlopen ();
12464 +return dlopen ();
12466 return 0;
12468 _ACEOF
12469 rm -f conftest.$ac_objext conftest$ac_exeext
12470 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471 - (eval $ac_link) 2>conftest.er1
12472 +if { (ac_try="$ac_link"
12473 +case "(($ac_try" in
12474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12475 + *) ac_try_echo=$ac_try;;
12476 +esac
12477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12478 + (eval "$ac_link") 2>conftest.er1
12479 ac_status=$?
12480 grep -v '^ *+' conftest.er1 >conftest.err
12481 rm -f conftest.er1
12482 cat conftest.err >&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 - (exit $ac_status); } &&
12485 - { ac_try='test -z "$ac_c_werror_flag"
12486 - || test ! -s conftest.err'
12487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 - (eval $ac_try) 2>&5
12489 - ac_status=$?
12490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 - (exit $ac_status); }; } &&
12492 - { ac_try='test -s conftest$ac_exeext'
12493 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 - (eval $ac_try) 2>&5
12495 - ac_status=$?
12496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 - (exit $ac_status); }; }; then
12498 + (exit $ac_status); } && {
12499 + test -z "$ac_c_werror_flag" ||
12500 + test ! -s conftest.err
12501 + } && test -s conftest$ac_exeext &&
12502 + $as_test_x conftest$ac_exeext; then
12503 ac_cv_lib_dl_dlopen=yes
12504 else
12505 echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.$ac_ext >&5
12508 -ac_cv_lib_dl_dlopen=no
12509 + ac_cv_lib_dl_dlopen=no
12511 -rm -f conftest.err conftest.$ac_objext \
12513 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_lib_save_LIBS
12517 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12518 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12519 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12520 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12521 if test $ac_cv_lib_dl_dlopen = yes; then
12522 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12523 else
12524 @@ -17672,8 +18323,8 @@
12528 - echo "$as_me:$LINENO: checking for shl_load" >&5
12529 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12530 + { echo "$as_me:$LINENO: checking for shl_load" >&5
12531 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12532 if test "${ac_cv_func_shl_load+set}" = set; then
12533 echo $ECHO_N "(cached) $ECHO_C" >&6
12534 else
12535 @@ -17700,73 +18351,64 @@
12537 #undef shl_load
12539 -/* Override any gcc2 internal prototype to avoid an error. */
12540 +/* Override any GCC internal prototype to avoid an error.
12541 + Use char because int might match the return type of a GCC
12542 + builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12546 #endif
12547 -/* We use char because int might match the return type of a gcc2
12548 - builtin and then its argument prototype would still apply. */
12549 char shl_load ();
12550 /* The GNU C library defines this for functions which it implements
12551 to always fail with ENOSYS. Some functions are actually named
12552 something starting with __ and the normal name is an alias. */
12553 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
12554 +#if defined __stub_shl_load || defined __stub___shl_load
12555 choke me
12556 -#else
12557 -char (*f) () = shl_load;
12558 -#endif
12559 -#ifdef __cplusplus
12561 #endif
12564 main ()
12566 -return f != shl_load;
12567 +return shl_load ();
12569 return 0;
12571 _ACEOF
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574 - (eval $ac_link) 2>conftest.er1
12575 +if { (ac_try="$ac_link"
12576 +case "(($ac_try" in
12577 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12578 + *) ac_try_echo=$ac_try;;
12579 +esac
12580 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 + (eval "$ac_link") 2>conftest.er1
12582 ac_status=$?
12583 grep -v '^ *+' conftest.er1 >conftest.err
12584 rm -f conftest.er1
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 - (exit $ac_status); } &&
12588 - { ac_try='test -z "$ac_c_werror_flag"
12589 - || test ! -s conftest.err'
12590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 - (eval $ac_try) 2>&5
12592 - ac_status=$?
12593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 - (exit $ac_status); }; } &&
12595 - { ac_try='test -s conftest$ac_exeext'
12596 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 - (eval $ac_try) 2>&5
12598 - ac_status=$?
12599 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 - (exit $ac_status); }; }; then
12601 + (exit $ac_status); } && {
12602 + test -z "$ac_c_werror_flag" ||
12603 + test ! -s conftest.err
12604 + } && test -s conftest$ac_exeext &&
12605 + $as_test_x conftest$ac_exeext; then
12606 ac_cv_func_shl_load=yes
12607 else
12608 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.$ac_ext >&5
12611 -ac_cv_func_shl_load=no
12612 + ac_cv_func_shl_load=no
12614 -rm -f conftest.err conftest.$ac_objext \
12616 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12617 conftest$ac_exeext conftest.$ac_ext
12619 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12620 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12621 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12622 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12623 if test $ac_cv_func_shl_load = yes; then
12624 lt_cv_dlopen="shl_load"
12625 else
12626 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12627 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12628 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12629 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12630 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 @@ -17779,61 +18421,58 @@
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12637 -/* Override any gcc2 internal prototype to avoid an error. */
12638 +/* Override any GCC internal prototype to avoid an error.
12639 + Use char because int might match the return type of a GCC
12640 + builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 -/* We use char because int might match the return type of a gcc2
12645 - builtin and then its argument prototype would still apply. */
12646 char shl_load ();
12648 main ()
12650 -shl_load ();
12651 +return shl_load ();
12653 return 0;
12655 _ACEOF
12656 rm -f conftest.$ac_objext conftest$ac_exeext
12657 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12658 - (eval $ac_link) 2>conftest.er1
12659 +if { (ac_try="$ac_link"
12660 +case "(($ac_try" in
12661 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 + *) ac_try_echo=$ac_try;;
12663 +esac
12664 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 + (eval "$ac_link") 2>conftest.er1
12666 ac_status=$?
12667 grep -v '^ *+' conftest.er1 >conftest.err
12668 rm -f conftest.er1
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 - (exit $ac_status); } &&
12672 - { ac_try='test -z "$ac_c_werror_flag"
12673 - || test ! -s conftest.err'
12674 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 - (eval $ac_try) 2>&5
12676 - ac_status=$?
12677 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 - (exit $ac_status); }; } &&
12679 - { ac_try='test -s conftest$ac_exeext'
12680 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 - (eval $ac_try) 2>&5
12682 - ac_status=$?
12683 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 - (exit $ac_status); }; }; then
12685 + (exit $ac_status); } && {
12686 + test -z "$ac_c_werror_flag" ||
12687 + test ! -s conftest.err
12688 + } && test -s conftest$ac_exeext &&
12689 + $as_test_x conftest$ac_exeext; then
12690 ac_cv_lib_dld_shl_load=yes
12691 else
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.$ac_ext >&5
12695 -ac_cv_lib_dld_shl_load=no
12696 + ac_cv_lib_dld_shl_load=no
12698 -rm -f conftest.err conftest.$ac_objext \
12700 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12705 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12706 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12707 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12708 if test $ac_cv_lib_dld_shl_load = yes; then
12709 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12710 else
12711 - echo "$as_me:$LINENO: checking for dlopen" >&5
12712 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12713 + { echo "$as_me:$LINENO: checking for dlopen" >&5
12714 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12715 if test "${ac_cv_func_dlopen+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 @@ -17860,73 +18499,64 @@
12720 #undef dlopen
12722 -/* Override any gcc2 internal prototype to avoid an error. */
12723 +/* Override any GCC internal prototype to avoid an error.
12724 + Use char because int might match the return type of a GCC
12725 + builtin and then its argument prototype would still apply. */
12726 #ifdef __cplusplus
12727 extern "C"
12729 #endif
12730 -/* We use char because int might match the return type of a gcc2
12731 - builtin and then its argument prototype would still apply. */
12732 char dlopen ();
12733 /* The GNU C library defines this for functions which it implements
12734 to always fail with ENOSYS. Some functions are actually named
12735 something starting with __ and the normal name is an alias. */
12736 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
12737 +#if defined __stub_dlopen || defined __stub___dlopen
12738 choke me
12739 -#else
12740 -char (*f) () = dlopen;
12741 -#endif
12742 -#ifdef __cplusplus
12744 #endif
12747 main ()
12749 -return f != dlopen;
12750 +return dlopen ();
12752 return 0;
12754 _ACEOF
12755 rm -f conftest.$ac_objext conftest$ac_exeext
12756 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12757 - (eval $ac_link) 2>conftest.er1
12758 +if { (ac_try="$ac_link"
12759 +case "(($ac_try" in
12760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12761 + *) ac_try_echo=$ac_try;;
12762 +esac
12763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12764 + (eval "$ac_link") 2>conftest.er1
12765 ac_status=$?
12766 grep -v '^ *+' conftest.er1 >conftest.err
12767 rm -f conftest.er1
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 - (exit $ac_status); } &&
12771 - { ac_try='test -z "$ac_c_werror_flag"
12772 - || test ! -s conftest.err'
12773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 - (eval $ac_try) 2>&5
12775 - ac_status=$?
12776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 - (exit $ac_status); }; } &&
12778 - { ac_try='test -s conftest$ac_exeext'
12779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12780 - (eval $ac_try) 2>&5
12781 - ac_status=$?
12782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 - (exit $ac_status); }; }; then
12784 + (exit $ac_status); } && {
12785 + test -z "$ac_c_werror_flag" ||
12786 + test ! -s conftest.err
12787 + } && test -s conftest$ac_exeext &&
12788 + $as_test_x conftest$ac_exeext; then
12789 ac_cv_func_dlopen=yes
12790 else
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 -ac_cv_func_dlopen=no
12795 + ac_cv_func_dlopen=no
12797 -rm -f conftest.err conftest.$ac_objext \
12799 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12800 conftest$ac_exeext conftest.$ac_ext
12802 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12803 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12804 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12805 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12806 if test $ac_cv_func_dlopen = yes; then
12807 lt_cv_dlopen="dlopen"
12808 else
12809 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12810 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12811 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12812 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12813 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12815 else
12816 @@ -17939,61 +18569,58 @@
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12820 -/* Override any gcc2 internal prototype to avoid an error. */
12821 +/* Override any GCC internal prototype to avoid an error.
12822 + Use char because int might match the return type of a GCC
12823 + builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 -/* We use char because int might match the return type of a gcc2
12828 - builtin and then its argument prototype would still apply. */
12829 char dlopen ();
12831 main ()
12833 -dlopen ();
12834 +return dlopen ();
12836 return 0;
12838 _ACEOF
12839 rm -f conftest.$ac_objext conftest$ac_exeext
12840 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12841 - (eval $ac_link) 2>conftest.er1
12842 +if { (ac_try="$ac_link"
12843 +case "(($ac_try" in
12844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12845 + *) ac_try_echo=$ac_try;;
12846 +esac
12847 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 + (eval "$ac_link") 2>conftest.er1
12849 ac_status=$?
12850 grep -v '^ *+' conftest.er1 >conftest.err
12851 rm -f conftest.er1
12852 cat conftest.err >&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 - (exit $ac_status); } &&
12855 - { ac_try='test -z "$ac_c_werror_flag"
12856 - || test ! -s conftest.err'
12857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 - (eval $ac_try) 2>&5
12859 - ac_status=$?
12860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 - (exit $ac_status); }; } &&
12862 - { ac_try='test -s conftest$ac_exeext'
12863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 - (eval $ac_try) 2>&5
12865 - ac_status=$?
12866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 - (exit $ac_status); }; }; then
12868 + (exit $ac_status); } && {
12869 + test -z "$ac_c_werror_flag" ||
12870 + test ! -s conftest.err
12871 + } && test -s conftest$ac_exeext &&
12872 + $as_test_x conftest$ac_exeext; then
12873 ac_cv_lib_dl_dlopen=yes
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 -ac_cv_lib_dl_dlopen=no
12879 + ac_cv_lib_dl_dlopen=no
12881 -rm -f conftest.err conftest.$ac_objext \
12883 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12888 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12889 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12890 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12891 if test $ac_cv_lib_dl_dlopen = yes; then
12892 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12893 else
12894 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12895 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12896 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12897 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12898 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 @@ -18006,61 +18633,58 @@
12902 cat >>conftest.$ac_ext <<_ACEOF
12903 /* end confdefs.h. */
12905 -/* Override any gcc2 internal prototype to avoid an error. */
12906 +/* Override any GCC internal prototype to avoid an error.
12907 + Use char because int might match the return type of a GCC
12908 + builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 -/* We use char because int might match the return type of a gcc2
12913 - builtin and then its argument prototype would still apply. */
12914 char dlopen ();
12916 main ()
12918 -dlopen ();
12919 +return dlopen ();
12921 return 0;
12923 _ACEOF
12924 rm -f conftest.$ac_objext conftest$ac_exeext
12925 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12926 - (eval $ac_link) 2>conftest.er1
12927 +if { (ac_try="$ac_link"
12928 +case "(($ac_try" in
12929 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12930 + *) ac_try_echo=$ac_try;;
12931 +esac
12932 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12933 + (eval "$ac_link") 2>conftest.er1
12934 ac_status=$?
12935 grep -v '^ *+' conftest.er1 >conftest.err
12936 rm -f conftest.er1
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 - (exit $ac_status); } &&
12940 - { ac_try='test -z "$ac_c_werror_flag"
12941 - || test ! -s conftest.err'
12942 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 - (eval $ac_try) 2>&5
12944 - ac_status=$?
12945 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 - (exit $ac_status); }; } &&
12947 - { ac_try='test -s conftest$ac_exeext'
12948 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 - (eval $ac_try) 2>&5
12950 - ac_status=$?
12951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 - (exit $ac_status); }; }; then
12953 + (exit $ac_status); } && {
12954 + test -z "$ac_c_werror_flag" ||
12955 + test ! -s conftest.err
12956 + } && test -s conftest$ac_exeext &&
12957 + $as_test_x conftest$ac_exeext; then
12958 ac_cv_lib_svld_dlopen=yes
12959 else
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12963 -ac_cv_lib_svld_dlopen=no
12964 + ac_cv_lib_svld_dlopen=no
12966 -rm -f conftest.err conftest.$ac_objext \
12968 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_lib_save_LIBS
12972 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12973 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12974 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12975 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12976 if test $ac_cv_lib_svld_dlopen = yes; then
12977 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12978 else
12979 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12980 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12981 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12982 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12983 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986 @@ -18073,56 +18697,53 @@
12987 cat >>conftest.$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12990 -/* Override any gcc2 internal prototype to avoid an error. */
12991 +/* Override any GCC internal prototype to avoid an error.
12992 + Use char because int might match the return type of a GCC
12993 + builtin and then its argument prototype would still apply. */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 -/* We use char because int might match the return type of a gcc2
12998 - builtin and then its argument prototype would still apply. */
12999 char dld_link ();
13001 main ()
13003 -dld_link ();
13004 +return dld_link ();
13006 return 0;
13008 _ACEOF
13009 rm -f conftest.$ac_objext conftest$ac_exeext
13010 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13011 - (eval $ac_link) 2>conftest.er1
13012 +if { (ac_try="$ac_link"
13013 +case "(($ac_try" in
13014 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13015 + *) ac_try_echo=$ac_try;;
13016 +esac
13017 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13018 + (eval "$ac_link") 2>conftest.er1
13019 ac_status=$?
13020 grep -v '^ *+' conftest.er1 >conftest.err
13021 rm -f conftest.er1
13022 cat conftest.err >&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 - (exit $ac_status); } &&
13025 - { ac_try='test -z "$ac_c_werror_flag"
13026 - || test ! -s conftest.err'
13027 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 - (eval $ac_try) 2>&5
13029 - ac_status=$?
13030 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 - (exit $ac_status); }; } &&
13032 - { ac_try='test -s conftest$ac_exeext'
13033 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 - (eval $ac_try) 2>&5
13035 - ac_status=$?
13036 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 - (exit $ac_status); }; }; then
13038 + (exit $ac_status); } && {
13039 + test -z "$ac_c_werror_flag" ||
13040 + test ! -s conftest.err
13041 + } && test -s conftest$ac_exeext &&
13042 + $as_test_x conftest$ac_exeext; then
13043 ac_cv_lib_dld_dld_link=yes
13044 else
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.$ac_ext >&5
13048 -ac_cv_lib_dld_dld_link=no
13049 + ac_cv_lib_dld_dld_link=no
13051 -rm -f conftest.err conftest.$ac_objext \
13053 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13058 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13059 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13060 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13061 if test $ac_cv_lib_dld_dld_link = yes; then
13062 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13064 @@ -18162,8 +18783,8 @@
13065 save_LIBS="$LIBS"
13066 LIBS="$lt_cv_dlopen_libs $LIBS"
13068 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13069 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
13070 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13071 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13072 if test "${lt_cv_dlopen_self+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 else
13075 @@ -18173,7 +18794,7 @@
13076 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13077 lt_status=$lt_dlunknown
13078 cat > conftest.$ac_ext <<EOF
13079 -#line 18176 "configure"
13080 +#line 18797 "configure"
13081 #include "confdefs.h"
13083 #if HAVE_DLFCN_H
13084 @@ -18255,13 +18876,13 @@
13088 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13089 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13090 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13091 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13093 if test "x$lt_cv_dlopen_self" = xyes; then
13094 LDFLAGS="$LDFLAGS $link_static_flag"
13095 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13096 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13097 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13098 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13099 if test "${lt_cv_dlopen_self_static+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 else
13102 @@ -18271,7 +18892,7 @@
13103 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13104 lt_status=$lt_dlunknown
13105 cat > conftest.$ac_ext <<EOF
13106 -#line 18274 "configure"
13107 +#line 18895 "configure"
13108 #include "confdefs.h"
13110 #if HAVE_DLFCN_H
13111 @@ -18353,8 +18974,8 @@
13115 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13116 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13117 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13118 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13121 CPPFLAGS="$save_CPPFLAGS"
13122 @@ -18790,7 +19411,6 @@
13127 # Source file extension for RC test sources.
13128 ac_ext=rc
13130 @@ -19286,8 +19906,8 @@
13134 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13135 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13136 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13137 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
13138 if test "${ac_cv_c_bigendian+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 else
13141 @@ -19304,7 +19924,8 @@
13143 main ()
13145 -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13146 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
13147 + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
13148 bogus endian macros
13149 #endif
13151 @@ -19313,27 +19934,22 @@
13153 _ACEOF
13154 rm -f conftest.$ac_objext
13155 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13156 - (eval $ac_compile) 2>conftest.er1
13157 +if { (ac_try="$ac_compile"
13158 +case "(($ac_try" in
13159 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 + *) ac_try_echo=$ac_try;;
13161 +esac
13162 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13163 + (eval "$ac_compile") 2>conftest.er1
13164 ac_status=$?
13165 grep -v '^ *+' conftest.er1 >conftest.err
13166 rm -f conftest.er1
13167 cat conftest.err >&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 - (exit $ac_status); } &&
13170 - { ac_try='test -z "$ac_c_werror_flag"
13171 - || test ! -s conftest.err'
13172 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 - (eval $ac_try) 2>&5
13174 - ac_status=$?
13175 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 - (exit $ac_status); }; } &&
13177 - { ac_try='test -s conftest.$ac_objext'
13178 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 - (eval $ac_try) 2>&5
13180 - ac_status=$?
13181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 - (exit $ac_status); }; }; then
13183 + (exit $ac_status); } && {
13184 + test -z "$ac_c_werror_flag" ||
13185 + test ! -s conftest.err
13186 + } && test -s conftest.$ac_objext; then
13187 # It does; now see whether it defined to BIG_ENDIAN or not.
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 @@ -19356,40 +19972,36 @@
13192 _ACEOF
13193 rm -f conftest.$ac_objext
13194 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13195 - (eval $ac_compile) 2>conftest.er1
13196 +if { (ac_try="$ac_compile"
13197 +case "(($ac_try" in
13198 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13199 + *) ac_try_echo=$ac_try;;
13200 +esac
13201 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13202 + (eval "$ac_compile") 2>conftest.er1
13203 ac_status=$?
13204 grep -v '^ *+' conftest.er1 >conftest.err
13205 rm -f conftest.er1
13206 cat conftest.err >&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 - (exit $ac_status); } &&
13209 - { ac_try='test -z "$ac_c_werror_flag"
13210 - || test ! -s conftest.err'
13211 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 - (eval $ac_try) 2>&5
13213 - ac_status=$?
13214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 - (exit $ac_status); }; } &&
13216 - { ac_try='test -s conftest.$ac_objext'
13217 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 - (eval $ac_try) 2>&5
13219 - ac_status=$?
13220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 - (exit $ac_status); }; }; then
13222 + (exit $ac_status); } && {
13223 + test -z "$ac_c_werror_flag" ||
13224 + test ! -s conftest.err
13225 + } && test -s conftest.$ac_objext; then
13226 ac_cv_c_bigendian=yes
13227 else
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.$ac_ext >&5
13231 -ac_cv_c_bigendian=no
13232 + ac_cv_c_bigendian=no
13234 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13236 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 else
13238 echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13241 -# It does not; compile a test program.
13242 + # It does not; compile a test program.
13243 if test "$cross_compiling" = yes; then
13244 # try to guess the endianness by grepping values into an object file
13245 ac_cv_c_bigendian=unknown
13246 @@ -19399,11 +20011,11 @@
13247 cat confdefs.h >>conftest.$ac_ext
13248 cat >>conftest.$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 -short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13251 -short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13252 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13253 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13254 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
13255 -short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13256 -short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13257 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13258 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13259 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
13261 main ()
13262 @@ -19414,27 +20026,22 @@
13264 _ACEOF
13265 rm -f conftest.$ac_objext
13266 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13267 - (eval $ac_compile) 2>conftest.er1
13268 +if { (ac_try="$ac_compile"
13269 +case "(($ac_try" in
13270 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13271 + *) ac_try_echo=$ac_try;;
13272 +esac
13273 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13274 + (eval "$ac_compile") 2>conftest.er1
13275 ac_status=$?
13276 grep -v '^ *+' conftest.er1 >conftest.err
13277 rm -f conftest.er1
13278 cat conftest.err >&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 - (exit $ac_status); } &&
13281 - { ac_try='test -z "$ac_c_werror_flag"
13282 - || test ! -s conftest.err'
13283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 - (eval $ac_try) 2>&5
13285 - ac_status=$?
13286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 - (exit $ac_status); }; } &&
13288 - { ac_try='test -s conftest.$ac_objext'
13289 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 - (eval $ac_try) 2>&5
13291 - ac_status=$?
13292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 - (exit $ac_status); }; }; then
13294 + (exit $ac_status); } && {
13295 + test -z "$ac_c_werror_flag" ||
13296 + test ! -s conftest.err
13297 + } && test -s conftest.$ac_objext; then
13298 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
13299 ac_cv_c_bigendian=yes
13301 @@ -19450,8 +20057,10 @@
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13307 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13309 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13310 else
13311 cat >conftest.$ac_ext <<_ACEOF
13312 /* confdefs.h. */
13313 @@ -19459,27 +20068,41 @@
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317 +$ac_includes_default
13319 main ()
13322 /* Are we little or big endian? From Harbison&Steele. */
13323 union
13325 - long l;
13326 - char c[sizeof (long)];
13327 + long int l;
13328 + char c[sizeof (long int)];
13329 } u;
13330 u.l = 1;
13331 - exit (u.c[sizeof (long) - 1] == 1);
13332 + return u.c[sizeof (long int) - 1] == 1;
13335 + return 0;
13337 _ACEOF
13338 rm -f conftest$ac_exeext
13339 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13340 - (eval $ac_link) 2>&5
13341 +if { (ac_try="$ac_link"
13342 +case "(($ac_try" in
13343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344 + *) ac_try_echo=$ac_try;;
13345 +esac
13346 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13347 + (eval "$ac_link") 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13351 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 - (eval $ac_try) 2>&5
13353 + { (case "(($ac_try" in
13354 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355 + *) ac_try_echo=$ac_try;;
13356 +esac
13357 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 + (eval "$ac_try") 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 @@ -19492,13 +20115,16 @@
13363 ( exit $ac_status )
13364 ac_cv_c_bigendian=yes
13366 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13367 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13372 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13374 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13377 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13378 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13379 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
13380 case $ac_cv_c_bigendian in
13381 yes)
13383 @@ -19527,23 +20153,25 @@
13388 for ac_header in sys/ioctl.h linux/soundcard.h machine/soundcard.h \
13389 -soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
13390 +sys/soundcard.h soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
13391 audio.h dmedia/audio.h
13393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13394 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13395 - echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13399 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
13400 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13401 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13405 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13406 +ac_res=`eval echo '${'$as_ac_Header'}'`
13407 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13408 +echo "${ECHO_T}$ac_res" >&6; }
13409 else
13410 # Is the header compilable?
13411 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
13412 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13413 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13414 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13415 cat >conftest.$ac_ext <<_ACEOF
13416 /* confdefs.h. */
13417 _ACEOF
13418 @@ -19554,41 +20182,37 @@
13419 #include <$ac_header>
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13423 - (eval $ac_compile) 2>conftest.er1
13424 +if { (ac_try="$ac_compile"
13425 +case "(($ac_try" in
13426 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 + *) ac_try_echo=$ac_try;;
13428 +esac
13429 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 + (eval "$ac_compile") 2>conftest.er1
13431 ac_status=$?
13432 grep -v '^ *+' conftest.er1 >conftest.err
13433 rm -f conftest.er1
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 - (exit $ac_status); } &&
13437 - { ac_try='test -z "$ac_c_werror_flag"
13438 - || test ! -s conftest.err'
13439 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 - (eval $ac_try) 2>&5
13441 - ac_status=$?
13442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 - (exit $ac_status); }; } &&
13444 - { ac_try='test -s conftest.$ac_objext'
13445 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 - (eval $ac_try) 2>&5
13447 - ac_status=$?
13448 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 - (exit $ac_status); }; }; then
13450 + (exit $ac_status); } && {
13451 + test -z "$ac_c_werror_flag" ||
13452 + test ! -s conftest.err
13453 + } && test -s conftest.$ac_objext; then
13454 ac_header_compiler=yes
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13459 -ac_header_compiler=no
13460 + ac_header_compiler=no
13462 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13463 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13464 -echo "${ECHO_T}$ac_header_compiler" >&6
13466 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13467 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13468 +echo "${ECHO_T}$ac_header_compiler" >&6; }
13470 # Is the header present?
13471 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
13472 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13473 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13474 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13475 cat >conftest.$ac_ext <<_ACEOF
13476 /* confdefs.h. */
13477 _ACEOF
13478 @@ -19597,24 +20221,22 @@
13479 /* end confdefs.h. */
13480 #include <$ac_header>
13481 _ACEOF
13482 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13483 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13484 +if { (ac_try="$ac_cpp conftest.$ac_ext"
13485 +case "(($ac_try" in
13486 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13487 + *) ac_try_echo=$ac_try;;
13488 +esac
13489 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13490 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13491 ac_status=$?
13492 grep -v '^ *+' conftest.er1 >conftest.err
13493 rm -f conftest.er1
13494 cat conftest.err >&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 - (exit $ac_status); } >/dev/null; then
13497 - if test -s conftest.err; then
13498 - ac_cpp_err=$ac_c_preproc_warn_flag
13499 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13500 - else
13501 - ac_cpp_err=
13502 - fi
13503 -else
13504 - ac_cpp_err=yes
13506 -if test -z "$ac_cpp_err"; then
13507 + (exit $ac_status); } >/dev/null && {
13508 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13509 + test ! -s conftest.err
13510 + }; then
13511 ac_header_preproc=yes
13512 else
13513 echo "$as_me: failed program was:" >&5
13514 @@ -19622,9 +20244,10 @@
13516 ac_header_preproc=no
13519 rm -f conftest.err conftest.$ac_ext
13520 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13521 -echo "${ECHO_T}$ac_header_preproc" >&6
13522 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13523 +echo "${ECHO_T}$ac_header_preproc" >&6; }
13525 # So? What about this header?
13526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13527 @@ -19648,25 +20271,19 @@
13528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13532 - cat <<\_ASBOX
13533 -## ------------------------------------------ ##
13534 -## Report this to the AC_PACKAGE_NAME lists. ##
13535 -## ------------------------------------------ ##
13536 -_ASBOX
13537 - ) |
13538 - sed "s/^/$as_me: WARNING: /" >&2
13541 esac
13542 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13543 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13544 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13545 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13546 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13547 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 else
13550 eval "$as_ac_Header=\$ac_header_preproc"
13552 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13553 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13554 +ac_res=`eval echo '${'$as_ac_Header'}'`
13555 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13556 +echo "${ECHO_T}$ac_res" >&6; }
13559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13560 @@ -19682,8 +20299,8 @@
13564 -echo "$as_me:$LINENO: checking which audio subsystem is available" >&5
13565 -echo $ECHO_N "checking which audio subsystem is available... $ECHO_C" >&6
13566 +{ echo "$as_me:$LINENO: checking which audio subsystem is available" >&5
13567 +echo $ECHO_N "checking which audio subsystem is available... $ECHO_C" >&6; }
13568 audiodrv_libadd=""
13569 case "$host" in
13570 *cygwin*) cat >>confdefs.h <<\_ACEOF
13571 @@ -19691,8 +20308,8 @@
13572 _ACEOF
13574 audiodrv_libadd="./audio/mmsystem/libmmsystem.a"
13575 - echo "$as_me:$LINENO: result: mmsystem" >&5
13576 -echo "${ECHO_T}mmsystem" >&6
13577 + { echo "$as_me:$LINENO: result: mmsystem" >&5
13578 +echo "${ECHO_T}mmsystem" >&6; }
13579 AUDIO_LDADD=-lwinmm
13582 @@ -19701,26 +20318,26 @@
13583 _ACEOF
13585 audiodrv_libadd="./audio/oss/liboss.a"
13586 - echo "$as_me:$LINENO: result: oss" >&5
13587 -echo "${ECHO_T}oss" >&6
13588 + { echo "$as_me:$LINENO: result: oss" >&5
13589 +echo "${ECHO_T}oss" >&6; }
13591 *hpux*) cat >>confdefs.h <<\_ACEOF
13592 #define HAVE_HPUX 1
13593 _ACEOF
13595 audiodrv_libadd="./audio/hpux/libhpux.a"
13596 - echo "$as_me:$LINENO: result: hpux" >&5
13597 -echo "${ECHO_T}hpux" >&6
13598 + { echo "$as_me:$LINENO: result: hpux" >&5
13599 +echo "${ECHO_T}hpux" >&6; }
13601 *irix*) cat >>confdefs.h <<\_ACEOF
13602 #define HAVE_IRIX 1
13603 _ACEOF
13605 audiodrv_libadd="./audio/irix/libirix.a"
13606 - echo "$as_me:$LINENO: result: irix" >&5
13607 -echo "${ECHO_T}irix" >&6
13608 - echo "$as_me:$LINENO: checking for main in -laudio" >&5
13609 -echo $ECHO_N "checking for main in -laudio... $ECHO_C" >&6
13610 + { echo "$as_me:$LINENO: result: irix" >&5
13611 +echo "${ECHO_T}irix" >&6; }
13612 + { echo "$as_me:$LINENO: checking for main in -laudio" >&5
13613 +echo $ECHO_N "checking for main in -laudio... $ECHO_C" >&6; }
13614 if test "${ac_cv_lib_audio_main+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13617 @@ -19737,46 +20354,43 @@
13619 main ()
13621 -main ();
13622 +return main ();
13624 return 0;
13626 _ACEOF
13627 rm -f conftest.$ac_objext conftest$ac_exeext
13628 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13629 - (eval $ac_link) 2>conftest.er1
13630 +if { (ac_try="$ac_link"
13631 +case "(($ac_try" in
13632 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13633 + *) ac_try_echo=$ac_try;;
13634 +esac
13635 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13636 + (eval "$ac_link") 2>conftest.er1
13637 ac_status=$?
13638 grep -v '^ *+' conftest.er1 >conftest.err
13639 rm -f conftest.er1
13640 cat conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 - (exit $ac_status); } &&
13643 - { ac_try='test -z "$ac_c_werror_flag"
13644 - || test ! -s conftest.err'
13645 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 - (eval $ac_try) 2>&5
13647 - ac_status=$?
13648 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 - (exit $ac_status); }; } &&
13650 - { ac_try='test -s conftest$ac_exeext'
13651 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 - (eval $ac_try) 2>&5
13653 - ac_status=$?
13654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 - (exit $ac_status); }; }; then
13656 + (exit $ac_status); } && {
13657 + test -z "$ac_c_werror_flag" ||
13658 + test ! -s conftest.err
13659 + } && test -s conftest$ac_exeext &&
13660 + $as_test_x conftest$ac_exeext; then
13661 ac_cv_lib_audio_main=yes
13662 else
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 -ac_cv_lib_audio_main=no
13667 + ac_cv_lib_audio_main=no
13669 -rm -f conftest.err conftest.$ac_objext \
13671 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_lib_save_LIBS
13675 -echo "$as_me:$LINENO: result: $ac_cv_lib_audio_main" >&5
13676 -echo "${ECHO_T}$ac_cv_lib_audio_main" >&6
13677 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_audio_main" >&5
13678 +echo "${ECHO_T}$ac_cv_lib_audio_main" >&6; }
13679 if test $ac_cv_lib_audio_main = yes; then
13680 AUDIO_LDADD=-laudio
13682 @@ -19787,18 +20401,18 @@
13683 _ACEOF
13685 audiodrv_libadd="./audio/oss/liboss.a"
13686 - echo "$as_me:$LINENO: result: oss" >&5
13687 -echo "${ECHO_T}oss" >&6
13688 + { echo "$as_me:$LINENO: result: oss" >&5
13689 +echo "${ECHO_T}oss" >&6; }
13691 *netbsd*) cat >>confdefs.h <<\_ACEOF
13692 #define HAVE_OSS 1
13693 _ACEOF
13695 audiodrv_libadd="./audio/oss/liboss.a"
13696 - echo "$as_me:$LINENO: result: oss" >&5
13697 -echo "${ECHO_T}oss" >&6
13698 - echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
13699 -echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6
13700 + { echo "$as_me:$LINENO: result: oss" >&5
13701 +echo "${ECHO_T}oss" >&6; }
13702 + { echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
13703 +echo $ECHO_N "checking for main in -lossaudio... $ECHO_C" >&6; }
13704 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707 @@ -19815,46 +20429,43 @@
13709 main ()
13711 -main ();
13712 +return main ();
13714 return 0;
13716 _ACEOF
13717 rm -f conftest.$ac_objext conftest$ac_exeext
13718 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13719 - (eval $ac_link) 2>conftest.er1
13720 +if { (ac_try="$ac_link"
13721 +case "(($ac_try" in
13722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13723 + *) ac_try_echo=$ac_try;;
13724 +esac
13725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13726 + (eval "$ac_link") 2>conftest.er1
13727 ac_status=$?
13728 grep -v '^ *+' conftest.er1 >conftest.err
13729 rm -f conftest.er1
13730 cat conftest.err >&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 - (exit $ac_status); } &&
13733 - { ac_try='test -z "$ac_c_werror_flag"
13734 - || test ! -s conftest.err'
13735 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 - (eval $ac_try) 2>&5
13737 - ac_status=$?
13738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 - (exit $ac_status); }; } &&
13740 - { ac_try='test -s conftest$ac_exeext'
13741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 - (eval $ac_try) 2>&5
13743 - ac_status=$?
13744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 - (exit $ac_status); }; }; then
13746 + (exit $ac_status); } && {
13747 + test -z "$ac_c_werror_flag" ||
13748 + test ! -s conftest.err
13749 + } && test -s conftest$ac_exeext &&
13750 + $as_test_x conftest$ac_exeext; then
13751 ac_cv_lib_ossaudio_main=yes
13752 else
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 -ac_cv_lib_ossaudio_main=no
13757 + ac_cv_lib_ossaudio_main=no
13759 -rm -f conftest.err conftest.$ac_objext \
13761 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_lib_save_LIBS
13765 -echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
13766 -echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6
13767 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
13768 +echo "${ECHO_T}$ac_cv_lib_ossaudio_main" >&6; }
13769 if test $ac_cv_lib_ossaudio_main = yes; then
13770 AUDIO_LDADD=-lossaudio
13772 @@ -19865,10 +20476,10 @@
13773 _ACEOF
13775 audiodrv_libadd="./audio/alsa/libalsa.a"
13776 - echo "$as_me:$LINENO: result: alsa" >&5
13777 -echo "${ECHO_T}alsa" >&6
13778 - echo "$as_me:$LINENO: checking for main in -lasound" >&5
13779 -echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
13780 + { echo "$as_me:$LINENO: result: alsa" >&5
13781 +echo "${ECHO_T}alsa" >&6; }
13782 + { echo "$as_me:$LINENO: checking for main in -lasound" >&5
13783 +echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6; }
13784 if test "${ac_cv_lib_asound_main+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13787 @@ -19885,46 +20496,43 @@
13789 main ()
13791 -main ();
13792 +return main ();
13794 return 0;
13796 _ACEOF
13797 rm -f conftest.$ac_objext conftest$ac_exeext
13798 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13799 - (eval $ac_link) 2>conftest.er1
13800 +if { (ac_try="$ac_link"
13801 +case "(($ac_try" in
13802 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13803 + *) ac_try_echo=$ac_try;;
13804 +esac
13805 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13806 + (eval "$ac_link") 2>conftest.er1
13807 ac_status=$?
13808 grep -v '^ *+' conftest.er1 >conftest.err
13809 rm -f conftest.er1
13810 cat conftest.err >&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 - (exit $ac_status); } &&
13813 - { ac_try='test -z "$ac_c_werror_flag"
13814 - || test ! -s conftest.err'
13815 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 - (eval $ac_try) 2>&5
13817 - ac_status=$?
13818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 - (exit $ac_status); }; } &&
13820 - { ac_try='test -s conftest$ac_exeext'
13821 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 - (eval $ac_try) 2>&5
13823 - ac_status=$?
13824 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 - (exit $ac_status); }; }; then
13826 + (exit $ac_status); } && {
13827 + test -z "$ac_c_werror_flag" ||
13828 + test ! -s conftest.err
13829 + } && test -s conftest$ac_exeext &&
13830 + $as_test_x conftest$ac_exeext; then
13831 ac_cv_lib_asound_main=yes
13832 else
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.$ac_ext >&5
13836 -ac_cv_lib_asound_main=no
13837 + ac_cv_lib_asound_main=no
13839 -rm -f conftest.err conftest.$ac_objext \
13841 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_lib_save_LIBS
13845 -echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
13846 -echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
13847 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
13848 +echo "${ECHO_T}$ac_cv_lib_asound_main" >&6; }
13849 if test $ac_cv_lib_asound_main = yes; then
13850 AUDIO_LDADD=-lasound
13852 @@ -19934,38 +20542,38 @@
13853 #define HAVE_SGI 1
13854 _ACEOF
13856 - echo "$as_me:$LINENO: result: sgi" >&5
13857 -echo "${ECHO_T}sgi" >&6
13858 + { echo "$as_me:$LINENO: result: sgi" >&5
13859 +echo "${ECHO_T}sgi" >&6; }
13861 *solaris*) cat >>confdefs.h <<\_ACEOF
13862 #define HAVE_SUNOS 1
13863 _ACEOF
13865 audiodrv_libadd="./audio/sunos/libsunos.a"
13866 - echo "$as_me:$LINENO: result: sparc" >&5
13867 -echo "${ECHO_T}sparc" >&6
13868 + { echo "$as_me:$LINENO: result: sparc" >&5
13869 +echo "${ECHO_T}sparc" >&6; }
13871 *sunos*) cat >>confdefs.h <<\_ACEOF
13872 #define HAVE_SUNOS 1
13873 _ACEOF
13875 audiodrv_libadd="./audio/sunos/libsunos.a"
13876 - echo "$as_me:$LINENO: result: sparc" >&5
13877 -echo "${ECHO_T}sparc" >&6
13878 + { echo "$as_me:$LINENO: result: sparc" >&5
13879 +echo "${ECHO_T}sparc" >&6; }
13881 *) cat >>confdefs.h <<\_ACEOF
13882 #define HAVE_WAV_ONLY 1
13883 _ACEOF
13885 - echo "$as_me:$LINENO: result: wav only" >&5
13886 -echo "${ECHO_T}wav only" >&6
13887 + { echo "$as_me:$LINENO: result: wav only" >&5
13888 +echo "${ECHO_T}wav only" >&6; }
13890 esac
13892 AUDIO_DRV="$audiodrv_libadd"
13895 -ac_ext=cc
13896 +ac_ext=cpp
13897 ac_cpp='$CXXCPP $CPPFLAGS'
13898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13900 @@ -19973,8 +20581,8 @@
13904 - echo "$as_me:$LINENO: checking whether exceptions are available" >&5
13905 -echo $ECHO_N "checking whether exceptions are available... $ECHO_C" >&6
13906 + { echo "$as_me:$LINENO: checking whether exceptions are available" >&5
13907 +echo $ECHO_N "checking whether exceptions are available... $ECHO_C" >&6; }
13908 if test "${test_cv_have_exceptions+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911 @@ -19995,41 +20603,37 @@
13913 _ACEOF
13914 rm -f conftest.$ac_objext
13915 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13916 - (eval $ac_compile) 2>conftest.er1
13917 +if { (ac_try="$ac_compile"
13918 +case "(($ac_try" in
13919 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13920 + *) ac_try_echo=$ac_try;;
13921 +esac
13922 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13923 + (eval "$ac_compile") 2>conftest.er1
13924 ac_status=$?
13925 grep -v '^ *+' conftest.er1 >conftest.err
13926 rm -f conftest.er1
13927 cat conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 - (exit $ac_status); } &&
13930 - { ac_try='test -z "$ac_cxx_werror_flag"
13931 - || test ! -s conftest.err'
13932 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 - (eval $ac_try) 2>&5
13934 - ac_status=$?
13935 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 - (exit $ac_status); }; } &&
13937 - { ac_try='test -s conftest.$ac_objext'
13938 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 - (eval $ac_try) 2>&5
13940 - ac_status=$?
13941 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 - (exit $ac_status); }; }; then
13943 + (exit $ac_status); } && {
13944 + test -z "$ac_cxx_werror_flag" ||
13945 + test ! -s conftest.err
13946 + } && test -s conftest.$ac_objext; then
13947 test_cv_have_exceptions=yes
13948 else
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.$ac_ext >&5
13952 -test_cv_have_exceptions=no
13953 + test_cv_have_exceptions=no
13956 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13958 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13962 - echo "$as_me:$LINENO: result: $test_cv_have_exceptions" >&5
13963 -echo "${ECHO_T}$test_cv_have_exceptions" >&6
13964 + { echo "$as_me:$LINENO: result: $test_cv_have_exceptions" >&5
13965 +echo "${ECHO_T}$test_cv_have_exceptions" >&6; }
13966 if test "$test_cv_have_exceptions" = yes; then
13968 cat >>confdefs.h <<\_ACEOF
13969 @@ -20040,8 +20644,8 @@
13973 - echo "$as_me:$LINENO: checking whether standard member ios::binary is available" >&5
13974 -echo $ECHO_N "checking whether standard member ios::binary is available... $ECHO_C" >&6
13975 + { echo "$as_me:$LINENO: checking whether standard member ios::binary is available" >&5
13976 +echo $ECHO_N "checking whether standard member ios::binary is available... $ECHO_C" >&6; }
13977 if test "${test_cv_have_ios_binary+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 @@ -20052,7 +20656,8 @@
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 -#include <fstream.h>
13985 +#include <fstream>
13986 + using namespace std;
13988 main ()
13990 @@ -20062,41 +20667,37 @@
13992 _ACEOF
13993 rm -f conftest.$ac_objext
13994 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13995 - (eval $ac_compile) 2>conftest.er1
13996 +if { (ac_try="$ac_compile"
13997 +case "(($ac_try" in
13998 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13999 + *) ac_try_echo=$ac_try;;
14000 +esac
14001 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14002 + (eval "$ac_compile") 2>conftest.er1
14003 ac_status=$?
14004 grep -v '^ *+' conftest.er1 >conftest.err
14005 rm -f conftest.er1
14006 cat conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 - (exit $ac_status); } &&
14009 - { ac_try='test -z "$ac_cxx_werror_flag"
14010 - || test ! -s conftest.err'
14011 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 - (eval $ac_try) 2>&5
14013 - ac_status=$?
14014 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 - (exit $ac_status); }; } &&
14016 - { ac_try='test -s conftest.$ac_objext'
14017 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 - (eval $ac_try) 2>&5
14019 - ac_status=$?
14020 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 - (exit $ac_status); }; }; then
14022 + (exit $ac_status); } && {
14023 + test -z "$ac_cxx_werror_flag" ||
14024 + test ! -s conftest.err
14025 + } && test -s conftest.$ac_objext; then
14026 test_cv_have_ios_binary=yes
14027 else
14028 echo "$as_me: failed program was:" >&5
14029 sed 's/^/| /' conftest.$ac_ext >&5
14031 -test_cv_have_ios_binary=no
14032 + test_cv_have_ios_binary=no
14035 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14037 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14041 - echo "$as_me:$LINENO: result: $test_cv_have_ios_binary" >&5
14042 -echo "${ECHO_T}$test_cv_have_ios_binary" >&6
14043 + { echo "$as_me:$LINENO: result: $test_cv_have_ios_binary" >&5
14044 +echo "${ECHO_T}$test_cv_have_ios_binary" >&6; }
14045 if test "$test_cv_have_ios_binary" = yes; then
14047 cat >>confdefs.h <<\_ACEOF
14048 @@ -20106,8 +20707,8 @@
14052 - echo "$as_me:$LINENO: checking whether standard member ios::openmode is available" >&5
14053 -echo $ECHO_N "checking whether standard member ios::openmode is available... $ECHO_C" >&6
14054 + { echo "$as_me:$LINENO: checking whether standard member ios::openmode is available" >&5
14055 +echo $ECHO_N "checking whether standard member ios::openmode is available... $ECHO_C" >&6; }
14056 if test "${test_cv_have_ios_openmode+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 else
14059 @@ -20118,8 +20719,9 @@
14060 cat confdefs.h >>conftest.$ac_ext
14061 cat >>conftest.$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14063 -#include <fstream.h>
14064 - #include <iomanip.h>
14065 +#include <fstream>
14066 + #include <iomanip>
14067 + using namespace std;
14069 main ()
14071 @@ -20129,41 +20731,37 @@
14073 _ACEOF
14074 rm -f conftest.$ac_objext
14075 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14076 - (eval $ac_compile) 2>conftest.er1
14077 +if { (ac_try="$ac_compile"
14078 +case "(($ac_try" in
14079 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 + *) ac_try_echo=$ac_try;;
14081 +esac
14082 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 + (eval "$ac_compile") 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 - (exit $ac_status); } &&
14090 - { ac_try='test -z "$ac_cxx_werror_flag"
14091 - || test ! -s conftest.err'
14092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 - (eval $ac_try) 2>&5
14094 - ac_status=$?
14095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 - (exit $ac_status); }; } &&
14097 - { ac_try='test -s conftest.$ac_objext'
14098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 - (eval $ac_try) 2>&5
14100 - ac_status=$?
14101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 - (exit $ac_status); }; }; then
14103 + (exit $ac_status); } && {
14104 + test -z "$ac_cxx_werror_flag" ||
14105 + test ! -s conftest.err
14106 + } && test -s conftest.$ac_objext; then
14107 test_cv_have_ios_openmode=yes
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14112 -test_cv_have_ios_openmode=no
14113 + test_cv_have_ios_openmode=no
14116 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14118 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14122 - echo "$as_me:$LINENO: result: $test_cv_have_ios_openmode" >&5
14123 -echo "${ECHO_T}$test_cv_have_ios_openmode" >&6
14124 + { echo "$as_me:$LINENO: result: $test_cv_have_ios_openmode" >&5
14125 +echo "${ECHO_T}$test_cv_have_ios_openmode" >&6; }
14126 if test "$test_cv_have_ios_openmode" = yes; then
14128 cat >>confdefs.h <<\_ACEOF
14129 @@ -20174,11 +20772,11 @@
14133 - # Check whether --enable-library-checks or --disable-library-checks was given.
14134 + # Check whether --enable-library-checks was given.
14135 if test "${enable_library_checks+set}" = set; then
14136 - enableval="$enable_library_checks"
14137 + enableval=$enable_library_checks;
14140 -fi;
14141 if test x"${enable_library_checks+set}" = xset; then
14142 SID2_LIB_CHECK=0
14144 @@ -20190,8 +20788,8 @@
14146 # Extract the first word of "pkg-config", so it can be a program name with args.
14147 set dummy pkg-config; ac_word=$2
14148 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14149 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14150 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14151 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 @@ -20206,28 +20804,29 @@
14156 IFS=$as_save_IFS
14157 test -z "$as_dir" && as_dir=.
14158 for ac_exec_ext in '' $ac_executable_extensions; do
14159 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14160 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14161 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14163 break 2
14165 done
14166 done
14167 +IFS=$as_save_IFS
14169 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="NO"
14171 esac
14173 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14175 if test -n "$PKG_CONFIG"; then
14176 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14177 -echo "${ECHO_T}$PKG_CONFIG" >&6
14178 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14179 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
14180 else
14181 - echo "$as_me:$LINENO: result: no" >&5
14182 -echo "${ECHO_T}no" >&6
14183 + { echo "$as_me:$LINENO: result: no" >&5
14184 +echo "${ECHO_T}no" >&6; }
14188 if test "$PKG_CONFIG" = NO; then
14189 { { echo "$as_me:$LINENO: error:
14190 pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/
14191 @@ -20273,37 +20872,37 @@
14195 - echo "$as_me:$LINENO: checking for working sidplay2 library and headers" >&5
14196 -echo $ECHO_N "checking for working sidplay2 library and headers... $ECHO_C" >&6
14197 + { echo "$as_me:$LINENO: checking for working sidplay2 library and headers" >&5
14198 +echo $ECHO_N "checking for working sidplay2 library and headers... $ECHO_C" >&6; }
14200 my_includedir=NO
14201 my_libdir=NO
14202 my_uname=LIB`echo sidplay2 | tr [a-z] [A-Z]`
14205 -# Check whether --with-sidplay2 or --without-sidplay2 was given.
14206 +# Check whether --with-sidplay2 was given.
14207 if test "${with_sidplay2+set}" = set; then
14208 - withval="$with_sidplay2"
14209 - my_includedir="$withval"
14210 + withval=$with_sidplay2; my_includedir="$withval"
14211 my_libdir="$withval"
14213 -fi;
14218 -# Check whether --with-sidplay2-includes or --without-sidplay2-includes was given.
14219 +# Check whether --with-sidplay2-includes was given.
14220 if test "${with_sidplay2_includes+set}" = set; then
14221 - withval="$with_sidplay2_includes"
14222 - my_includedir="$withval"
14223 + withval=$with_sidplay2_includes; my_includedir="$withval"
14225 -fi;
14229 -# Check whether --with-sidplay2-library or --without-sidplay2-library was given.
14231 +# Check whether --with-sidplay2-library was given.
14232 if test "${with_sidplay2_library+set}" = set; then
14233 - withval="$with_sidplay2_library"
14234 - my_libdir="$withval"
14235 + withval=$with_sidplay2_library; my_libdir="$withval"
14239 -fi;
14241 # Find paths to headers & package config.
14242 if test "$my_includedir" != NO; then
14243 @@ -20404,8 +21003,8 @@
14244 done
14247 - echo "$as_me:$LINENO: result: $my_libdir, $my_includedir" >&5
14248 -echo "${ECHO_T}$my_libdir, $my_includedir" >&6
14249 + { echo "$as_me:$LINENO: result: $my_libdir, $my_includedir" >&5
14250 +echo "${ECHO_T}$my_libdir, $my_includedir" >&6; }
14253 my_save_cxxflags=$CXXFLAGS
14254 @@ -20432,36 +21031,33 @@
14256 _ACEOF
14257 rm -f conftest.$ac_objext conftest$ac_exeext
14258 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14259 - (eval $ac_link) 2>conftest.er1
14260 +if { (ac_try="$ac_link"
14261 +case "(($ac_try" in
14262 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14263 + *) ac_try_echo=$ac_try;;
14264 +esac
14265 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14266 + (eval "$ac_link") 2>conftest.er1
14267 ac_status=$?
14268 grep -v '^ *+' conftest.er1 >conftest.err
14269 rm -f conftest.er1
14270 cat conftest.err >&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 - (exit $ac_status); } &&
14273 - { ac_try='test -z "$ac_cxx_werror_flag"
14274 - || test ! -s conftest.err'
14275 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 - (eval $ac_try) 2>&5
14277 - ac_status=$?
14278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 - (exit $ac_status); }; } &&
14280 - { ac_try='test -s conftest$ac_exeext'
14281 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 - (eval $ac_try) 2>&5
14283 - ac_status=$?
14284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 - (exit $ac_status); }; }; then
14286 + (exit $ac_status); } && {
14287 + test -z "$ac_cxx_werror_flag" ||
14288 + test ! -s conftest.err
14289 + } && test -s conftest$ac_exeext &&
14290 + $as_test_x conftest$ac_exeext; then
14291 my_works=YES
14292 else
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.$ac_ext >&5
14296 -my_works=NO
14297 + my_works=NO
14300 -rm -f conftest.err conftest.$ac_objext \
14302 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14303 conftest$ac_exeext conftest.$ac_ext
14305 CXXFLAGS=$my_save_cxxflags
14306 @@ -20489,32 +21085,32 @@
14308 else
14310 - echo "$as_me:$LINENO: checking for sidplay2 library and headers" >&5
14311 -echo $ECHO_N "checking for sidplay2 library and headers... $ECHO_C" >&6
14312 + { echo "$as_me:$LINENO: checking for sidplay2 library and headers" >&5
14313 +echo $ECHO_N "checking for sidplay2 library and headers... $ECHO_C" >&6; }
14315 my_libdir=""
14316 my_includedir=""
14317 my_uname=LIB`echo sidplay2 | tr [a-z] [A-Z]`
14320 -# Check whether --with-sidplay2-includes or --without-sidplay2-includes was given.
14321 +# Check whether --with-sidplay2-includes was given.
14322 if test "${with_sidplay2_includes+set}" = set; then
14323 - withval="$with_sidplay2_includes"
14324 - my_includedir="$withval"
14325 + withval=$with_sidplay2_includes; my_includedir="$withval"
14327 -fi;
14331 -# Check whether --with-sidplay2-library or --without-sidplay2-library was given.
14333 +# Check whether --with-sidplay2-library was given.
14334 if test "${with_sidplay2_library+set}" = set; then
14335 - withval="$with_sidplay2_library"
14336 - my_libdir="$withval"
14337 + withval=$with_sidplay2_library; my_libdir="$withval"
14341 -fi;
14343 if test "$my_libdir" = ""; then
14344 - echo "$as_me:$LINENO: result: no" >&5
14345 -echo "${ECHO_T}no" >&6
14346 + { echo "$as_me:$LINENO: result: no" >&5
14347 +echo "${ECHO_T}no" >&6; }
14348 { { echo "$as_me:$LINENO: error:
14349 sidplay2 library path not supplied!
14350 " >&5
14351 @@ -20525,8 +21121,8 @@
14354 if test "$my_includedir" = ""; then
14355 - echo "$as_me:$LINENO: result: no" >&5
14356 -echo "${ECHO_T}no" >&6
14357 + { echo "$as_me:$LINENO: result: no" >&5
14358 +echo "${ECHO_T}no" >&6; }
14359 { { echo "$as_me:$LINENO: error:
14360 sidplay2 include path not supplied!
14361 " >&5
14362 @@ -20553,8 +21149,8 @@
14365 if test "$my_includedir" = NO; then
14366 - echo "$as_me:$LINENO: result: no" >&5
14367 -echo "${ECHO_T}no" >&6
14368 + { echo "$as_me:$LINENO: result: no" >&5
14369 +echo "${ECHO_T}no" >&6; }
14370 { { echo "$as_me:$LINENO: error:
14371 sidplay2 headers not found!
14372 " >&5
14373 @@ -20564,8 +21160,8 @@
14374 { (exit 1); exit 1; }; }
14377 - echo "$as_me:$LINENO: result: yes" >&5
14378 -echo "${ECHO_T}yes" >&6
14379 + { echo "$as_me:$LINENO: result: yes" >&5
14380 +echo "${ECHO_T}yes" >&6; }
14381 eval ${my_uname}_CXXFLAGS=\"-I$my_includedir\"
14382 eval ${my_uname}_LDFLAGS=\"$my_libdir/libsidplay2.la\"
14384 @@ -20588,8 +21184,8 @@
14386 # Extract the first word of "pkg-config", so it can be a program name with args.
14387 set dummy pkg-config; ac_word=$2
14388 -echo "$as_me:$LINENO: checking for $ac_word" >&5
14389 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14390 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14391 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395 @@ -20604,28 +21200,29 @@
14396 IFS=$as_save_IFS
14397 test -z "$as_dir" && as_dir=.
14398 for ac_exec_ext in '' $ac_executable_extensions; do
14399 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14400 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14401 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14403 break 2
14405 done
14406 done
14407 +IFS=$as_save_IFS
14409 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="NO"
14411 esac
14413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14415 if test -n "$PKG_CONFIG"; then
14416 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14417 -echo "${ECHO_T}$PKG_CONFIG" >&6
14418 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14419 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
14420 else
14421 - echo "$as_me:$LINENO: result: no" >&5
14422 -echo "${ECHO_T}no" >&6
14423 + { echo "$as_me:$LINENO: result: no" >&5
14424 +echo "${ECHO_T}no" >&6; }
14428 if test "$PKG_CONFIG" = NO; then
14429 { { echo "$as_me:$LINENO: error:
14430 pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/
14431 @@ -20671,37 +21268,37 @@
14435 - echo "$as_me:$LINENO: checking for working sidutils library and headers" >&5
14436 -echo $ECHO_N "checking for working sidutils library and headers... $ECHO_C" >&6
14437 + { echo "$as_me:$LINENO: checking for working sidutils library and headers" >&5
14438 +echo $ECHO_N "checking for working sidutils library and headers... $ECHO_C" >&6; }
14440 my_includedir=NO
14441 my_libdir=NO
14442 my_uname=LIB`echo sidutils | tr [a-z] [A-Z]`
14445 -# Check whether --with-sidutils or --without-sidutils was given.
14446 +# Check whether --with-sidutils was given.
14447 if test "${with_sidutils+set}" = set; then
14448 - withval="$with_sidutils"
14449 - my_includedir="$withval"
14450 + withval=$with_sidutils; my_includedir="$withval"
14451 my_libdir="$withval"
14453 -fi;
14458 -# Check whether --with-sidutils-includes or --without-sidutils-includes was given.
14459 +# Check whether --with-sidutils-includes was given.
14460 if test "${with_sidutils_includes+set}" = set; then
14461 - withval="$with_sidutils_includes"
14462 - my_includedir="$withval"
14463 + withval=$with_sidutils_includes; my_includedir="$withval"
14467 -fi;
14470 -# Check whether --with-sidutils-library or --without-sidutils-library was given.
14471 +# Check whether --with-sidutils-library was given.
14472 if test "${with_sidutils_library+set}" = set; then
14473 - withval="$with_sidutils_library"
14474 - my_libdir="$withval"
14475 + withval=$with_sidutils_library; my_libdir="$withval"
14479 -fi;
14481 # Find paths to headers & package config.
14482 if test "$my_includedir" != NO; then
14483 @@ -20802,8 +21399,8 @@
14484 done
14487 - echo "$as_me:$LINENO: result: $my_libdir, $my_includedir" >&5
14488 -echo "${ECHO_T}$my_libdir, $my_includedir" >&6
14489 + { echo "$as_me:$LINENO: result: $my_libdir, $my_includedir" >&5
14490 +echo "${ECHO_T}$my_libdir, $my_includedir" >&6; }
14493 my_save_cxxflags=$CXXFLAGS
14494 @@ -20830,36 +21427,33 @@
14496 _ACEOF
14497 rm -f conftest.$ac_objext conftest$ac_exeext
14498 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14499 - (eval $ac_link) 2>conftest.er1
14500 +if { (ac_try="$ac_link"
14501 +case "(($ac_try" in
14502 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 + *) ac_try_echo=$ac_try;;
14504 +esac
14505 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 + (eval "$ac_link") 2>conftest.er1
14507 ac_status=$?
14508 grep -v '^ *+' conftest.er1 >conftest.err
14509 rm -f conftest.er1
14510 cat conftest.err >&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 - (exit $ac_status); } &&
14513 - { ac_try='test -z "$ac_cxx_werror_flag"
14514 - || test ! -s conftest.err'
14515 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 - (eval $ac_try) 2>&5
14517 - ac_status=$?
14518 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 - (exit $ac_status); }; } &&
14520 - { ac_try='test -s conftest$ac_exeext'
14521 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522 - (eval $ac_try) 2>&5
14523 - ac_status=$?
14524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 - (exit $ac_status); }; }; then
14526 + (exit $ac_status); } && {
14527 + test -z "$ac_cxx_werror_flag" ||
14528 + test ! -s conftest.err
14529 + } && test -s conftest$ac_exeext &&
14530 + $as_test_x conftest$ac_exeext; then
14531 my_works=YES
14532 else
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.$ac_ext >&5
14536 -my_works=NO
14537 + my_works=NO
14540 -rm -f conftest.err conftest.$ac_objext \
14542 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14543 conftest$ac_exeext conftest.$ac_ext
14545 CXXFLAGS=$my_save_cxxflags
14546 @@ -20887,32 +21481,32 @@
14548 else
14550 - echo "$as_me:$LINENO: checking for sidutils library and headers" >&5
14551 -echo $ECHO_N "checking for sidutils library and headers... $ECHO_C" >&6
14552 + { echo "$as_me:$LINENO: checking for sidutils library and headers" >&5
14553 +echo $ECHO_N "checking for sidutils library and headers... $ECHO_C" >&6; }
14555 my_libdir=""
14556 my_includedir=""
14557 my_uname=LIB`echo sidutils | tr [a-z] [A-Z]`
14560 -# Check whether --with-sidutils-includes or --without-sidutils-includes was given.
14561 +# Check whether --with-sidutils-includes was given.
14562 if test "${with_sidutils_includes+set}" = set; then
14563 - withval="$with_sidutils_includes"
14564 - my_includedir="$withval"
14565 + withval=$with_sidutils_includes; my_includedir="$withval"
14569 -fi;
14572 -# Check whether --with-sidutils-library or --without-sidutils-library was given.
14573 +# Check whether --with-sidutils-library was given.
14574 if test "${with_sidutils_library+set}" = set; then
14575 - withval="$with_sidutils_library"
14576 - my_libdir="$withval"
14577 + withval=$with_sidutils_library; my_libdir="$withval"
14581 -fi;
14583 if test "$my_libdir" = ""; then
14584 - echo "$as_me:$LINENO: result: no" >&5
14585 -echo "${ECHO_T}no" >&6
14586 + { echo "$as_me:$LINENO: result: no" >&5
14587 +echo "${ECHO_T}no" >&6; }
14588 { { echo "$as_me:$LINENO: error:
14589 sidutils library path not supplied!
14590 " >&5
14591 @@ -20923,8 +21517,8 @@
14594 if test "$my_includedir" = ""; then
14595 - echo "$as_me:$LINENO: result: no" >&5
14596 -echo "${ECHO_T}no" >&6
14597 + { echo "$as_me:$LINENO: result: no" >&5
14598 +echo "${ECHO_T}no" >&6; }
14599 { { echo "$as_me:$LINENO: error:
14600 sidutils include path not supplied!
14601 " >&5
14602 @@ -20951,8 +21545,8 @@
14605 if test "$my_includedir" = NO; then
14606 - echo "$as_me:$LINENO: result: no" >&5
14607 -echo "${ECHO_T}no" >&6
14608 + { echo "$as_me:$LINENO: result: no" >&5
14609 +echo "${ECHO_T}no" >&6; }
14610 { { echo "$as_me:$LINENO: error:
14611 sidutils headers not found!
14612 " >&5
14613 @@ -20962,8 +21556,8 @@
14614 { (exit 1); exit 1; }; }
14617 - echo "$as_me:$LINENO: result: yes" >&5
14618 -echo "${ECHO_T}yes" >&6
14619 + { echo "$as_me:$LINENO: result: yes" >&5
14620 +echo "${ECHO_T}yes" >&6; }
14621 eval ${my_uname}_CXXFLAGS=\"-I$my_includedir\"
14622 eval ${my_uname}_LDFLAGS=\"$my_libdir/libsidutils.la\"
14624 @@ -20980,28 +21574,28 @@
14626 # Find sid builder emulations
14628 - echo "$as_me:$LINENO: checking for sidbuilders install directory" >&5
14629 -echo $ECHO_N "checking for sidbuilders install directory... $ECHO_C" >&6
14630 + { echo "$as_me:$LINENO: checking for sidbuilders install directory" >&5
14631 +echo $ECHO_N "checking for sidbuilders install directory... $ECHO_C" >&6; }
14634 -# Check whether --with-sidbuilders or --without-sidbuilders was given.
14635 +# Check whether --with-sidbuilders was given.
14636 if test "${with_sidbuilders+set}" = set; then
14637 - withval="$with_sidbuilders"
14638 - LIBSIDPLAY2_BUILDERS="$withval"
14639 + withval=$with_sidbuilders; LIBSIDPLAY2_BUILDERS="$withval"
14643 -fi;
14648 - echo "$as_me:$LINENO: result: $LIBSIDPLAY2_BUILDERS" >&5
14649 -echo "${ECHO_T}$LIBSIDPLAY2_BUILDERS" >&6
14650 + { echo "$as_me:$LINENO: result: $LIBSIDPLAY2_BUILDERS" >&5
14651 +echo "${ECHO_T}$LIBSIDPLAY2_BUILDERS" >&6; }
14652 BUILDERS_LDFLAGS=""
14653 for sid2_lib in resid hardsid; do
14654 sid2_lib=`echo $sid2_lib | tr [A-Z] [a-z]`
14656 - echo "$as_me:$LINENO: checking for $sid2_lib builder module" >&5
14657 -echo $ECHO_N "checking for $sid2_lib builder module... $ECHO_C" >&6
14658 + { echo "$as_me:$LINENO: checking for $sid2_lib builder module" >&5
14659 +echo $ECHO_N "checking for $sid2_lib builder module... $ECHO_C" >&6; }
14661 case $sid2_lib in
14662 resid) sid2_builder=ReSIDBuilder;;
14663 @@ -21033,36 +21627,33 @@
14665 _ACEOF
14666 rm -f conftest.$ac_objext conftest$ac_exeext
14667 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 - (eval $ac_link) 2>conftest.er1
14669 +if { (ac_try="$ac_link"
14670 +case "(($ac_try" in
14671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14672 + *) ac_try_echo=$ac_try;;
14673 +esac
14674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14675 + (eval "$ac_link") 2>conftest.er1
14676 ac_status=$?
14677 grep -v '^ *+' conftest.er1 >conftest.err
14678 rm -f conftest.er1
14679 cat conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 - (exit $ac_status); } &&
14682 - { ac_try='test -z "$ac_cxx_werror_flag"
14683 - || test ! -s conftest.err'
14684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14685 - (eval $ac_try) 2>&5
14686 - ac_status=$?
14687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 - (exit $ac_status); }; } &&
14689 - { ac_try='test -s conftest$ac_exeext'
14690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14691 - (eval $ac_try) 2>&5
14692 - ac_status=$?
14693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 - (exit $ac_status); }; }; then
14695 + (exit $ac_status); } && {
14696 + test -z "$ac_cxx_werror_flag" ||
14697 + test ! -s conftest.err
14698 + } && test -s conftest$ac_exeext &&
14699 + $as_test_x conftest$ac_exeext; then
14700 sid2_builder_works=YES
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14705 -sid2_builder_works=NO
14706 + sid2_builder_works=NO
14709 -rm -f conftest.err conftest.$ac_objext \
14711 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14712 conftest$ac_exeext conftest.$ac_ext
14714 CXXFLAGS=$my_save_cxxflags
14715 @@ -21078,11 +21669,11 @@
14716 _ACEOF
14718 sid2_ldflags="-l$sid2_lib-builder"
14719 - echo "$as_me:$LINENO: result: yes" >&5
14720 -echo "${ECHO_T}yes" >&6
14721 + { echo "$as_me:$LINENO: result: yes" >&5
14722 +echo "${ECHO_T}yes" >&6; }
14723 else
14724 - echo "$as_me:$LINENO: result: no" >&5
14725 -echo "${ECHO_T}no" >&6
14726 + { echo "$as_me:$LINENO: result: no" >&5
14727 +echo "${ECHO_T}no" >&6; }
14731 @@ -21113,7 +21704,8 @@
14732 ACLOCAL_AMFLAGS="-I unix"
14735 - ac_config_files="$ac_config_files Makefile doc/Makefile doc/en/Makefile src/Makefile src/audio/Makefile src/audio/alsa/Makefile src/audio/hpux/Makefile src/audio/irix/Makefile src/audio/mmsystem/Makefile src/audio/null/Makefile src/audio/oss/Makefile src/audio/sunos/Makefile src/audio/wav/Makefile unix/Makefile unix/sidplay2.spec"
14736 +ac_config_files="$ac_config_files Makefile doc/Makefile doc/en/Makefile src/Makefile src/audio/Makefile src/audio/alsa/Makefile src/audio/hpux/Makefile src/audio/irix/Makefile src/audio/mmsystem/Makefile src/audio/null/Makefile src/audio/oss/Makefile src/audio/sunos/Makefile src/audio/wav/Makefile unix/Makefile unix/sidplay2.spec"
14738 cat >confcache <<\_ACEOF
14739 # This file is a shell script that caches the results of configure
14740 # tests run on this system so they can be shared between configure
14741 @@ -21132,39 +21724,58 @@
14743 # The following way of writing the cache mishandles newlines in values,
14744 # but we know of no workaround that is simple, portable, and efficient.
14745 -# So, don't put newlines in cache variables' values.
14746 +# So, we kill variables containing newlines.
14747 # Ultrix sh set writes to stderr and can't be redirected directly,
14748 # and sets the high bit in the cache file unless we assign to the vars.
14751 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14752 + eval ac_val=\$$ac_var
14753 + case $ac_val in #(
14754 + *${as_nl}*)
14755 + case $ac_var in #(
14756 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14757 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14758 + esac
14759 + case $ac_var in #(
14760 + _ | IFS | as_nl) ;; #(
14761 + *) $as_unset $ac_var ;;
14762 + esac ;;
14763 + esac
14764 + done
14766 (set) 2>&1 |
14767 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
14768 - *ac_space=\ *)
14769 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
14770 + *${as_nl}ac_space=\ *)
14771 # `set' does not quote correctly, so add quotes (double-quote
14772 # substitution turns \\\\ into \\, and sed turns \\ into \).
14773 sed -n \
14774 "s/'/'\\\\''/g;
14775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14776 - ;;
14777 + ;; #(
14779 # `set' quotes correctly as required by POSIX, so do not add quotes.
14780 - sed -n \
14781 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14782 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14784 - esac;
14785 -} |
14786 + esac |
14787 + sort
14788 +) |
14789 sed '
14790 + /^ac_cv_env_/b end
14791 t clear
14792 - : clear
14793 + :clear
14794 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14795 t end
14796 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14797 - : end' >>confcache
14798 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
14799 - if test -w $cache_file; then
14800 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14801 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14802 + :end' >>confcache
14803 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14804 + if test -w "$cache_file"; then
14805 + test "x$cache_file" != "x/dev/null" &&
14806 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14807 +echo "$as_me: updating cache $cache_file" >&6;}
14808 cat confcache >$cache_file
14809 else
14810 - echo "not updating unwritable cache $cache_file"
14811 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14812 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14815 rm -f confcache
14816 @@ -21173,32 +21784,18 @@
14817 # Let make expand exec_prefix.
14818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14820 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
14821 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14822 -# trailing colons and then remove the whole line if VPATH becomes empty
14823 -# (actually we leave an empty line to preserve line numbers).
14824 -if test "x$srcdir" = x.; then
14825 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
14826 -s/:*\$(srcdir):*/:/;
14827 -s/:*\${srcdir}:*/:/;
14828 -s/:*@srcdir@:*/:/;
14829 -s/^\([^=]*=[ ]*\):*/\1/;
14830 -s/:*$//;
14831 -s/^[^=]*=[ ]*$//;
14835 DEFS=-DHAVE_CONFIG_H
14837 ac_libobjs=
14838 ac_ltlibobjs=
14839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14840 # 1. Remove the extension, and $U if already installed.
14841 - ac_i=`echo "$ac_i" |
14842 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14843 - # 2. Add them.
14844 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14845 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14846 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14847 + ac_i=`echo "$ac_i" | sed "$ac_script"`
14848 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14849 + # will be set to the directory where LIBOBJS objects are built.
14850 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14851 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14852 done
14853 LIBOBJS=$ac_libobjs
14855 @@ -21250,17 +21847,45 @@
14856 ## M4sh Initialization. ##
14857 ## --------------------- ##
14859 -# Be Bourne compatible
14860 +# Be more Bourne compatible
14861 +DUALCASE=1; export DUALCASE # for MKS sh
14862 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14863 emulate sh
14864 NULLCMD=:
14865 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14866 # is contrary to our usage. Disable this feature.
14867 alias -g '${1+"$@"}'='"$@"'
14868 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14869 - set -o posix
14870 + setopt NO_GLOB_SUBST
14871 +else
14872 + case `(set -o) 2>/dev/null` in
14873 + *posix*) set -o posix ;;
14874 +esac
14881 +# PATH needs CR
14882 +# Avoid depending upon Character Ranges.
14883 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14884 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14885 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14886 +as_cr_digits='0123456789'
14887 +as_cr_alnum=$as_cr_Letters$as_cr_digits
14889 +# The user is always right.
14890 +if test "${PATH_SEPARATOR+set}" != set; then
14891 + echo "#! /bin/sh" >conf$$.sh
14892 + echo "exit 0" >>conf$$.sh
14893 + chmod +x conf$$.sh
14894 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14895 + PATH_SEPARATOR=';'
14896 + else
14897 + PATH_SEPARATOR=:
14898 + fi
14899 + rm -f conf$$.sh
14901 -DUALCASE=1; export DUALCASE # for MKS sh
14903 # Support unset when possible.
14904 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14905 @@ -21270,8 +21895,43 @@
14909 +# IFS
14910 +# We need space, tab and new line, in precisely that order. Quoting is
14911 +# there to prevent editors from complaining about space-tab.
14912 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14913 +# splitting by setting IFS to empty value.)
14914 +as_nl='
14916 +IFS=" "" $as_nl"
14918 +# Find who we are. Look in the path if we contain no directory separator.
14919 +case $0 in
14920 + *[\\/]* ) as_myself=$0 ;;
14921 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14922 +for as_dir in $PATH
14924 + IFS=$as_save_IFS
14925 + test -z "$as_dir" && as_dir=.
14926 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14927 +done
14928 +IFS=$as_save_IFS
14930 + ;;
14931 +esac
14932 +# We did not find ourselves, most probably we were run as `sh COMMAND'
14933 +# in which case we are not to be found in the path.
14934 +if test "x$as_myself" = x; then
14935 + as_myself=$0
14937 +if test ! -f "$as_myself"; then
14938 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14939 + { (exit 1); exit 1; }
14942 # Work around bugs in pre-3.0 UWIN ksh.
14943 -$as_unset ENV MAIL MAILPATH
14944 +for as_var in ENV MAIL MAILPATH
14945 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14946 +done
14947 PS1='$ '
14948 PS2='> '
14949 PS4='+ '
14950 @@ -21285,18 +21945,19 @@
14951 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14952 eval $as_var=C; export $as_var
14953 else
14954 - $as_unset $as_var
14955 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14957 done
14959 # Required to use basename.
14960 -if expr a : '\(a\)' >/dev/null 2>&1; then
14961 +if expr a : '\(a\)' >/dev/null 2>&1 &&
14962 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
14963 as_expr=expr
14964 else
14965 as_expr=false
14968 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14969 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14970 as_basename=basename
14971 else
14972 as_basename=false
14973 @@ -21304,159 +21965,120 @@
14976 # Name of the executable.
14977 -as_me=`$as_basename "$0" ||
14978 +as_me=`$as_basename -- "$0" ||
14979 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14980 X"$0" : 'X\(//\)$' \| \
14981 - X"$0" : 'X\(/\)$' \| \
14982 - . : '\(.\)' 2>/dev/null ||
14983 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14984 echo X/"$0" |
14985 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14986 - /^X\/\(\/\/\)$/{ s//\1/; q; }
14987 - /^X\/\(\/\).*/{ s//\1/; q; }
14988 - s/.*/./; q'`
14991 -# PATH needs CR, and LINENO needs CR and PATH.
14992 -# Avoid depending upon Character Ranges.
14993 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14994 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14995 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14996 -as_cr_digits='0123456789'
14997 -as_cr_alnum=$as_cr_Letters$as_cr_digits
14998 + sed '/^.*\/\([^/][^/]*\)\/*$/{
14999 + s//\1/
15002 + /^X\/\(\/\/\)$/{
15003 + s//\1/
15006 + /^X\/\(\/\).*/{
15007 + s//\1/
15010 + s/.*/./; q'`
15012 -# The user is always right.
15013 -if test "${PATH_SEPARATOR+set}" != set; then
15014 - echo "#! /bin/sh" >conf$$.sh
15015 - echo "exit 0" >>conf$$.sh
15016 - chmod +x conf$$.sh
15017 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15018 - PATH_SEPARATOR=';'
15019 - else
15020 - PATH_SEPARATOR=:
15021 - fi
15022 - rm -f conf$$.sh
15024 +# CDPATH.
15025 +$as_unset CDPATH
15028 - as_lineno_1=$LINENO
15029 - as_lineno_2=$LINENO
15030 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15031 - test "x$as_lineno_1" != "x$as_lineno_2" &&
15032 - test "x$as_lineno_3" = "x$as_lineno_2" || {
15033 - # Find who we are. Look in the path if we contain no path at all
15034 - # relative or not.
15035 - case $0 in
15036 - *[\\/]* ) as_myself=$0 ;;
15037 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15038 -for as_dir in $PATH
15040 - IFS=$as_save_IFS
15041 - test -z "$as_dir" && as_dir=.
15042 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15043 -done
15045 - ;;
15046 - esac
15047 - # We did not find ourselves, most probably we were run as `sh COMMAND'
15048 - # in which case we are not to be found in the path.
15049 - if test "x$as_myself" = x; then
15050 - as_myself=$0
15051 - fi
15052 - if test ! -f "$as_myself"; then
15053 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15054 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15055 - { (exit 1); exit 1; }; }
15056 - fi
15057 - case $CONFIG_SHELL in
15058 - '')
15059 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15060 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15062 - IFS=$as_save_IFS
15063 - test -z "$as_dir" && as_dir=.
15064 - for as_base in sh bash ksh sh5; do
15065 - case $as_dir in
15066 - /*)
15067 - if ("$as_dir/$as_base" -c '
15068 as_lineno_1=$LINENO
15069 as_lineno_2=$LINENO
15070 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15071 test "x$as_lineno_1" != "x$as_lineno_2" &&
15072 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15073 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15074 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15075 - CONFIG_SHELL=$as_dir/$as_base
15076 - export CONFIG_SHELL
15077 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15078 - fi;;
15079 - esac
15080 - done
15081 -done
15083 - esac
15084 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15086 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15087 # uniformly replaced by the line number. The first 'sed' inserts a
15088 - # line-number line before each line; the second 'sed' does the real
15089 - # work. The second script uses 'N' to pair each line-number line
15090 - # with the numbered line, and appends trailing '-' during
15091 - # substitution so that $LINENO is not a special case at line end.
15092 + # line-number line after each line using $LINENO; the second 'sed'
15093 + # does the real work. The second script uses 'N' to pair each
15094 + # line-number line with the line containing $LINENO, and appends
15095 + # trailing '-' during substitution so that $LINENO is not a special
15096 + # case at line end.
15097 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15098 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15099 - sed '=' <$as_myself |
15100 + # scripts with optimization help from Paolo Bonzini. Blame Lee
15101 + # E. McMahon (1931-1989) for sed's syntax. :-)
15102 + sed -n '
15104 + /[$]LINENO/=
15105 + ' <$as_myself |
15106 sed '
15107 + s/[$]LINENO.*/&-/
15108 + t lineno
15110 + :lineno
15112 - s,$,-,
15113 - : loop
15114 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15115 + :loop
15116 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15117 t loop
15118 - s,-$,,
15119 - s,^['$as_cr_digits']*\n,,
15120 + s/-\n.*//
15121 ' >$as_me.lineno &&
15122 - chmod +x $as_me.lineno ||
15123 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15124 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15125 + chmod +x "$as_me.lineno" ||
15126 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15127 { (exit 1); exit 1; }; }
15129 # Don't try to exec as it changes $[0], causing all sort of problems
15130 # (the dirname of $[0] is not the place where we might find the
15131 - # original and so on. Autoconf is especially sensible to this).
15132 - . ./$as_me.lineno
15133 + # original and so on. Autoconf is especially sensitive to this).
15134 + . "./$as_me.lineno"
15135 # Exit status is that of the last command.
15136 exit
15140 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15141 - *c*,-n*) ECHO_N= ECHO_C='
15142 -' ECHO_T=' ' ;;
15143 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15144 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15145 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15146 + as_dirname=dirname
15147 +else
15148 + as_dirname=false
15151 +ECHO_C= ECHO_N= ECHO_T=
15152 +case `echo -n x` in
15153 +-n*)
15154 + case `echo 'x\c'` in
15155 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15156 + *) ECHO_C='\c';;
15157 + esac;;
15159 + ECHO_N='-n';;
15160 esac
15162 -if expr a : '\(a\)' >/dev/null 2>&1; then
15163 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15164 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15165 as_expr=expr
15166 else
15167 as_expr=false
15170 rm -f conf$$ conf$$.exe conf$$.file
15171 +if test -d conf$$.dir; then
15172 + rm -f conf$$.dir/conf$$.file
15173 +else
15174 + rm -f conf$$.dir
15175 + mkdir conf$$.dir
15177 echo >conf$$.file
15178 if ln -s conf$$.file conf$$ 2>/dev/null; then
15179 - # We could just check for DJGPP; but this test a) works b) is more generic
15180 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15181 - if test -f conf$$.exe; then
15182 - # Don't use ln at all; we don't have any links
15183 + as_ln_s='ln -s'
15184 + # ... but there are two gotchas:
15185 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15186 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15187 + # In both cases, we have to default to `cp -p'.
15188 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15189 as_ln_s='cp -p'
15190 - else
15191 - as_ln_s='ln -s'
15192 - fi
15193 elif ln conf$$.file conf$$ 2>/dev/null; then
15194 as_ln_s=ln
15195 else
15196 as_ln_s='cp -p'
15198 -rm -f conf$$ conf$$.exe conf$$.file
15199 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15200 +rmdir conf$$.dir 2>/dev/null
15202 if mkdir -p . 2>/dev/null; then
15203 as_mkdir_p=:
15204 @@ -21465,7 +22087,28 @@
15205 as_mkdir_p=false
15208 -as_executable_p="test -f"
15209 +if test -x / >/dev/null 2>&1; then
15210 + as_test_x='test -x'
15211 +else
15212 + if ls -dL / >/dev/null 2>&1; then
15213 + as_ls_L_option=L
15214 + else
15215 + as_ls_L_option=
15216 + fi
15217 + as_test_x='
15218 + eval sh -c '\''
15219 + if test -d "$1"; then
15220 + test -d "$1/.";
15221 + else
15222 + case $1 in
15223 + -*)set "./$1";;
15224 + esac;
15225 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15226 + ???[sx]*):;;*)false;;esac;fi
15227 + '\'' sh
15230 +as_executable_p=$as_test_x
15232 # Sed expression to map a string onto a valid CPP name.
15233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15234 @@ -21474,31 +22117,14 @@
15235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15238 -# IFS
15239 -# We need space, tab and new line, in precisely that order.
15240 -as_nl='
15242 -IFS=" $as_nl"
15244 -# CDPATH.
15245 -$as_unset CDPATH
15247 exec 6>&1
15249 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
15250 +# Save the log message, to keep $[0] and so on meaningful, and to
15251 # report actual input values of CONFIG_FILES etc. instead of their
15252 -# values after options handling. Logging --version etc. is OK.
15253 -exec 5>>config.log
15255 - echo
15256 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15257 -## Running $as_me. ##
15258 -_ASBOX
15259 -} >&5
15260 -cat >&5 <<_CSEOF
15262 +# values after options handling.
15263 +ac_log="
15264 This file was extended by $as_me, which was
15265 -generated by GNU Autoconf 2.59. Invocation command line was
15266 +generated by GNU Autoconf 2.61. Invocation command line was
15268 CONFIG_FILES = $CONFIG_FILES
15269 CONFIG_HEADERS = $CONFIG_HEADERS
15270 @@ -21506,30 +22132,20 @@
15271 CONFIG_COMMANDS = $CONFIG_COMMANDS
15272 $ $0 $@
15274 -_CSEOF
15275 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15276 -echo >&5
15277 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
15280 _ACEOF
15282 +cat >>$CONFIG_STATUS <<_ACEOF
15283 # Files that config.status was made for.
15284 -if test -n "$ac_config_files"; then
15285 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15288 -if test -n "$ac_config_headers"; then
15289 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15291 +config_files="$ac_config_files"
15292 +config_headers="$ac_config_headers"
15293 +config_commands="$ac_config_commands"
15295 -if test -n "$ac_config_links"; then
15296 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15299 -if test -n "$ac_config_commands"; then
15300 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15302 +_ACEOF
15304 cat >>$CONFIG_STATUS <<\_ACEOF
15306 ac_cs_usage="\
15307 \`$as_me' instantiates files from templates according to the
15308 current configuration.
15309 @@ -21537,7 +22153,7 @@
15310 Usage: $0 [OPTIONS] [FILE]...
15312 -h, --help print this help, then exit
15313 - -V, --version print version number, then exit
15314 + -V, --version print version number and configuration settings, then exit
15315 -q, --quiet do not print progress messages
15316 -d, --debug don't remove temporary files
15317 --recheck update $as_me by reconfiguring in the same conditions
15318 @@ -21556,19 +22172,21 @@
15319 $config_commands
15321 Report bugs to <bug-autoconf@gnu.org>."
15322 -_ACEOF
15324 +_ACEOF
15325 cat >>$CONFIG_STATUS <<_ACEOF
15326 ac_cs_version="\\
15327 config.status
15328 -configured by $0, generated by GNU Autoconf 2.59,
15329 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15330 +configured by $0, generated by GNU Autoconf 2.61,
15331 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15333 -Copyright (C) 2003 Free Software Foundation, Inc.
15334 +Copyright (C) 2006 Free Software Foundation, Inc.
15335 This config.status script is free software; the Free Software Foundation
15336 gives unlimited permission to copy, distribute and modify it."
15337 -srcdir=$srcdir
15338 -INSTALL="$INSTALL"
15340 +ac_pwd='$ac_pwd'
15341 +srcdir='$srcdir'
15342 +INSTALL='$INSTALL'
15343 _ACEOF
15345 cat >>$CONFIG_STATUS <<\_ACEOF
15346 @@ -21579,39 +22197,24 @@
15348 case $1 in
15349 --*=*)
15350 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
15351 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15352 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
15353 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15354 ac_shift=:
15356 - -*)
15357 + *)
15358 ac_option=$1
15359 ac_optarg=$2
15360 ac_shift=shift
15362 - *) # This is not an option, so the user has probably given explicit
15363 - # arguments.
15364 - ac_option=$1
15365 - ac_need_defaults=false;;
15366 esac
15368 case $ac_option in
15369 # Handling of the options.
15370 -_ACEOF
15371 -cat >>$CONFIG_STATUS <<\_ACEOF
15372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15373 ac_cs_recheck=: ;;
15374 - --version | --vers* | -V )
15375 - echo "$ac_cs_version"; exit 0 ;;
15376 - --he | --h)
15377 - # Conflict between --help and --header
15378 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
15379 -Try \`$0 --help' for more information." >&5
15380 -echo "$as_me: error: ambiguous option: $1
15381 -Try \`$0 --help' for more information." >&2;}
15382 - { (exit 1); exit 1; }; };;
15383 - --help | --hel | -h )
15384 - echo "$ac_cs_usage"; exit 0 ;;
15385 - --debug | --d* | -d )
15386 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15387 + echo "$ac_cs_version"; exit ;;
15388 + --debug | --debu | --deb | --de | --d | -d )
15389 debug=: ;;
15390 --file | --fil | --fi | --f )
15391 $ac_shift
15392 @@ -21621,18 +22224,24 @@
15393 $ac_shift
15394 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15395 ac_need_defaults=false;;
15396 + --he | --h)
15397 + # Conflict between --help and --header
15398 + { echo "$as_me: error: ambiguous option: $1
15399 +Try \`$0 --help' for more information." >&2
15400 + { (exit 1); exit 1; }; };;
15401 + --help | --hel | -h )
15402 + echo "$ac_cs_usage"; exit ;;
15403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15404 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15405 ac_cs_silent=: ;;
15407 # This is an error.
15408 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15409 -Try \`$0 --help' for more information." >&5
15410 -echo "$as_me: error: unrecognized option: $1
15411 -Try \`$0 --help' for more information." >&2;}
15412 + -*) { echo "$as_me: error: unrecognized option: $1
15413 +Try \`$0 --help' for more information." >&2
15414 { (exit 1); exit 1; }; } ;;
15416 - *) ac_config_targets="$ac_config_targets $1" ;;
15417 + *) ac_config_targets="$ac_config_targets $1"
15418 + ac_need_defaults=false ;;
15420 esac
15421 shift
15422 @@ -21648,51 +22257,63 @@
15423 _ACEOF
15424 cat >>$CONFIG_STATUS <<_ACEOF
15425 if \$ac_cs_recheck; then
15426 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15427 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15428 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15429 + CONFIG_SHELL=$SHELL
15430 + export CONFIG_SHELL
15431 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15434 _ACEOF
15435 +cat >>$CONFIG_STATUS <<\_ACEOF
15436 +exec 5>>config.log
15438 + echo
15439 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15440 +## Running $as_me. ##
15441 +_ASBOX
15442 + echo "$ac_log"
15443 +} >&5
15445 +_ACEOF
15446 cat >>$CONFIG_STATUS <<_ACEOF
15448 -# INIT-COMMANDS section.
15449 +# INIT-COMMANDS
15452 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15454 _ACEOF
15458 cat >>$CONFIG_STATUS <<\_ACEOF
15460 +# Handling of arguments.
15461 for ac_config_target in $ac_config_targets
15463 - case "$ac_config_target" in
15464 - # Handling of arguments.
15465 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15466 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15467 - "doc/en/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
15468 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15469 - "src/audio/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/Makefile" ;;
15470 - "src/audio/alsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/alsa/Makefile" ;;
15471 - "src/audio/hpux/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/hpux/Makefile" ;;
15472 - "src/audio/irix/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/irix/Makefile" ;;
15473 - "src/audio/mmsystem/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/mmsystem/Makefile" ;;
15474 - "src/audio/null/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/null/Makefile" ;;
15475 - "src/audio/oss/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/oss/Makefile" ;;
15476 - "src/audio/sunos/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/sunos/Makefile" ;;
15477 - "src/audio/wav/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/audio/wav/Makefile" ;;
15478 - "unix/Makefile" ) CONFIG_FILES="$CONFIG_FILES unix/Makefile" ;;
15479 - "unix/sidplay2.spec" ) CONFIG_FILES="$CONFIG_FILES unix/sidplay2.spec" ;;
15480 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15481 - "unix/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS unix/config.h" ;;
15482 + case $ac_config_target in
15483 + "unix/config.h") CONFIG_HEADERS="$CONFIG_HEADERS unix/config.h" ;;
15484 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15485 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15486 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15487 + "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
15488 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15489 + "src/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/Makefile" ;;
15490 + "src/audio/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/alsa/Makefile" ;;
15491 + "src/audio/hpux/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/hpux/Makefile" ;;
15492 + "src/audio/irix/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/irix/Makefile" ;;
15493 + "src/audio/mmsystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/mmsystem/Makefile" ;;
15494 + "src/audio/null/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/null/Makefile" ;;
15495 + "src/audio/oss/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/oss/Makefile" ;;
15496 + "src/audio/sunos/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/sunos/Makefile" ;;
15497 + "src/audio/wav/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/wav/Makefile" ;;
15498 + "unix/Makefile") CONFIG_FILES="$CONFIG_FILES unix/Makefile" ;;
15499 + "unix/sidplay2.spec") CONFIG_FILES="$CONFIG_FILES unix/sidplay2.spec" ;;
15501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15503 { (exit 1); exit 1; }; };;
15504 esac
15505 done
15508 # If the user did not use the arguments to specify the items to instantiate,
15509 # then the envvar interface is used. Set only those that are not.
15510 # We use the long form for the default assignment because of an extremely
15511 @@ -21704,615 +22325,600 @@
15514 # Have a temporary directory for convenience. Make it in the build tree
15515 -# simply because there is no reason to put it here, and in addition,
15516 +# simply because there is no reason against having it here, and in addition,
15517 # creating and moving files from /tmp can sometimes cause problems.
15518 -# Create a temporary directory, and hook for its removal unless debugging.
15519 +# Hook for its removal unless debugging.
15520 +# Note that there is a small window in which the directory will not be cleaned:
15521 +# after its creation but before its name has been assigned to `$tmp'.
15522 $debug ||
15524 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15525 + tmp=
15526 + trap 'exit_status=$?
15527 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15528 +' 0
15529 trap '{ (exit 1); exit 1; }' 1 2 13 15
15532 # Create a (secure) tmp directory for tmp files.
15535 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15536 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15537 test -n "$tmp" && test -d "$tmp"
15538 } ||
15540 - tmp=./confstat$$-$RANDOM
15541 - (umask 077 && mkdir $tmp)
15542 + tmp=./conf$$-$RANDOM
15543 + (umask 077 && mkdir "$tmp")
15544 } ||
15546 echo "$me: cannot create a temporary directory in ." >&2
15547 { (exit 1); exit 1; }
15550 -_ACEOF
15552 -cat >>$CONFIG_STATUS <<_ACEOF
15555 -# CONFIG_FILES section.
15556 +# Set up the sed scripts for CONFIG_FILES section.
15559 # No need to generate the scripts if there are no CONFIG_FILES.
15560 # This happens for instance when ./config.status config.h
15561 -if test -n "\$CONFIG_FILES"; then
15562 - # Protect against being on the right side of a sed subst in config.status.
15563 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15564 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15565 -s,@SHELL@,$SHELL,;t t
15566 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15567 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15568 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15569 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15570 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15571 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15572 -s,@exec_prefix@,$exec_prefix,;t t
15573 -s,@prefix@,$prefix,;t t
15574 -s,@program_transform_name@,$program_transform_name,;t t
15575 -s,@bindir@,$bindir,;t t
15576 -s,@sbindir@,$sbindir,;t t
15577 -s,@libexecdir@,$libexecdir,;t t
15578 -s,@datadir@,$datadir,;t t
15579 -s,@sysconfdir@,$sysconfdir,;t t
15580 -s,@sharedstatedir@,$sharedstatedir,;t t
15581 -s,@localstatedir@,$localstatedir,;t t
15582 -s,@libdir@,$libdir,;t t
15583 -s,@includedir@,$includedir,;t t
15584 -s,@oldincludedir@,$oldincludedir,;t t
15585 -s,@infodir@,$infodir,;t t
15586 -s,@mandir@,$mandir,;t t
15587 -s,@build_alias@,$build_alias,;t t
15588 -s,@host_alias@,$host_alias,;t t
15589 -s,@target_alias@,$target_alias,;t t
15590 -s,@DEFS@,$DEFS,;t t
15591 -s,@ECHO_C@,$ECHO_C,;t t
15592 -s,@ECHO_N@,$ECHO_N,;t t
15593 -s,@ECHO_T@,$ECHO_T,;t t
15594 -s,@LIBS@,$LIBS,;t t
15595 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15596 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15597 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15598 -s,@CYGPATH_W@,$CYGPATH_W,;t t
15599 -s,@PACKAGE@,$PACKAGE,;t t
15600 -s,@VERSION@,$VERSION,;t t
15601 -s,@ACLOCAL@,$ACLOCAL,;t t
15602 -s,@AUTOCONF@,$AUTOCONF,;t t
15603 -s,@AUTOMAKE@,$AUTOMAKE,;t t
15604 -s,@AUTOHEADER@,$AUTOHEADER,;t t
15605 -s,@MAKEINFO@,$MAKEINFO,;t t
15606 -s,@AMTAR@,$AMTAR,;t t
15607 -s,@install_sh@,$install_sh,;t t
15608 -s,@STRIP@,$STRIP,;t t
15609 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15610 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15611 -s,@mkdir_p@,$mkdir_p,;t t
15612 -s,@AWK@,$AWK,;t t
15613 -s,@SET_MAKE@,$SET_MAKE,;t t
15614 -s,@am__leading_dot@,$am__leading_dot,;t t
15615 -s,@build@,$build,;t t
15616 -s,@build_cpu@,$build_cpu,;t t
15617 -s,@build_vendor@,$build_vendor,;t t
15618 -s,@build_os@,$build_os,;t t
15619 -s,@host@,$host,;t t
15620 -s,@host_cpu@,$host_cpu,;t t
15621 -s,@host_vendor@,$host_vendor,;t t
15622 -s,@host_os@,$host_os,;t t
15623 -s,@CC@,$CC,;t t
15624 -s,@CFLAGS@,$CFLAGS,;t t
15625 -s,@LDFLAGS@,$LDFLAGS,;t t
15626 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15627 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15628 -s,@EXEEXT@,$EXEEXT,;t t
15629 -s,@OBJEXT@,$OBJEXT,;t t
15630 -s,@DEPDIR@,$DEPDIR,;t t
15631 -s,@am__include@,$am__include,;t t
15632 -s,@am__quote@,$am__quote,;t t
15633 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15634 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15635 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15636 -s,@CCDEPMODE@,$CCDEPMODE,;t t
15637 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15638 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15639 -s,@CXX@,$CXX,;t t
15640 -s,@CXXFLAGS@,$CXXFLAGS,;t t
15641 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15642 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
15643 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
15644 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
15645 -s,@EGREP@,$EGREP,;t t
15646 -s,@LN_S@,$LN_S,;t t
15647 -s,@ECHO@,$ECHO,;t t
15648 -s,@AR@,$AR,;t t
15649 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15650 -s,@RANLIB@,$RANLIB,;t t
15651 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15652 -s,@DLLTOOL@,$DLLTOOL,;t t
15653 -s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
15654 -s,@AS@,$AS,;t t
15655 -s,@ac_ct_AS@,$ac_ct_AS,;t t
15656 -s,@OBJDUMP@,$OBJDUMP,;t t
15657 -s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
15658 -s,@CPP@,$CPP,;t t
15659 -s,@CXXCPP@,$CXXCPP,;t t
15660 -s,@F77@,$F77,;t t
15661 -s,@FFLAGS@,$FFLAGS,;t t
15662 -s,@ac_ct_F77@,$ac_ct_F77,;t t
15663 -s,@LIBTOOL@,$LIBTOOL,;t t
15664 -s,@AUDIO_LDADD@,$AUDIO_LDADD,;t t
15665 -s,@AUDIO_LDFLAGS@,$AUDIO_LDFLAGS,;t t
15666 -s,@AUDIO_DRV@,$AUDIO_DRV,;t t
15667 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
15668 -s,@LIBSIDPLAY2_CXXFLAGS@,$LIBSIDPLAY2_CXXFLAGS,;t t
15669 -s,@LIBSIDPLAY2_LDFLAGS@,$LIBSIDPLAY2_LDFLAGS,;t t
15670 -s,@LIBSIDPLAY2_BUILDERS@,$LIBSIDPLAY2_BUILDERS,;t t
15671 -s,@LIBSIDUTILS_CXXFLAGS@,$LIBSIDUTILS_CXXFLAGS,;t t
15672 -s,@LIBSIDUTILS_LDFLAGS@,$LIBSIDUTILS_LDFLAGS,;t t
15673 -s,@BUILDERS_LDFLAGS@,$BUILDERS_LDFLAGS,;t t
15674 -s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
15675 -s,@LIBOBJS@,$LIBOBJS,;t t
15676 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15677 -CEOF
15679 -_ACEOF
15681 - cat >>$CONFIG_STATUS <<\_ACEOF
15682 - # Split the substitutions into bite-sized pieces for seds with
15683 - # small command number limits, like on Digital OSF/1 and HP-UX.
15684 - ac_max_sed_lines=48
15685 - ac_sed_frag=1 # Number of current file.
15686 - ac_beg=1 # First line for current file.
15687 - ac_end=$ac_max_sed_lines # Line after last line for current file.
15688 - ac_more_lines=:
15689 - ac_sed_cmds=
15690 - while $ac_more_lines; do
15691 - if test $ac_beg -gt 1; then
15692 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15693 - else
15694 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15695 - fi
15696 - if test ! -s $tmp/subs.frag; then
15697 - ac_more_lines=false
15698 - else
15699 - # The purpose of the label and of the branching condition is to
15700 - # speed up the sed processing (if there are no `@' at all, there
15701 - # is no need to browse any of the substitutions).
15702 - # These are the two extra sed commands mentioned above.
15703 - (echo ':t
15704 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15705 - if test -z "$ac_sed_cmds"; then
15706 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15707 - else
15708 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15709 - fi
15710 - ac_sed_frag=`expr $ac_sed_frag + 1`
15711 - ac_beg=$ac_end
15712 - ac_end=`expr $ac_end + $ac_max_sed_lines`
15713 - fi
15714 - done
15715 - if test -z "$ac_sed_cmds"; then
15716 - ac_sed_cmds=cat
15717 +if test -n "$CONFIG_FILES"; then
15719 +_ACEOF
15723 +ac_delim='%!_!# '
15724 +for ac_last_try in false false false false false :; do
15725 + cat >conf$$subs.sed <<_ACEOF
15726 +SHELL!$SHELL$ac_delim
15727 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15728 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15729 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15730 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15731 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15732 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15733 +exec_prefix!$exec_prefix$ac_delim
15734 +prefix!$prefix$ac_delim
15735 +program_transform_name!$program_transform_name$ac_delim
15736 +bindir!$bindir$ac_delim
15737 +sbindir!$sbindir$ac_delim
15738 +libexecdir!$libexecdir$ac_delim
15739 +datarootdir!$datarootdir$ac_delim
15740 +datadir!$datadir$ac_delim
15741 +sysconfdir!$sysconfdir$ac_delim
15742 +sharedstatedir!$sharedstatedir$ac_delim
15743 +localstatedir!$localstatedir$ac_delim
15744 +includedir!$includedir$ac_delim
15745 +oldincludedir!$oldincludedir$ac_delim
15746 +docdir!$docdir$ac_delim
15747 +infodir!$infodir$ac_delim
15748 +htmldir!$htmldir$ac_delim
15749 +dvidir!$dvidir$ac_delim
15750 +pdfdir!$pdfdir$ac_delim
15751 +psdir!$psdir$ac_delim
15752 +libdir!$libdir$ac_delim
15753 +localedir!$localedir$ac_delim
15754 +mandir!$mandir$ac_delim
15755 +DEFS!$DEFS$ac_delim
15756 +ECHO_C!$ECHO_C$ac_delim
15757 +ECHO_N!$ECHO_N$ac_delim
15758 +ECHO_T!$ECHO_T$ac_delim
15759 +LIBS!$LIBS$ac_delim
15760 +build_alias!$build_alias$ac_delim
15761 +host_alias!$host_alias$ac_delim
15762 +target_alias!$target_alias$ac_delim
15763 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15764 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15765 +INSTALL_DATA!$INSTALL_DATA$ac_delim
15766 +CYGPATH_W!$CYGPATH_W$ac_delim
15767 +PACKAGE!$PACKAGE$ac_delim
15768 +VERSION!$VERSION$ac_delim
15769 +ACLOCAL!$ACLOCAL$ac_delim
15770 +AUTOCONF!$AUTOCONF$ac_delim
15771 +AUTOMAKE!$AUTOMAKE$ac_delim
15772 +AUTOHEADER!$AUTOHEADER$ac_delim
15773 +MAKEINFO!$MAKEINFO$ac_delim
15774 +AMTAR!$AMTAR$ac_delim
15775 +install_sh!$install_sh$ac_delim
15776 +STRIP!$STRIP$ac_delim
15777 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
15778 +mkdir_p!$mkdir_p$ac_delim
15779 +AWK!$AWK$ac_delim
15780 +SET_MAKE!$SET_MAKE$ac_delim
15781 +am__leading_dot!$am__leading_dot$ac_delim
15782 +build!$build$ac_delim
15783 +build_cpu!$build_cpu$ac_delim
15784 +build_vendor!$build_vendor$ac_delim
15785 +build_os!$build_os$ac_delim
15786 +host!$host$ac_delim
15787 +host_cpu!$host_cpu$ac_delim
15788 +host_vendor!$host_vendor$ac_delim
15789 +host_os!$host_os$ac_delim
15790 +CC!$CC$ac_delim
15791 +CFLAGS!$CFLAGS$ac_delim
15792 +LDFLAGS!$LDFLAGS$ac_delim
15793 +CPPFLAGS!$CPPFLAGS$ac_delim
15794 +ac_ct_CC!$ac_ct_CC$ac_delim
15795 +EXEEXT!$EXEEXT$ac_delim
15796 +OBJEXT!$OBJEXT$ac_delim
15797 +DEPDIR!$DEPDIR$ac_delim
15798 +am__include!$am__include$ac_delim
15799 +am__quote!$am__quote$ac_delim
15800 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
15801 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
15802 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
15803 +CCDEPMODE!$CCDEPMODE$ac_delim
15804 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
15805 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
15806 +CXX!$CXX$ac_delim
15807 +CXXFLAGS!$CXXFLAGS$ac_delim
15808 +ac_ct_CXX!$ac_ct_CXX$ac_delim
15809 +CXXDEPMODE!$CXXDEPMODE$ac_delim
15810 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
15811 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
15812 +GREP!$GREP$ac_delim
15813 +EGREP!$EGREP$ac_delim
15814 +LN_S!$LN_S$ac_delim
15815 +ECHO!$ECHO$ac_delim
15816 +AR!$AR$ac_delim
15817 +RANLIB!$RANLIB$ac_delim
15818 +DLLTOOL!$DLLTOOL$ac_delim
15819 +AS!$AS$ac_delim
15820 +OBJDUMP!$OBJDUMP$ac_delim
15821 +CPP!$CPP$ac_delim
15822 +CXXCPP!$CXXCPP$ac_delim
15823 +_ACEOF
15825 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
15826 + break
15827 + elif $ac_last_try; then
15828 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15829 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15830 + { (exit 1); exit 1; }; }
15831 + else
15832 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15834 -fi # test -n "$CONFIG_FILES"
15835 +done
15837 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15838 +if test -n "$ac_eof"; then
15839 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15840 + ac_eof=`expr $ac_eof + 1`
15843 +cat >>$CONFIG_STATUS <<_ACEOF
15844 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15845 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15846 +_ACEOF
15847 +sed '
15848 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15849 +s/^/s,@/; s/!/@,|#_!!_#|/
15851 +t n
15852 +s/'"$ac_delim"'$/,g/; t
15853 +s/$/\\/; p
15854 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15855 +' >>$CONFIG_STATUS <conf$$subs.sed
15856 +rm -f conf$$subs.sed
15857 +cat >>$CONFIG_STATUS <<_ACEOF
15858 +CEOF$ac_eof
15859 +_ACEOF
15862 +ac_delim='%!_!# '
15863 +for ac_last_try in false false false false false :; do
15864 + cat >conf$$subs.sed <<_ACEOF
15865 +F77!$F77$ac_delim
15866 +FFLAGS!$FFLAGS$ac_delim
15867 +ac_ct_F77!$ac_ct_F77$ac_delim
15868 +LIBTOOL!$LIBTOOL$ac_delim
15869 +AUDIO_LDADD!$AUDIO_LDADD$ac_delim
15870 +AUDIO_LDFLAGS!$AUDIO_LDFLAGS$ac_delim
15871 +AUDIO_DRV!$AUDIO_DRV$ac_delim
15872 +PKG_CONFIG!$PKG_CONFIG$ac_delim
15873 +LIBSIDPLAY2_CXXFLAGS!$LIBSIDPLAY2_CXXFLAGS$ac_delim
15874 +LIBSIDPLAY2_LDFLAGS!$LIBSIDPLAY2_LDFLAGS$ac_delim
15875 +LIBSIDPLAY2_BUILDERS!$LIBSIDPLAY2_BUILDERS$ac_delim
15876 +LIBSIDUTILS_CXXFLAGS!$LIBSIDUTILS_CXXFLAGS$ac_delim
15877 +LIBSIDUTILS_LDFLAGS!$LIBSIDUTILS_LDFLAGS$ac_delim
15878 +BUILDERS_LDFLAGS!$BUILDERS_LDFLAGS$ac_delim
15879 +ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
15880 +LIBOBJS!$LIBOBJS$ac_delim
15881 +LTLIBOBJS!$LTLIBOBJS$ac_delim
15882 _ACEOF
15884 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
15885 + break
15886 + elif $ac_last_try; then
15887 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15888 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15889 + { (exit 1); exit 1; }; }
15890 + else
15891 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15892 + fi
15893 +done
15895 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15896 +if test -n "$ac_eof"; then
15897 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15898 + ac_eof=`expr $ac_eof + 1`
15901 +cat >>$CONFIG_STATUS <<_ACEOF
15902 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
15903 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15904 +_ACEOF
15905 +sed '
15906 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15907 +s/^/s,@/; s/!/@,|#_!!_#|/
15909 +t n
15910 +s/'"$ac_delim"'$/,g/; t
15911 +s/$/\\/; p
15912 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15913 +' >>$CONFIG_STATUS <conf$$subs.sed
15914 +rm -f conf$$subs.sed
15915 +cat >>$CONFIG_STATUS <<_ACEOF
15916 +:end
15917 +s/|#_!!_#|//g
15918 +CEOF$ac_eof
15919 +_ACEOF
15922 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
15923 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15924 +# trailing colons and then remove the whole line if VPATH becomes empty
15925 +# (actually we leave an empty line to preserve line numbers).
15926 +if test "x$srcdir" = x.; then
15927 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
15928 +s/:*\$(srcdir):*/:/
15929 +s/:*\${srcdir}:*/:/
15930 +s/:*@srcdir@:*/:/
15931 +s/^\([^=]*=[ ]*\):*/\1/
15932 +s/:*$//
15933 +s/^[^=]*=[ ]*$//
15937 cat >>$CONFIG_STATUS <<\_ACEOF
15938 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15939 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15940 - case $ac_file in
15941 - - | *:- | *:-:* ) # input from stdin
15942 - cat >$tmp/stdin
15943 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15944 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15945 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15946 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15947 - * ) ac_file_in=$ac_file.in ;;
15948 +fi # test -n "$CONFIG_FILES"
15951 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
15953 + case $ac_tag in
15954 + :[FHLC]) ac_mode=$ac_tag; continue;;
15955 + esac
15956 + case $ac_mode$ac_tag in
15957 + :[FHL]*:*);;
15958 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15959 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15960 + { (exit 1); exit 1; }; };;
15961 + :[FH]-) ac_tag=-:-;;
15962 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15963 esac
15964 + ac_save_IFS=$IFS
15965 + IFS=:
15966 + set x $ac_tag
15967 + IFS=$ac_save_IFS
15968 + shift
15969 + ac_file=$1
15970 + shift
15972 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15973 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15974 + case $ac_mode in
15975 + :L) ac_source=$1;;
15976 + :[FH])
15977 + ac_file_inputs=
15978 + for ac_f
15979 + do
15980 + case $ac_f in
15981 + -) ac_f="$tmp/stdin";;
15982 + *) # Look for the file first in the build tree, then in the source tree
15983 + # (if the path is not absolute). The absolute path cannot be DOS-style,
15984 + # because $ac_f cannot contain `:'.
15985 + test -f "$ac_f" ||
15986 + case $ac_f in
15987 + [\\/$]*) false;;
15988 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15989 + esac ||
15990 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15991 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15992 + { (exit 1); exit 1; }; };;
15993 + esac
15994 + ac_file_inputs="$ac_file_inputs $ac_f"
15995 + done
15997 + # Let's still pretend it is `configure' which instantiates (i.e., don't
15998 + # use $as_me), people would be surprised to read:
15999 + # /* config.h. Generated by config.status. */
16000 + configure_input="Generated from "`IFS=:
16001 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16002 + if test x"$ac_file" != x-; then
16003 + configure_input="$ac_file. $configure_input"
16004 + { echo "$as_me:$LINENO: creating $ac_file" >&5
16005 +echo "$as_me: creating $ac_file" >&6;}
16006 + fi
16008 + case $ac_tag in
16009 + *:-:* | *:-) cat >"$tmp/stdin";;
16010 + esac
16011 + ;;
16012 + esac
16014 + ac_dir=`$as_dirname -- "$ac_file" ||
16015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16016 X"$ac_file" : 'X\(//\)[^/]' \| \
16017 X"$ac_file" : 'X\(//\)$' \| \
16018 - X"$ac_file" : 'X\(/\)' \| \
16019 - . : '\(.\)' 2>/dev/null ||
16020 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16021 echo X"$ac_file" |
16022 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16023 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16024 - /^X\(\/\/\)$/{ s//\1/; q; }
16025 - /^X\(\/\).*/{ s//\1/; q; }
16026 - s/.*/./; q'`
16027 - { if $as_mkdir_p; then
16028 - mkdir -p "$ac_dir"
16029 - else
16030 - as_dir="$ac_dir"
16031 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16032 + s//\1/
16035 + /^X\(\/\/\)[^/].*/{
16036 + s//\1/
16039 + /^X\(\/\/\)$/{
16040 + s//\1/
16043 + /^X\(\/\).*/{
16044 + s//\1/
16047 + s/.*/./; q'`
16048 + { as_dir="$ac_dir"
16049 + case $as_dir in #(
16050 + -*) as_dir=./$as_dir;;
16051 + esac
16052 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16053 as_dirs=
16054 - while test ! -d "$as_dir"; do
16055 - as_dirs="$as_dir $as_dirs"
16056 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16057 + while :; do
16058 + case $as_dir in #(
16059 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16060 + *) as_qdir=$as_dir;;
16061 + esac
16062 + as_dirs="'$as_qdir' $as_dirs"
16063 + as_dir=`$as_dirname -- "$as_dir" ||
16064 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16065 X"$as_dir" : 'X\(//\)[^/]' \| \
16066 X"$as_dir" : 'X\(//\)$' \| \
16067 - X"$as_dir" : 'X\(/\)' \| \
16068 - . : '\(.\)' 2>/dev/null ||
16069 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16070 echo X"$as_dir" |
16071 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16072 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16073 - /^X\(\/\/\)$/{ s//\1/; q; }
16074 - /^X\(\/\).*/{ s//\1/; q; }
16075 - s/.*/./; q'`
16076 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16077 + s//\1/
16080 + /^X\(\/\/\)[^/].*/{
16081 + s//\1/
16084 + /^X\(\/\/\)$/{
16085 + s//\1/
16088 + /^X\(\/\).*/{
16089 + s//\1/
16092 + s/.*/./; q'`
16093 + test -d "$as_dir" && break
16094 done
16095 - test ! -n "$as_dirs" || mkdir $as_dirs
16096 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16097 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16098 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16099 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16100 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16101 { (exit 1); exit 1; }; }; }
16103 ac_builddir=.
16105 -if test "$ac_dir" != .; then
16106 +case "$ac_dir" in
16107 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16109 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16110 - # A "../" for each directory in $ac_dir_suffix.
16111 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16112 -else
16113 - ac_dir_suffix= ac_top_builddir=
16115 + # A ".." for each directory in $ac_dir_suffix.
16116 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16117 + case $ac_top_builddir_sub in
16118 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16119 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16120 + esac ;;
16121 +esac
16122 +ac_abs_top_builddir=$ac_pwd
16123 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
16124 +# for backward compatibility:
16125 +ac_top_builddir=$ac_top_build_prefix
16127 case $srcdir in
16128 - .) # No --srcdir option. We are building in place.
16129 + .) # We are building in place.
16130 ac_srcdir=.
16131 - if test -z "$ac_top_builddir"; then
16132 - ac_top_srcdir=.
16133 - else
16134 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16135 - fi ;;
16136 - [\\/]* | ?:[\\/]* ) # Absolute path.
16137 + ac_top_srcdir=$ac_top_builddir_sub
16138 + ac_abs_top_srcdir=$ac_pwd ;;
16139 + [\\/]* | ?:[\\/]* ) # Absolute name.
16140 ac_srcdir=$srcdir$ac_dir_suffix;
16141 - ac_top_srcdir=$srcdir ;;
16142 - *) # Relative path.
16143 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16144 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16145 + ac_top_srcdir=$srcdir
16146 + ac_abs_top_srcdir=$srcdir ;;
16147 + *) # Relative name.
16148 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16149 + ac_top_srcdir=$ac_top_build_prefix$srcdir
16150 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16151 esac
16152 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16154 -# Do not use `cd foo && pwd` to compute absolute paths, because
16155 -# the directories may not exist.
16156 -case `pwd` in
16157 -.) ac_abs_builddir="$ac_dir";;
16159 - case "$ac_dir" in
16160 - .) ac_abs_builddir=`pwd`;;
16161 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16162 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16163 - esac;;
16164 -esac
16165 -case $ac_abs_builddir in
16166 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16168 - case ${ac_top_builddir}. in
16169 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16170 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16171 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16172 - esac;;
16173 -esac
16174 -case $ac_abs_builddir in
16175 -.) ac_abs_srcdir=$ac_srcdir;;
16177 - case $ac_srcdir in
16178 - .) ac_abs_srcdir=$ac_abs_builddir;;
16179 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16180 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16181 - esac;;
16182 -esac
16183 -case $ac_abs_builddir in
16184 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16186 - case $ac_top_srcdir in
16187 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16188 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16189 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16190 - esac;;
16191 -esac
16193 + case $ac_mode in
16194 + :F)
16196 + # CONFIG_FILE
16199 case $INSTALL in
16200 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16201 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16202 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16203 esac
16204 +_ACEOF
16206 - if test x"$ac_file" != x-; then
16207 - { echo "$as_me:$LINENO: creating $ac_file" >&5
16208 -echo "$as_me: creating $ac_file" >&6;}
16209 - rm -f "$ac_file"
16210 - fi
16211 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16212 - # use $as_me), people would be surprised to read:
16213 - # /* config.h. Generated by config.status. */
16214 - if test x"$ac_file" = x-; then
16215 - configure_input=
16216 - else
16217 - configure_input="$ac_file. "
16218 - fi
16219 - configure_input=$configure_input"Generated from `echo $ac_file_in |
16220 - sed 's,.*/,,'` by configure."
16222 - # First look for the input files in the build tree, otherwise in the
16223 - # src tree.
16224 - ac_file_inputs=`IFS=:
16225 - for f in $ac_file_in; do
16226 - case $f in
16227 - -) echo $tmp/stdin ;;
16228 - [\\/$]*)
16229 - # Absolute (can't be DOS-style, as IFS=:)
16230 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16231 -echo "$as_me: error: cannot find input file: $f" >&2;}
16232 - { (exit 1); exit 1; }; }
16233 - echo "$f";;
16234 - *) # Relative
16235 - if test -f "$f"; then
16236 - # Build tree
16237 - echo "$f"
16238 - elif test -f "$srcdir/$f"; then
16239 - # Source tree
16240 - echo "$srcdir/$f"
16241 - else
16242 - # /dev/null tree
16243 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16244 -echo "$as_me: error: cannot find input file: $f" >&2;}
16245 - { (exit 1); exit 1; }; }
16246 - fi;;
16247 - esac
16248 - done` || { (exit 1); exit 1; }
16249 +cat >>$CONFIG_STATUS <<\_ACEOF
16250 +# If the template does not know about datarootdir, expand it.
16251 +# FIXME: This hack should be removed a few years after 2.60.
16252 +ac_datarootdir_hack=; ac_datarootdir_seen=
16254 +case `sed -n '/datarootdir/ {
16258 +/@datadir@/p
16259 +/@docdir@/p
16260 +/@infodir@/p
16261 +/@localedir@/p
16262 +/@mandir@/p
16263 +' $ac_file_inputs` in
16264 +*datarootdir*) ac_datarootdir_seen=yes;;
16265 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16266 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16267 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16268 _ACEOF
16269 cat >>$CONFIG_STATUS <<_ACEOF
16270 + ac_datarootdir_hack='
16271 + s&@datadir@&$datadir&g
16272 + s&@docdir@&$docdir&g
16273 + s&@infodir@&$infodir&g
16274 + s&@localedir@&$localedir&g
16275 + s&@mandir@&$mandir&g
16276 + s&\\\${datarootdir}&$datarootdir&g' ;;
16277 +esac
16278 +_ACEOF
16280 +# Neutralize VPATH when `$srcdir' = `.'.
16281 +# Shell code in configure.ac might set extrasub.
16282 +# FIXME: do we really want to maintain this feature?
16283 +cat >>$CONFIG_STATUS <<_ACEOF
16284 sed "$ac_vpsub
16285 $extrasub
16286 _ACEOF
16287 cat >>$CONFIG_STATUS <<\_ACEOF
16289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16290 -s,@configure_input@,$configure_input,;t t
16291 -s,@srcdir@,$ac_srcdir,;t t
16292 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
16293 -s,@top_srcdir@,$ac_top_srcdir,;t t
16294 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16295 -s,@builddir@,$ac_builddir,;t t
16296 -s,@abs_builddir@,$ac_abs_builddir,;t t
16297 -s,@top_builddir@,$ac_top_builddir,;t t
16298 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16299 -s,@INSTALL@,$ac_INSTALL,;t t
16300 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16301 - rm -f $tmp/stdin
16302 - if test x"$ac_file" != x-; then
16303 - mv $tmp/out $ac_file
16304 - else
16305 - cat $tmp/out
16306 - rm -f $tmp/out
16307 - fi
16308 +s&@configure_input@&$configure_input&;t t
16309 +s&@top_builddir@&$ac_top_builddir_sub&;t t
16310 +s&@srcdir@&$ac_srcdir&;t t
16311 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
16312 +s&@top_srcdir@&$ac_top_srcdir&;t t
16313 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16314 +s&@builddir@&$ac_builddir&;t t
16315 +s&@abs_builddir@&$ac_abs_builddir&;t t
16316 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16317 +s&@INSTALL@&$ac_INSTALL&;t t
16318 +$ac_datarootdir_hack
16319 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16321 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16322 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16323 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16324 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16325 +which seems to be undefined. Please make sure it is defined." >&5
16326 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16327 +which seems to be undefined. Please make sure it is defined." >&2;}
16329 -done
16330 -_ACEOF
16331 -cat >>$CONFIG_STATUS <<\_ACEOF
16334 -# CONFIG_HEADER section.
16337 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16338 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
16340 -# ac_d sets the value in "#define NAME VALUE" lines.
16341 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16342 -ac_dB='[ ].*$,\1#\2'
16343 -ac_dC=' '
16344 -ac_dD=',;t'
16345 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16346 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16347 -ac_uB='$,\1#\2define\3'
16348 -ac_uC=' '
16349 -ac_uD=',;t'
16351 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16352 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16353 + rm -f "$tmp/stdin"
16354 case $ac_file in
16355 - - | *:- | *:-:* ) # input from stdin
16356 - cat >$tmp/stdin
16357 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16358 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16359 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16360 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16361 - * ) ac_file_in=$ac_file.in ;;
16362 + -) cat "$tmp/out"; rm -f "$tmp/out";;
16363 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16364 esac
16366 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16367 -echo "$as_me: creating $ac_file" >&6;}
16369 - # First look for the input files in the build tree, otherwise in the
16370 - # src tree.
16371 - ac_file_inputs=`IFS=:
16372 - for f in $ac_file_in; do
16373 - case $f in
16374 - -) echo $tmp/stdin ;;
16375 - [\\/$]*)
16376 - # Absolute (can't be DOS-style, as IFS=:)
16377 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16378 -echo "$as_me: error: cannot find input file: $f" >&2;}
16379 - { (exit 1); exit 1; }; }
16380 - # Do quote $f, to prevent DOS paths from being IFS'd.
16381 - echo "$f";;
16382 - *) # Relative
16383 - if test -f "$f"; then
16384 - # Build tree
16385 - echo "$f"
16386 - elif test -f "$srcdir/$f"; then
16387 - # Source tree
16388 - echo "$srcdir/$f"
16389 - else
16390 - # /dev/null tree
16391 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16392 -echo "$as_me: error: cannot find input file: $f" >&2;}
16393 - { (exit 1); exit 1; }; }
16394 - fi;;
16395 - esac
16396 - done` || { (exit 1); exit 1; }
16397 - # Remove the trailing spaces.
16398 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16400 + ;;
16401 + :H)
16403 + # CONFIG_HEADER
16405 _ACEOF
16407 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
16408 -# `conftest.undefs', that substitutes the proper values into
16409 -# config.h.in to produce config.h. The first handles `#define'
16410 -# templates, and the second `#undef' templates.
16411 -# And first: Protect against being on the right side of a sed subst in
16412 -# config.status. Protect against being in an unquoted here document
16413 -# in config.status.
16414 -rm -f conftest.defines conftest.undefs
16415 -# Using a here document instead of a string reduces the quoting nightmare.
16416 -# Putting comments in sed scripts is not portable.
16418 -# `end' is used to avoid that the second main sed command (meant for
16419 -# 0-ary CPP macros) applies to n-ary macro definitions.
16420 -# See the Autoconf documentation for `clear'.
16421 -cat >confdef2sed.sed <<\_ACEOF
16422 -s/[\\&,]/\\&/g
16423 -s,[\\$`],\\&,g
16424 -t clear
16425 -: clear
16426 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16427 -t end
16428 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16429 -: end
16430 -_ACEOF
16431 -# If some macros were called several times there might be several times
16432 -# the same #defines, which is useless. Nevertheless, we may not want to
16433 -# sort them, since we want the *last* AC-DEFINE to be honored.
16434 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16435 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16436 -rm -f confdef2sed.sed
16437 +# Transform confdefs.h into a sed script `conftest.defines', that
16438 +# substitutes the proper values into config.h.in to produce config.h.
16439 +rm -f conftest.defines conftest.tail
16440 +# First, append a space to every undef/define line, to ease matching.
16441 +echo 's/$/ /' >conftest.defines
16442 +# Then, protect against being on the right side of a sed subst, or in
16443 +# an unquoted here document, in config.status. If some macros were
16444 +# called several times there might be several #defines for the same
16445 +# symbol, which is useless. But do not sort them, since the last
16446 +# AC_DEFINE must be honored.
16447 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16448 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16449 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
16450 +# PARAMS is the parameter list in the macro definition--in most cases, it's
16451 +# just an empty string.
16452 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16453 +ac_dB='\\)[ (].*,\\1define\\2'
16454 +ac_dC=' '
16455 +ac_dD=' ,'
16457 +uniq confdefs.h |
16458 + sed -n '
16459 + t rset
16460 + :rset
16461 + s/^[ ]*#[ ]*define[ ][ ]*//
16462 + t ok
16464 + :ok
16465 + s/[\\&,]/\\&/g
16466 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16467 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16468 + ' >>conftest.defines
16470 -# This sed command replaces #undef with comments. This is necessary, for
16471 +# Remove the space that was appended to ease matching.
16472 +# Then replace #undef with comments. This is necessary, for
16473 # example, in the case of _POSIX_SOURCE, which is predefined and required
16474 # on some systems where configure will not decide to define it.
16475 -cat >>conftest.undefs <<\_ACEOF
16476 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16477 -_ACEOF
16478 +# (The regexp can be short, since the line contains either #define or #undef.)
16479 +echo 's/ $//
16480 +s,^[ #]*u.*,/* & */,' >>conftest.defines
16482 +# Break up conftest.defines:
16483 +ac_max_sed_lines=50
16485 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16486 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16487 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16488 +# et cetera.
16489 +ac_in='$ac_file_inputs'
16490 +ac_out='"$tmp/out1"'
16491 +ac_nxt='"$tmp/out2"'
16493 -# Break up conftest.defines because some shells have a limit on the size
16494 -# of here documents, and old seds have small limits too (100 cmds).
16495 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16496 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16497 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16498 -echo ' :' >>$CONFIG_STATUS
16499 -rm -f conftest.tail
16500 -while grep . conftest.defines >/dev/null
16501 +while :
16503 - # Write a limited-size here document to $tmp/defines.sed.
16504 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16505 - # Speed up: don't consider the non `#define' lines.
16506 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16507 - # Work around the forget-to-reset-the-flag bug.
16508 - echo 't clr' >>$CONFIG_STATUS
16509 - echo ': clr' >>$CONFIG_STATUS
16510 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16511 + # Write a here document:
16512 + cat >>$CONFIG_STATUS <<_ACEOF
16513 + # First, check the format of the line:
16514 + cat >"\$tmp/defines.sed" <<\\CEOF
16515 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16516 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16518 +:def
16519 +_ACEOF
16520 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16521 echo 'CEOF
16522 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
16523 - rm -f $tmp/in
16524 - mv $tmp/out $tmp/in
16525 -' >>$CONFIG_STATUS
16526 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16527 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16528 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16529 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16530 + grep . conftest.tail >/dev/null || break
16531 rm -f conftest.defines
16532 mv conftest.tail conftest.defines
16533 done
16534 -rm -f conftest.defines
16535 -echo ' fi # grep' >>$CONFIG_STATUS
16536 -echo >>$CONFIG_STATUS
16538 -# Break up conftest.undefs because some shells have a limit on the size
16539 -# of here documents, and old seds have small limits too (100 cmds).
16540 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16541 -rm -f conftest.tail
16542 -while grep . conftest.undefs >/dev/null
16544 - # Write a limited-size here document to $tmp/undefs.sed.
16545 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16546 - # Speed up: don't consider the non `#undef'
16547 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16548 - # Work around the forget-to-reset-the-flag bug.
16549 - echo 't clr' >>$CONFIG_STATUS
16550 - echo ': clr' >>$CONFIG_STATUS
16551 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16552 - echo 'CEOF
16553 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16554 - rm -f $tmp/in
16555 - mv $tmp/out $tmp/in
16556 -' >>$CONFIG_STATUS
16557 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16558 - rm -f conftest.undefs
16559 - mv conftest.tail conftest.undefs
16560 -done
16561 -rm -f conftest.undefs
16562 +rm -f conftest.defines conftest.tail
16564 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
16565 cat >>$CONFIG_STATUS <<\_ACEOF
16566 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16567 - # use $as_me), people would be surprised to read:
16568 - # /* config.h. Generated by config.status. */
16569 - if test x"$ac_file" = x-; then
16570 - echo "/* Generated by configure. */" >$tmp/config.h
16571 - else
16572 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16573 - fi
16574 - cat $tmp/in >>$tmp/config.h
16575 - rm -f $tmp/in
16576 if test x"$ac_file" != x-; then
16577 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16578 + echo "/* $configure_input */" >"$tmp/config.h"
16579 + cat "$ac_result" >>"$tmp/config.h"
16580 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16581 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16582 echo "$as_me: $ac_file is unchanged" >&6;}
16583 else
16584 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16585 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16586 - X"$ac_file" : 'X\(//\)[^/]' \| \
16587 - X"$ac_file" : 'X\(//\)$' \| \
16588 - X"$ac_file" : 'X\(/\)' \| \
16589 - . : '\(.\)' 2>/dev/null ||
16590 -echo X"$ac_file" |
16591 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16592 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16593 - /^X\(\/\/\)$/{ s//\1/; q; }
16594 - /^X\(\/\).*/{ s//\1/; q; }
16595 - s/.*/./; q'`
16596 - { if $as_mkdir_p; then
16597 - mkdir -p "$ac_dir"
16598 - else
16599 - as_dir="$ac_dir"
16600 - as_dirs=
16601 - while test ! -d "$as_dir"; do
16602 - as_dirs="$as_dir $as_dirs"
16603 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16604 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16605 - X"$as_dir" : 'X\(//\)[^/]' \| \
16606 - X"$as_dir" : 'X\(//\)$' \| \
16607 - X"$as_dir" : 'X\(/\)' \| \
16608 - . : '\(.\)' 2>/dev/null ||
16609 -echo X"$as_dir" |
16610 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16611 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16612 - /^X\(\/\/\)$/{ s//\1/; q; }
16613 - /^X\(\/\).*/{ s//\1/; q; }
16614 - s/.*/./; q'`
16615 - done
16616 - test ! -n "$as_dirs" || mkdir $as_dirs
16617 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16618 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16619 - { (exit 1); exit 1; }; }; }
16621 rm -f $ac_file
16622 - mv $tmp/config.h $ac_file
16623 + mv "$tmp/config.h" $ac_file
16625 else
16626 - cat $tmp/config.h
16627 - rm -f $tmp/config.h
16628 + echo "/* $configure_input */"
16629 + cat "$ac_result"
16631 + rm -f "$tmp/out12"
16632 # Compute $ac_file's index in $config_headers.
16633 _am_stamp_count=1
16634 for _am_header in $config_headers :; do
16635 @@ -22323,135 +22929,39 @@
16636 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16637 esac
16638 done
16639 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16640 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
16641 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16642 X$ac_file : 'X\(//\)[^/]' \| \
16643 X$ac_file : 'X\(//\)$' \| \
16644 - X$ac_file : 'X\(/\)' \| \
16645 - . : '\(.\)' 2>/dev/null ||
16646 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
16647 echo X$ac_file |
16648 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16649 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16650 - /^X\(\/\/\)$/{ s//\1/; q; }
16651 - /^X\(\/\).*/{ s//\1/; q; }
16652 - s/.*/./; q'`/stamp-h$_am_stamp_count
16653 -done
16654 -_ACEOF
16655 -cat >>$CONFIG_STATUS <<\_ACEOF
16658 -# CONFIG_COMMANDS section.
16660 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16661 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16662 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16663 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16664 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16665 - X"$ac_dest" : 'X\(//\)[^/]' \| \
16666 - X"$ac_dest" : 'X\(//\)$' \| \
16667 - X"$ac_dest" : 'X\(/\)' \| \
16668 - . : '\(.\)' 2>/dev/null ||
16669 -echo X"$ac_dest" |
16670 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16671 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16672 - /^X\(\/\/\)$/{ s//\1/; q; }
16673 - /^X\(\/\).*/{ s//\1/; q; }
16674 - s/.*/./; q'`
16675 - { if $as_mkdir_p; then
16676 - mkdir -p "$ac_dir"
16677 - else
16678 - as_dir="$ac_dir"
16679 - as_dirs=
16680 - while test ! -d "$as_dir"; do
16681 - as_dirs="$as_dir $as_dirs"
16682 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16683 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16684 - X"$as_dir" : 'X\(//\)[^/]' \| \
16685 - X"$as_dir" : 'X\(//\)$' \| \
16686 - X"$as_dir" : 'X\(/\)' \| \
16687 - . : '\(.\)' 2>/dev/null ||
16688 -echo X"$as_dir" |
16689 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16690 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16691 - /^X\(\/\/\)$/{ s//\1/; q; }
16692 - /^X\(\/\).*/{ s//\1/; q; }
16693 - s/.*/./; q'`
16694 - done
16695 - test ! -n "$as_dirs" || mkdir $as_dirs
16696 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16697 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16698 - { (exit 1); exit 1; }; }; }
16700 - ac_builddir=.
16702 -if test "$ac_dir" != .; then
16703 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16704 - # A "../" for each directory in $ac_dir_suffix.
16705 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16706 -else
16707 - ac_dir_suffix= ac_top_builddir=
16710 -case $srcdir in
16711 - .) # No --srcdir option. We are building in place.
16712 - ac_srcdir=.
16713 - if test -z "$ac_top_builddir"; then
16714 - ac_top_srcdir=.
16715 - else
16716 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16717 - fi ;;
16718 - [\\/]* | ?:[\\/]* ) # Absolute path.
16719 - ac_srcdir=$srcdir$ac_dir_suffix;
16720 - ac_top_srcdir=$srcdir ;;
16721 - *) # Relative path.
16722 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16723 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16724 -esac
16725 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16726 + s//\1/
16729 + /^X\(\/\/\)[^/].*/{
16730 + s//\1/
16733 + /^X\(\/\/\)$/{
16734 + s//\1/
16737 + /^X\(\/\).*/{
16738 + s//\1/
16741 + s/.*/./; q'`/stamp-h$_am_stamp_count
16742 + ;;
16744 -# Do not use `cd foo && pwd` to compute absolute paths, because
16745 -# the directories may not exist.
16746 -case `pwd` in
16747 -.) ac_abs_builddir="$ac_dir";;
16749 - case "$ac_dir" in
16750 - .) ac_abs_builddir=`pwd`;;
16751 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16752 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16753 - esac;;
16754 -esac
16755 -case $ac_abs_builddir in
16756 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16758 - case ${ac_top_builddir}. in
16759 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16760 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16761 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16762 - esac;;
16763 -esac
16764 -case $ac_abs_builddir in
16765 -.) ac_abs_srcdir=$ac_srcdir;;
16767 - case $ac_srcdir in
16768 - .) ac_abs_srcdir=$ac_abs_builddir;;
16769 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16770 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16771 - esac;;
16772 -esac
16773 -case $ac_abs_builddir in
16774 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16776 - case $ac_top_srcdir in
16777 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16778 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16779 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16780 - esac;;
16781 -esac
16782 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
16783 +echo "$as_me: executing $ac_file commands" >&6;}
16784 + ;;
16785 + esac
16788 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16789 -echo "$as_me: executing $ac_dest commands" >&6;}
16790 - case $ac_dest in
16791 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
16792 + case $ac_file$ac_mode in
16793 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
16794 # Strip MF so we end up with the name of the file.
16795 mf=`echo "$mf" | sed -e 's/:.*$//'`
16796 # Check whether this is an Automake generated Makefile or not.
16797 @@ -22461,18 +22971,29 @@
16798 # each Makefile.in and add a new line on top of each file to say so.
16799 # So let's grep whole file.
16800 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
16801 - dirpart=`(dirname "$mf") 2>/dev/null ||
16802 + dirpart=`$as_dirname -- "$mf" ||
16803 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16804 X"$mf" : 'X\(//\)[^/]' \| \
16805 X"$mf" : 'X\(//\)$' \| \
16806 - X"$mf" : 'X\(/\)' \| \
16807 - . : '\(.\)' 2>/dev/null ||
16808 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16809 echo X"$mf" |
16810 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16811 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16812 - /^X\(\/\/\)$/{ s//\1/; q; }
16813 - /^X\(\/\).*/{ s//\1/; q; }
16814 - s/.*/./; q'`
16815 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16816 + s//\1/
16819 + /^X\(\/\/\)[^/].*/{
16820 + s//\1/
16823 + /^X\(\/\/\)$/{
16824 + s//\1/
16827 + /^X\(\/\).*/{
16828 + s//\1/
16831 + s/.*/./; q'`
16832 else
16833 continue
16835 @@ -22500,53 +23021,79 @@
16836 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16837 # Make sure the directory exists.
16838 test -f "$dirpart/$file" && continue
16839 - fdir=`(dirname "$file") 2>/dev/null ||
16840 + fdir=`$as_dirname -- "$file" ||
16841 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16842 X"$file" : 'X\(//\)[^/]' \| \
16843 X"$file" : 'X\(//\)$' \| \
16844 - X"$file" : 'X\(/\)' \| \
16845 - . : '\(.\)' 2>/dev/null ||
16846 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16847 echo X"$file" |
16848 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16849 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16850 - /^X\(\/\/\)$/{ s//\1/; q; }
16851 - /^X\(\/\).*/{ s//\1/; q; }
16852 - s/.*/./; q'`
16853 - { if $as_mkdir_p; then
16854 - mkdir -p $dirpart/$fdir
16855 - else
16856 - as_dir=$dirpart/$fdir
16857 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16858 + s//\1/
16861 + /^X\(\/\/\)[^/].*/{
16862 + s//\1/
16865 + /^X\(\/\/\)$/{
16866 + s//\1/
16869 + /^X\(\/\).*/{
16870 + s//\1/
16873 + s/.*/./; q'`
16874 + { as_dir=$dirpart/$fdir
16875 + case $as_dir in #(
16876 + -*) as_dir=./$as_dir;;
16877 + esac
16878 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16879 as_dirs=
16880 - while test ! -d "$as_dir"; do
16881 - as_dirs="$as_dir $as_dirs"
16882 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16883 + while :; do
16884 + case $as_dir in #(
16885 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16886 + *) as_qdir=$as_dir;;
16887 + esac
16888 + as_dirs="'$as_qdir' $as_dirs"
16889 + as_dir=`$as_dirname -- "$as_dir" ||
16890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891 X"$as_dir" : 'X\(//\)[^/]' \| \
16892 X"$as_dir" : 'X\(//\)$' \| \
16893 - X"$as_dir" : 'X\(/\)' \| \
16894 - . : '\(.\)' 2>/dev/null ||
16895 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16896 echo X"$as_dir" |
16897 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16898 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16899 - /^X\(\/\/\)$/{ s//\1/; q; }
16900 - /^X\(\/\).*/{ s//\1/; q; }
16901 - s/.*/./; q'`
16902 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16903 + s//\1/
16906 + /^X\(\/\/\)[^/].*/{
16907 + s//\1/
16910 + /^X\(\/\/\)$/{
16911 + s//\1/
16914 + /^X\(\/\).*/{
16915 + s//\1/
16918 + s/.*/./; q'`
16919 + test -d "$as_dir" && break
16920 done
16921 - test ! -n "$as_dirs" || mkdir $as_dirs
16922 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16923 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16924 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16925 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16926 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16927 { (exit 1); exit 1; }; }; }
16929 # echo "creating $dirpart/$file"
16930 echo '# dummy' > "$dirpart/$file"
16931 done
16932 done
16935 esac
16936 -done
16937 -_ACEOF
16938 +done # for ac_tag
16940 -cat >>$CONFIG_STATUS <<\_ACEOF
16942 { (exit 0); exit 0; }
16943 _ACEOF
16944 --- sidplay-2.0.9.orig/configure.ac
16945 +++ sidplay-2.0.9/configure.ac
16946 @@ -21,7 +21,7 @@
16948 dnl Checks what version of Unix we have and soundcard support
16949 AC_CHECK_HEADERS(sys/ioctl.h linux/soundcard.h machine/soundcard.h \
16950 -soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
16951 +sys/soundcard.h soundcard.h sys/audio.h sun/audioio.h sun/dbriio.h sys/audioio.h \
16952 audio.h dmedia/audio.h)
16954 AH_TOP(
16955 --- sidplay-2.0.9.orig/debian/changelog
16956 +++ sidplay-2.0.9/debian/changelog
16957 @@ -0,0 +1,58 @@
16958 +sidplay (2.0.9-5) unstable; urgency=low
16960 + * Fix a compilation error and warnings with gcc-4.3/g++-4.3 .
16961 + * Update watch file thanks to Raphael Geissert (closes: #449887).
16962 + * Correct minor packaging issues and update Standards-Version to 3.7.3 .
16964 + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Mon, 07 Apr 2008 23:46:50 +0200
16966 +sidplay (2.0.9-4) unstable; urgency=medium
16968 + * Again a fix for GNU/kFreeFSD compilation (closes: #399124).
16970 + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Sat, 18 Nov 2006 06:38:45 +0000
16972 +sidplay (2.0.9-3) unstable; urgency=low
16974 + * Fix FTBFS on GNU/kFreeBSD's, thanks to Aurelien Jarno
16975 + <aurel32@debian.org> (closes: #336880).
16976 + * Updated FSF address in copyright.
16978 + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Thu, 9 Mar 2006 21:00:30 +0000
16980 +sidplay (2.0.9-2) unstable; urgency=low
16982 + * Fix manpage typeos, thanks to A Costa <agcosta@gis.net> (closes: #312762).
16984 + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Sat, 20 Aug 2005 15:27:21 +0200
16986 +sidplay (2.0.9-1) unstable; urgency=low
16988 + * New upstream version.
16989 + * Changed email address.
16991 + -- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Thu, 25 Nov 2004 03:22:59 +0100
16993 +sidplay (2.0.8-1) unstable; urgency=medium
16995 + * New upstream release.
16996 + * Bump up Standards-Version to 3.6.1, no changes needed.
16997 + * Cleaned up rules a bit.
16998 + * Remove spurious rpath from binary.
16999 + * New maintainer.
17001 + -- László Böszörményi (GCS) <gcs@lsc.hu> Sat, 14 Aug 2004 13:23:32 +0000
17003 +sidplay (2.0.7+cvs20030111-2) unstable; urgency=low
17005 + * src/keyboard.cpp: Fix char/int silliness with _getch().
17006 + (Closes: #181223)
17008 + -- Ivo Timmermans <ivo@debian.org> Sun, 16 Feb 2003 16:17:26 +0100
17010 +sidplay (2.0.7+cvs20030111-1) unstable; urgency=low
17012 + * Initial Release.
17014 + -- Ivo Timmermans <ivo@debian.org> Sun, 12 Jan 2003 18:12:04 +0100
17016 --- sidplay-2.0.9.orig/debian/compat
17017 +++ sidplay-2.0.9/debian/compat
17018 @@ -0,0 +1 @@
17020 --- sidplay-2.0.9.orig/debian/control
17021 +++ sidplay-2.0.9/debian/control
17022 @@ -0,0 +1,14 @@
17023 +Source: sidplay
17024 +Section: sound
17025 +Priority: optional
17026 +Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
17027 +Build-Depends: debhelper (>= 4.0.0), libsidplay2-dev (>= 2.1.1-4), pkg-config, libresid-builder-dev (>= 2.1.1), libsidutils-dev, chrpath
17028 +Homepage: http://sidplay2.sourceforge.net/
17029 +Standards-Version: 3.7.3
17031 +Package: sidplay
17032 +Architecture: any
17033 +Depends: ${shlibs:Depends}
17034 +Description: Music player for tunes from C64 and C128 (console)
17035 + This is a simple music player for C64 and C128 tunes, also known as
17036 + SID tunes.
17037 --- sidplay-2.0.9.orig/debian/copyright
17038 +++ sidplay-2.0.9/debian/copyright
17039 @@ -0,0 +1,28 @@
17040 +This package was debianized by Ivo Timmermans <ivo@debian.org> on
17041 +Mon, 12 Aug 2002 21:38:12 +0200.
17042 +Packaging taken over by Laszlo Boszormenyi <gcs@lsc.hu> on Sat, 14 Aug
17043 +2004 13:23:32 +0000.
17045 +It was downloaded from http://sourceforge.net/projects/sidplay2/
17047 +Upstream Author: Simon White <sidplay2@email.com>
17049 +Copyright (c) 2000-2001 Simon White <sidplay2@email.com>
17051 +Copyright:
17052 + This program is free software; you can redistribute it and/or modify
17053 + it under the terms of the GNU General Public License as published by
17054 + the Free Software Foundation; either version 2 of the License, or
17055 + (at your option) any later version.
17057 + This program is distributed in the hope that it will be useful,
17058 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17059 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17060 + GNU General Public License for more details.
17062 + You should have received a copy of the GNU General Public License
17063 + along with this program; if not, write to the Free Software Foundation, Inc.,
17064 + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
17066 +On Debian GNU/Linux systems, the complete text of the GPL is available
17067 +in /usr/share/common-licenses/GPL .
17068 --- sidplay-2.0.9.orig/debian/dirs
17069 +++ sidplay-2.0.9/debian/dirs
17070 @@ -0,0 +1 @@
17071 +usr/bin
17072 --- sidplay-2.0.9.orig/debian/docs
17073 +++ sidplay-2.0.9/debian/docs
17074 @@ -0,0 +1,2 @@
17075 +README
17076 +TODO
17077 --- sidplay-2.0.9.orig/debian/rules
17078 +++ sidplay-2.0.9/debian/rules
17079 @@ -0,0 +1,94 @@
17080 +#!/usr/bin/make -f
17081 +# Sample debian/rules that uses debhelper.
17082 +# GNU copyright 1997 to 1999 by Joey Hess.
17084 +# Uncomment this to turn on verbose mode.
17085 +#export DH_VERBOSE=1
17087 +# These are used for cross-compiling and for saving the configure script
17088 +# from having to guess our platform (since we know it already)
17089 +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
17090 +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
17093 +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
17094 + CFLAGS += -g
17095 +endif
17096 +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
17097 + INSTALL_PROGRAM += -s
17098 +endif
17100 +config.status: configure
17101 + dh_testdir
17102 + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
17105 +build: build-stamp
17107 +build-stamp: config.status
17108 + dh_testdir
17110 + $(MAKE)
17112 + touch $@
17114 +clean:
17115 + dh_testdir
17116 + dh_testroot
17117 + rm -f config.log
17118 + rm -f build-stamp
17120 + # Add here commands to clean up after the build process.
17121 + [ ! -f Makefile ] || $(MAKE) distclean
17122 + -test -r /usr/share/misc/config.sub && \
17123 + cp -f /usr/share/misc/config.sub config.sub
17124 + -test -r /usr/share/misc/config.guess && \
17125 + cp -f /usr/share/misc/config.guess config.guess
17128 + dh_clean
17130 +maintainerclean: clean
17131 + libtoolize --force --copy
17132 + aclocal -I unix
17133 + automake --copy --add-missing
17134 + autoconf
17136 +install: build
17137 + dh_testdir
17138 + dh_testroot
17139 + dh_clean -k
17140 + dh_installdirs
17142 + # Add here commands to install the package into debian/sidplay.
17143 + $(MAKE) install prefix=$(CURDIR)/debian/sidplay/usr
17144 + chrpath -d $(CURDIR)/debian/sidplay/usr/bin/sidplay2
17147 +# Build architecture-independent files here.
17148 +binary-indep: build install
17149 +# We have nothing to do by default.
17151 +# Build architecture-dependent files here.
17152 +binary-arch: build install
17153 + dh_testdir
17154 + dh_testroot
17155 + dh_installdocs
17156 + dh_installexamples
17157 + dh_installmenu
17158 + dh_installcron
17159 + dh_installman
17160 + dh_installinfo
17161 + dh_installchangelogs ChangeLog
17162 + dh_link
17163 + dh_strip
17164 + dh_compress
17165 + dh_fixperms
17166 + dh_installdeb
17167 + dh_shlibdeps
17168 + dh_gencontrol
17169 + dh_md5sums
17170 + dh_builddeb
17172 +binary: binary-indep binary-arch
17173 +.PHONY: build clean binary-indep binary-arch binary install
17174 --- sidplay-2.0.9.orig/debian/watch
17175 +++ sidplay-2.0.9/debian/watch
17176 @@ -0,0 +1,2 @@
17177 +version=3
17178 +http://sf.net/sidplay2/sidplay-([\d.]+)\.tar\.gz debian uupdate
17179 --- sidplay-2.0.9.orig/doc/en/sidplay2.1
17180 +++ sidplay-2.0.9/doc/en/sidplay2.1
17181 @@ -12,7 +12,7 @@
17182 .I [ OPTIONS... ]
17183 .B <datafile>
17184 .SH DESCRIPTION
17185 -.B Sidplay is a music player that emulates various components from a Commodore 64 (C64) computer. The result is a program which can load and execute C64 machine code programs which produce music and sound. This page covers both Sidplay versions 1 and 2, Sidplay being an frame based emulation capable of playback on low specification PCs. Sidplay2 on the other hand has been designed for accuracy which results in a much higher cpu usuage. Additional playback modes have however been provided to allow playback on low specification machines at the cost of accuracy, but it still has a higher cpu demand than Sidplay.
17186 +Sidplay is a music player that emulates various components from a Commodore 64 (C64) computer. The result is a program which can load and execute C64 machine code programs which produce music and sound. This page covers both Sidplay versions 1 and 2, Sidplay being an frame based emulation capable of playback on low specification PCs. Sidplay2 on the other hand has been designed for accuracy which results in a much higher cpu usage. Additional playback modes have however been provided to allow playback on low specification machines at the cost of accuracy, but it still has a higher cpu demand than Sidplay.
17187 .SH COMMON OPTIONS
17189 \fB\--help|-h\fR
17190 @@ -47,7 +47,7 @@
17191 This forces emulation of 2 sid-chips for stereo playback
17192 even if datafile is identified as only being mono. This occurs
17193 in the case of the stereo sid format as currently there is no way
17194 -to identfy them. Stereo MUS files are however automatically
17195 +to identify them. Stereo MUS files are however automatically
17196 detected. The second sid appears in the 0xD500 address range.
17197 \fB\-fs\fR
17198 By default all samples are played through the SIDs master volume. This can cause the
17199 @@ -91,7 +91,7 @@
17200 Set VIC clock speed. 'n' is NTSC (America, 60Hz) and 'p' is PAL (Europe, 50Hz). Providing an 'f' will prevent speed fixing that tries to compensate automatically for the speed difference. Removing speed speed fixing simulates what happens on a real C64. Options can be written as: -vnf or -vn -vf.
17202 \fB\-w[name]|--wav[name]\fR
17203 -Create WAV-file. The default output filename is <datafile>[n].wav where [n] is the tune number should there be more than one in the sid. This allows batch conversion of sid tunes without them overwritting each other. By providing a name you override this default behaviour. The output file will be <name> with no tune number is added and <name> IS NOT checked for or appended with a legal wav file extension.
17204 +Create WAV-file. The default output filename is <datafile>[n].wav where [n] is the tune number should there be more than one in the sid. This allows batch conversion of sid tunes without them overwriting each other. By providing a name you override this default behavior. The output file will be <name> with no tune number is added and <name> IS NOT checked for or appended with a legal wav file extension.
17206 .SH SIDPLAY OPTIONS
17208 --- sidplay-2.0.9.orig/src/IniConfig.cpp
17209 +++ sidplay-2.0.9/src/IniConfig.cpp
17210 @@ -120,7 +120,7 @@
17214 -bool IniConfig::readInt (ini_fd_t ini, char *key, int &value)
17215 +bool IniConfig::readInt (ini_fd_t ini, const char *key, int &value)
17217 int i = value;
17218 if (ini_locateKey (ini, key) < 0)
17219 @@ -134,7 +134,7 @@
17223 -bool IniConfig::readString (ini_fd_t ini, char *key, char *&str)
17224 +bool IniConfig::readString (ini_fd_t ini, const char *key, char *&str)
17226 char *ret;
17227 size_t length;
17228 @@ -165,7 +165,7 @@
17232 -bool IniConfig::readBool (ini_fd_t ini, char *key, bool &boolean)
17233 +bool IniConfig::readBool (ini_fd_t ini, const char *key, bool &boolean)
17235 int b = boolean;
17236 if (ini_locateKey (ini, key) < 0)
17237 @@ -179,7 +179,7 @@
17241 -bool IniConfig::readChar (ini_fd_t ini, char *key, char &ch)
17242 +bool IniConfig::readChar (ini_fd_t ini, const char *key, char &ch)
17244 char *str, c = 0;
17245 bool ret = readString (ini, key, str);
17246 @@ -206,7 +206,7 @@
17250 -bool IniConfig::readTime (ini_fd_t ini, char *key, int &value)
17251 +bool IniConfig::readTime (ini_fd_t ini, const char *key, int &value)
17253 char *str, *sep;
17254 int time;
17255 --- sidplay-2.0.9.orig/src/IniConfig.h
17256 +++ sidplay-2.0.9/src/IniConfig.h
17257 @@ -98,11 +98,11 @@
17258 protected:
17259 void clear ();
17261 - bool readInt (ini_fd_t ini, char *key, int &value);
17262 - bool readString (ini_fd_t ini, char *key, char *&str);
17263 - bool readBool (ini_fd_t ini, char *key, bool &boolean);
17264 - bool readChar (ini_fd_t ini, char *key, char &ch);
17265 - bool readTime (ini_fd_t ini, char *key, int &time);
17266 + bool readInt (ini_fd_t ini, const char *key, int &value);
17267 + bool readString (ini_fd_t ini, const char *key, char *&str);
17268 + bool readBool (ini_fd_t ini, const char *key, bool &boolean);
17269 + bool readChar (ini_fd_t ini, const char *key, char &ch);
17270 + bool readTime (ini_fd_t ini, const char *key, int &time);
17272 bool readSidplay2 (ini_fd_t ini);
17273 bool readConsole (ini_fd_t ini);
17274 --- sidplay-2.0.9.orig/src/audio/AudioBase.h
17275 +++ sidplay-2.0.9/src/audio/AudioBase.h
17276 @@ -43,7 +43,7 @@
17278 protected:
17279 AudioConfig _settings;
17280 - char *_errorString;
17281 + const char *_errorString;
17282 void *_sampleBuffer;
17284 public:
17285 --- sidplay-2.0.9.orig/src/audio/oss/audiodrv.h
17286 +++ sidplay-2.0.9/src/audio/oss/audiodrv.h
17287 @@ -57,7 +57,9 @@
17288 #include <stdio.h>
17289 #include <unistd.h>
17291 -#if defined(HAVE_LINUX_SOUNDCARD_H)
17292 +#if defined(HAVE_SYS_SOUNDCARD_H)
17293 +# include <sys/soundcard.h>
17294 +#elif defined(HAVE_LINUX_SOUNDCARD_H)
17295 # include <linux/soundcard.h>
17296 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
17297 # include <machine/soundcard.h>
17298 --- sidplay-2.0.9.orig/src/keyboard.cpp
17299 +++ sidplay-2.0.9/src/keyboard.cpp
17300 @@ -56,7 +56,7 @@
17301 # include <sys/stat.h>
17302 # include <fcntl.h>
17303 # include <unistd.h>
17304 -char _getch (void);
17305 +int _getch (void);
17306 #endif
17308 #define MAX_CMDLEN 10
17309 @@ -200,7 +200,8 @@
17311 int keyboard_decode ()
17313 - char cmd[MAX_CMDLEN+1], c;
17314 + char cmd[MAX_CMDLEN+1];
17315 + int c;
17316 int nch = 0;
17317 int action = A_NONE;
17319 @@ -208,14 +209,14 @@
17320 * Collect characters in a buffer.
17321 * Start with the one we have, and get more if we need them.
17323 - c = (char) _getch();
17324 + c = _getch();
17325 if (c == '\0')
17326 c = '\340'; // 224
17327 else if (c == ESC)
17329 cmd[nch++] = c;
17330 if (_kbhit ())
17331 - c = (char) _getch ();
17332 + c = _getch ();
17335 while (c >= 0)
17336 @@ -228,7 +229,7 @@
17337 break;
17338 if (!_kbhit ())
17339 break;
17340 - c = (char) _getch ();
17341 + c = _getch ();
17343 return action;
17345 @@ -256,7 +257,7 @@
17346 return 0;
17349 -char _getch (void)
17350 +int _getch (void)
17352 char ch = -1;
17353 if (infd >= 0)
17354 --- sidplay-2.0.9.orig/src/menu.cpp
17355 +++ sidplay-2.0.9/src/menu.cpp
17356 @@ -353,7 +353,7 @@
17358 if ((m_iniCfg.console ()).ansi)
17360 - char *mode = "";
17361 + const char *mode = "";
17363 switch (colour)
17365 --- sidplay-2.0.9.orig/unix/config.h.in
17366 +++ sidplay-2.0.9/unix/config.h.in
17367 @@ -78,6 +78,9 @@
17368 /* Define to 1 if you have the <sys/ioctl.h> header file. */
17369 #undef HAVE_SYS_IOCTL_H
17371 +/* Define to 1 if you have the <sys/soundcard.h> header file. */
17372 +#undef HAVE_SYS_SOUNDCARD_H
17374 /* Define to 1 if you have the <sys/stat.h> header file. */
17375 #undef HAVE_SYS_STAT_H
17377 --- sidplay-2.0.9.orig/unix/my_macros.m4
17378 +++ sidplay-2.0.9/unix/my_macros.m4
17379 @@ -80,7 +80,8 @@
17380 AC_CACHE_VAL(test_cv_have_ios_binary,
17382 AC_TRY_COMPILE(
17383 - [#include <fstream.h>],
17384 + [#include <fstream>
17385 + using namespace std;],
17386 [ifstream myTest(ios::in|ios::binary);],
17387 [test_cv_have_ios_binary=yes],
17388 [test_cv_have_ios_binary=no]
17389 @@ -105,8 +106,9 @@
17390 AC_CACHE_VAL(test_cv_have_ios_openmode,
17392 AC_TRY_COMPILE(
17393 - [#include <fstream.h>
17394 - #include <iomanip.h>],
17395 + [#include <fstream>
17396 + #include <iomanip>
17397 + using namespace std;],
17398 [ios::openmode myTest = ios::in;],
17399 [test_cv_have_ios_openmode=yes],
17400 [test_cv_have_ios_openmode=no]