1 diff -urN -x autom4te.cache libgphoto2-2.2.1/libgphoto2_port/config.guess libgphoto2-2.2.1.new/libgphoto2_port/config.guess
2 --- libgphoto2-2.2.1/libgphoto2_port/config.guess 2005-10-25 08:14:37.000000000 +0200
3 +++ libgphoto2-2.2.1.new/libgphoto2_port/config.guess 2006-10-22 20:18:24.000000000 +0200
6 # Attempt to guess a canonical system name.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
8 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
12 -timestamp='2005-08-03'
13 +timestamp='2006-07-02'
15 # This file is free software; you can redistribute it and/or modify it
16 # under the terms of the GNU General Public License as published by
18 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
19 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
21 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
22 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
23 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
24 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
25 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
27 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
28 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
30 +if [ "${UNAME_SYSTEM}" = "Linux" ] ; then
31 + eval $set_cc_for_build
32 + cat << EOF > $dummy.c
33 + #include <features.h>
35 + # ifdef __UCLIBC_CONFIG_VERSION__
36 + LIBC=uclibc __UCLIBC_CONFIG_VERSION__
44 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`
47 # Note: order is significant - the case branches are not exclusive.
49 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
52 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
55 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
58 - echo powerppc-unknown-mirbsd${UNAME_RELEASE}
59 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
62 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
64 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
67 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
68 + case ${UNAME_MACHINE} in
70 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
72 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
74 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
78 echo ${UNAME_MACHINE}-pc-cygwin
81 echo ${UNAME_MACHINE}-pc-pw32
84 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
85 + x86:Interix*:[3456]*)
86 + echo i586-pc-interix${UNAME_RELEASE}
88 + EM64T:Interix*:[3456]*)
89 + echo x86_64-unknown-interix${UNAME_RELEASE}
91 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
92 echo i${UNAME_MACHINE}-pc-mks
94 echo ${UNAME_MACHINE}-pc-minix
97 - echo ${UNAME_MACHINE}-unknown-linux-gnu
98 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
101 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
104 - echo cris-axis-linux-gnu
105 + echo cris-axis-linux-${LIBC}
108 - echo crisv32-axis-linux-gnu
109 + echo crisv32-axis-linux-${LIBC}
112 - echo frv-unknown-linux-gnu
113 + echo frv-unknown-linux-${LIBC}
116 - echo ${UNAME_MACHINE}-unknown-linux-gnu
117 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
120 - echo ${UNAME_MACHINE}-unknown-linux-gnu
121 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
124 - echo ${UNAME_MACHINE}-unknown-linux-gnu
125 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
128 eval $set_cc_for_build
133 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
134 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
135 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
140 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
143 eval $set_cc_for_build
144 @@ -870,17 +908,21 @@
148 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
149 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
150 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
155 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
158 - echo or32-unknown-linux-gnu
159 + echo or32-unknown-linux-${LIBC}
162 - echo powerpc-unknown-linux-gnu
163 + echo powerpc-unknown-linux-${LIBC}
166 - echo powerpc64-unknown-linux-gnu
167 + echo powerpc64-unknown-linux-${LIBC}
170 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
171 @@ -893,34 +935,37 @@
172 EV68*) UNAME_MACHINE=alphaev68 ;;
174 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
175 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
176 - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
177 + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
178 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
180 parisc:Linux:*:* | hppa:Linux:*:*)
182 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
183 - PA7*) echo hppa1.1-unknown-linux-gnu ;;
184 - PA8*) echo hppa2.0-unknown-linux-gnu ;;
185 - *) echo hppa-unknown-linux-gnu ;;
186 + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
187 + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
188 + *) echo hppa-unknown-linux-${LIBC} ;;
191 parisc64:Linux:*:* | hppa64:Linux:*:*)
192 - echo hppa64-unknown-linux-gnu
193 + echo hppa64-unknown-linux-${LIBC}
195 s390:Linux:*:* | s390x:Linux:*:*)
196 echo ${UNAME_MACHINE}-ibm-linux
199 - echo ${UNAME_MACHINE}-unknown-linux-gnu
200 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
203 - echo ${UNAME_MACHINE}-unknown-linux-gnu
204 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
206 sparc:Linux:*:* | sparc64:Linux:*:*)
207 - echo ${UNAME_MACHINE}-unknown-linux-gnu
208 + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
211 + echo ${UNAME_MACHINE}-dec-linux-${LIBC}
214 - echo x86_64-unknown-linux-gnu
215 + echo x86_64-unknown-linux-${LIBC}
218 # The BFD linker knows what the default object file format is, so
219 @@ -935,20 +980,22 @@
221 case "$ld_supported_targets" in
223 - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
224 + TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
227 - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
228 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
231 - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
232 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
235 # Either a pre-BFD a.out linker (linux-gnuoldld) or
236 # one that does not give us useful --help.
237 - echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
238 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
241 + # This should get integrated into the C code below, but now we hack
242 + if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
243 # Determine whether the default compiler is a.out or elf
244 eval $set_cc_for_build
245 sed 's/^ //' << EOF >$dummy.c
250 - #ifdef __INTEL_COMPILER
251 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
255 @@ -974,7 +1021,11 @@
259 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
260 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
265 test x"${LIBC}" != x && {
266 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
268 @@ -1185,7 +1236,6 @@
270 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
271 case $UNAME_PROCESSOR in
272 - *86) UNAME_PROCESSOR=i686 ;;
273 unknown) UNAME_PROCESSOR=powerpc ;;
275 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
276 @@ -1264,6 +1314,9 @@
278 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
281 + echo ${UNAME_MACHINE}-pc-rdos
285 #echo '(No uname command or uname output not recognized.)' 1>&2
286 diff -urN -x autom4te.cache libgphoto2-2.2.1/libgphoto2_port/config.sub libgphoto2-2.2.1.new/libgphoto2_port/config.sub
287 --- libgphoto2-2.2.1/libgphoto2_port/config.sub 2005-10-25 08:14:37.000000000 +0200
288 +++ libgphoto2-2.2.1.new/libgphoto2_port/config.sub 2006-10-22 20:18:24.000000000 +0200
291 # Configuration validation subroutine script.
292 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
293 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
294 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
297 -timestamp='2005-07-08'
298 +timestamp='2006-07-02'
300 # This file is (in principle) common to ALL GNU software.
301 # The presence of a machine in this file suggests that SOME GNU software
303 # Here we must recognize all the valid KERNEL-OS combinations.
304 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
306 - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
307 - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
308 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
309 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
310 + storm-chaos* | os2-emx* | rtmk-nova*)
312 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
320 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
324 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
326 # Don't forget version if it is 3.2v4 or newer.
327 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
330 + # Don't forget version if it is 3.2v4 or newer.
331 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
335 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
336 @@ -231,15 +241,16 @@
337 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
338 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
340 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
341 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
344 - | d10v | d30v | dlx | dsp16xx \
345 + | d10v | d30v | dlx | dsp16xx | dvp \
347 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
348 | i370 | i860 | i960 | ia64 \
350 - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
351 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
352 + | maxq | mb | microblaze | mcore \
353 | mips | mipsbe | mipseb | mipsel | mipsle \
355 | mips64 | mips64el \
356 @@ -257,18 +268,19 @@
357 | mipsisa64sr71k | mipsisa64sr71kel \
358 | mipstx39 | mipstx39el \
359 | mn10200 | mn10300 \
366 | pdp10 | pdp11 | pj | pjl \
367 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
369 - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
370 + | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
372 - | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
373 - | sparcv8 | sparcv9 | sparcv9b \
375 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
376 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
377 + | spu | strongarm \
378 | tahoe | thumb | tic4x | tic80 | tron \
383 basic_machine=$basic_machine-unknown
386 - basic_machine=$basic_machine-unknown
388 m6811 | m68hc11 | m6812 | m68hc12)
389 # Motorola 68HC11/12.
390 basic_machine=$basic_machine-unknown
393 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
396 + basic_machine=mt-unknown
399 # We use `pc' rather than `unknown'
400 # because (1) that's what they normally are, and
402 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
403 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
404 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
406 + | avr-* | avr32-* \
407 | bfin-* | bs2000-* \
408 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
409 | clipper-* | craynv-* | cydra-* \
411 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
412 | i*86-* | i860-* | i960-* | ia64-* \
413 | ip2k-* | iq2000-* \
414 - | m32r-* | m32rle-* \
415 + | m32c-* | m32r-* | m32rle-* \
416 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
417 | m88110-* | m88k-* | maxq-* | mcore-* \
418 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
419 @@ -336,19 +348,20 @@
420 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
421 | mipstx39-* | mipstx39el-* \
426 + | nios-* | nios2-* \
427 | none-* | np1-* | ns16k-* | ns32k-* \
429 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
432 | romp-* | rs6000-* \
433 - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
434 + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
435 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
436 - | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
437 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
439 - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
440 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
441 | tahoe-* | thumb-* \
442 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
450 # Recognize the various machine names and aliases which stand
451 # for a CPU type and a company and sometimes even an OS.
454 basic_machine=m68k-atari
457 + mipsEE* | ee | ps2)
458 + basic_machine=mips64r5900el-scei
468 + basic_machine=mipsel-scei
472 + basic_machine=dvp-scei
476 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
479 basic_machine=i386-pc
483 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
486 basic_machine=i370-ibm
490 basic_machine=ns32k-pc532
493 + basic_machine=i386-pc
496 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
498 pentium | p5 | k5 | k6 | nexgen | viac3)
499 basic_machine=i586-pc
502 basic_machine=i586-unknown
506 + basic_machine=i386-pc
510 basic_machine=m68k-rom68k
512 @@ -1101,7 +1143,7 @@
513 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
514 basic_machine=sh-unknown
516 - sparc | sparcv8 | sparcv9 | sparcv9b)
517 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
518 basic_machine=sparc-sun
521 @@ -1174,21 +1216,23 @@
523 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
524 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
525 - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
526 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
527 + | -openbsd* | -solidbsd* \
528 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
529 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
530 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
531 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
532 | -chorusos* | -chorusrdb* \
533 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
534 - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
535 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
536 + | -uxpv* | -beos* | -mpeix* | -udk* \
537 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
538 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
539 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
540 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
541 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
542 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
543 - | -skyos* | -haiku*)
544 + | -skyos* | -haiku* | -rdos* | -toppers* | -irx*)
545 # Remember, each alternative MUST END IN *, to match a version number.
548 @@ -1340,6 +1384,9 @@
549 # system, and we'll never get to this point.
551 case $basic_machine in
558 @@ -1349,9 +1396,9 @@
568 # This must come before the *-dec entry.
571 diff -urN -x autom4te.cache libgphoto2-2.2.1/libgphoto2_port/configure libgphoto2-2.2.1.new/libgphoto2_port/configure
572 --- libgphoto2-2.2.1/libgphoto2_port/configure 2006-06-19 21:16:52.000000000 +0200
573 +++ libgphoto2-2.2.1.new/libgphoto2_port/configure 2006-12-10 13:08:41.000000000 +0100
576 # Guess values for system-dependent variables and create Makefiles.
577 -# Generated by GNU Autoconf 2.59 for libgphoto2_port 0.6.1.
578 +# Generated by GNU Autoconf 2.61 for libgphoto2_port 0.6.1.
580 # Report bugs to <gphoto-devel@lists.sourceforge.net>.
582 -# Copyright (C) 2003 Free Software Foundation, Inc.
583 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
584 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
585 # This configure script is free software; the Free Software Foundation
586 # gives unlimited permission to copy, distribute and modify it.
587 ## --------------------- ##
588 ## M4sh Initialization. ##
589 ## --------------------- ##
591 -# Be Bourne compatible
592 +# Be more Bourne compatible
593 +DUALCASE=1; export DUALCASE # for MKS sh
594 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
597 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
598 # is contrary to our usage. Disable this feature.
599 alias -g '${1+"$@"}'='"$@"'
600 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
602 + setopt NO_GLOB_SUBST
604 + case `(set -o) 2>/dev/null` in
605 + *posix*) set -o posix ;;
614 +# Avoid depending upon Character Ranges.
615 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
616 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
617 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
618 +as_cr_digits='0123456789'
619 +as_cr_alnum=$as_cr_Letters$as_cr_digits
621 +# The user is always right.
622 +if test "${PATH_SEPARATOR+set}" != set; then
623 + echo "#! /bin/sh" >conf$$.sh
624 + echo "exit 0" >>conf$$.sh
626 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
633 -DUALCASE=1; export DUALCASE # for MKS sh
635 # Support unset when possible.
636 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
642 +# We need space, tab and new line, in precisely that order. Quoting is
643 +# there to prevent editors from complaining about space-tab.
644 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
645 +# splitting by setting IFS to empty value.)
650 +# Find who we are. Look in the path if we contain no directory separator.
652 + *[\\/]* ) as_myself=$0 ;;
653 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
657 + test -z "$as_dir" && as_dir=.
658 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
664 +# We did not find ourselves, most probably we were run as `sh COMMAND'
665 +# in which case we are not to be found in the path.
666 +if test "x$as_myself" = x; then
669 +if test ! -f "$as_myself"; then
670 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
671 + { (exit 1); exit 1; }
674 # Work around bugs in pre-3.0 UWIN ksh.
675 -$as_unset ENV MAIL MAILPATH
676 +for as_var in ENV MAIL MAILPATH
677 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
683 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
684 eval $as_var=C; export $as_var
687 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
691 # Required to use basename.
692 -if expr a : '\(a\)' >/dev/null 2>&1; then
693 +if expr a : '\(a\)' >/dev/null 2>&1 &&
694 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
700 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
701 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
705 @@ -65,157 +130,388 @@
708 # Name of the executable.
709 -as_me=`$as_basename "$0" ||
710 +as_me=`$as_basename -- "$0" ||
711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
712 X"$0" : 'X\(//\)$' \| \
713 - X"$0" : 'X\(/\)$' \| \
714 - . : '\(.\)' 2>/dev/null ||
715 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
717 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
718 - /^X\/\(\/\/\)$/{ s//\1/; q; }
719 - /^X\/\(\/\).*/{ s//\1/; q; }
721 + sed '/^.*\/\([^/][^/]*\)\/*$/{
738 -# PATH needs CR, and LINENO needs CR and PATH.
739 -# Avoid depending upon Character Ranges.
740 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
741 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
742 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
743 -as_cr_digits='0123456789'
744 -as_cr_alnum=$as_cr_Letters$as_cr_digits
746 -# The user is always right.
747 -if test "${PATH_SEPARATOR+set}" != set; then
748 - echo "#! /bin/sh" >conf$$.sh
749 - echo "exit 0" >>conf$$.sh
751 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
757 +if test "x$CONFIG_SHELL" = x; then
758 + if (eval ":") 2>/dev/null; then
759 + as_have_required=yes
761 + as_have_required=no
764 + if test $as_have_required = yes && (eval ":
765 +(as_func_return () {
768 +as_func_success () {
771 +as_func_failure () {
774 +as_func_ret_success () {
777 +as_func_ret_failure () {
781 - as_lineno_1=$LINENO
782 - as_lineno_2=$LINENO
783 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
784 - test "x$as_lineno_1" != "x$as_lineno_2" &&
785 - test "x$as_lineno_3" = "x$as_lineno_2" || {
786 - # Find who we are. Look in the path if we contain no path at all
789 - *[\\/]* ) as_myself=$0 ;;
790 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
794 - test -z "$as_dir" && as_dir=.
795 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
798 +if as_func_success; then
802 + echo as_func_success failed.
807 - # We did not find ourselves, most probably we were run as `sh COMMAND'
808 - # in which case we are not to be found in the path.
809 - if test "x$as_myself" = x; then
812 - if test ! -f "$as_myself"; then
813 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
814 - { (exit 1); exit 1; }; }
816 - case $CONFIG_SHELL in
818 +if as_func_failure; then
820 + echo as_func_failure succeeded.
823 +if as_func_ret_success; then
827 + echo as_func_ret_success failed.
830 +if as_func_ret_failure; then
832 + echo as_func_ret_failure succeeded.
835 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
839 + echo positional parameters were not saved.
842 +test \$exitcode = 0) || { (exit 1); exit 1; }
845 + as_lineno_1=\$LINENO
846 + as_lineno_2=\$LINENO
847 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
848 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
849 +") 2> /dev/null; then
852 + as_candidate_shells=
853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
854 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
857 test -z "$as_dir" && as_dir=.
858 - for as_base in sh bash ksh sh5; do
862 - if ("$as_dir/$as_base" -c '
863 + for as_base in sh bash ksh sh5; do
864 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
871 + for as_shell in $as_candidate_shells $SHELL; do
872 + # Try only shells that exist, to save several forks.
873 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
874 + { ("$as_shell") 2> /dev/null <<\_ASEOF
875 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
878 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
879 + # is contrary to our usage. Disable this feature.
880 + alias -g '${1+"$@"}'='"$@"'
881 + setopt NO_GLOB_SUBST
883 + case `(set -o) 2>/dev/null` in
884 + *posix*) set -o posix ;;
893 + CONFIG_SHELL=$as_shell
894 + as_have_required=yes
895 + if { "$as_shell" 2> /dev/null <<\_ASEOF
896 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
899 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
900 + # is contrary to our usage. Disable this feature.
901 + alias -g '${1+"$@"}'='"$@"'
902 + setopt NO_GLOB_SUBST
904 + case `(set -o) 2>/dev/null` in
905 + *posix*) set -o posix ;;
912 +(as_func_return () {
915 +as_func_success () {
918 +as_func_failure () {
921 +as_func_ret_success () {
924 +as_func_ret_failure () {
929 +if as_func_success; then
933 + echo as_func_success failed.
936 +if as_func_failure; then
938 + echo as_func_failure succeeded.
941 +if as_func_ret_success; then
945 + echo as_func_ret_success failed.
948 +if as_func_ret_failure; then
950 + echo as_func_ret_failure succeeded.
953 +if ( set x; as_func_ret_success y && test x = "$1" ); then
957 + echo positional parameters were not saved.
960 +test $exitcode = 0) || { (exit 1); exit 1; }
965 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
966 test "x$as_lineno_1" != "x$as_lineno_2" &&
967 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
968 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
969 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
970 - CONFIG_SHELL=$as_dir/$as_base
971 - export CONFIG_SHELL
972 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
979 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
990 + if test "x$CONFIG_SHELL" != x; then
991 + for as_var in BASH_ENV ENV
992 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
994 + export CONFIG_SHELL
995 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
999 + if test $as_have_required = no; then
1000 + echo This script requires a shell more modern than all the
1001 + echo shells that I found on your system. Please install a
1002 + echo modern shell, or manually run the script under such a
1003 + echo shell if you do have one.
1004 + { (exit 1); exit 1; }
1014 +(eval "as_func_return () {
1017 +as_func_success () {
1020 +as_func_failure () {
1023 +as_func_ret_success () {
1026 +as_func_ret_failure () {
1031 +if as_func_success; then
1035 + echo as_func_success failed.
1038 +if as_func_failure; then
1040 + echo as_func_failure succeeded.
1043 +if as_func_ret_success; then
1047 + echo as_func_ret_success failed.
1050 +if as_func_ret_failure; then
1052 + echo as_func_ret_failure succeeded.
1055 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
1059 + echo positional parameters were not saved.
1062 +test \$exitcode = 0") || {
1063 + echo No shell found that supports shell functions.
1064 + echo Please tell autoconf@gnu.org about your system,
1065 + echo including any error possibly output before this
1071 + as_lineno_1=$LINENO
1072 + as_lineno_2=$LINENO
1073 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1074 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1076 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1077 # uniformly replaced by the line number. The first 'sed' inserts a
1078 - # line-number line before each line; the second 'sed' does the real
1079 - # work. The second script uses 'N' to pair each line-number line
1080 - # with the numbered line, and appends trailing '-' during
1081 - # substitution so that $LINENO is not a special case at line end.
1082 + # line-number line after each line using $LINENO; the second 'sed'
1083 + # does the real work. The second script uses 'N' to pair each
1084 + # line-number line with the line containing $LINENO, and appends
1085 + # trailing '-' during substitution so that $LINENO is not a special
1086 + # case at line end.
1087 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1088 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1089 - sed '=' <$as_myself |
1090 + # scripts with optimization help from Paolo Bonzini. Blame Lee
1091 + # E. McMahon (1931-1989) for sed's syntax. :-)
1104 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1106 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1109 - s,^['$as_cr_digits']*\n,,
1112 - chmod +x $as_me.lineno ||
1113 + chmod +x "$as_me.lineno" ||
1114 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1115 { (exit 1); exit 1; }; }
1117 # Don't try to exec as it changes $[0], causing all sort of problems
1118 # (the dirname of $[0] is not the place where we might find the
1119 - # original and so on. Autoconf is especially sensible to this).
1121 + # original and so on. Autoconf is especially sensitive to this).
1122 + . "./$as_me.lineno"
1123 # Exit status is that of the last command.
1128 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1129 - *c*,-n*) ECHO_N= ECHO_C='
1131 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1132 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1133 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1134 + as_dirname=dirname
1139 +ECHO_C= ECHO_N= ECHO_T=
1140 +case `echo -n x` in
1142 + case `echo 'x\c'` in
1143 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1150 -if expr a : '\(a\)' >/dev/null 2>&1; then
1151 +if expr a : '\(a\)' >/dev/null 2>&1 &&
1152 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
1158 rm -f conf$$ conf$$.exe conf$$.file
1159 +if test -d conf$$.dir; then
1160 + rm -f conf$$.dir/conf$$.file
1166 if ln -s conf$$.file conf$$ 2>/dev/null; then
1167 - # We could just check for DJGPP; but this test a) works b) is more generic
1168 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1169 - if test -f conf$$.exe; then
1170 - # Don't use ln at all; we don't have any links
1172 + # ... but there are two gotchas:
1173 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1174 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1175 + # In both cases, we have to default to `cp -p'.
1176 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1181 elif ln conf$$.file conf$$ 2>/dev/null; then
1186 -rm -f conf$$ conf$$.exe conf$$.file
1187 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1188 +rmdir conf$$.dir 2>/dev/null
1190 if mkdir -p . 2>/dev/null; then
1192 @@ -224,7 +520,28 @@
1196 -as_executable_p="test -f"
1197 +if test -x / >/dev/null 2>&1; then
1198 + as_test_x='test -x'
1200 + if ls -dL / >/dev/null 2>&1; then
1207 + if test -d "$1"; then
1213 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
1214 + ???[sx]*):;;*)false;;esac;fi
1218 +as_executable_p=$as_test_x
1220 # Sed expression to map a string onto a valid CPP name.
1221 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1222 @@ -233,15 +550,6 @@
1223 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1227 -# We need space, tab and new line, in precisely that order.
1237 # Check that we are running under the correct shell.
1238 @@ -397,29 +705,26 @@
1240 tagnames=${tagnames+${tagnames},}F77
1242 +exec 7<&0 </dev/null 6>&1
1245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1246 # so uname gets run too.
1247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1254 ac_default_prefix=/usr/local
1256 ac_config_libobj_dir=.
1262 SHELL=${CONFIG_SHELL-/bin/sh}
1264 -# Maximum number of lines to put in a shell here document.
1265 -# This variable seems obsolete. It should probably be removed, and
1266 -# only ac_max_sed_lines should be used.
1267 -: ${ac_max_here_lines=38}
1269 # Identity of this package.
1270 PACKAGE_NAME='libgphoto2_port'
1271 PACKAGE_TARNAME='libgphoto2_port'
1272 @@ -431,43 +736,217 @@
1273 # Factoring default headers for most tests.
1274 ac_includes_default="\
1276 -#if HAVE_SYS_TYPES_H
1277 +#ifdef HAVE_SYS_TYPES_H
1278 # include <sys/types.h>
1280 -#if HAVE_SYS_STAT_H
1281 +#ifdef HAVE_SYS_STAT_H
1282 # include <sys/stat.h>
1285 +#ifdef STDC_HEADERS
1286 # include <stdlib.h>
1287 # include <stddef.h>
1290 +# ifdef HAVE_STDLIB_H
1291 # include <stdlib.h>
1295 -# if !STDC_HEADERS && HAVE_MEMORY_H
1296 +#ifdef HAVE_STRING_H
1297 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1298 # include <memory.h>
1300 # include <string.h>
1303 +#ifdef HAVE_STRINGS_H
1304 # include <strings.h>
1306 -#if HAVE_INTTYPES_H
1307 +#ifdef HAVE_INTTYPES_H
1308 # include <inttypes.h>
1311 -# include <stdint.h>
1315 +#ifdef HAVE_STDINT_H
1316 +# include <stdint.h>
1318 +#ifdef HAVE_UNISTD_H
1319 # include <unistd.h>
1322 -ac_subdirs_all="$ac_subdirs_all libltdl"
1323 -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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LIBGPHOTO2_PORT_AGE LIBGPHOTO2_PORT_REVISION LIBGPHOTO2_PORT_CURRENT LIBGPHOTO2_PORT_CURRENT_MIN LIBGPHOTO2_PORT_VERSION_INFO 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 CPP EGREP INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBADD_DL LIBLTDL INCLTDL subdirs LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LTDLINCL URL_GPHOTO_HOME URL_GPHOTO_PROJECT URL_DIGICAM_LIST URL_JPHOTO_HOME URL_USB_MASSSTORAGE MAIL_GPHOTO_DEVEL MAIL_GPHOTO_USER MAIL_GPHOTO_TRANSLATION GETTEXT_PACKAGE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB localedir MDNS_LIBS SERIAL_LIBS PKG_CONFIG PKG_CONFIG_PATH LIBUSB_CFLAGS LIBUSB_LIBS ac_pt_PKG_CONFIG LIBUSB_CONFIG_PROG HAVE_LIBUSB_TRUE HAVE_LIBUSB_FALSE HAL_CFLAGS HAL_LIBS IOLIB_SUBDIRS iolibdir docdir GTKDOC ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE htmldir apidocdir} AM_CPPFLAGS AM_LDFLAGS LIBOBJS LTLIBOBJS'
1324 +ac_subst_vars='SHELL
1333 +program_transform_name
1374 +INSTALL_STRIP_PROGRAM
1382 +LIBGPHOTO2_PORT_AGE
1383 +LIBGPHOTO2_PORT_REVISION
1384 +LIBGPHOTO2_PORT_CURRENT
1385 +LIBGPHOTO2_PORT_CURRENT_MIN
1386 +LIBGPHOTO2_PORT_VERSION_INFO
1402 +am__fastdepCC_FALSE
1408 +CONVENIENCE_LTDL_TRUE
1409 +CONVENIENCE_LTDL_FALSE
1433 +am__fastdepCXX_TRUE
1434 +am__fastdepCXX_FALSE
1445 +URL_USB_MASSSTORAGE
1448 +MAIL_GPHOTO_TRANSLATION
1474 +ENABLE_GTK_DOC_TRUE
1475 +ENABLE_GTK_DOC_FALSE
1482 + ac_precious_vars='build_alias
1501 +ac_subdirs_all='libltdl'
1503 # Initialize some variables set by options.
1505 @@ -494,34 +973,48 @@
1506 # and all the variables that are supposed to be based on exec_prefix
1507 # by default will actually change.
1508 # Use braces instead of parens because sh, perl, etc. also accept them.
1509 +# (The list follows the same order as the GNU Coding Standards.)
1510 bindir='${exec_prefix}/bin'
1511 sbindir='${exec_prefix}/sbin'
1512 libexecdir='${exec_prefix}/libexec'
1513 -datadir='${prefix}/share'
1514 +datarootdir='${prefix}/share'
1515 +datadir='${datarootdir}'
1516 sysconfdir='${prefix}/etc'
1517 sharedstatedir='${prefix}/com'
1518 localstatedir='${prefix}/var'
1519 -libdir='${exec_prefix}/lib'
1520 includedir='${prefix}/include'
1521 oldincludedir='/usr/include'
1522 -infodir='${prefix}/info'
1523 -mandir='${prefix}/man'
1524 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1525 +infodir='${datarootdir}/info'
1526 +htmldir='${docdir}'
1530 +libdir='${exec_prefix}/lib'
1531 +localedir='${datarootdir}/locale'
1532 +mandir='${datarootdir}/man'
1538 # If the previous option needs an argument, assign it.
1539 if test -n "$ac_prev"; then
1540 - eval "$ac_prev=\$ac_option"
1541 + eval $ac_prev=\$ac_option
1546 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1547 + case $ac_option in
1548 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1549 + *) ac_optarg=yes ;;
1552 # Accept the important Cygnus configure options, so we can diagnose typos.
1554 - case $ac_option in
1555 + case $ac_dashdash$ac_option in
1557 + ac_dashdash=yes ;;
1559 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1561 @@ -543,33 +1036,45 @@
1562 --config-cache | -C)
1563 cache_file=config.cache ;;
1565 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1566 + -datadir | --datadir | --datadi | --datad)
1568 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1570 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1571 datadir=$ac_optarg ;;
1573 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1574 + | --dataroo | --dataro | --datar)
1575 + ac_prev=datarootdir ;;
1576 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1577 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1578 + datarootdir=$ac_optarg ;;
1580 -disable-* | --disable-*)
1581 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1582 # Reject names that are not valid shell variable names.
1583 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1584 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1585 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1586 { (exit 1); exit 1; }; }
1587 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1588 - eval "enable_$ac_feature=no" ;;
1589 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1590 + eval enable_$ac_feature=no ;;
1592 + -docdir | --docdir | --docdi | --doc | --do)
1594 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1595 + docdir=$ac_optarg ;;
1597 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1599 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1600 + dvidir=$ac_optarg ;;
1602 -enable-* | --enable-*)
1603 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1604 # Reject names that are not valid shell variable names.
1605 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1606 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1607 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1608 { (exit 1); exit 1; }; }
1609 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1610 - case $ac_option in
1611 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1612 - *) ac_optarg=yes ;;
1614 - eval "enable_$ac_feature='$ac_optarg'" ;;
1615 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1616 + eval enable_$ac_feature=\$ac_optarg ;;
1618 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1619 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1620 @@ -596,6 +1101,12 @@
1621 -host=* | --host=* | --hos=* | --ho=*)
1622 host_alias=$ac_optarg ;;
1624 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1625 + ac_prev=htmldir ;;
1626 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1628 + htmldir=$ac_optarg ;;
1630 -includedir | --includedir | --includedi | --included | --include \
1631 | --includ | --inclu | --incl | --inc)
1632 ac_prev=includedir ;;
1633 @@ -620,13 +1131,16 @@
1634 | --libexe=* | --libex=* | --libe=*)
1635 libexecdir=$ac_optarg ;;
1637 + -localedir | --localedir | --localedi | --localed | --locale)
1638 + ac_prev=localedir ;;
1639 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1640 + localedir=$ac_optarg ;;
1642 -localstatedir | --localstatedir | --localstatedi | --localstated \
1643 - | --localstate | --localstat | --localsta | --localst \
1644 - | --locals | --local | --loca | --loc | --lo)
1645 + | --localstate | --localstat | --localsta | --localst | --locals)
1646 ac_prev=localstatedir ;;
1647 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1648 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1649 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1650 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1651 localstatedir=$ac_optarg ;;
1653 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1654 @@ -691,6 +1205,16 @@
1655 | --progr-tra=* | --program-tr=* | --program-t=*)
1656 program_transform_name=$ac_optarg ;;
1658 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1660 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1661 + pdfdir=$ac_optarg ;;
1663 + -psdir | --psdir | --psdi | --psd | --ps)
1665 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1666 + psdir=$ac_optarg ;;
1668 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1669 | -silent | --silent | --silen | --sile | --sil)
1671 @@ -743,24 +1267,20 @@
1673 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1674 # Reject names that are not valid shell variable names.
1675 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1676 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1677 { echo "$as_me: error: invalid package name: $ac_package" >&2
1678 { (exit 1); exit 1; }; }
1679 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1680 - case $ac_option in
1681 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1682 - *) ac_optarg=yes ;;
1684 - eval "with_$ac_package='$ac_optarg'" ;;
1685 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1686 + eval with_$ac_package=\$ac_optarg ;;
1688 -without-* | --without-*)
1689 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1690 # Reject names that are not valid shell variable names.
1691 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1692 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1693 { echo "$as_me: error: invalid package name: $ac_package" >&2
1694 { (exit 1); exit 1; }; }
1695 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1696 - eval "with_$ac_package=no" ;;
1697 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1698 + eval with_$ac_package=no ;;
1701 # Obsolete; use --with-x.
1702 @@ -791,8 +1311,7 @@
1703 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1704 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1705 { (exit 1); exit 1; }; }
1706 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1707 - eval "$ac_envvar='$ac_optarg'"
1708 + eval $ac_envvar=\$ac_optarg
1709 export $ac_envvar ;;
1712 @@ -812,27 +1331,19 @@
1713 { (exit 1); exit 1; }; }
1716 -# Be sure to have absolute paths.
1717 -for ac_var in exec_prefix prefix
1719 - eval ac_val=$`echo $ac_var`
1721 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1722 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1723 - { (exit 1); exit 1; }; };;
1727 -# Be sure to have absolute paths.
1728 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1729 - localstatedir libdir includedir oldincludedir infodir mandir
1730 +# Be sure to have absolute directory names.
1731 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1732 + datadir sysconfdir sharedstatedir localstatedir includedir \
1733 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1734 + libdir localedir mandir
1736 - eval ac_val=$`echo $ac_var`
1737 + eval ac_val=\$$ac_var
1739 - [\\/$]* | ?:[\\/]* ) ;;
1740 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1741 - { (exit 1); exit 1; }; };;
1742 + [\\/$]* | ?:[\\/]* ) continue;;
1743 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1745 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1746 + { (exit 1); exit 1; }; }
1749 # There might be people who depend on the old broken behavior: `$host'
1750 @@ -859,118 +1370,76 @@
1751 test "$silent" = yes && exec 6>/dev/null
1754 -# Find the source files, if location was not specified.
1755 -if test -z "$srcdir"; then
1756 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1757 +ac_ls_di=`ls -di .` &&
1758 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1759 + { echo "$as_me: error: Working directory cannot be determined" >&2
1760 + { (exit 1); exit 1; }; }
1761 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1762 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1763 + { (exit 1); exit 1; }; }
1766 +# Find the source files, if location was not specified.
1767 +if test -z "$srcdir"; then
1768 ac_srcdir_defaulted=yes
1769 - # Try the directory containing this script, then its parent.
1770 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1771 + # Try the directory containing this script, then the parent directory.
1772 + ac_confdir=`$as_dirname -- "$0" ||
1773 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1774 X"$0" : 'X\(//\)[^/]' \| \
1775 X"$0" : 'X\(//\)$' \| \
1776 - X"$0" : 'X\(/\)' \| \
1777 - . : '\(.\)' 2>/dev/null ||
1778 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1780 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1781 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1782 - /^X\(\/\/\)$/{ s//\1/; q; }
1783 - /^X\(\/\).*/{ s//\1/; q; }
1785 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1789 + /^X\(\/\/\)[^/].*/{
1803 - if test ! -r $srcdir/$ac_unique_file; then
1804 + if test ! -r "$srcdir/$ac_unique_file"; then
1808 ac_srcdir_defaulted=no
1810 -if test ! -r $srcdir/$ac_unique_file; then
1811 - if test "$ac_srcdir_defaulted" = yes; then
1812 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1813 - { (exit 1); exit 1; }; }
1815 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1816 +if test ! -r "$srcdir/$ac_unique_file"; then
1817 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1818 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1819 { (exit 1); exit 1; }; }
1822 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1823 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1824 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1826 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1827 { (exit 1); exit 1; }; }
1828 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1829 -ac_env_build_alias_set=${build_alias+set}
1830 -ac_env_build_alias_value=$build_alias
1831 -ac_cv_env_build_alias_set=${build_alias+set}
1832 -ac_cv_env_build_alias_value=$build_alias
1833 -ac_env_host_alias_set=${host_alias+set}
1834 -ac_env_host_alias_value=$host_alias
1835 -ac_cv_env_host_alias_set=${host_alias+set}
1836 -ac_cv_env_host_alias_value=$host_alias
1837 -ac_env_target_alias_set=${target_alias+set}
1838 -ac_env_target_alias_value=$target_alias
1839 -ac_cv_env_target_alias_set=${target_alias+set}
1840 -ac_cv_env_target_alias_value=$target_alias
1841 -ac_env_CC_set=${CC+set}
1842 -ac_env_CC_value=$CC
1843 -ac_cv_env_CC_set=${CC+set}
1844 -ac_cv_env_CC_value=$CC
1845 -ac_env_CFLAGS_set=${CFLAGS+set}
1846 -ac_env_CFLAGS_value=$CFLAGS
1847 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1848 -ac_cv_env_CFLAGS_value=$CFLAGS
1849 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1850 -ac_env_LDFLAGS_value=$LDFLAGS
1851 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1852 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1853 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1854 -ac_env_CPPFLAGS_value=$CPPFLAGS
1855 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1856 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1857 -ac_env_CPP_set=${CPP+set}
1858 -ac_env_CPP_value=$CPP
1859 -ac_cv_env_CPP_set=${CPP+set}
1860 -ac_cv_env_CPP_value=$CPP
1861 -ac_env_CXX_set=${CXX+set}
1862 -ac_env_CXX_value=$CXX
1863 -ac_cv_env_CXX_set=${CXX+set}
1864 -ac_cv_env_CXX_value=$CXX
1865 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1866 -ac_env_CXXFLAGS_value=$CXXFLAGS
1867 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1868 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1869 -ac_env_CXXCPP_set=${CXXCPP+set}
1870 -ac_env_CXXCPP_value=$CXXCPP
1871 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
1872 -ac_cv_env_CXXCPP_value=$CXXCPP
1873 -ac_env_F77_set=${F77+set}
1874 -ac_env_F77_value=$F77
1875 -ac_cv_env_F77_set=${F77+set}
1876 -ac_cv_env_F77_value=$F77
1877 -ac_env_FFLAGS_set=${FFLAGS+set}
1878 -ac_env_FFLAGS_value=$FFLAGS
1879 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
1880 -ac_cv_env_FFLAGS_value=$FFLAGS
1881 -ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
1882 -ac_env_PKG_CONFIG_value=$PKG_CONFIG
1883 -ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
1884 -ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
1885 -ac_env_PKG_CONFIG_PATH_set=${PKG_CONFIG_PATH+set}
1886 -ac_env_PKG_CONFIG_PATH_value=$PKG_CONFIG_PATH
1887 -ac_cv_env_PKG_CONFIG_PATH_set=${PKG_CONFIG_PATH+set}
1888 -ac_cv_env_PKG_CONFIG_PATH_value=$PKG_CONFIG_PATH
1889 -ac_env_LIBUSB_CFLAGS_set=${LIBUSB_CFLAGS+set}
1890 -ac_env_LIBUSB_CFLAGS_value=$LIBUSB_CFLAGS
1891 -ac_cv_env_LIBUSB_CFLAGS_set=${LIBUSB_CFLAGS+set}
1892 -ac_cv_env_LIBUSB_CFLAGS_value=$LIBUSB_CFLAGS
1893 -ac_env_LIBUSB_LIBS_set=${LIBUSB_LIBS+set}
1894 -ac_env_LIBUSB_LIBS_value=$LIBUSB_LIBS
1895 -ac_cv_env_LIBUSB_LIBS_set=${LIBUSB_LIBS+set}
1896 -ac_cv_env_LIBUSB_LIBS_value=$LIBUSB_LIBS
1897 -ac_env_HAL_CFLAGS_set=${HAL_CFLAGS+set}
1898 -ac_env_HAL_CFLAGS_value=$HAL_CFLAGS
1899 -ac_cv_env_HAL_CFLAGS_set=${HAL_CFLAGS+set}
1900 -ac_cv_env_HAL_CFLAGS_value=$HAL_CFLAGS
1901 -ac_env_HAL_LIBS_set=${HAL_LIBS+set}
1902 -ac_env_HAL_LIBS_value=$HAL_LIBS
1903 -ac_cv_env_HAL_LIBS_set=${HAL_LIBS+set}
1904 -ac_cv_env_HAL_LIBS_value=$HAL_LIBS
1906 +# When building in place, set srcdir=.
1907 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1910 +# Remove unnecessary trailing slashes from srcdir.
1911 +# Double slashes in file names in object file debugging info
1912 +# mess up M-x gdb in Emacs.
1914 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1916 +for ac_var in $ac_precious_vars; do
1917 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1918 + eval ac_env_${ac_var}_value=\$${ac_var}
1919 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1920 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1924 # Report the --help message.
1925 @@ -999,9 +1468,6 @@
1926 -n, --no-create do not create output files
1927 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1932 Installation directories:
1933 --prefix=PREFIX install architecture-independent files in PREFIX
1934 [$ac_default_prefix]
1935 @@ -1019,15 +1485,22 @@
1936 --bindir=DIR user executables [EPREFIX/bin]
1937 --sbindir=DIR system admin executables [EPREFIX/sbin]
1938 --libexecdir=DIR program executables [EPREFIX/libexec]
1939 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1940 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1941 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1942 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1943 --libdir=DIR object code libraries [EPREFIX/lib]
1944 --includedir=DIR C header files [PREFIX/include]
1945 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1946 - --infodir=DIR info documentation [PREFIX/info]
1947 - --mandir=DIR man documentation [PREFIX/man]
1948 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1949 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1950 + --infodir=DIR info documentation [DATAROOTDIR/info]
1951 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1952 + --mandir=DIR man documentation [DATAROOTDIR/man]
1953 + --docdir=DIR documentation root [DATAROOTDIR/doc/libgphoto2_port]
1954 + --htmldir=DIR html documentation [DOCDIR]
1955 + --dvidir=DIR dvi documentation [DOCDIR]
1956 + --pdfdir=DIR pdf documentation [DOCDIR]
1957 + --psdir=DIR ps documentation [DOCDIR]
1961 @@ -1055,10 +1528,8 @@
1962 --disable-dependency-tracking speeds up one-time build
1963 --enable-dependency-tracking do not reject slow dependency extractors
1964 --enable-ltdl-install install libltdl
1965 - --enable-shared[=PKGS]
1966 - build shared libraries [default=yes]
1967 - --enable-static[=PKGS]
1968 - build static libraries [default=yes]
1969 + --enable-shared[=PKGS] build shared libraries [default=yes]
1970 + --enable-static[=PKGS] build static libraries [default=yes]
1971 --enable-fast-install[=PKGS]
1972 optimize for fast installation [default=yes]
1973 --disable-libtool-lock avoid locking (might break parallel builds)
1974 @@ -1083,8 +1554,7 @@
1975 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1976 --with-pic try to use only PIC/non-PIC objects [default=use
1978 - --with-tags[=TAGS]
1979 - include additional configurations [automatic]
1980 + --with-tags[=TAGS] include additional configurations [automatic]
1981 --with-gnu-ld assume the C compiler uses GNU ld default=no
1982 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1983 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1984 @@ -1100,8 +1570,9 @@
1985 CFLAGS C compiler flags
1986 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1987 nonstandard directory <lib dir>
1988 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1989 - headers in a nonstandard directory <include dir>
1990 + LIBS libraries to pass to the linker, e.g. -l<library>
1991 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1992 + you have headers in a nonstandard directory <include dir>
1994 CXX C++ compiler command
1995 CXXFLAGS C++ compiler flags
1996 @@ -1114,128 +1585,92 @@
1998 CFLAGS for compiling with libusb
1999 LIBUSB_LIBS LIBS to add for linking against libusb
2000 - HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
2001 - HAL_LIBS linker flags for HAL, overriding pkg-config
2003 Use these variables to override the choices made by `configure' or to help
2004 it to find libraries and programs with nonstandard names/locations.
2006 Report bugs to <gphoto-devel@lists.sourceforge.net>.
2011 if test "$ac_init_help" = "recursive"; then
2012 # If there are subdirs, report their specific --help.
2014 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2015 - test -d $ac_dir || continue
2016 + test -d "$ac_dir" || continue
2019 -if test "$ac_dir" != .; then
2021 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2023 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2024 - # A "../" for each directory in $ac_dir_suffix.
2025 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2027 - ac_dir_suffix= ac_top_builddir=
2029 + # A ".." for each directory in $ac_dir_suffix.
2030 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2031 + case $ac_top_builddir_sub in
2032 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2033 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2036 +ac_abs_top_builddir=$ac_pwd
2037 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
2038 +# for backward compatibility:
2039 +ac_top_builddir=$ac_top_build_prefix
2042 - .) # No --srcdir option. We are building in place.
2043 + .) # We are building in place.
2045 - if test -z "$ac_top_builddir"; then
2048 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2050 - [\\/]* | ?:[\\/]* ) # Absolute path.
2051 + ac_top_srcdir=$ac_top_builddir_sub
2052 + ac_abs_top_srcdir=$ac_pwd ;;
2053 + [\\/]* | ?:[\\/]* ) # Absolute name.
2054 ac_srcdir=$srcdir$ac_dir_suffix;
2055 - ac_top_srcdir=$srcdir ;;
2056 - *) # Relative path.
2057 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2058 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
2061 -# Do not use `cd foo && pwd` to compute absolute paths, because
2062 -# the directories may not exist.
2064 -.) ac_abs_builddir="$ac_dir";;
2067 - .) ac_abs_builddir=`pwd`;;
2068 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2069 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
2072 -case $ac_abs_builddir in
2073 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
2075 - case ${ac_top_builddir}. in
2076 - .) ac_abs_top_builddir=$ac_abs_builddir;;
2077 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2078 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2081 -case $ac_abs_builddir in
2082 -.) ac_abs_srcdir=$ac_srcdir;;
2084 - case $ac_srcdir in
2085 - .) ac_abs_srcdir=$ac_abs_builddir;;
2086 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2087 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2090 -case $ac_abs_builddir in
2091 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
2093 - case $ac_top_srcdir in
2094 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
2095 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2096 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2101 - # Check for guested configure; otherwise get Cygnus style configure.
2102 - if test -f $ac_srcdir/configure.gnu; then
2104 - $SHELL $ac_srcdir/configure.gnu --help=recursive
2105 - elif test -f $ac_srcdir/configure; then
2107 - $SHELL $ac_srcdir/configure --help=recursive
2108 - elif test -f $ac_srcdir/configure.ac ||
2109 - test -f $ac_srcdir/configure.in; then
2111 - $ac_configure --help
2112 + ac_top_srcdir=$srcdir
2113 + ac_abs_top_srcdir=$srcdir ;;
2114 + *) # Relative name.
2115 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2116 + ac_top_srcdir=$ac_top_build_prefix$srcdir
2117 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2119 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2121 + cd "$ac_dir" || { ac_status=$?; continue; }
2122 + # Check for guested configure.
2123 + if test -f "$ac_srcdir/configure.gnu"; then
2125 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2126 + elif test -f "$ac_srcdir/configure"; then
2128 + $SHELL "$ac_srcdir/configure" --help=recursive
2130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2133 + fi || ac_status=$?
2134 + cd "$ac_pwd" || { ac_status=$?; break; }
2138 -test -n "$ac_init_help" && exit 0
2139 +test -n "$ac_init_help" && exit $ac_status
2140 if $ac_init_version; then
2142 libgphoto2_port configure 0.6.1
2143 -generated by GNU Autoconf 2.59
2144 +generated by GNU Autoconf 2.61
2146 -Copyright (C) 2003 Free Software Foundation, Inc.
2147 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2148 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2149 This configure script is free software; the Free Software Foundation
2150 gives unlimited permission to copy, distribute and modify it.
2157 +cat >config.log <<_ACEOF
2158 This file contains any messages produced by compilers while
2159 running configure, to aid debugging if configure makes a mistake.
2161 It was created by libgphoto2_port $as_me 0.6.1, which was
2162 -generated by GNU Autoconf 2.59. Invocation command line was
2163 +generated by GNU Autoconf 2.61. Invocation command line was
2172 @@ -1254,7 +1689,7 @@
2173 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2174 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2175 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2176 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
2177 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2181 @@ -1268,6 +1703,7 @@
2182 test -z "$as_dir" && as_dir=.
2183 echo "PATH: $as_dir"
2189 @@ -1289,7 +1725,6 @@
2194 ac_must_keep_next=false
2197 @@ -1300,7 +1735,7 @@
2198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2199 | -silent | --silent | --silen | --sile | --sil)
2201 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2203 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 @@ -1322,9 +1757,7 @@
2207 -* ) ac_must_keep_next=true ;;
2210 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2211 - # Get rid of the leading space.
2213 + ac_configure_args="$ac_configure_args '$ac_arg'"
2217 @@ -1335,8 +1768,8 @@
2218 # When interrupted or exit'd, cleanup temporary files, and complete
2219 # config.log. We remove comments because anyway the quotes in there
2220 # would cause problems or look ugly.
2221 -# WARNING: Be sure not to use single quotes in there, as some shells,
2222 -# such as our DU 5.0 friend, will then `close' the trap.
2223 +# WARNING: Use '\'' to represent an apostrophe within the trap.
2224 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2225 trap 'exit_status=$?
2226 # Save into config.log some information that might help in debugging.
2228 @@ -1349,20 +1782,34 @@
2231 # The following way of writing the cache mishandles newlines in values,
2234 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2235 + eval ac_val=\$$ac_var
2236 + case $ac_val in #(
2238 + case $ac_var in #(
2239 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2240 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2242 + case $ac_var in #(
2243 + _ | IFS | as_nl) ;; #(
2244 + *) $as_unset $ac_var ;;
2249 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2251 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2252 + *${as_nl}ac_space=\ *)
2254 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
2255 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2257 + "s/'\''/'\''\\\\'\'''\''/g;
2258 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2262 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2263 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2273 @@ -1373,22 +1820,28 @@
2275 for ac_var in $ac_subst_vars
2277 - eval ac_val=$`echo $ac_var`
2278 - echo "$ac_var='"'"'$ac_val'"'"'"
2279 + eval ac_val=\$$ac_var
2281 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283 + echo "$ac_var='\''$ac_val'\''"
2287 if test -n "$ac_subst_files"; then
2289 -## ------------- ##
2290 -## Output files. ##
2291 -## ------------- ##
2292 +## ------------------- ##
2293 +## File substitutions. ##
2294 +## ------------------- ##
2297 for ac_var in $ac_subst_files
2299 - eval ac_val=$`echo $ac_var`
2300 - echo "$ac_var='"'"'$ac_val'"'"'"
2301 + eval ac_val=\$$ac_var
2303 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305 + echo "$ac_var='\''$ac_val'\''"
2309 @@ -1400,26 +1853,24 @@
2313 - sed "/^$/d" confdefs.h | sort
2317 test "$ac_signal" != 0 &&
2318 echo "$as_me: caught signal $ac_signal"
2319 echo "$as_me: exit $exit_status"
2321 - rm -f core *.core &&
2322 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2323 + rm -f core *.core core.conftest.* &&
2324 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2328 for ac_signal in 1 2 13 15; do
2329 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2334 -rm -rf conftest* confdefs.h
2335 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
2337 +rm -f -r conftest* confdefs.h
2339 # Predefined preprocessor variables.
2341 @@ -1450,14 +1901,17 @@
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer explicitly selected file to automatically selected ones.
2345 -if test -z "$CONFIG_SITE"; then
2346 - if test "x$prefix" != xNONE; then
2347 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
2349 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2351 +if test -n "$CONFIG_SITE"; then
2352 + set x "$CONFIG_SITE"
2353 +elif test "x$prefix" != xNONE; then
2354 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
2356 + set x "$ac_default_prefix/share/config.site" \
2357 + "$ac_default_prefix/etc/config.site"
2359 -for ac_site_file in $CONFIG_SITE; do
2363 if test -r "$ac_site_file"; then
2364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2365 echo "$as_me: loading site script $ac_site_file" >&6;}
2366 @@ -1473,8 +1927,8 @@
2367 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2368 echo "$as_me: loading cache $cache_file" >&6;}
2370 - [\\/]* | ?:[\\/]* ) . $cache_file;;
2371 - *) . ./$cache_file;;
2372 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 + *) . "./$cache_file";;
2377 @@ -1486,12 +1940,11 @@
2378 # Check that the precious variables saved in the cache have kept the same
2380 ac_cache_corrupted=false
2381 -for ac_var in `(set) 2>&1 |
2382 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2383 +for ac_var in $ac_precious_vars; do
2384 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2385 eval ac_new_set=\$ac_env_${ac_var}_set
2386 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2387 - eval ac_new_val="\$ac_env_${ac_var}_value"
2388 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 + eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 @@ -1516,8 +1969,7 @@
2394 # Pass precious variables to config.status.
2395 if test "$ac_new_set" = set; then
2397 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2398 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2399 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg=$ac_var=$ac_new_val ;;
2402 case " $ac_configure_args " in
2403 @@ -1534,12 +1986,6 @@
2404 { (exit 1); exit 1; }; }
2408 -ac_cpp='$CPP $CPPFLAGS'
2409 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416 @@ -1564,47 +2010,48 @@
2421 +ac_cpp='$CPP $CPPFLAGS'
2422 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428 - ac_config_headers="$ac_config_headers config.h"
2429 +ac_config_headers="$ac_config_headers config.h"
2432 - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
2433 - *) ac_macro_dir=$srcdir/m4 ;;
2435 -if test -d "$ac_macro_dir"; then :
2437 - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
2438 -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
2439 - { (exit 1); exit 1; }; }
2442 am__api_version="1.9"
2444 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2445 - if test -f $ac_dir/install-sh; then
2446 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2447 + if test -f "$ac_dir/install-sh"; then
2449 ac_install_sh="$ac_aux_dir/install-sh -c"
2451 - elif test -f $ac_dir/install.sh; then
2452 + elif test -f "$ac_dir/install.sh"; then
2454 ac_install_sh="$ac_aux_dir/install.sh -c"
2456 - elif test -f $ac_dir/shtool; then
2457 + elif test -f "$ac_dir/shtool"; then
2459 ac_install_sh="$ac_aux_dir/shtool install -c"
2463 if test -z "$ac_aux_dir"; then
2464 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2465 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2466 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2467 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2468 { (exit 1); exit 1; }; }
2470 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2471 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2472 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2474 +# These three variables are undocumented and unsupported,
2475 +# and are intended to be withdrawn in a future Autoconf release.
2476 +# They can cause serious problems if a builder's source tree is in a directory
2477 +# whose full name contains unusual characters.
2478 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2479 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2480 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2483 # Find a good install program. We prefer a C program (faster),
2484 # so one script is as good as another. But avoid the broken or
2485 @@ -1619,8 +2066,8 @@
2486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2487 # OS/2's system install, which has a completely different semantic
2488 # ./install, which can be erroneously created by make from ./install.sh.
2489 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2490 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2491 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2492 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2493 if test -z "$INSTALL"; then
2494 if test "${ac_cv_path_install+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 @@ -1642,7 +2089,7 @@
2498 for ac_prog in ginstall scoinst install; do
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2501 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2502 if test $ac_prog = install &&
2503 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504 # AIX install. It has an incompatible calling convention.
2505 @@ -1661,21 +2108,22 @@
2513 if test "${ac_cv_path_install+set}" = set; then
2514 INSTALL=$ac_cv_path_install
2516 - # As a last resort, use the slow shell script. We don't cache a
2517 - # path for INSTALL within a source directory, because that will
2518 + # As a last resort, use the slow shell script. Don't cache a
2519 + # value for INSTALL within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 - # removed, or if the path is relative.
2522 + # removed, or if the value is a relative name.
2523 INSTALL=$ac_install_sh
2526 -echo "$as_me:$LINENO: result: $INSTALL" >&5
2527 -echo "${ECHO_T}$INSTALL" >&6
2528 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2529 +echo "${ECHO_T}$INSTALL" >&6; }
2531 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2532 # It thinks the first close brace ends the variable substitution.
2533 @@ -1685,8 +2133,8 @@
2535 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2537 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2538 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2539 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2540 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2543 echo timestamp > conftest.file
2544 @@ -1728,20 +2176,20 @@
2545 Check your system clock" >&2;}
2546 { (exit 1); exit 1; }; }
2548 -echo "$as_me:$LINENO: result: yes" >&5
2549 -echo "${ECHO_T}yes" >&6
2550 +{ echo "$as_me:$LINENO: result: yes" >&5
2551 +echo "${ECHO_T}yes" >&6; }
2552 test "$program_prefix" != NONE &&
2553 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
2554 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
2555 # Use a double $ so make ignores it.
2556 test "$program_suffix" != NONE &&
2557 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2558 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2559 # Double any \ or $. echo might interpret backslashes.
2560 # By default was `s,x,x', remove it if useless.
2561 cat <<\_ACEOF >conftest.sed
2562 s/[\\$]/&&/g;s/;s,x,x,$//
2564 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2568 # expand $ac_aux_dir to an absolute path
2569 am_aux_dir=`cd $ac_aux_dir && pwd`
2570 @@ -1793,8 +2241,8 @@
2572 # Extract the first word of "$ac_prog", so it can be a program name with args.
2573 set dummy $ac_prog; ac_word=$2
2574 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2576 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578 if test "${ac_cv_prog_AWK+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 @@ -1807,54 +2255,57 @@
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 ac_cv_prog_AWK="$ac_prog"
2588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 if test -n "$AWK"; then
2599 - echo "$as_me:$LINENO: result: $AWK" >&5
2600 -echo "${ECHO_T}$AWK" >&6
2601 + { echo "$as_me:$LINENO: result: $AWK" >&5
2602 +echo "${ECHO_T}$AWK" >&6; }
2604 - echo "$as_me:$LINENO: result: no" >&5
2605 -echo "${ECHO_T}no" >&6
2606 + { echo "$as_me:$LINENO: result: no" >&5
2607 +echo "${ECHO_T}no" >&6; }
2611 test -n "$AWK" && break
2614 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2615 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2616 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2617 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2618 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2619 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2620 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2621 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 cat >conftest.make <<\_ACEOF
2627 - @echo 'ac_maketemp="$(MAKE)"'
2628 + @echo '@@@%%%=$(MAKE)=@@@%%%'
2630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2631 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2632 -if test -n "$ac_maketemp"; then
2633 - eval ac_cv_prog_make_${ac_make}_set=yes
2635 - eval ac_cv_prog_make_${ac_make}_set=no
2637 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
2638 + *@@@%%%=?*=@@@%%%*)
2639 + eval ac_cv_prog_make_${ac_make}_set=yes;;
2641 + eval ac_cv_prog_make_${ac_make}_set=no;;
2645 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2646 - echo "$as_me:$LINENO: result: yes" >&5
2647 -echo "${ECHO_T}yes" >&6
2648 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2649 + { echo "$as_me:$LINENO: result: yes" >&5
2650 +echo "${ECHO_T}yes" >&6; }
2653 - echo "$as_me:$LINENO: result: no" >&5
2654 -echo "${ECHO_T}no" >&6
2655 + { echo "$as_me:$LINENO: result: no" >&5
2656 +echo "${ECHO_T}no" >&6; }
2657 SET_MAKE="MAKE=${MAKE-make}"
2660 @@ -1925,8 +2376,8 @@
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}strip; ac_word=$2
2664 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2666 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2668 if test "${ac_cv_prog_STRIP+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 @@ -1939,32 +2390,34 @@
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 STRIP=$ac_cv_prog_STRIP
2688 if test -n "$STRIP"; then
2689 - echo "$as_me:$LINENO: result: $STRIP" >&5
2690 -echo "${ECHO_T}$STRIP" >&6
2691 + { echo "$as_me:$LINENO: result: $STRIP" >&5
2692 +echo "${ECHO_T}$STRIP" >&6; }
2694 - echo "$as_me:$LINENO: result: no" >&5
2695 -echo "${ECHO_T}no" >&6
2696 + { echo "$as_me:$LINENO: result: no" >&5
2697 +echo "${ECHO_T}no" >&6; }
2702 if test -z "$ac_cv_prog_STRIP"; then
2704 # Extract the first word of "strip", so it can be a program name with args.
2705 set dummy strip; ac_word=$2
2706 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2707 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2708 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2709 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2710 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2711 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 @@ -1977,27 +2430,41 @@
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_STRIP="strip"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2730 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2731 if test -n "$ac_ct_STRIP"; then
2732 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2733 -echo "${ECHO_T}$ac_ct_STRIP" >&6
2734 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2735 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2737 - echo "$as_me:$LINENO: result: no" >&5
2738 -echo "${ECHO_T}no" >&6
2739 + { echo "$as_me:$LINENO: result: no" >&5
2740 +echo "${ECHO_T}no" >&6; }
2743 - STRIP=$ac_ct_STRIP
2744 + if test "x$ac_ct_STRIP" = x; then
2747 + case $cross_compiling:$ac_tool_warned in
2749 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2750 +whose name does not start with the host triplet. If you think this
2751 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2752 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2753 +whose name does not start with the host triplet. If you think this
2754 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2755 +ac_tool_warned=yes ;;
2757 + STRIP=$ac_ct_STRIP
2760 STRIP="$ac_cv_prog_STRIP"
2762 @@ -2039,8 +2506,8 @@
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2767 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2768 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2769 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2770 if test "${ac_cv_prog_CC+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 @@ -2053,32 +2520,34 @@
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 - echo "$as_me:$LINENO: result: $CC" >&5
2792 -echo "${ECHO_T}$CC" >&6
2793 + { echo "$as_me:$LINENO: result: $CC" >&5
2794 +echo "${ECHO_T}$CC" >&6; }
2796 - echo "$as_me:$LINENO: result: no" >&5
2797 -echo "${ECHO_T}no" >&6
2798 + { echo "$as_me:$LINENO: result: no" >&5
2799 +echo "${ECHO_T}no" >&6; }
2804 if test -z "$ac_cv_prog_CC"; then
2806 # Extract the first word of "gcc", so it can be a program name with args.
2807 set dummy gcc; ac_word=$2
2808 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2809 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2810 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2811 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 @@ -2091,36 +2560,51 @@
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2834 -echo "${ECHO_T}$ac_ct_CC" >&6
2835 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2836 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2838 - echo "$as_me:$LINENO: result: no" >&5
2839 -echo "${ECHO_T}no" >&6
2840 + { echo "$as_me:$LINENO: result: no" >&5
2841 +echo "${ECHO_T}no" >&6; }
2845 + if test "x$ac_ct_CC" = x; then
2848 + case $cross_compiling:$ac_tool_warned in
2850 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2851 +whose name does not start with the host triplet. If you think this
2852 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2853 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2854 +whose name does not start with the host triplet. If you think this
2855 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2856 +ac_tool_warned=yes ;;
2864 if test -z "$CC"; then
2865 - if test -n "$ac_tool_prefix"; then
2866 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2867 + if test -n "$ac_tool_prefix"; then
2868 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy ${ac_tool_prefix}cc; ac_word=$2
2870 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2874 if test "${ac_cv_prog_CC+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 @@ -2133,74 +2617,34 @@
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2883 ac_cv_prog_CC="${ac_tool_prefix}cc"
2884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 if test -n "$CC"; then
2895 - echo "$as_me:$LINENO: result: $CC" >&5
2896 -echo "${ECHO_T}$CC" >&6
2898 - echo "$as_me:$LINENO: result: no" >&5
2899 -echo "${ECHO_T}no" >&6
2903 -if test -z "$ac_cv_prog_CC"; then
2905 - # Extract the first word of "cc", so it can be a program name with args.
2906 -set dummy cc; ac_word=$2
2907 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2908 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2909 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2910 - echo $ECHO_N "(cached) $ECHO_C" >&6
2912 - if test -n "$ac_ct_CC"; then
2913 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2915 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 -for as_dir in $PATH
2919 - test -z "$as_dir" && as_dir=.
2920 - for ac_exec_ext in '' $ac_executable_extensions; do
2921 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 - ac_cv_prog_ac_ct_CC="cc"
2923 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2932 -if test -n "$ac_ct_CC"; then
2933 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2934 -echo "${ECHO_T}$ac_ct_CC" >&6
2935 + { echo "$as_me:$LINENO: result: $CC" >&5
2936 +echo "${ECHO_T}$CC" >&6; }
2938 - echo "$as_me:$LINENO: result: no" >&5
2939 -echo "${ECHO_T}no" >&6
2940 + { echo "$as_me:$LINENO: result: no" >&5
2941 +echo "${ECHO_T}no" >&6; }
2946 - CC="$ac_cv_prog_CC"
2951 if test -z "$CC"; then
2952 # Extract the first word of "cc", so it can be a program name with args.
2953 set dummy cc; ac_word=$2
2954 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2955 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2956 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 @@ -2214,7 +2658,7 @@
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2968 ac_prog_rejected=yes
2970 @@ -2225,6 +2669,7 @@
2976 if test $ac_prog_rejected = yes; then
2977 # We found a bogon in the path, so make sure we never use it.
2978 @@ -2242,22 +2687,23 @@
2981 if test -n "$CC"; then
2982 - echo "$as_me:$LINENO: result: $CC" >&5
2983 -echo "${ECHO_T}$CC" >&6
2984 + { echo "$as_me:$LINENO: result: $CC" >&5
2985 +echo "${ECHO_T}$CC" >&6; }
2987 - echo "$as_me:$LINENO: result: no" >&5
2988 -echo "${ECHO_T}no" >&6
2989 + { echo "$as_me:$LINENO: result: no" >&5
2990 +echo "${ECHO_T}no" >&6; }
2995 if test -z "$CC"; then
2996 if test -n "$ac_tool_prefix"; then
2998 + for ac_prog in cl.exe
3000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3002 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3003 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3004 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3005 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3006 if test "${ac_cv_prog_CC+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 @@ -2270,36 +2716,38 @@
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 if test -n "$CC"; then
3027 - echo "$as_me:$LINENO: result: $CC" >&5
3028 -echo "${ECHO_T}$CC" >&6
3029 + { echo "$as_me:$LINENO: result: $CC" >&5
3030 +echo "${ECHO_T}$CC" >&6; }
3032 - echo "$as_me:$LINENO: result: no" >&5
3033 -echo "${ECHO_T}no" >&6
3034 + { echo "$as_me:$LINENO: result: no" >&5
3035 +echo "${ECHO_T}no" >&6; }
3039 test -n "$CC" && break
3042 if test -z "$CC"; then
3045 + for ac_prog in cl.exe
3047 # Extract the first word of "$ac_prog", so it can be a program name with args.
3048 set dummy $ac_prog; ac_word=$2
3049 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3052 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3053 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 @@ -2312,29 +2760,45 @@
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062 ac_cv_prog_ac_ct_CC="$ac_prog"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3073 if test -n "$ac_ct_CC"; then
3074 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3075 -echo "${ECHO_T}$ac_ct_CC" >&6
3076 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3077 +echo "${ECHO_T}$ac_ct_CC" >&6; }
3079 - echo "$as_me:$LINENO: result: no" >&5
3080 -echo "${ECHO_T}no" >&6
3081 + { echo "$as_me:$LINENO: result: no" >&5
3082 +echo "${ECHO_T}no" >&6; }
3086 test -n "$ac_ct_CC" && break
3090 + if test "x$ac_ct_CC" = x; then
3093 + case $cross_compiling:$ac_tool_warned in
3095 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3096 +whose name does not start with the host triplet. If you think this
3097 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3098 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3099 +whose name does not start with the host triplet. If you think this
3100 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3101 +ac_tool_warned=yes ;;
3108 @@ -2347,21 +2811,35 @@
3109 { (exit 1); exit 1; }; }
3111 # Provide some information about the compiler.
3112 -echo "$as_me:$LINENO:" \
3113 - "checking for C compiler version" >&5
3114 +echo "$as_me:$LINENO: checking for C compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117 - (eval $ac_compiler --version </dev/null >&5) 2>&5
3118 +{ (ac_try="$ac_compiler --version >&5"
3119 +case "(($ac_try" in
3120 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 + *) ac_try_echo=$ac_try;;
3123 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 + (eval "$ac_compiler --version >&5") 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }
3128 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3129 - (eval $ac_compiler -v </dev/null >&5) 2>&5
3130 +{ (ac_try="$ac_compiler -v >&5"
3131 +case "(($ac_try" in
3132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 + *) ac_try_echo=$ac_try;;
3135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 + (eval "$ac_compiler -v >&5") 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }
3140 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3141 - (eval $ac_compiler -V </dev/null >&5) 2>&5
3142 +{ (ac_try="$ac_compiler -V >&5"
3143 +case "(($ac_try" in
3144 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 + *) ac_try_echo=$ac_try;;
3147 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3148 + (eval "$ac_compiler -V >&5") 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }
3152 @@ -2386,47 +2864,77 @@
3153 # Try to create an executable without -o first, disregard a.out.
3154 # It will help us diagnose broken compilers, and finding out an intuition
3156 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3157 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3158 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3159 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3160 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3161 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3162 - (eval $ac_link_default) 2>&5
3164 +# List of possible output files, starting from the most likely.
3165 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3166 +# only as a last resort. b.out is created by i960 compilers.
3167 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3169 +# The IRIX 6 linker writes into existing files which may not be
3170 +# executable, retaining their permissions. Remove them first so a
3171 +# subsequent execution test works.
3173 +for ac_file in $ac_files
3176 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3177 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3182 +if { (ac_try="$ac_link_default"
3183 +case "(($ac_try" in
3184 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 + *) ac_try_echo=$ac_try;;
3187 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188 + (eval "$ac_link_default") 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; then
3192 - # Find the output, starting from the most likely. This scheme is
3193 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
3196 -# Be careful to initialize this variable, since it used to be cached.
3197 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3199 -# b.out is created by i960 compilers.
3200 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3201 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
3204 +# so that the user can short-circuit this test for compilers unknown to
3206 +for ac_file in $ac_files ''
3208 test -f "$ac_file" || continue
3210 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3212 - conftest.$ac_ext )
3213 - # This is the source file.
3214 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3217 # We found the default executable, but exeext='' is most
3221 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3222 - # FIXME: I believe we export ac_cv_exeext for Libtool,
3223 - # but it would be cool to find out if it's true. Does anybody
3224 - # maintain Libtool? --akim.
3225 - export ac_cv_exeext
3226 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3228 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3230 + # We set ac_cv_exeext here because the later test for it is not
3231 + # safe: cross compilers may not add the suffix if given an `-o'
3232 + # argument, so we may need to know it at that point already.
3233 + # Even if this section looks crufty: it has the advantage of
3234 + # actually working.
3240 +test "$ac_cv_exeext" = no && ac_cv_exeext=
3246 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
3247 +echo "${ECHO_T}$ac_file" >&6; }
3248 +if test -z "$ac_file"; then
3249 echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 @@ -2438,19 +2946,21 @@
3255 ac_exeext=$ac_cv_exeext
3256 -echo "$as_me:$LINENO: result: $ac_file" >&5
3257 -echo "${ECHO_T}$ac_file" >&6
3259 -# Check the compiler produces executables we can run. If not, either
3260 +# Check that the compiler produces executables we can run. If not, either
3261 # the compiler is broken, or we cross compile.
3262 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3263 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3264 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3265 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3267 # If not cross compiling, check that we can run a simple program.
3268 if test "$cross_compiling" != yes; then
3269 if { ac_try='./$ac_file'
3270 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 - (eval $ac_try) 2>&5
3272 + { (case "(($ac_try" in
3273 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 + *) ac_try_echo=$ac_try;;
3276 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 + (eval "$ac_try") 2>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }; }; then
3281 @@ -2469,22 +2979,27 @@
3285 -echo "$as_me:$LINENO: result: yes" >&5
3286 -echo "${ECHO_T}yes" >&6
3287 +{ echo "$as_me:$LINENO: result: yes" >&5
3288 +echo "${ECHO_T}yes" >&6; }
3290 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3291 ac_clean_files=$ac_clean_files_save
3292 -# Check the compiler produces executables we can run. If not, either
3293 +# Check that the compiler produces executables we can run. If not, either
3294 # the compiler is broken, or we cross compile.
3295 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3296 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3297 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
3298 -echo "${ECHO_T}$cross_compiling" >&6
3300 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
3301 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3302 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3303 - (eval $ac_link) 2>&5
3304 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3305 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3306 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3307 +echo "${ECHO_T}$cross_compiling" >&6; }
3309 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3310 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3311 +if { (ac_try="$ac_link"
3312 +case "(($ac_try" in
3313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314 + *) ac_try_echo=$ac_try;;
3316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317 + (eval "$ac_link") 2>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; then
3321 @@ -2495,9 +3010,8 @@
3322 for ac_file in conftest.exe conftest conftest.*; do
3323 test -f "$ac_file" || continue
3325 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3326 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3327 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3328 - export ac_cv_exeext
3332 @@ -2511,14 +3025,14 @@
3335 rm -f conftest$ac_cv_exeext
3336 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3337 -echo "${ECHO_T}$ac_cv_exeext" >&6
3338 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3339 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
3341 rm -f conftest.$ac_ext
3342 EXEEXT=$ac_cv_exeext
3344 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
3345 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3346 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3347 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3348 if test "${ac_cv_objext+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 @@ -2538,14 +3052,20 @@
3354 rm -f conftest.o conftest.obj
3355 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356 - (eval $ac_compile) 2>&5
3357 +if { (ac_try="$ac_compile"
3358 +case "(($ac_try" in
3359 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 + *) ac_try_echo=$ac_try;;
3362 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 + (eval "$ac_compile") 2>&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }; then
3367 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3368 + for ac_file in conftest.o conftest.obj conftest.*; do
3369 + test -f "$ac_file" || continue;
3371 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3372 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3373 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3376 @@ -2563,12 +3083,12 @@
3378 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3380 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3381 -echo "${ECHO_T}$ac_cv_objext" >&6
3382 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3383 +echo "${ECHO_T}$ac_cv_objext" >&6; }
3384 OBJEXT=$ac_cv_objext
3386 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3387 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3388 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3389 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 @@ -2591,49 +3111,49 @@
3396 rm -f conftest.$ac_objext
3397 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 - (eval $ac_compile) 2>conftest.er1
3399 +if { (ac_try="$ac_compile"
3400 +case "(($ac_try" in
3401 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 + *) ac_try_echo=$ac_try;;
3404 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 + (eval "$ac_compile") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 - (exit $ac_status); } &&
3412 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3413 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 - (eval $ac_try) 2>&5
3416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 - (exit $ac_status); }; } &&
3418 - { ac_try='test -s conftest.$ac_objext'
3419 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 - (eval $ac_try) 2>&5
3422 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 - (exit $ac_status); }; }; then
3424 + (exit $ac_status); } && {
3425 + test -z "$ac_c_werror_flag" ||
3426 + test ! -s conftest.err
3427 + } && test -s conftest.$ac_objext; then
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3434 + ac_compiler_gnu=no
3436 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3438 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3442 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3443 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3444 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3445 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3446 GCC=`test $ac_compiler_gnu = yes && echo yes`
3447 ac_test_CFLAGS=${CFLAGS+set}
3448 ac_save_CFLAGS=$CFLAGS
3450 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3451 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3452 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3453 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3454 if test "${ac_cv_prog_cc_g+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 - cat >conftest.$ac_ext <<_ACEOF
3458 + ac_save_c_werror_flag=$ac_c_werror_flag
3459 + ac_c_werror_flag=yes
3460 + ac_cv_prog_cc_g=no
3462 + cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 @@ -2649,37 +3169,118 @@
3469 rm -f conftest.$ac_objext
3470 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3471 - (eval $ac_compile) 2>conftest.er1
3472 +if { (ac_try="$ac_compile"
3473 +case "(($ac_try" in
3474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 + *) ac_try_echo=$ac_try;;
3477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 + (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 - (exit $ac_status); } &&
3485 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 - (eval $ac_try) 2>&5
3488 + (exit $ac_status); } && {
3489 + test -z "$ac_c_werror_flag" ||
3490 + test ! -s conftest.err
3491 + } && test -s conftest.$ac_objext; then
3492 + ac_cv_prog_cc_g=yes
3494 + echo "$as_me: failed program was:" >&5
3495 +sed 's/^/| /' conftest.$ac_ext >&5
3498 + cat >conftest.$ac_ext <<_ACEOF
3501 +cat confdefs.h >>conftest.$ac_ext
3502 +cat >>conftest.$ac_ext <<_ACEOF
3503 +/* end confdefs.h. */
3513 +rm -f conftest.$ac_objext
3514 +if { (ac_try="$ac_compile"
3515 +case "(($ac_try" in
3516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 + *) ac_try_echo=$ac_try;;
3519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3520 + (eval "$ac_compile") 2>conftest.er1
3522 + grep -v '^ *+' conftest.er1 >conftest.err
3523 + rm -f conftest.er1
3524 + cat conftest.err >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 - (exit $ac_status); }; } &&
3527 - { ac_try='test -s conftest.$ac_objext'
3528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 - (eval $ac_try) 2>&5
3530 + (exit $ac_status); } && {
3531 + test -z "$ac_c_werror_flag" ||
3532 + test ! -s conftest.err
3533 + } && test -s conftest.$ac_objext; then
3536 + echo "$as_me: failed program was:" >&5
3537 +sed 's/^/| /' conftest.$ac_ext >&5
3539 + ac_c_werror_flag=$ac_save_c_werror_flag
3541 + cat >conftest.$ac_ext <<_ACEOF
3544 +cat confdefs.h >>conftest.$ac_ext
3545 +cat >>conftest.$ac_ext <<_ACEOF
3546 +/* end confdefs.h. */
3556 +rm -f conftest.$ac_objext
3557 +if { (ac_try="$ac_compile"
3558 +case "(($ac_try" in
3559 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560 + *) ac_try_echo=$ac_try;;
3562 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3563 + (eval "$ac_compile") 2>conftest.er1
3565 + grep -v '^ *+' conftest.er1 >conftest.err
3566 + rm -f conftest.er1
3567 + cat conftest.err >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 - (exit $ac_status); }; }; then
3570 + (exit $ac_status); } && {
3571 + test -z "$ac_c_werror_flag" ||
3572 + test ! -s conftest.err
3573 + } && test -s conftest.$ac_objext; then
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.$ac_ext >&5
3583 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3590 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 + ac_c_werror_flag=$ac_save_c_werror_flag
3593 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3594 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3595 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3596 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3597 if test "$ac_test_CFLAGS" = set; then
3598 CFLAGS=$ac_save_CFLAGS
3599 elif test $ac_cv_prog_cc_g = yes; then
3600 @@ -2695,12 +3296,12 @@
3604 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3605 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3606 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3607 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3608 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3609 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 - ac_cv_prog_cc_stdc=no
3613 + ac_cv_prog_cc_c89=no
3615 cat >conftest.$ac_ext <<_ACEOF
3617 @@ -2734,12 +3335,17 @@
3618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 - as 'x'. The following induces an error, until -std1 is added to get
3622 + as 'x'. The following induces an error, until -std is added to get
3623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3624 array size at least. It's necessary to write '\x00'==0 to get something
3625 - that's true only with -std1. */
3626 + that's true only with -std. */
3627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3629 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3630 + inside strings and character constants. */
3632 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3634 int test (int i, double x);
3635 struct s1 {int (*f) (int a);};
3636 struct s2 {int (*f) (double a);};
3637 @@ -2754,201 +3360,57 @@
3641 -# Don't try gcc -ansi; that turns off useful extensions and
3642 -# breaks some systems' header files.
3643 -# AIX -qlanglvl=ansi
3644 -# Ultrix and OSF/1 -std1
3645 -# HP-UX 10.20 and later -Ae
3646 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3647 -# SVR4 -Xc -D__EXTENSIONS__
3648 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3649 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3650 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3652 CC="$ac_save_CC $ac_arg"
3653 rm -f conftest.$ac_objext
3654 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3655 - (eval $ac_compile) 2>conftest.er1
3656 +if { (ac_try="$ac_compile"
3657 +case "(($ac_try" in
3658 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 + *) ac_try_echo=$ac_try;;
3661 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3662 + (eval "$ac_compile") 2>conftest.er1
3664 grep -v '^ *+' conftest.er1 >conftest.err
3666 cat conftest.err >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 - (exit $ac_status); } &&
3669 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 - (eval $ac_try) 2>&5
3673 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 - (exit $ac_status); }; } &&
3675 - { ac_try='test -s conftest.$ac_objext'
3676 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 - (eval $ac_try) 2>&5
3679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 - (exit $ac_status); }; }; then
3681 - ac_cv_prog_cc_stdc=$ac_arg
3683 + (exit $ac_status); } && {
3684 + test -z "$ac_c_werror_flag" ||
3685 + test ! -s conftest.err