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
3686 + } && test -s conftest.$ac_objext; then
3687 + ac_cv_prog_cc_c89=$ac_arg
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3694 -rm -f conftest.err conftest.$ac_objext
3696 +rm -f core conftest.err conftest.$ac_objext
3697 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3699 -rm -f conftest.$ac_ext conftest.$ac_objext
3700 +rm -f conftest.$ac_ext
3705 -case "x$ac_cv_prog_cc_stdc" in
3707 - echo "$as_me:$LINENO: result: none needed" >&5
3708 -echo "${ECHO_T}none needed" >&6 ;;
3710 +case "x$ac_cv_prog_cc_c89" in
3712 + { echo "$as_me:$LINENO: result: none needed" >&5
3713 +echo "${ECHO_T}none needed" >&6; } ;;
3715 + { echo "$as_me:$LINENO: result: unsupported" >&5
3716 +echo "${ECHO_T}unsupported" >&6; } ;;
3718 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3719 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3720 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3721 + CC="$CC $ac_cv_prog_cc_c89"
3722 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3723 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3726 -# Some people use a C++ compiler to compile C. Since we use `exit',
3727 -# in C++ we need to declare it. In case someone uses the same compiler
3728 -# for both compiling C and C++ we need to have the C++ compiler decide
3729 -# the declaration of exit, since it's the most demanding environment.
3730 -cat >conftest.$ac_ext <<_ACEOF
3731 -#ifndef __cplusplus
3735 -rm -f conftest.$ac_objext
3736 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 - (eval $ac_compile) 2>conftest.er1
3739 - grep -v '^ *+' conftest.er1 >conftest.err
3740 - rm -f conftest.er1
3741 - cat conftest.err >&5
3742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 - (exit $ac_status); } &&
3744 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3745 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 - (eval $ac_try) 2>&5
3748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 - (exit $ac_status); }; } &&
3750 - { ac_try='test -s conftest.$ac_objext'
3751 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 - (eval $ac_try) 2>&5
3754 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 - (exit $ac_status); }; }; then
3756 - for ac_declaration in \
3758 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3759 - 'extern "C" void std::exit (int); using std::exit;' \
3760 - 'extern "C" void exit (int) throw ();' \
3761 - 'extern "C" void exit (int);' \
3762 - 'void exit (int);'
3764 - cat >conftest.$ac_ext <<_ACEOF
3767 -cat confdefs.h >>conftest.$ac_ext
3768 -cat >>conftest.$ac_ext <<_ACEOF
3769 -/* end confdefs.h. */
3771 -#include <stdlib.h>
3780 -rm -f conftest.$ac_objext
3781 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3782 - (eval $ac_compile) 2>conftest.er1
3784 - grep -v '^ *+' conftest.er1 >conftest.err
3785 - rm -f conftest.er1
3786 - cat conftest.err >&5
3787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 - (exit $ac_status); } &&
3789 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 - (eval $ac_try) 2>&5
3793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 - (exit $ac_status); }; } &&
3795 - { ac_try='test -s conftest.$ac_objext'
3796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 - (eval $ac_try) 2>&5
3799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 - (exit $ac_status); }; }; then
3803 - echo "$as_me: failed program was:" >&5
3804 -sed 's/^/| /' conftest.$ac_ext >&5
3808 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3809 - cat >conftest.$ac_ext <<_ACEOF
3812 -cat confdefs.h >>conftest.$ac_ext
3813 -cat >>conftest.$ac_ext <<_ACEOF
3814 -/* end confdefs.h. */
3824 -rm -f conftest.$ac_objext
3825 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3826 - (eval $ac_compile) 2>conftest.er1
3828 - grep -v '^ *+' conftest.er1 >conftest.err
3829 - rm -f conftest.er1
3830 - cat conftest.err >&5
3831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 - (exit $ac_status); } &&
3833 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 - (eval $ac_try) 2>&5
3837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 - (exit $ac_status); }; } &&
3839 - { ac_try='test -s conftest.$ac_objext'
3840 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 - (eval $ac_try) 2>&5
3843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 - (exit $ac_status); }; }; then
3847 - echo "$as_me: failed program was:" >&5
3848 -sed 's/^/| /' conftest.$ac_ext >&5
3851 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3854 -if test -n "$ac_declaration"; then
3855 - echo '#ifdef __cplusplus' >>confdefs.h
3856 - echo $ac_declaration >>confdefs.h
3857 - echo '#endif' >>confdefs.h
3861 - echo "$as_me: failed program was:" >&5
3862 -sed 's/^/| /' conftest.$ac_ext >&5
3865 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_cpp='$CPP $CPPFLAGS'
3868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3869 @@ -2956,7 +3418,7 @@
3870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3871 DEPDIR="${am__leading_dot}deps"
3873 - ac_config_commands="$ac_config_commands depfiles"
3874 +ac_config_commands="$ac_config_commands depfiles"
3877 am_make=${MAKE-make}
3878 @@ -2966,8 +3428,8 @@
3881 # If we don't find an include directive, just comment out the code.
3882 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3883 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3884 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3885 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3889 @@ -2994,15 +3456,15 @@
3893 -echo "$as_me:$LINENO: result: $_am_result" >&5
3894 -echo "${ECHO_T}$_am_result" >&6
3895 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
3896 +echo "${ECHO_T}$_am_result" >&6; }
3897 rm -f confinc confmf
3899 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3900 +# Check whether --enable-dependency-tracking was given.
3901 if test "${enable_dependency_tracking+set}" = set; then
3902 - enableval="$enable_dependency_tracking"
3903 + enableval=$enable_dependency_tracking;
3907 if test "x$enable_dependency_tracking" != xno; then
3908 am_depcomp="$ac_aux_dir/depcomp"
3910 @@ -3022,8 +3484,8 @@
3912 depcc="$CC" am_compiler_list=
3914 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3915 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3916 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3917 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3918 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 @@ -3112,8 +3574,8 @@
3925 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3926 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3927 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3928 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3929 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3932 @@ -3134,8 +3596,8 @@
3933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3936 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3937 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3938 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3939 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3940 # On Suns, sometimes $CPP names a directory.
3941 if test -n "$CPP" && test -d "$CPP"; then
3943 @@ -3169,24 +3631,22 @@
3947 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3948 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3949 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3950 +case "(($ac_try" in
3951 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 + *) ac_try_echo=$ac_try;;
3954 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3955 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 - (exit $ac_status); } >/dev/null; then
3962 - if test -s conftest.err; then
3963 - ac_cpp_err=$ac_c_preproc_warn_flag
3964 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3971 -if test -z "$ac_cpp_err"; then
3972 + (exit $ac_status); } >/dev/null && {
3973 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3974 + test ! -s conftest.err
3978 echo "$as_me: failed program was:" >&5
3979 @@ -3195,9 +3655,10 @@
3980 # Broken: fails on valid input.
3984 rm -f conftest.err conftest.$ac_ext
3986 - # OK, works on sane cases. Now check whether non-existent headers
3987 + # OK, works on sane cases. Now check whether nonexistent headers
3988 # can be detected and how.
3989 cat >conftest.$ac_ext <<_ACEOF
3991 @@ -3207,24 +3668,22 @@
3992 /* end confdefs.h. */
3993 #include <ac_nonexistent.h>
3995 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3996 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3997 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3998 +case "(($ac_try" in
3999 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 + *) ac_try_echo=$ac_try;;
4002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4003 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4005 grep -v '^ *+' conftest.er1 >conftest.err
4007 cat conftest.err >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 - (exit $ac_status); } >/dev/null; then
4010 - if test -s conftest.err; then
4011 - ac_cpp_err=$ac_c_preproc_warn_flag
4012 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4019 -if test -z "$ac_cpp_err"; then
4020 + (exit $ac_status); } >/dev/null && {
4021 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4022 + test ! -s conftest.err
4024 # Broken: success on invalid input.
4027 @@ -3235,6 +3694,7 @@
4032 rm -f conftest.err conftest.$ac_ext
4035 @@ -3252,8 +3712,8 @@
4039 -echo "$as_me:$LINENO: result: $CPP" >&5
4040 -echo "${ECHO_T}$CPP" >&6
4041 +{ echo "$as_me:$LINENO: result: $CPP" >&5
4042 +echo "${ECHO_T}$CPP" >&6; }
4044 for ac_c_preproc_warn_flag in '' yes
4046 @@ -3276,24 +3736,22 @@
4050 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4051 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4052 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4053 +case "(($ac_try" in
4054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 + *) ac_try_echo=$ac_try;;
4057 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4060 grep -v '^ *+' conftest.er1 >conftest.err
4062 cat conftest.err >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 - (exit $ac_status); } >/dev/null; then
4065 - if test -s conftest.err; then
4066 - ac_cpp_err=$ac_c_preproc_warn_flag
4067 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4074 -if test -z "$ac_cpp_err"; then
4075 + (exit $ac_status); } >/dev/null && {
4076 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4077 + test ! -s conftest.err
4081 echo "$as_me: failed program was:" >&5
4082 @@ -3302,9 +3760,10 @@
4083 # Broken: fails on valid input.
4087 rm -f conftest.err conftest.$ac_ext
4089 - # OK, works on sane cases. Now check whether non-existent headers
4090 + # OK, works on sane cases. Now check whether nonexistent headers
4091 # can be detected and how.
4092 cat >conftest.$ac_ext <<_ACEOF
4094 @@ -3314,24 +3773,22 @@
4095 /* end confdefs.h. */
4096 #include <ac_nonexistent.h>
4098 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4099 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4100 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4101 +case "(($ac_try" in
4102 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 + *) ac_try_echo=$ac_try;;
4105 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 - (exit $ac_status); } >/dev/null; then
4113 - if test -s conftest.err; then
4114 - ac_cpp_err=$ac_c_preproc_warn_flag
4115 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4122 -if test -z "$ac_cpp_err"; then
4123 + (exit $ac_status); } >/dev/null && {
4124 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4125 + test ! -s conftest.err
4127 # Broken: success on invalid input.
4130 @@ -3342,6 +3799,7 @@
4135 rm -f conftest.err conftest.$ac_ext
4138 @@ -3376,8 +3834,8 @@
4139 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4140 # OS/2's system install, which has a completely different semantic
4141 # ./install, which can be erroneously created by make from ./install.sh.
4142 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4143 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4144 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4145 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4146 if test -z "$INSTALL"; then
4147 if test "${ac_cv_path_install+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 @@ -3399,7 +3857,7 @@
4151 for ac_prog in ginstall scoinst install; do
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4154 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4155 if test $ac_prog = install &&
4156 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4157 # AIX install. It has an incompatible calling convention.
4158 @@ -3418,21 +3876,22 @@
4166 if test "${ac_cv_path_install+set}" = set; then
4167 INSTALL=$ac_cv_path_install
4169 - # As a last resort, use the slow shell script. We don't cache a
4170 - # path for INSTALL within a source directory, because that will
4171 + # As a last resort, use the slow shell script. Don't cache a
4172 + # value for INSTALL within a source directory, because that will
4173 # break other packages using the cache if that directory is
4174 - # removed, or if the path is relative.
4175 + # removed, or if the value is a relative name.
4176 INSTALL=$ac_install_sh
4179 -echo "$as_me:$LINENO: result: $INSTALL" >&5
4180 -echo "${ECHO_T}$INSTALL" >&6
4181 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4182 +echo "${ECHO_T}$INSTALL" >&6; }
4184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4185 # It thinks the first close brace ends the variable substitution.
4186 @@ -3458,8 +3917,8 @@
4190 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4191 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4192 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4193 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4194 if test "${ac_cv_c_const+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 @@ -3477,10 +3936,10 @@
4199 /* Ultrix mips cc rejects this. */
4200 typedef int charset[2];
4203 /* SunOS 4.1.1 cc rejects this. */
4204 - char const *const *ccp;
4206 + char const *const *pcpcc;
4208 /* NEC SVR4.0.2 mips cc rejects this. */
4209 struct point {int x, y;};
4210 static struct point const zero = {0,0};
4211 @@ -3489,16 +3948,17 @@
4212 an arm of an if-expression whose if-part is not a constant
4214 const char *g = "string";
4215 - ccp = &g + (g ? g-g : 0);
4216 + pcpcc = &g + (g ? g-g : 0);
4217 /* HPUX 7.0 cc rejects these. */
4220 - ccp = (char const *const *) p;
4222 + ppc = (char**) pcpcc;
4223 + pcpcc = (char const *const *) ppc;
4224 { /* SCO 3.2v4 cc rejects this. */
4226 char const *s = 0 ? (char *) 0 : (char const *) 0;
4231 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4233 @@ -3517,7 +3977,9 @@
4235 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4237 + if (!foo) return 0;
4239 + return !cs[0] && !zero.x;
4243 @@ -3525,37 +3987,34 @@
4246 rm -f conftest.$ac_objext
4247 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4248 - (eval $ac_compile) 2>conftest.er1
4249 +if { (ac_try="$ac_compile"
4250 +case "(($ac_try" in
4251 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 + *) ac_try_echo=$ac_try;;
4254 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 + (eval "$ac_compile") 2>conftest.er1
4257 grep -v '^ *+' conftest.er1 >conftest.err
4259 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 - (exit $ac_status); } &&
4262 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 - (eval $ac_try) 2>&5
4266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 - (exit $ac_status); }; } &&
4268 - { ac_try='test -s conftest.$ac_objext'
4269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 - (eval $ac_try) 2>&5
4272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 - (exit $ac_status); }; }; then
4274 + (exit $ac_status); } && {
4275 + test -z "$ac_c_werror_flag" ||
4276 + test ! -s conftest.err
4277 + } && test -s conftest.$ac_objext; then
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4286 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4288 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4291 -echo "${ECHO_T}$ac_cv_c_const" >&6
4292 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4293 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
4294 if test $ac_cv_c_const = no; then
4296 cat >>confdefs.h <<\_ACEOF
4297 @@ -3565,23 +4024,170 @@
4301 -echo "$as_me:$LINENO: checking for egrep" >&5
4302 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4303 -if test "${ac_cv_prog_egrep+set}" = set; then
4304 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4305 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4306 +if test "${ac_cv_path_GREP+set}" = set; then
4307 + echo $ECHO_N "(cached) $ECHO_C" >&6
4309 + # Extract the first word of "grep ggrep" to use in msg output
4310 +if test -z "$GREP"; then
4311 +set dummy grep ggrep; ac_prog_name=$2
4312 +if test "${ac_cv_path_GREP+set}" = set; then
4313 + echo $ECHO_N "(cached) $ECHO_C" >&6
4315 + ac_path_GREP_found=false
4316 +# Loop through the user's path and test for each of PROGNAME-LIST
4317 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4321 + test -z "$as_dir" && as_dir=.
4322 + for ac_prog in grep ggrep; do
4323 + for ac_exec_ext in '' $ac_executable_extensions; do
4324 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4325 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4326 + # Check for GNU ac_path_GREP and select it if it is found.
4327 + # Check for GNU $ac_path_GREP
4328 +case `"$ac_path_GREP" --version 2>&1` in
4330 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4333 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4336 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4337 + mv "conftest.tmp" "conftest.in"
4338 + cp "conftest.in" "conftest.nl"
4339 + echo 'GREP' >> "conftest.nl"
4340 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4341 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4342 + ac_count=`expr $ac_count + 1`
4343 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
4344 + # Best one so far, save it but keep looking for a better one
4345 + ac_cv_path_GREP="$ac_path_GREP"
4346 + ac_path_GREP_max=$ac_count
4348 + # 10*(2^10) chars as input seems more than enough
4349 + test $ac_count -gt 10 && break
4351 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4355 + $ac_path_GREP_found && break 3
4365 +GREP="$ac_cv_path_GREP"
4366 +if test -z "$GREP"; then
4367 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4368 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4369 + { (exit 1); exit 1; }; }
4373 + ac_cv_path_GREP=$GREP
4378 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4379 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4380 + GREP="$ac_cv_path_GREP"
4383 +{ echo "$as_me:$LINENO: checking for egrep" >&5
4384 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4385 +if test "${ac_cv_path_EGREP+set}" = set; then
4386 + echo $ECHO_N "(cached) $ECHO_C" >&6
4388 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4389 + then ac_cv_path_EGREP="$GREP -E"
4391 + # Extract the first word of "egrep" to use in msg output
4392 +if test -z "$EGREP"; then
4393 +set dummy egrep; ac_prog_name=$2
4394 +if test "${ac_cv_path_EGREP+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4398 - then ac_cv_prog_egrep='grep -E'
4399 - else ac_cv_prog_egrep='egrep'
4400 + ac_path_EGREP_found=false
4401 +# Loop through the user's path and test for each of PROGNAME-LIST
4402 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4406 + test -z "$as_dir" && as_dir=.
4407 + for ac_prog in egrep; do
4408 + for ac_exec_ext in '' $ac_executable_extensions; do
4409 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4410 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4411 + # Check for GNU ac_path_EGREP and select it if it is found.
4412 + # Check for GNU $ac_path_EGREP
4413 +case `"$ac_path_EGREP" --version 2>&1` in
4415 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4418 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4421 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4422 + mv "conftest.tmp" "conftest.in"
4423 + cp "conftest.in" "conftest.nl"
4424 + echo 'EGREP' >> "conftest.nl"
4425 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427 + ac_count=`expr $ac_count + 1`
4428 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4429 + # Best one so far, save it but keep looking for a better one
4430 + ac_cv_path_EGREP="$ac_path_EGREP"
4431 + ac_path_EGREP_max=$ac_count
4433 + # 10*(2^10) chars as input seems more than enough
4434 + test $ac_count -gt 10 && break
4436 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4440 + $ac_path_EGREP_found && break 3
4450 +EGREP="$ac_cv_path_EGREP"
4451 +if test -z "$EGREP"; then
4452 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4453 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4454 + { (exit 1); exit 1; }; }
4458 + ac_cv_path_EGREP=$EGREP
4464 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4465 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4466 - EGREP=$ac_cv_prog_egrep
4467 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4468 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4469 + EGREP="$ac_cv_path_EGREP"
4472 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4473 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4474 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4475 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4476 if test "${ac_cv_header_stdc+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 @@ -3605,34 +4211,31 @@
4482 rm -f conftest.$ac_objext
4483 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4484 - (eval $ac_compile) 2>conftest.er1
4485 +if { (ac_try="$ac_compile"
4486 +case "(($ac_try" in
4487 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 + *) ac_try_echo=$ac_try;;
4490 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491 + (eval "$ac_compile") 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 - (exit $ac_status); } &&
4498 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4499 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 - (eval $ac_try) 2>&5
4502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 - (exit $ac_status); }; } &&
4504 - { ac_try='test -s conftest.$ac_objext'
4505 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 - (eval $ac_try) 2>&5
4508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 - (exit $ac_status); }; }; then
4510 + (exit $ac_status); } && {
4511 + test -z "$ac_c_werror_flag" ||
4512 + test ! -s conftest.err
4513 + } && test -s conftest.$ac_objext; then
4514 ac_cv_header_stdc=yes
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4519 -ac_cv_header_stdc=no
4520 + ac_cv_header_stdc=no
4522 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4524 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 if test $ac_cv_header_stdc = yes; then
4527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4528 @@ -3688,6 +4291,7 @@
4529 cat >>conftest.$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4532 +#include <stdlib.h>
4533 #if ((' ' & 0x0FF) == 0x020)
4534 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4535 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4536 @@ -3707,18 +4311,27 @@
4537 for (i = 0; i < 256; i++)
4538 if (XOR (islower (i), ISLOWER (i))
4539 || toupper (i) != TOUPPER (i))
4546 rm -f conftest$ac_exeext
4547 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4548 - (eval $ac_link) 2>&5
4549 +if { (ac_try="$ac_link"
4550 +case "(($ac_try" in
4551 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 + *) ac_try_echo=$ac_try;;
4554 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4555 + (eval "$ac_link") 2>&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4559 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4560 - (eval $ac_try) 2>&5
4561 + { (case "(($ac_try" in
4562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 + *) ac_try_echo=$ac_try;;
4565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 + (eval "$ac_try") 2>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 @@ -3731,12 +4344,14 @@
4572 ac_cv_header_stdc=no
4574 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4575 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4581 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4582 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
4583 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4584 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4585 if test $ac_cv_header_stdc = yes; then
4587 cat >>confdefs.h <<\_ACEOF
4588 @@ -3753,9 +4368,9 @@
4590 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4591 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4592 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4593 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4594 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4595 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4596 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4597 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 cat >conftest.$ac_ext <<_ACEOF
4601 @@ -3777,37 +4392,35 @@
4604 rm -f conftest.$ac_objext
4605 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4606 - (eval $ac_compile) 2>conftest.er1
4607 +if { (ac_try="$ac_compile"
4608 +case "(($ac_try" in
4609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 + *) ac_try_echo=$ac_try;;
4612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 + (eval "$ac_compile") 2>conftest.er1
4615 grep -v '^ *+' conftest.er1 >conftest.err
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 - (exit $ac_status); } &&
4620 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4621 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 - (eval $ac_try) 2>&5
4624 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 - (exit $ac_status); }; } &&
4626 - { ac_try='test -s conftest.$ac_objext'
4627 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 - (eval $ac_try) 2>&5
4630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 - (exit $ac_status); }; }; then
4632 + (exit $ac_status); } && {
4633 + test -z "$ac_c_werror_flag" ||
4634 + test ! -s conftest.err
4635 + } && test -s conftest.$ac_objext; then
4636 eval "$as_ac_Header=yes"
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.$ac_ext >&5
4641 -eval "$as_ac_Header=no"
4642 + eval "$as_ac_Header=no"
4644 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4646 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4649 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4650 +ac_res=`eval echo '${'$as_ac_Header'}'`
4651 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4652 +echo "${ECHO_T}$ac_res" >&6; }
4653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4654 cat >>confdefs.h <<_ACEOF
4655 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4656 @@ -3819,13 +4432,12 @@
4658 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4659 if test $ac_header_dirent = dirent.h; then
4660 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
4661 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4662 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4663 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4664 if test "${ac_cv_search_opendir+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 ac_func_search_save_LIBS=$LIBS
4668 -ac_cv_search_opendir=no
4669 cat >conftest.$ac_ext <<_ACEOF
4672 @@ -3833,124 +4445,83 @@
4673 cat >>conftest.$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4676 -/* Override any gcc2 internal prototype to avoid an error. */
4677 +/* Override any GCC internal prototype to avoid an error.
4678 + Use char because int might match the return type of a GCC
4679 + builtin and then its argument prototype would still apply. */
4683 -/* We use char because int might match the return type of a gcc2
4684 - builtin and then its argument prototype would still apply. */
4695 -rm -f conftest.$ac_objext conftest$ac_exeext
4696 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4697 - (eval $ac_link) 2>conftest.er1
4698 +for ac_lib in '' dir; do
4699 + if test -z "$ac_lib"; then
4700 + ac_res="none required"
4703 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4705 + rm -f conftest.$ac_objext conftest$ac_exeext
4706 +if { (ac_try="$ac_link"
4707 +case "(($ac_try" in
4708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 + *) ac_try_echo=$ac_try;;
4711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4712 + (eval "$ac_link") 2>conftest.er1
4714 grep -v '^ *+' conftest.er1 >conftest.err
4716 cat conftest.err >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 - (exit $ac_status); } &&
4719 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4720 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 - (eval $ac_try) 2>&5
4723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 - (exit $ac_status); }; } &&
4725 - { ac_try='test -s conftest$ac_exeext'
4726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 - (eval $ac_try) 2>&5
4729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 - (exit $ac_status); }; }; then
4731 - ac_cv_search_opendir="none required"
4732 + (exit $ac_status); } && {
4733 + test -z "$ac_c_werror_flag" ||
4734 + test ! -s conftest.err
4735 + } && test -s conftest$ac_exeext &&
4736 + $as_test_x conftest$ac_exeext; then
4737 + ac_cv_search_opendir=$ac_res
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4743 -rm -f conftest.err conftest.$ac_objext \
4744 - conftest$ac_exeext conftest.$ac_ext
4745 -if test "$ac_cv_search_opendir" = no; then
4746 - for ac_lib in dir; do
4747 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4748 - cat >conftest.$ac_ext <<_ACEOF
4751 -cat confdefs.h >>conftest.$ac_ext
4752 -cat >>conftest.$ac_ext <<_ACEOF
4753 -/* end confdefs.h. */
4755 -/* Override any gcc2 internal prototype to avoid an error. */
4759 -/* We use char because int might match the return type of a gcc2
4760 - builtin and then its argument prototype would still apply. */
4770 -rm -f conftest.$ac_objext conftest$ac_exeext
4771 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4772 - (eval $ac_link) 2>conftest.er1
4774 - grep -v '^ *+' conftest.er1 >conftest.err
4775 - rm -f conftest.er1
4776 - cat conftest.err >&5
4777 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 - (exit $ac_status); } &&
4779 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 - (eval $ac_try) 2>&5
4783 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 - (exit $ac_status); }; } &&
4785 - { ac_try='test -s conftest$ac_exeext'
4786 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 - (eval $ac_try) 2>&5
4789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 - (exit $ac_status); }; }; then
4791 - ac_cv_search_opendir="-l$ac_lib"
4794 - echo "$as_me: failed program was:" >&5
4795 -sed 's/^/| /' conftest.$ac_ext >&5
4798 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4799 + conftest$ac_exeext
4800 + if test "${ac_cv_search_opendir+set}" = set; then
4803 -rm -f conftest.err conftest.$ac_objext \
4804 - conftest$ac_exeext conftest.$ac_ext
4807 +if test "${ac_cv_search_opendir+set}" = set; then
4810 + ac_cv_search_opendir=no
4812 +rm conftest.$ac_ext
4813 LIBS=$ac_func_search_save_LIBS
4815 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4816 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
4817 -if test "$ac_cv_search_opendir" != no; then
4818 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4819 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4820 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4821 +ac_res=$ac_cv_search_opendir
4822 +if test "$ac_res" != no; then
4823 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4828 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
4829 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4830 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4831 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4832 if test "${ac_cv_search_opendir+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 ac_func_search_save_LIBS=$LIBS
4836 -ac_cv_search_opendir=no
4837 cat >conftest.$ac_ext <<_ACEOF
4840 @@ -3958,113 +4529,73 @@
4841 cat >>conftest.$ac_ext <<_ACEOF
4842 /* end confdefs.h. */
4844 -/* Override any gcc2 internal prototype to avoid an error. */
4845 +/* Override any GCC internal prototype to avoid an error.
4846 + Use char because int might match the return type of a GCC
4847 + builtin and then its argument prototype would still apply. */
4851 -/* We use char because int might match the return type of a gcc2
4852 - builtin and then its argument prototype would still apply. */
4863 -rm -f conftest.$ac_objext conftest$ac_exeext
4864 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4865 - (eval $ac_link) 2>conftest.er1
4866 +for ac_lib in '' x; do
4867 + if test -z "$ac_lib"; then
4868 + ac_res="none required"
4871 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4873 + rm -f conftest.$ac_objext conftest$ac_exeext
4874 +if { (ac_try="$ac_link"
4875 +case "(($ac_try" in
4876 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 + *) ac_try_echo=$ac_try;;
4879 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4880 + (eval "$ac_link") 2>conftest.er1
4882 grep -v '^ *+' conftest.er1 >conftest.err
4884 cat conftest.err >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 - (exit $ac_status); } &&
4887 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 - (eval $ac_try) 2>&5
4891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 - (exit $ac_status); }; } &&
4893 - { ac_try='test -s conftest$ac_exeext'
4894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 - (eval $ac_try) 2>&5
4897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 - (exit $ac_status); }; }; then
4899 - ac_cv_search_opendir="none required"
4900 + (exit $ac_status); } && {
4901 + test -z "$ac_c_werror_flag" ||
4902 + test ! -s conftest.err
4903 + } && test -s conftest$ac_exeext &&
4904 + $as_test_x conftest$ac_exeext; then
4905 + ac_cv_search_opendir=$ac_res
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4912 -rm -f conftest.err conftest.$ac_objext \
4913 - conftest$ac_exeext conftest.$ac_ext
4914 -if test "$ac_cv_search_opendir" = no; then
4915 - for ac_lib in x; do
4916 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4917 - cat >conftest.$ac_ext <<_ACEOF
4920 -cat confdefs.h >>conftest.$ac_ext
4921 -cat >>conftest.$ac_ext <<_ACEOF
4922 -/* end confdefs.h. */
4924 -/* Override any gcc2 internal prototype to avoid an error. */
4928 -/* We use char because int might match the return type of a gcc2
4929 - builtin and then its argument prototype would still apply. */
4939 -rm -f conftest.$ac_objext conftest$ac_exeext
4940 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941 - (eval $ac_link) 2>conftest.er1
4943 - grep -v '^ *+' conftest.er1 >conftest.err
4944 - rm -f conftest.er1
4945 - cat conftest.err >&5
4946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 - (exit $ac_status); } &&
4948 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4949 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 - (eval $ac_try) 2>&5
4952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 - (exit $ac_status); }; } &&
4954 - { ac_try='test -s conftest$ac_exeext'
4955 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956 - (eval $ac_try) 2>&5
4958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 - (exit $ac_status); }; }; then
4960 - ac_cv_search_opendir="-l$ac_lib"
4963 - echo "$as_me: failed program was:" >&5
4964 -sed 's/^/| /' conftest.$ac_ext >&5
4966 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4967 + conftest$ac_exeext
4968 + if test "${ac_cv_search_opendir+set}" = set; then
4971 -rm -f conftest.err conftest.$ac_objext \
4972 - conftest$ac_exeext conftest.$ac_ext
4975 +if test "${ac_cv_search_opendir+set}" = set; then
4978 + ac_cv_search_opendir=no
4980 +rm conftest.$ac_ext
4981 LIBS=$ac_func_search_save_LIBS
4983 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4984 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
4985 -if test "$ac_cv_search_opendir" != no; then
4986 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4987 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4988 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4989 +ac_res=$ac_cv_search_opendir
4990 +if test "$ac_res" != no; then
4991 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4995 @@ -4084,9 +4615,9 @@
4996 inttypes.h stdint.h unistd.h
4998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4999 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5000 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5001 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5002 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5003 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5004 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 cat >conftest.$ac_ext <<_ACEOF
5008 @@ -4100,37 +4631,35 @@
5009 #include <$ac_header>
5011 rm -f conftest.$ac_objext
5012 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5013 - (eval $ac_compile) 2>conftest.er1
5014 +if { (ac_try="$ac_compile"
5015 +case "(($ac_try" in
5016 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 + *) ac_try_echo=$ac_try;;
5019 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 + (eval "$ac_compile") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 - (exit $ac_status); } &&
5027 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 - (eval $ac_try) 2>&5
5031 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 - (exit $ac_status); }; } &&
5033 - { ac_try='test -s conftest.$ac_objext'
5034 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 - (eval $ac_try) 2>&5
5037 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 - (exit $ac_status); }; }; then
5039 + (exit $ac_status); } && {
5040 + test -z "$ac_c_werror_flag" ||
5041 + test ! -s conftest.err
5042 + } && test -s conftest.$ac_objext; then
5043 eval "$as_ac_Header=yes"
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 -eval "$as_ac_Header=no"
5049 + eval "$as_ac_Header=no"
5051 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5053 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5056 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5057 +ac_res=`eval echo '${'$as_ac_Header'}'`
5058 + { echo "$as_me:$LINENO: result: $ac_res" >&5
5059 +echo "${ECHO_T}$ac_res" >&6; }
5060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5061 cat >>confdefs.h <<_ACEOF
5062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5063 @@ -4145,18 +4674,19 @@
5064 for ac_header in dlfcn.h
5066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5067 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5068 - echo "$as_me:$LINENO: checking for $ac_header" >&5
5069 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5070 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5071 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5072 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
5073 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5074 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5078 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5079 +ac_res=`eval echo '${'$as_ac_Header'}'`
5080 + { echo "$as_me:$LINENO: result: $ac_res" >&5
5081 +echo "${ECHO_T}$ac_res" >&6; }
5083 # Is the header compilable?
5084 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
5085 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5086 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5087 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5088 cat >conftest.$ac_ext <<_ACEOF
5091 @@ -4167,40 +4697,37 @@
5092 #include <$ac_header>
5094 rm -f conftest.$ac_objext
5095 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 - (eval $ac_compile) 2>conftest.er1
5097 +if { (ac_try="$ac_compile"
5098 +case "(($ac_try" in
5099 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5100 + *) ac_try_echo=$ac_try;;
5102 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103 + (eval "$ac_compile") 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 - (exit $ac_status); } &&
5110 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5111 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 - (eval $ac_try) 2>&5
5114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 - (exit $ac_status); }; } &&
5116 - { ac_try='test -s conftest.$ac_objext'
5117 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 - (eval $ac_try) 2>&5
5120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 - (exit $ac_status); }; }; then
5122 + (exit $ac_status); } && {
5123 + test -z "$ac_c_werror_flag" ||
5124 + test ! -s conftest.err
5125 + } && test -s conftest.$ac_objext; then
5126 ac_header_compiler=yes
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 -ac_header_compiler=no
5132 + ac_header_compiler=no
5134 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5135 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5136 -echo "${ECHO_T}$ac_header_compiler" >&6
5138 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5139 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5140 +echo "${ECHO_T}$ac_header_compiler" >&6; }
5142 # Is the header present?
5143 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
5144 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5145 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5146 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5147 cat >conftest.$ac_ext <<_ACEOF
5150 @@ -4209,24 +4736,22 @@
5151 /* end confdefs.h. */
5152 #include <$ac_header>
5154 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5155 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5156 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5157 +case "(($ac_try" in
5158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5159 + *) ac_try_echo=$ac_try;;
5161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5162 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5164 grep -v '^ *+' conftest.er1 >conftest.err
5166 cat conftest.err >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 - (exit $ac_status); } >/dev/null; then
5169 - if test -s conftest.err; then
5170 - ac_cpp_err=$ac_c_preproc_warn_flag
5171 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5178 -if test -z "$ac_cpp_err"; then
5179 + (exit $ac_status); } >/dev/null && {
5180 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5181 + test ! -s conftest.err
5183 ac_header_preproc=yes
5185 echo "$as_me: failed program was:" >&5
5186 @@ -4234,9 +4759,10 @@
5188 ac_header_preproc=no
5191 rm -f conftest.err conftest.$ac_ext
5192 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5193 -echo "${ECHO_T}$ac_header_preproc" >&6
5194 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5195 +echo "${ECHO_T}$ac_header_preproc" >&6; }
5197 # So? What about this header?
5198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5199 @@ -4260,25 +4786,24 @@
5200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5206 ## ------------------------------------------------- ##
5207 ## Report this to gphoto-devel@lists.sourceforge.net ##
5208 ## ------------------------------------------------- ##
5211 - sed "s/^/$as_me: WARNING: /" >&2
5212 + ) | sed "s/^/$as_me: WARNING: /" >&2
5215 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5216 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5217 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5218 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5219 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5220 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
5223 eval "$as_ac_Header=\$ac_header_preproc"
5225 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5226 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5227 +ac_res=`eval echo '${'$as_ac_Header'}'`
5228 + { echo "$as_me:$LINENO: result: $ac_res" >&5
5229 +echo "${ECHO_T}$ac_res" >&6; }
5232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5233 @@ -4290,11 +4815,11 @@
5237 -# Check whether --enable-ltdl-install or --disable-ltdl-install was given.
5238 +# Check whether --enable-ltdl-install was given.
5239 if test "${enable_ltdl_install+set}" = set; then
5240 - enableval="$enable_ltdl_install"
5241 + enableval=$enable_ltdl_install;
5248 @@ -4317,8 +4842,8 @@
5252 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5253 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5254 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5255 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
5257 libname_spec='lib$name'
5259 @@ -4917,8 +5442,8 @@
5263 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5264 -echo "${ECHO_T}$dynamic_linker" >&6
5265 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5266 +echo "${ECHO_T}$dynamic_linker" >&6; }
5267 test "$dynamic_linker" = no && can_build_shared=no
5269 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5270 @@ -4927,8 +5452,8 @@
5274 -echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
5275 -echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
5276 +{ echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
5277 +echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
5278 if test "${libltdl_cv_shlibext+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 @@ -4937,8 +5462,8 @@
5282 eval libltdl_cv_shlibext=$shrext_cmds
5285 -echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
5286 -echo "${ECHO_T}$libltdl_cv_shlibext" >&6
5287 +{ echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
5288 +echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
5289 if test -n "$libltdl_cv_shlibext"; then
5291 cat >>confdefs.h <<_ACEOF
5292 @@ -4948,15 +5473,15 @@
5296 -echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5297 -echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5298 +{ echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5299 +echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
5300 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 libltdl_cv_shlibpath_var="$shlibpath_var"
5305 -echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5306 -echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5307 +{ echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5308 +echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
5309 if test -n "$libltdl_cv_shlibpath_var"; then
5311 cat >>confdefs.h <<_ACEOF
5312 @@ -4966,15 +5491,15 @@
5316 -echo "$as_me:$LINENO: checking for the default library search path" >&5
5317 -echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
5318 +{ echo "$as_me:$LINENO: checking for the default library search path" >&5
5319 +echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
5320 if test "${libltdl_cv_sys_search_path+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
5325 -echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
5326 -echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
5327 +{ echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
5328 +echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
5329 if test -n "$libltdl_cv_sys_search_path"; then
5331 for dir in $libltdl_cv_sys_search_path; do
5332 @@ -4991,8 +5516,8 @@
5336 -echo "$as_me:$LINENO: checking for objdir" >&5
5337 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5338 +{ echo "$as_me:$LINENO: checking for objdir" >&5
5339 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5340 if test "${libltdl_cv_objdir+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 @@ -5012,8 +5537,8 @@
5347 -echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
5348 -echo "${ECHO_T}$libltdl_cv_objdir" >&6
5349 +{ echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
5350 +echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
5352 cat >>confdefs.h <<_ACEOF
5353 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
5354 @@ -5021,61 +5546,90 @@
5357 # Make sure we can run config.sub.
5358 -$ac_config_sub sun4 >/dev/null 2>&1 ||
5359 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5360 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5361 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5362 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5363 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5364 { (exit 1); exit 1; }; }
5366 -echo "$as_me:$LINENO: checking build system type" >&5
5367 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
5368 +{ echo "$as_me:$LINENO: checking build system type" >&5
5369 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5370 if test "${ac_cv_build+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 - ac_cv_build_alias=$build_alias
5374 -test -z "$ac_cv_build_alias" &&
5375 - ac_cv_build_alias=`$ac_config_guess`
5376 -test -z "$ac_cv_build_alias" &&
5377 + ac_build_alias=$build_alias
5378 +test "x$ac_build_alias" = x &&
5379 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5380 +test "x$ac_build_alias" = x &&
5381 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5382 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5383 { (exit 1); exit 1; }; }
5384 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5385 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5386 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5387 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5388 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5389 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5390 { (exit 1); exit 1; }; }
5393 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5394 -echo "${ECHO_T}$ac_cv_build" >&6
5395 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5396 +echo "${ECHO_T}$ac_cv_build" >&6; }
5397 +case $ac_cv_build in
5399 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5400 +echo "$as_me: error: invalid value of canonical build" >&2;}
5401 + { (exit 1); exit 1; }; };;
5404 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5405 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5406 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5407 +ac_save_IFS=$IFS; IFS='-'
5413 +# Remember, the first character of IFS is used to create $*,
5414 +# except with old shells:
5417 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5420 -echo "$as_me:$LINENO: checking host system type" >&5
5421 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
5422 +{ echo "$as_me:$LINENO: checking host system type" >&5
5423 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5424 if test "${ac_cv_host+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 - ac_cv_host_alias=$host_alias
5428 -test -z "$ac_cv_host_alias" &&
5429 - ac_cv_host_alias=$ac_cv_build_alias
5430 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5431 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5432 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5433 + if test "x$host_alias" = x; then
5434 + ac_cv_host=$ac_cv_build
5436 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5437 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5438 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5439 { (exit 1); exit 1; }; }
5443 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5444 -echo "${ECHO_T}$ac_cv_host" >&6
5445 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5446 +echo "${ECHO_T}$ac_cv_host" >&6; }
5447 +case $ac_cv_host in
5449 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5450 +echo "$as_me: error: invalid value of canonical host" >&2;}
5451 + { (exit 1); exit 1; }; };;
5454 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5455 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5456 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5457 +ac_save_IFS=$IFS; IFS='-'
5463 +# Remember, the first character of IFS is used to create $*,
5464 +# except with old shells:
5467 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5470 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5471 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5472 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5473 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5474 if test "${lt_cv_path_NM+set}" = set; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5477 @@ -5123,8 +5677,8 @@
5478 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5481 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5482 -echo "${ECHO_T}$lt_cv_path_NM" >&6
5483 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5484 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5488 @@ -5132,8 +5686,8 @@
5491 # Check for command to grab the raw symbol name followed by C symbol from nm.
5492 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5493 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5494 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5495 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5496 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 @@ -5337,16 +5891,16 @@
5500 lt_cv_sys_global_symbol_to_cdecl=
5502 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5503 - echo "$as_me:$LINENO: result: failed" >&5
5504 -echo "${ECHO_T}failed" >&6
5505 + { echo "$as_me:$LINENO: result: failed" >&5
5506 +echo "${ECHO_T}failed" >&6; }
5508 - echo "$as_me:$LINENO: result: ok" >&5
5509 -echo "${ECHO_T}ok" >&6
5510 + { echo "$as_me:$LINENO: result: ok" >&5
5511 +echo "${ECHO_T}ok" >&6; }
5515 -echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
5516 -echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
5517 +{ echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
5518 +echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
5519 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 @@ -5357,8 +5911,8 @@
5526 -echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
5527 -echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
5528 +{ echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
5529 +echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
5530 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
5532 cat >>confdefs.h <<\_ACEOF
5533 @@ -5376,8 +5930,8 @@
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537 -echo "$as_me:$LINENO: checking for shl_load" >&5
5538 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
5539 +{ echo "$as_me:$LINENO: checking for shl_load" >&5
5540 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
5541 if test "${ac_cv_func_shl_load+set}" = set; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 @@ -5404,67 +5958,59 @@
5548 -/* Override any gcc2 internal prototype to avoid an error. */
5549 +/* Override any GCC internal prototype to avoid an error.
5550 + Use char because int might match the return type of a GCC
5551 + builtin and then its argument prototype would still apply. */
5556 -/* We use char because int might match the return type of a gcc2
5557 - builtin and then its argument prototype would still apply. */
5559 /* The GNU C library defines this for functions which it implements
5560 to always fail with ENOSYS. Some functions are actually named
5561 something starting with __ and the normal name is an alias. */
5562 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
5563 +#if defined __stub_shl_load || defined __stub___shl_load
5566 -char (*f) () = shl_load;
5575 -return f != shl_load;
5576 +return shl_load ();
5581 rm -f conftest.$ac_objext conftest$ac_exeext
5582 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5583 - (eval $ac_link) 2>conftest.er1
5584 +if { (ac_try="$ac_link"
5585 +case "(($ac_try" in
5586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5587 + *) ac_try_echo=$ac_try;;
5589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5590 + (eval "$ac_link") 2>conftest.er1
5592 grep -v '^ *+' conftest.er1 >conftest.err
5594 cat conftest.err >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 - (exit $ac_status); } &&
5597 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 - (eval $ac_try) 2>&5
5601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 - (exit $ac_status); }; } &&
5603 - { ac_try='test -s conftest$ac_exeext'
5604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 - (eval $ac_try) 2>&5
5607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 - (exit $ac_status); }; }; then
5609 + (exit $ac_status); } && {
5610 + test -z "$ac_c_werror_flag" ||
5611 + test ! -s conftest.err
5612 + } && test -s conftest$ac_exeext &&
5613 + $as_test_x conftest$ac_exeext; then
5614 ac_cv_func_shl_load=yes
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5619 -ac_cv_func_shl_load=no
5620 + ac_cv_func_shl_load=no
5622 -rm -f conftest.err conftest.$ac_objext \
5624 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5625 conftest$ac_exeext conftest.$ac_ext
5627 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
5628 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
5629 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
5630 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
5631 if test $ac_cv_func_shl_load = yes; then
5633 cat >>confdefs.h <<\_ACEOF
5634 @@ -5472,8 +6018,8 @@
5638 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
5639 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
5640 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
5641 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
5642 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 @@ -5486,55 +6032,53 @@
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5649 -/* Override any gcc2 internal prototype to avoid an error. */
5650 +/* Override any GCC internal prototype to avoid an error.
5651 + Use char because int might match the return type of a GCC
5652 + builtin and then its argument prototype would still apply. */
5656 -/* We use char because int might match the return type of a gcc2
5657 - builtin and then its argument prototype would still apply. */
5663 +return shl_load ();
5668 rm -f conftest.$ac_objext conftest$ac_exeext
5669 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5670 - (eval $ac_link) 2>conftest.er1
5671 +if { (ac_try="$ac_link"
5672 +case "(($ac_try" in
5673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674 + *) ac_try_echo=$ac_try;;
5676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 + (eval "$ac_link") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1 >conftest.err
5681 cat conftest.err >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 - (exit $ac_status); } &&
5684 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686 - (eval $ac_try) 2>&5
5688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 - (exit $ac_status); }; } &&
5690 - { ac_try='test -s conftest$ac_exeext'
5691 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692 - (eval $ac_try) 2>&5
5694 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 - (exit $ac_status); }; }; then
5696 + (exit $ac_status); } && {
5697 + test -z "$ac_c_werror_flag" ||
5698 + test ! -s conftest.err
5699 + } && test -s conftest$ac_exeext &&
5700 + $as_test_x conftest$ac_exeext; then
5701 ac_cv_lib_dld_shl_load=yes
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.$ac_ext >&5
5706 -ac_cv_lib_dld_shl_load=no
5707 + ac_cv_lib_dld_shl_load=no
5709 -rm -f conftest.err conftest.$ac_objext \
5711 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5712 conftest$ac_exeext conftest.$ac_ext
5713 LIBS=$ac_check_lib_save_LIBS
5715 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
5716 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
5717 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
5718 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
5719 if test $ac_cv_lib_dld_shl_load = yes; then
5721 cat >>confdefs.h <<\_ACEOF
5722 @@ -5543,8 +6087,8 @@
5724 LIBADD_DL="$LIBADD_DL -ldld"
5726 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5727 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5728 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5729 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
5730 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 @@ -5557,55 +6101,53 @@
5734 cat >>conftest.$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5737 -/* Override any gcc2 internal prototype to avoid an error. */
5738 +/* Override any GCC internal prototype to avoid an error.
5739 + Use char because int might match the return type of a GCC
5740 + builtin and then its argument prototype would still apply. */
5744 -/* We use char because int might match the return type of a gcc2
5745 - builtin and then its argument prototype would still apply. */
5756 rm -f conftest.$ac_objext conftest$ac_exeext
5757 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5758 - (eval $ac_link) 2>conftest.er1
5759 +if { (ac_try="$ac_link"
5760 +case "(($ac_try" in
5761 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762 + *) ac_try_echo=$ac_try;;
5764 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5765 + (eval "$ac_link") 2>conftest.er1
5767 grep -v '^ *+' conftest.er1 >conftest.err
5769 cat conftest.err >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 - (exit $ac_status); } &&
5772 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5774 - (eval $ac_try) 2>&5
5776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 - (exit $ac_status); }; } &&
5778 - { ac_try='test -s conftest$ac_exeext'
5779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5780 - (eval $ac_try) 2>&5
5782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 - (exit $ac_status); }; }; then
5784 + (exit $ac_status); } && {
5785 + test -z "$ac_c_werror_flag" ||
5786 + test ! -s conftest.err
5787 + } && test -s conftest$ac_exeext &&
5788 + $as_test_x conftest$ac_exeext; then
5789 ac_cv_lib_dl_dlopen=yes
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.$ac_ext >&5
5794 -ac_cv_lib_dl_dlopen=no
5795 + ac_cv_lib_dl_dlopen=no
5797 -rm -f conftest.err conftest.$ac_objext \
5799 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5800 conftest$ac_exeext conftest.$ac_ext
5801 LIBS=$ac_check_lib_save_LIBS
5803 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5804 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5805 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5806 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
5807 if test $ac_cv_lib_dl_dlopen = yes; then
5809 cat >>confdefs.h <<\_ACEOF
5810 @@ -5633,26 +6175,23 @@
5813 rm -f conftest.$ac_objext conftest$ac_exeext
5814 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5815 - (eval $ac_link) 2>conftest.er1
5816 +if { (ac_try="$ac_link"
5817 +case "(($ac_try" in
5818 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819 + *) ac_try_echo=$ac_try;;
5821 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822 + (eval "$ac_link") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1 >conftest.err
5826 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 - (exit $ac_status); } &&
5829 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5830 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 - (eval $ac_try) 2>&5
5833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 - (exit $ac_status); }; } &&
5835 - { ac_try='test -s conftest$ac_exeext'
5836 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 - (eval $ac_try) 2>&5
5839 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 - (exit $ac_status); }; }; then
5841 + (exit $ac_status); } && {
5842 + test -z "$ac_c_werror_flag" ||
5843 + test ! -s conftest.err
5844 + } && test -s conftest$ac_exeext &&
5845 + $as_test_x conftest$ac_exeext; then
5847 cat >>confdefs.h <<\_ACEOF
5848 #define HAVE_LIBDL 1
5849 @@ -5662,8 +6201,8 @@
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.$ac_ext >&5
5853 -echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
5854 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
5855 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
5856 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
5857 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 @@ -5676,55 +6215,53 @@
5861 cat >>conftest.$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5864 -/* Override any gcc2 internal prototype to avoid an error. */
5865 +/* Override any GCC internal prototype to avoid an error.
5866 + Use char because int might match the return type of a GCC
5867 + builtin and then its argument prototype would still apply. */
5871 -/* We use char because int might match the return type of a gcc2
5872 - builtin and then its argument prototype would still apply. */
5883 rm -f conftest.$ac_objext conftest$ac_exeext
5884 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5885 - (eval $ac_link) 2>conftest.er1
5886 +if { (ac_try="$ac_link"
5887 +case "(($ac_try" in
5888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889 + *) ac_try_echo=$ac_try;;
5891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892 + (eval "$ac_link") 2>conftest.er1
5894 grep -v '^ *+' conftest.er1 >conftest.err
5896 cat conftest.err >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 - (exit $ac_status); } &&
5899 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5900 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 - (eval $ac_try) 2>&5
5903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 - (exit $ac_status); }; } &&
5905 - { ac_try='test -s conftest$ac_exeext'
5906 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 - (eval $ac_try) 2>&5
5909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 - (exit $ac_status); }; }; then
5911 + (exit $ac_status); } && {
5912 + test -z "$ac_c_werror_flag" ||
5913 + test ! -s conftest.err
5914 + } && test -s conftest$ac_exeext &&
5915 + $as_test_x conftest$ac_exeext; then
5916 ac_cv_lib_svld_dlopen=yes
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5921 -ac_cv_lib_svld_dlopen=no
5922 + ac_cv_lib_svld_dlopen=no
5924 -rm -f conftest.err conftest.$ac_objext \
5926 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5927 conftest$ac_exeext conftest.$ac_ext
5928 LIBS=$ac_check_lib_save_LIBS
5930 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
5931 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
5932 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
5933 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
5934 if test $ac_cv_lib_svld_dlopen = yes; then
5936 cat >>confdefs.h <<\_ACEOF
5937 @@ -5733,8 +6270,8 @@
5939 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
5941 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
5942 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
5943 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
5944 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
5945 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 @@ -5747,55 +6284,53 @@
5949 cat >>conftest.$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5952 -/* Override any gcc2 internal prototype to avoid an error. */
5953 +/* Override any GCC internal prototype to avoid an error.
5954 + Use char because int might match the return type of a GCC
5955 + builtin and then its argument prototype would still apply. */
5959 -/* We use char because int might match the return type of a gcc2
5960 - builtin and then its argument prototype would still apply. */
5966 +return dld_link ();
5971 rm -f conftest.$ac_objext conftest$ac_exeext
5972 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5973 - (eval $ac_link) 2>conftest.er1
5974 +if { (ac_try="$ac_link"
5975 +case "(($ac_try" in
5976 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5977 + *) ac_try_echo=$ac_try;;
5979 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5980 + (eval "$ac_link") 2>conftest.er1
5982 grep -v '^ *+' conftest.er1 >conftest.err
5984 cat conftest.err >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 - (exit $ac_status); } &&
5987 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5988 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989 - (eval $ac_try) 2>&5
5991 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 - (exit $ac_status); }; } &&
5993 - { ac_try='test -s conftest$ac_exeext'
5994 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5995 - (eval $ac_try) 2>&5
5997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 - (exit $ac_status); }; }; then
5999 + (exit $ac_status); } && {
6000 + test -z "$ac_c_werror_flag" ||
6001 + test ! -s conftest.err
6002 + } && test -s conftest$ac_exeext &&
6003 + $as_test_x conftest$ac_exeext; then
6004 ac_cv_lib_dld_dld_link=yes
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.$ac_ext >&5
6009 -ac_cv_lib_dld_dld_link=no
6010 + ac_cv_lib_dld_dld_link=no
6012 -rm -f conftest.err conftest.$ac_objext \
6014 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6015 conftest$ac_exeext conftest.$ac_ext
6016 LIBS=$ac_check_lib_save_LIBS
6018 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6019 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6020 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6021 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
6022 if test $ac_cv_lib_dld_dld_link = yes; then
6024 cat >>confdefs.h <<\_ACEOF
6025 @@ -5804,8 +6339,8 @@
6027 LIBADD_DL="$LIBADD_DL -ldld"
6029 - echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
6030 -echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
6031 + { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
6032 +echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
6033 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 @@ -5832,67 +6367,59 @@
6038 #undef _dyld_func_lookup
6040 -/* Override any gcc2 internal prototype to avoid an error. */
6041 +/* Override any GCC internal prototype to avoid an error.
6042 + Use char because int might match the return type of a GCC
6043 + builtin and then its argument prototype would still apply. */
6048 -/* We use char because int might match the return type of a gcc2
6049 - builtin and then its argument prototype would still apply. */
6050 char _dyld_func_lookup ();
6051 /* The GNU C library defines this for functions which it implements
6052 to always fail with ENOSYS. Some functions are actually named
6053 something starting with __ and the normal name is an alias. */
6054 -#if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
6055 +#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
6058 -char (*f) () = _dyld_func_lookup;
6067 -return f != _dyld_func_lookup;
6068 +return _dyld_func_lookup ();
6073 rm -f conftest.$ac_objext conftest$ac_exeext
6074 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6075 - (eval $ac_link) 2>conftest.er1
6076 +if { (ac_try="$ac_link"
6077 +case "(($ac_try" in
6078 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079 + *) ac_try_echo=$ac_try;;
6081 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 + (eval "$ac_link") 2>conftest.er1
6084 grep -v '^ *+' conftest.er1 >conftest.err
6086 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 - (exit $ac_status); } &&
6089 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6090 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 - (eval $ac_try) 2>&5
6093 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 - (exit $ac_status); }; } &&
6095 - { ac_try='test -s conftest$ac_exeext'
6096 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 - (eval $ac_try) 2>&5
6099 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 - (exit $ac_status); }; }; then
6101 + (exit $ac_status); } && {
6102 + test -z "$ac_c_werror_flag" ||
6103 + test ! -s conftest.err
6104 + } && test -s conftest$ac_exeext &&
6105 + $as_test_x conftest$ac_exeext; then
6106 ac_cv_func__dyld_func_lookup=yes
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 -ac_cv_func__dyld_func_lookup=no
6112 + ac_cv_func__dyld_func_lookup=no
6114 -rm -f conftest.err conftest.$ac_objext \
6116 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6117 conftest$ac_exeext conftest.$ac_ext
6119 -echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
6120 -echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
6121 +{ echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
6122 +echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
6123 if test $ac_cv_func__dyld_func_lookup = yes; then
6125 cat >>confdefs.h <<\_ACEOF
6126 @@ -5909,7 +6436,8 @@
6130 -rm -f conftest.err conftest.$ac_objext \
6132 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6133 conftest$ac_exeext conftest.$ac_ext
6136 @@ -5929,9 +6457,9 @@
6137 for ac_func in dlerror
6139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6140 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6141 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6142 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6143 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6144 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6145 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 cat >conftest.$ac_ext <<_ACEOF
6149 @@ -5957,67 +6485,60 @@
6153 -/* Override any gcc2 internal prototype to avoid an error. */
6154 +/* Override any GCC internal prototype to avoid an error.
6155 + Use char because int might match the return type of a GCC
6156 + builtin and then its argument prototype would still apply. */
6161 -/* We use char because int might match the return type of a gcc2
6162 - builtin and then its argument prototype would still apply. */
6164 /* The GNU C library defines this for functions which it implements
6165 to always fail with ENOSYS. Some functions are actually named
6166 something starting with __ and the normal name is an alias. */
6167 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6168 +#if defined __stub_$ac_func || defined __stub___$ac_func
6171 -char (*f) () = $ac_func;
6180 -return f != $ac_func;
6181 +return $ac_func ();
6186 rm -f conftest.$ac_objext conftest$ac_exeext
6187 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6188 - (eval $ac_link) 2>conftest.er1
6189 +if { (ac_try="$ac_link"
6190 +case "(($ac_try" in
6191 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6192 + *) ac_try_echo=$ac_try;;
6194 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6195 + (eval "$ac_link") 2>conftest.er1
6197 grep -v '^ *+' conftest.er1 >conftest.err
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 - (exit $ac_status); } &&
6202 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6203 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 - (eval $ac_try) 2>&5
6206 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 - (exit $ac_status); }; } &&
6208 - { ac_try='test -s conftest$ac_exeext'
6209 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 - (eval $ac_try) 2>&5
6212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 - (exit $ac_status); }; }; then
6214 + (exit $ac_status); } && {
6215 + test -z "$ac_c_werror_flag" ||
6216 + test ! -s conftest.err
6217 + } && test -s conftest$ac_exeext &&
6218 + $as_test_x conftest$ac_exeext; then
6219 eval "$as_ac_var=yes"
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.$ac_ext >&5
6224 -eval "$as_ac_var=no"
6225 + eval "$as_ac_var=no"
6227 -rm -f conftest.err conftest.$ac_objext \
6229 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6230 conftest$ac_exeext conftest.$ac_ext
6232 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6233 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6234 +ac_res=`eval echo '${'$as_ac_var'}'`
6235 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6236 +echo "${ECHO_T}$ac_res" >&6; }
6237 if test `eval echo '${'$as_ac_var'}'` = yes; then
6238 cat >>confdefs.h <<_ACEOF
6239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6240 @@ -6036,8 +6557,8 @@
6244 -echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
6245 -echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
6246 +{ echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
6247 +echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
6248 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 @@ -6078,15 +6599,15 @@
6255 -echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
6256 -echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
6257 +{ echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
6258 +echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
6261 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
6262 if test x"$libltdl_cv_func_dlopen" = xyes ||
6263 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
6264 - echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
6265 -echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
6266 + { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
6267 +echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
6268 if test "${libltdl_cv_need_uscore+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6271 @@ -6099,7 +6620,7 @@
6272 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6273 lt_status=$lt_dlunknown
6274 cat > conftest.$ac_ext <<EOF
6275 -#line 6102 "configure"
6276 +#line 6623 "configure"
6277 #include "confdefs.h"
6280 @@ -6184,8 +6705,8 @@
6284 -echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
6285 -echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
6286 +{ echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
6287 +echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
6291 @@ -6198,8 +6719,8 @@
6295 -echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
6296 -echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
6297 +{ echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
6298 +echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
6299 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 @@ -6279,8 +6800,8 @@
6306 -echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
6307 -echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
6308 +{ echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
6309 +echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
6310 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
6312 cat >>confdefs.h <<\_ACEOF
6313 @@ -6293,18 +6814,19 @@
6314 for ac_header in argz.h
6316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6317 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6318 - echo "$as_me:$LINENO: checking for $ac_header" >&5
6319 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6320 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6321 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6322 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
6323 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6324 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6328 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6329 +ac_res=`eval echo '${'$as_ac_Header'}'`
6330 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6331 +echo "${ECHO_T}$ac_res" >&6; }
6333 # Is the header compilable?
6334 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
6335 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6336 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6337 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6338 cat >conftest.$ac_ext <<_ACEOF
6341 @@ -6315,40 +6837,37 @@
6342 #include <$ac_header>
6344 rm -f conftest.$ac_objext
6345 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6346 - (eval $ac_compile) 2>conftest.er1
6347 +if { (ac_try="$ac_compile"
6348 +case "(($ac_try" in
6349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6350 + *) ac_try_echo=$ac_try;;
6352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6353 + (eval "$ac_compile") 2>conftest.er1
6355 grep -v '^ *+' conftest.er1 >conftest.err
6357 cat conftest.err >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 - (exit $ac_status); } &&
6360 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6362 - (eval $ac_try) 2>&5
6364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 - (exit $ac_status); }; } &&
6366 - { ac_try='test -s conftest.$ac_objext'
6367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 - (eval $ac_try) 2>&5
6370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 - (exit $ac_status); }; }; then
6372 + (exit $ac_status); } && {
6373 + test -z "$ac_c_werror_flag" ||
6374 + test ! -s conftest.err
6375 + } && test -s conftest.$ac_objext; then
6376 ac_header_compiler=yes
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6381 -ac_header_compiler=no
6382 + ac_header_compiler=no
6384 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6385 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6386 -echo "${ECHO_T}$ac_header_compiler" >&6
6388 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6389 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6390 +echo "${ECHO_T}$ac_header_compiler" >&6; }
6392 # Is the header present?
6393 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
6394 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6395 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6396 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6397 cat >conftest.$ac_ext <<_ACEOF
6400 @@ -6357,24 +6876,22 @@
6401 /* end confdefs.h. */
6402 #include <$ac_header>
6404 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6405 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6406 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6407 +case "(($ac_try" in
6408 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 + *) ac_try_echo=$ac_try;;
6411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6414 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 - (exit $ac_status); } >/dev/null; then
6419 - if test -s conftest.err; then
6420 - ac_cpp_err=$ac_c_preproc_warn_flag
6421 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6428 -if test -z "$ac_cpp_err"; then
6429 + (exit $ac_status); } >/dev/null && {
6430 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6431 + test ! -s conftest.err
6433 ac_header_preproc=yes
6435 echo "$as_me: failed program was:" >&5
6436 @@ -6382,9 +6899,10 @@
6438 ac_header_preproc=no
6441 rm -f conftest.err conftest.$ac_ext
6442 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6443 -echo "${ECHO_T}$ac_header_preproc" >&6
6444 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6445 +echo "${ECHO_T}$ac_header_preproc" >&6; }
6447 # So? What about this header?
6448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6449 @@ -6408,25 +6926,24 @@
6450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6456 ## ------------------------------------------------- ##
6457 ## Report this to gphoto-devel@lists.sourceforge.net ##
6458 ## ------------------------------------------------- ##
6461 - sed "s/^/$as_me: WARNING: /" >&2
6462 + ) | sed "s/^/$as_me: WARNING: /" >&2
6465 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6466 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6467 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6468 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6469 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6470 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 eval "$as_ac_Header=\$ac_header_preproc"
6475 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6476 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6477 +ac_res=`eval echo '${'$as_ac_Header'}'`
6478 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6479 +echo "${ECHO_T}$ac_res" >&6; }
6482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6483 @@ -6439,8 +6956,8 @@
6487 -echo "$as_me:$LINENO: checking for error_t" >&5
6488 -echo $ECHO_N "checking for error_t... $ECHO_C" >&6
6489 +{ echo "$as_me:$LINENO: checking for error_t" >&5
6490 +echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
6491 if test "${ac_cv_type_error_t+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 @@ -6454,49 +6971,47 @@
6498 +typedef error_t ac__type_new_;
6503 +if ((ac__type_new_ *) 0)
6505 -if (sizeof (error_t))
6506 +if (sizeof (ac__type_new_))
6512 rm -f conftest.$ac_objext
6513 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6514 - (eval $ac_compile) 2>conftest.er1
6515 +if { (ac_try="$ac_compile"
6516 +case "(($ac_try" in
6517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6518 + *) ac_try_echo=$ac_try;;
6520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6521 + (eval "$ac_compile") 2>conftest.er1
6523 grep -v '^ *+' conftest.er1 >conftest.err
6525 cat conftest.err >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 - (exit $ac_status); } &&
6528 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6529 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 - (eval $ac_try) 2>&5
6532 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 - (exit $ac_status); }; } &&
6534 - { ac_try='test -s conftest.$ac_objext'
6535 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 - (eval $ac_try) 2>&5
6538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 - (exit $ac_status); }; }; then
6540 + (exit $ac_status); } && {
6541 + test -z "$ac_c_werror_flag" ||
6542 + test ! -s conftest.err
6543 + } && test -s conftest.$ac_objext; then
6544 ac_cv_type_error_t=yes
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6549 -ac_cv_type_error_t=no
6550 + ac_cv_type_error_t=no
6552 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6554 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556 -echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
6557 -echo "${ECHO_T}$ac_cv_type_error_t" >&6
6558 +{ echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
6559 +echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
6560 if test $ac_cv_type_error_t = yes; then
6562 cat >>confdefs.h <<_ACEOF
6563 @@ -6521,9 +7036,9 @@
6564 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
6566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6567 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6568 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6569 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6570 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6571 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6572 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 cat >conftest.$ac_ext <<_ACEOF
6576 @@ -6549,67 +7064,60 @@
6580 -/* Override any gcc2 internal prototype to avoid an error. */
6581 +/* Override any GCC internal prototype to avoid an error.
6582 + Use char because int might match the return type of a GCC
6583 + builtin and then its argument prototype would still apply. */
6588 -/* We use char because int might match the return type of a gcc2
6589 - builtin and then its argument prototype would still apply. */
6591 /* The GNU C library defines this for functions which it implements
6592 to always fail with ENOSYS. Some functions are actually named
6593 something starting with __ and the normal name is an alias. */
6594 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6595 +#if defined __stub_$ac_func || defined __stub___$ac_func
6598 -char (*f) () = $ac_func;
6607 -return f != $ac_func;
6608 +return $ac_func ();
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6615 - (eval $ac_link) 2>conftest.er1
6616 +if { (ac_try="$ac_link"
6617 +case "(($ac_try" in
6618 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6619 + *) ac_try_echo=$ac_try;;
6621 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6622 + (eval "$ac_link") 2>conftest.er1
6624 grep -v '^ *+' conftest.er1 >conftest.err
6626 cat conftest.err >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 - (exit $ac_status); } &&
6629 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6630 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 - (eval $ac_try) 2>&5
6633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 - (exit $ac_status); }; } &&
6635 - { ac_try='test -s conftest$ac_exeext'
6636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 - (eval $ac_try) 2>&5
6639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 - (exit $ac_status); }; }; then
6641 + (exit $ac_status); } && {
6642 + test -z "$ac_c_werror_flag" ||
6643 + test ! -s conftest.err
6644 + } && test -s conftest$ac_exeext &&
6645 + $as_test_x conftest$ac_exeext; then
6646 eval "$as_ac_var=yes"
6648 echo "$as_me: failed program was:" >&5
6649 sed 's/^/| /' conftest.$ac_ext >&5
6651 -eval "$as_ac_var=no"
6652 + eval "$as_ac_var=no"
6654 -rm -f conftest.err conftest.$ac_objext \
6656 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6657 conftest$ac_exeext conftest.$ac_ext
6659 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6660 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6661 +ac_res=`eval echo '${'$as_ac_var'}'`
6662 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6663 +echo "${ECHO_T}$ac_res" >&6; }
6664 if test `eval echo '${'$as_ac_var'}'` = yes; then
6665 cat >>confdefs.h <<_ACEOF
6666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6667 @@ -6649,18 +7157,19 @@
6670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6671 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6672 - echo "$as_me:$LINENO: checking for $ac_header" >&5
6673 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6674 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6675 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6676 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
6677 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6678 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6681 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6682 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6683 +ac_res=`eval echo '${'$as_ac_Header'}'`
6684 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6685 +echo "${ECHO_T}$ac_res" >&6; }
6687 # Is the header compilable?
6688 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
6689 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6690 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6691 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6692 cat >conftest.$ac_ext <<_ACEOF
6695 @@ -6671,40 +7180,37 @@
6696 #include <$ac_header>
6698 rm -f conftest.$ac_objext
6699 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6700 - (eval $ac_compile) 2>conftest.er1
6701 +if { (ac_try="$ac_compile"
6702 +case "(($ac_try" in
6703 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6704 + *) ac_try_echo=$ac_try;;
6706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6707 + (eval "$ac_compile") 2>conftest.er1
6709 grep -v '^ *+' conftest.er1 >conftest.err
6711 cat conftest.err >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 - (exit $ac_status); } &&
6714 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6715 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 - (eval $ac_try) 2>&5
6718 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 - (exit $ac_status); }; } &&
6720 - { ac_try='test -s conftest.$ac_objext'
6721 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 - (eval $ac_try) 2>&5
6724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 - (exit $ac_status); }; }; then
6726 + (exit $ac_status); } && {
6727 + test -z "$ac_c_werror_flag" ||
6728 + test ! -s conftest.err
6729 + } && test -s conftest.$ac_objext; then
6730 ac_header_compiler=yes
6732 echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.$ac_ext >&5
6735 -ac_header_compiler=no
6736 + ac_header_compiler=no
6738 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6739 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6740 -echo "${ECHO_T}$ac_header_compiler" >&6
6742 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6743 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6744 +echo "${ECHO_T}$ac_header_compiler" >&6; }
6746 # Is the header present?
6747 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
6748 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6749 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6750 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6751 cat >conftest.$ac_ext <<_ACEOF
6754 @@ -6713,24 +7219,22 @@
6755 /* end confdefs.h. */
6756 #include <$ac_header>
6758 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6759 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6760 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6761 +case "(($ac_try" in
6762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 + *) ac_try_echo=$ac_try;;
6765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 - (exit $ac_status); } >/dev/null; then
6773 - if test -s conftest.err; then
6774 - ac_cpp_err=$ac_c_preproc_warn_flag
6775 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6782 -if test -z "$ac_cpp_err"; then
6783 + (exit $ac_status); } >/dev/null && {
6784 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6785 + test ! -s conftest.err
6787 ac_header_preproc=yes
6789 echo "$as_me: failed program was:" >&5
6790 @@ -6738,9 +7242,10 @@
6792 ac_header_preproc=no
6795 rm -f conftest.err conftest.$ac_ext
6796 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6797 -echo "${ECHO_T}$ac_header_preproc" >&6
6798 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6799 +echo "${ECHO_T}$ac_header_preproc" >&6; }
6801 # So? What about this header?
6802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6803 @@ -6764,25 +7269,24 @@
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6810 ## ------------------------------------------------- ##
6811 ## Report this to gphoto-devel@lists.sourceforge.net ##
6812 ## ------------------------------------------------- ##
6815 - sed "s/^/$as_me: WARNING: /" >&2
6816 + ) | sed "s/^/$as_me: WARNING: /" >&2
6819 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6820 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6821 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6822 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6823 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6824 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6825 echo $ECHO_N "(cached) $ECHO_C" >&6
6827 eval "$as_ac_Header=\$ac_header_preproc"
6829 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6830 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6831 +ac_res=`eval echo '${'$as_ac_Header'}'`
6832 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6833 +echo "${ECHO_T}$ac_res" >&6; }
6836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6837 @@ -6801,18 +7305,19 @@
6838 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
6840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842 - echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6846 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
6847 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6848 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6849 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6852 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6853 +ac_res=`eval echo '${'$as_ac_Header'}'`
6854 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6855 +echo "${ECHO_T}$ac_res" >&6; }
6857 # Is the header compilable?
6858 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
6859 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6860 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6861 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6862 cat >conftest.$ac_ext <<_ACEOF
6865 @@ -6823,40 +7328,37 @@
6866 #include <$ac_header>
6868 rm -f conftest.$ac_objext
6869 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6870 - (eval $ac_compile) 2>conftest.er1
6871 +if { (ac_try="$ac_compile"
6872 +case "(($ac_try" in
6873 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 + *) ac_try_echo=$ac_try;;
6876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 + (eval "$ac_compile") 2>conftest.er1
6879 grep -v '^ *+' conftest.er1 >conftest.err
6881 cat conftest.err >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 - (exit $ac_status); } &&
6884 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 - (eval $ac_try) 2>&5
6888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 - (exit $ac_status); }; } &&
6890 - { ac_try='test -s conftest.$ac_objext'
6891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 - (eval $ac_try) 2>&5
6894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 - (exit $ac_status); }; }; then
6896 + (exit $ac_status); } && {
6897 + test -z "$ac_c_werror_flag" ||
6898 + test ! -s conftest.err
6899 + } && test -s conftest.$ac_objext; then
6900 ac_header_compiler=yes
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 -ac_header_compiler=no
6906 + ac_header_compiler=no
6908 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6909 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6910 -echo "${ECHO_T}$ac_header_compiler" >&6
6912 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6913 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6914 +echo "${ECHO_T}$ac_header_compiler" >&6; }
6916 # Is the header present?
6917 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
6918 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6919 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6920 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6921 cat >conftest.$ac_ext <<_ACEOF
6924 @@ -6865,24 +7367,22 @@
6925 /* end confdefs.h. */
6926 #include <$ac_header>
6928 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6929 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6930 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6931 +case "(($ac_try" in
6932 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933 + *) ac_try_echo=$ac_try;;
6935 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6938 grep -v '^ *+' conftest.er1 >conftest.err
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 - (exit $ac_status); } >/dev/null; then
6943 - if test -s conftest.err; then
6944 - ac_cpp_err=$ac_c_preproc_warn_flag
6945 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6952 -if test -z "$ac_cpp_err"; then
6953 + (exit $ac_status); } >/dev/null && {
6954 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6955 + test ! -s conftest.err
6957 ac_header_preproc=yes
6959 echo "$as_me: failed program was:" >&5
6960 @@ -6890,9 +7390,10 @@
6962 ac_header_preproc=no
6965 rm -f conftest.err conftest.$ac_ext
6966 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6967 -echo "${ECHO_T}$ac_header_preproc" >&6
6968 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6969 +echo "${ECHO_T}$ac_header_preproc" >&6; }
6971 # So? What about this header?
6972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6973 @@ -6916,25 +7417,24 @@
6974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6976 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6980 ## ------------------------------------------------- ##
6981 ## Report this to gphoto-devel@lists.sourceforge.net ##
6982 ## ------------------------------------------------- ##
6985 - sed "s/^/$as_me: WARNING: /" >&2
6986 + ) | sed "s/^/$as_me: WARNING: /" >&2
6989 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6990 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6991 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6992 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6993 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6994 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 eval "$as_ac_Header=\$ac_header_preproc"
6999 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7000 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7001 +ac_res=`eval echo '${'$as_ac_Header'}'`
7002 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7003 +echo "${ECHO_T}$ac_res" >&6; }
7006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7007 @@ -6951,18 +7451,19 @@
7008 for ac_header in string.h strings.h
7010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7012 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7013 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7014 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7015 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7016 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7017 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7018 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7022 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7023 +ac_res=`eval echo '${'$as_ac_Header'}'`
7024 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7025 +echo "${ECHO_T}$ac_res" >&6; }
7027 # Is the header compilable?
7028 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7029 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7030 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7031 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7032 cat >conftest.$ac_ext <<_ACEOF
7035 @@ -6973,40 +7474,37 @@
7036 #include <$ac_header>
7038 rm -f conftest.$ac_objext
7039 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7040 - (eval $ac_compile) 2>conftest.er1
7041 +if { (ac_try="$ac_compile"
7042 +case "(($ac_try" in
7043 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044 + *) ac_try_echo=$ac_try;;
7046 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 + (eval "$ac_compile") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1 >conftest.err
7051 cat conftest.err >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 - (exit $ac_status); } &&
7054 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7055 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 - (eval $ac_try) 2>&5
7058 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 - (exit $ac_status); }; } &&
7060 - { ac_try='test -s conftest.$ac_objext'
7061 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 - (eval $ac_try) 2>&5
7064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 - (exit $ac_status); }; }; then
7066 + (exit $ac_status); } && {
7067 + test -z "$ac_c_werror_flag" ||
7068 + test ! -s conftest.err
7069 + } && test -s conftest.$ac_objext; then
7070 ac_header_compiler=yes
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 -ac_header_compiler=no
7076 + ac_header_compiler=no
7078 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7079 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7080 -echo "${ECHO_T}$ac_header_compiler" >&6
7082 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7083 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7084 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7086 # Is the header present?
7087 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7088 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7089 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7090 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7091 cat >conftest.$ac_ext <<_ACEOF
7094 @@ -7015,24 +7513,22 @@
7095 /* end confdefs.h. */
7096 #include <$ac_header>
7098 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7099 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7100 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7101 +case "(($ac_try" in
7102 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7103 + *) ac_try_echo=$ac_try;;
7105 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7106 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7108 grep -v '^ *+' conftest.er1 >conftest.err
7110 cat conftest.err >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 - (exit $ac_status); } >/dev/null; then
7113 - if test -s conftest.err; then
7114 - ac_cpp_err=$ac_c_preproc_warn_flag
7115 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7122 -if test -z "$ac_cpp_err"; then
7123 + (exit $ac_status); } >/dev/null && {
7124 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7125 + test ! -s conftest.err
7127 ac_header_preproc=yes
7129 echo "$as_me: failed program was:" >&5
7130 @@ -7040,9 +7536,10 @@
7132 ac_header_preproc=no
7135 rm -f conftest.err conftest.$ac_ext
7136 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7137 -echo "${ECHO_T}$ac_header_preproc" >&6
7138 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7139 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7141 # So? What about this header?
7142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7143 @@ -7066,25 +7563,24 @@
7144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7150 ## ------------------------------------------------- ##
7151 ## Report this to gphoto-devel@lists.sourceforge.net ##
7152 ## ------------------------------------------------- ##
7155 - sed "s/^/$as_me: WARNING: /" >&2
7156 + ) | sed "s/^/$as_me: WARNING: /" >&2
7159 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7160 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7161 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7162 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7163 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7164 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 eval "$as_ac_Header=\$ac_header_preproc"
7169 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7170 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7171 +ac_res=`eval echo '${'$as_ac_Header'}'`
7172 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7173 +echo "${ECHO_T}$ac_res" >&6; }
7176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7177 @@ -7102,9 +7598,9 @@
7178 for ac_func in strchr index
7180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7181 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7182 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7183 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7184 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7185 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7186 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 cat >conftest.$ac_ext <<_ACEOF
7190 @@ -7130,67 +7626,60 @@
7194 -/* Override any gcc2 internal prototype to avoid an error. */
7195 +/* Override any GCC internal prototype to avoid an error.
7196 + Use char because int might match the return type of a GCC
7197 + builtin and then its argument prototype would still apply. */
7202 -/* We use char because int might match the return type of a gcc2
7203 - builtin and then its argument prototype would still apply. */
7205 /* The GNU C library defines this for functions which it implements
7206 to always fail with ENOSYS. Some functions are actually named
7207 something starting with __ and the normal name is an alias. */
7208 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7209 +#if defined __stub_$ac_func || defined __stub___$ac_func
7212 -char (*f) () = $ac_func;
7221 -return f != $ac_func;
7222 +return $ac_func ();
7227 rm -f conftest.$ac_objext conftest$ac_exeext
7228 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 - (eval $ac_link) 2>conftest.er1
7230 +if { (ac_try="$ac_link"
7231 +case "(($ac_try" in
7232 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7233 + *) ac_try_echo=$ac_try;;
7235 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 + (eval "$ac_link") 2>conftest.er1
7238 grep -v '^ *+' conftest.er1 >conftest.err
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 - (exit $ac_status); } &&
7243 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7244 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 - (eval $ac_try) 2>&5
7247 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 - (exit $ac_status); }; } &&
7249 - { ac_try='test -s conftest$ac_exeext'
7250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 - (eval $ac_try) 2>&5
7253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 - (exit $ac_status); }; }; then
7255 + (exit $ac_status); } && {
7256 + test -z "$ac_c_werror_flag" ||
7257 + test ! -s conftest.err
7258 + } && test -s conftest$ac_exeext &&
7259 + $as_test_x conftest$ac_exeext; then
7260 eval "$as_ac_var=yes"
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.$ac_ext >&5
7265 -eval "$as_ac_var=no"
7266 + eval "$as_ac_var=no"
7268 -rm -f conftest.err conftest.$ac_objext \
7270 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7271 conftest$ac_exeext conftest.$ac_ext
7273 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7274 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7275 +ac_res=`eval echo '${'$as_ac_var'}'`
7276 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7277 +echo "${ECHO_T}$ac_res" >&6; }
7278 if test `eval echo '${'$as_ac_var'}'` = yes; then
7279 cat >>confdefs.h <<_ACEOF
7280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7281 @@ -7204,9 +7693,9 @@
7282 for ac_func in strrchr rindex
7284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7285 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7286 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7287 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7288 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7289 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7290 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 cat >conftest.$ac_ext <<_ACEOF
7294 @@ -7232,67 +7721,60 @@
7298 -/* Override any gcc2 internal prototype to avoid an error. */
7299 +/* Override any GCC internal prototype to avoid an error.
7300 + Use char because int might match the return type of a GCC
7301 + builtin and then its argument prototype would still apply. */
7306 -/* We use char because int might match the return type of a gcc2
7307 - builtin and then its argument prototype would still apply. */
7309 /* The GNU C library defines this for functions which it implements
7310 to always fail with ENOSYS. Some functions are actually named
7311 something starting with __ and the normal name is an alias. */
7312 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7313 +#if defined __stub_$ac_func || defined __stub___$ac_func
7316 -char (*f) () = $ac_func;
7325 -return f != $ac_func;
7326 +return $ac_func ();
7331 rm -f conftest.$ac_objext conftest$ac_exeext
7332 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7333 - (eval $ac_link) 2>conftest.er1
7334 +if { (ac_try="$ac_link"
7335 +case "(($ac_try" in
7336 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7337 + *) ac_try_echo=$ac_try;;
7339 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7340 + (eval "$ac_link") 2>conftest.er1
7342 grep -v '^ *+' conftest.er1 >conftest.err
7344 cat conftest.err >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 - (exit $ac_status); } &&
7347 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7348 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 - (eval $ac_try) 2>&5
7351 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 - (exit $ac_status); }; } &&
7353 - { ac_try='test -s conftest$ac_exeext'
7354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 - (eval $ac_try) 2>&5
7357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 - (exit $ac_status); }; }; then
7359 + (exit $ac_status); } && {
7360 + test -z "$ac_c_werror_flag" ||
7361 + test ! -s conftest.err
7362 + } && test -s conftest$ac_exeext &&
7363 + $as_test_x conftest$ac_exeext; then
7364 eval "$as_ac_var=yes"
7366 echo "$as_me: failed program was:" >&5
7367 sed 's/^/| /' conftest.$ac_ext >&5
7369 -eval "$as_ac_var=no"
7370 + eval "$as_ac_var=no"
7372 -rm -f conftest.err conftest.$ac_objext \
7374 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7375 conftest$ac_exeext conftest.$ac_ext
7377 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7378 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7379 +ac_res=`eval echo '${'$as_ac_var'}'`
7380 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7381 +echo "${ECHO_T}$ac_res" >&6; }
7382 if test `eval echo '${'$as_ac_var'}'` = yes; then
7383 cat >>confdefs.h <<_ACEOF
7384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7385 @@ -7306,9 +7788,9 @@
7386 for ac_func in memcpy bcopy
7388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7389 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7390 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7391 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7392 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7393 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7394 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
7397 cat >conftest.$ac_ext <<_ACEOF
7398 @@ -7334,67 +7816,60 @@
7402 -/* Override any gcc2 internal prototype to avoid an error. */
7403 +/* Override any GCC internal prototype to avoid an error.
7404 + Use char because int might match the return type of a GCC
7405 + builtin and then its argument prototype would still apply. */
7410 -/* We use char because int might match the return type of a gcc2
7411 - builtin and then its argument prototype would still apply. */
7413 /* The GNU C library defines this for functions which it implements
7414 to always fail with ENOSYS. Some functions are actually named
7415 something starting with __ and the normal name is an alias. */
7416 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7417 +#if defined __stub_$ac_func || defined __stub___$ac_func
7420 -char (*f) () = $ac_func;
7429 -return f != $ac_func;
7430 +return $ac_func ();
7435 rm -f conftest.$ac_objext conftest$ac_exeext
7436 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7437 - (eval $ac_link) 2>conftest.er1
7438 +if { (ac_try="$ac_link"
7439 +case "(($ac_try" in
7440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7441 + *) ac_try_echo=$ac_try;;
7443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 + (eval "$ac_link") 2>conftest.er1
7446 grep -v '^ *+' conftest.er1 >conftest.err
7448 cat conftest.err >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 - (exit $ac_status); } &&
7451 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7452 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 - (eval $ac_try) 2>&5
7455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 - (exit $ac_status); }; } &&
7457 - { ac_try='test -s conftest$ac_exeext'
7458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 - (eval $ac_try) 2>&5
7461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 - (exit $ac_status); }; }; then
7463 + (exit $ac_status); } && {
7464 + test -z "$ac_c_werror_flag" ||
7465 + test ! -s conftest.err
7466 + } && test -s conftest$ac_exeext &&
7467 + $as_test_x conftest$ac_exeext; then
7468 eval "$as_ac_var=yes"
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.$ac_ext >&5
7473 -eval "$as_ac_var=no"
7474 + eval "$as_ac_var=no"
7476 -rm -f conftest.err conftest.$ac_objext \
7478 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7479 conftest$ac_exeext conftest.$ac_ext
7481 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7482 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7483 +ac_res=`eval echo '${'$as_ac_var'}'`
7484 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7485 +echo "${ECHO_T}$ac_res" >&6; }
7486 if test `eval echo '${'$as_ac_var'}'` = yes; then
7487 cat >>confdefs.h <<_ACEOF
7488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7489 @@ -7408,9 +7883,9 @@
7490 for ac_func in memmove strcmp
7492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7493 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7494 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7495 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7496 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7497 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7498 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7502 @@ -7436,67 +7911,60 @@
7506 -/* Override any gcc2 internal prototype to avoid an error. */
7507 +/* Override any GCC internal prototype to avoid an error.
7508 + Use char because int might match the return type of a GCC
7509 + builtin and then its argument prototype would still apply. */
7514 -/* We use char because int might match the return type of a gcc2
7515 - builtin and then its argument prototype would still apply. */
7517 /* The GNU C library defines this for functions which it implements
7518 to always fail with ENOSYS. Some functions are actually named
7519 something starting with __ and the normal name is an alias. */
7520 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7521 +#if defined __stub_$ac_func || defined __stub___$ac_func
7524 -char (*f) () = $ac_func;
7533 -return f != $ac_func;
7534 +return $ac_func ();
7539 rm -f conftest.$ac_objext conftest$ac_exeext
7540 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7541 - (eval $ac_link) 2>conftest.er1
7542 +if { (ac_try="$ac_link"
7543 +case "(($ac_try" in
7544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 + *) ac_try_echo=$ac_try;;
7547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7548 + (eval "$ac_link") 2>conftest.er1
7550 grep -v '^ *+' conftest.er1 >conftest.err
7552 cat conftest.err >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 - (exit $ac_status); } &&
7555 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7556 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 - (eval $ac_try) 2>&5
7559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 - (exit $ac_status); }; } &&
7561 - { ac_try='test -s conftest$ac_exeext'
7562 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 - (eval $ac_try) 2>&5
7565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 - (exit $ac_status); }; }; then
7567 + (exit $ac_status); } && {
7568 + test -z "$ac_c_werror_flag" ||
7569 + test ! -s conftest.err
7570 + } && test -s conftest$ac_exeext &&
7571 + $as_test_x conftest$ac_exeext; then
7572 eval "$as_ac_var=yes"
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7577 -eval "$as_ac_var=no"
7578 + eval "$as_ac_var=no"
7580 -rm -f conftest.err conftest.$ac_objext \
7582 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7583 conftest$ac_exeext conftest.$ac_ext
7585 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7586 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7587 +ac_res=`eval echo '${'$as_ac_var'}'`
7588 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7589 +echo "${ECHO_T}$ac_res" >&6; }
7590 if test `eval echo '${'$as_ac_var'}'` = yes; then
7591 cat >>confdefs.h <<_ACEOF
7592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7593 @@ -7511,9 +7979,9 @@
7594 for ac_func in closedir opendir readdir
7596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7597 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7598 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7599 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7600 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7601 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7602 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 cat >conftest.$ac_ext <<_ACEOF
7606 @@ -7539,67 +8007,60 @@
7610 -/* Override any gcc2 internal prototype to avoid an error. */
7611 +/* Override any GCC internal prototype to avoid an error.
7612 + Use char because int might match the return type of a GCC
7613 + builtin and then its argument prototype would still apply. */
7618 -/* We use char because int might match the return type of a gcc2
7619 - builtin and then its argument prototype would still apply. */
7621 /* The GNU C library defines this for functions which it implements
7622 to always fail with ENOSYS. Some functions are actually named
7623 something starting with __ and the normal name is an alias. */
7624 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7625 +#if defined __stub_$ac_func || defined __stub___$ac_func
7628 -char (*f) () = $ac_func;
7637 -return f != $ac_func;
7638 +return $ac_func ();
7643 rm -f conftest.$ac_objext conftest$ac_exeext
7644 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7645 - (eval $ac_link) 2>conftest.er1
7646 +if { (ac_try="$ac_link"
7647 +case "(($ac_try" in
7648 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649 + *) ac_try_echo=$ac_try;;
7651 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 + (eval "$ac_link") 2>conftest.er1
7654 grep -v '^ *+' conftest.er1 >conftest.err
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 - (exit $ac_status); } &&
7659 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7661 - (eval $ac_try) 2>&5
7663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 - (exit $ac_status); }; } &&
7665 - { ac_try='test -s conftest$ac_exeext'
7666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 - (eval $ac_try) 2>&5
7669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 - (exit $ac_status); }; }; then
7671 + (exit $ac_status); } && {
7672 + test -z "$ac_c_werror_flag" ||
7673 + test ! -s conftest.err
7674 + } && test -s conftest$ac_exeext &&
7675 + $as_test_x conftest$ac_exeext; then
7676 eval "$as_ac_var=yes"
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.$ac_ext >&5
7681 -eval "$as_ac_var=no"
7682 + eval "$as_ac_var=no"
7684 -rm -f conftest.err conftest.$ac_objext \
7686 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7687 conftest$ac_exeext conftest.$ac_ext
7689 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7690 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7691 +ac_res=`eval echo '${'$as_ac_var'}'`
7692 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7693 +echo "${ECHO_T}$ac_res" >&6; }
7694 if test `eval echo '${'$as_ac_var'}'` = yes; then
7695 cat >>confdefs.h <<_ACEOF
7696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7697 @@ -7617,27 +8078,27 @@
7698 use_installed_libltdl=no
7701 -# Check whether --with-included_ltdl or --without-included_ltdl was given.
7702 +# Check whether --with-included_ltdl was given.
7703 if test "${with_included_ltdl+set}" = set; then
7704 - withval="$with_included_ltdl"
7705 + withval=$with_included_ltdl;
7710 if test "x$with_included_ltdl" != xyes; then
7711 # We are not being forced to use the included libltdl sources, so
7712 # decide whether there is a useful installed version we can use.
7713 if test "${ac_cv_header_ltdl_h+set}" = set; then
7714 - echo "$as_me:$LINENO: checking for ltdl.h" >&5
7715 -echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
7716 + { echo "$as_me:$LINENO: checking for ltdl.h" >&5
7717 +echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6; }
7718 if test "${ac_cv_header_ltdl_h+set}" = set; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 -echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
7722 -echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
7723 +{ echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
7724 +echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
7726 # Is the header compilable?
7727 -echo "$as_me:$LINENO: checking ltdl.h usability" >&5
7728 -echo $ECHO_N "checking ltdl.h usability... $ECHO_C" >&6
7729 +{ echo "$as_me:$LINENO: checking ltdl.h usability" >&5
7730 +echo $ECHO_N "checking ltdl.h usability... $ECHO_C" >&6; }
7731 cat >conftest.$ac_ext <<_ACEOF
7734 @@ -7648,40 +8109,37 @@
7737 rm -f conftest.$ac_objext
7738 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7739 - (eval $ac_compile) 2>conftest.er1
7740 +if { (ac_try="$ac_compile"
7741 +case "(($ac_try" in
7742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 + *) ac_try_echo=$ac_try;;
7745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746 + (eval "$ac_compile") 2>conftest.er1
7748 grep -v '^ *+' conftest.er1 >conftest.err
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 - (exit $ac_status); } &&
7753 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 - (eval $ac_try) 2>&5
7757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 - (exit $ac_status); }; } &&
7759 - { ac_try='test -s conftest.$ac_objext'
7760 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 - (eval $ac_try) 2>&5
7763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 - (exit $ac_status); }; }; then
7765 + (exit $ac_status); } && {
7766 + test -z "$ac_c_werror_flag" ||
7767 + test ! -s conftest.err
7768 + } && test -s conftest.$ac_objext; then
7769 ac_header_compiler=yes
7771 echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7774 -ac_header_compiler=no
7775 + ac_header_compiler=no
7777 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7778 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7779 -echo "${ECHO_T}$ac_header_compiler" >&6
7781 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7782 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7783 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7785 # Is the header present?
7786 -echo "$as_me:$LINENO: checking ltdl.h presence" >&5
7787 -echo $ECHO_N "checking ltdl.h presence... $ECHO_C" >&6
7788 +{ echo "$as_me:$LINENO: checking ltdl.h presence" >&5
7789 +echo $ECHO_N "checking ltdl.h presence... $ECHO_C" >&6; }
7790 cat >conftest.$ac_ext <<_ACEOF
7793 @@ -7690,24 +8148,22 @@
7794 /* end confdefs.h. */
7797 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7798 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7799 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7800 +case "(($ac_try" in
7801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 + *) ac_try_echo=$ac_try;;
7804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 - (exit $ac_status); } >/dev/null; then
7812 - if test -s conftest.err; then
7813 - ac_cpp_err=$ac_c_preproc_warn_flag
7814 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7821 -if test -z "$ac_cpp_err"; then
7822 + (exit $ac_status); } >/dev/null && {
7823 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7824 + test ! -s conftest.err
7826 ac_header_preproc=yes
7828 echo "$as_me: failed program was:" >&5
7829 @@ -7715,9 +8171,10 @@
7831 ac_header_preproc=no
7834 rm -f conftest.err conftest.$ac_ext
7835 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7836 -echo "${ECHO_T}$ac_header_preproc" >&6
7837 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7838 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7840 # So? What about this header?
7841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7842 @@ -7741,30 +8198,28 @@
7843 echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result" >&2;}
7844 { echo "$as_me:$LINENO: WARNING: ltdl.h: in the future, the compiler will take precedence" >&5
7845 echo "$as_me: WARNING: ltdl.h: in the future, the compiler will take precedence" >&2;}
7849 ## ------------------------------------------------- ##
7850 ## Report this to gphoto-devel@lists.sourceforge.net ##
7851 ## ------------------------------------------------- ##
7854 - sed "s/^/$as_me: WARNING: /" >&2
7855 + ) | sed "s/^/$as_me: WARNING: /" >&2
7858 -echo "$as_me:$LINENO: checking for ltdl.h" >&5
7859 -echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
7860 +{ echo "$as_me:$LINENO: checking for ltdl.h" >&5
7861 +echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6; }
7862 if test "${ac_cv_header_ltdl_h+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 ac_cv_header_ltdl_h=$ac_header_preproc
7867 -echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
7868 -echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
7869 +{ echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
7870 +echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
7873 if test $ac_cv_header_ltdl_h = yes; then
7874 - echo "$as_me:$LINENO: checking for lt_dlcaller_register in -lltdl" >&5
7875 -echo $ECHO_N "checking for lt_dlcaller_register in -lltdl... $ECHO_C" >&6
7876 + { echo "$as_me:$LINENO: checking for lt_dlcaller_register in -lltdl" >&5
7877 +echo $ECHO_N "checking for lt_dlcaller_register in -lltdl... $ECHO_C" >&6; }
7878 if test "${ac_cv_lib_ltdl_lt_dlcaller_register+set}" = set; then
7879 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 @@ -7777,55 +8232,53 @@
7882 cat >>conftest.$ac_ext <<_ACEOF
7883 /* end confdefs.h. */
7885 -/* Override any gcc2 internal prototype to avoid an error. */
7886 +/* Override any GCC internal prototype to avoid an error.
7887 + Use char because int might match the return type of a GCC
7888 + builtin and then its argument prototype would still apply. */
7892 -/* We use char because int might match the return type of a gcc2
7893 - builtin and then its argument prototype would still apply. */
7894 char lt_dlcaller_register ();
7898 -lt_dlcaller_register ();
7899 +return lt_dlcaller_register ();
7904 rm -f conftest.$ac_objext conftest$ac_exeext
7905 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7906 - (eval $ac_link) 2>conftest.er1
7907 +if { (ac_try="$ac_link"
7908 +case "(($ac_try" in
7909 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 + *) ac_try_echo=$ac_try;;
7912 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 + (eval "$ac_link") 2>conftest.er1
7915 grep -v '^ *+' conftest.er1 >conftest.err
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 - (exit $ac_status); } &&
7920 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7921 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 - (eval $ac_try) 2>&5
7924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 - (exit $ac_status); }; } &&
7926 - { ac_try='test -s conftest$ac_exeext'
7927 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 - (eval $ac_try) 2>&5
7930 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 - (exit $ac_status); }; }; then
7932 + (exit $ac_status); } && {
7933 + test -z "$ac_c_werror_flag" ||
7934 + test ! -s conftest.err
7935 + } && test -s conftest$ac_exeext &&
7936 + $as_test_x conftest$ac_exeext; then
7937 ac_cv_lib_ltdl_lt_dlcaller_register=yes
7939 echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.$ac_ext >&5
7942 -ac_cv_lib_ltdl_lt_dlcaller_register=no
7943 + ac_cv_lib_ltdl_lt_dlcaller_register=no
7945 -rm -f conftest.err conftest.$ac_objext \
7947 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7948 conftest$ac_exeext conftest.$ac_ext
7949 LIBS=$ac_check_lib_save_LIBS
7951 -echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlcaller_register" >&5
7952 -echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlcaller_register" >&6
7953 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlcaller_register" >&5
7954 +echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlcaller_register" >&6; }
7955 if test $ac_cv_lib_ltdl_lt_dlcaller_register = yes; then
7956 with_included_ltdl=no
7958 @@ -7867,12 +8320,10 @@
7961 # Report our decision...
7962 -echo "$as_me:$LINENO: checking whether to use included libltdl" >&5
7963 -echo $ECHO_N "checking whether to use included libltdl... $ECHO_C" >&6
7964 -echo "$as_me:$LINENO: result: $with_included_ltdl" >&5
7965 -echo "${ECHO_T}$with_included_ltdl" >&6
7968 +{ echo "$as_me:$LINENO: checking whether to use included libltdl" >&5
7969 +echo $ECHO_N "checking whether to use included libltdl... $ECHO_C" >&6; }
7970 +{ echo "$as_me:$LINENO: result: $with_included_ltdl" >&5
7971 +echo "${ECHO_T}$with_included_ltdl" >&6; }
7973 subdirs="$subdirs libltdl"
7975 @@ -7881,10 +8332,9 @@
7979 -# Check whether --enable-shared or --disable-shared was given.
7980 +# Check whether --enable-shared was given.
7981 if test "${enable_shared+set}" = set; then
7982 - enableval="$enable_shared"
7983 - p=${PACKAGE-default}
7984 + enableval=$enable_shared; p=${PACKAGE-default}
7986 yes) enable_shared=yes ;;
7987 no) enable_shared=no ;;
7988 @@ -7903,12 +8353,12 @@
7996 -# Check whether --enable-static or --disable-static was given.
7997 +# Check whether --enable-static was given.
7998 if test "${enable_static+set}" = set; then
7999 - enableval="$enable_static"
8000 - p=${PACKAGE-default}
8001 + enableval=$enable_static; p=${PACKAGE-default}
8003 yes) enable_static=yes ;;
8004 no) enable_static=no ;;
8005 @@ -7927,12 +8377,12 @@
8013 -# Check whether --enable-fast-install or --disable-fast-install was given.
8014 +# Check whether --enable-fast-install was given.
8015 if test "${enable_fast_install+set}" = set; then
8016 - enableval="$enable_fast_install"
8017 - p=${PACKAGE-default}
8018 + enableval=$enable_fast_install; p=${PACKAGE-default}
8020 yes) enable_fast_install=yes ;;
8021 no) enable_fast_install=no ;;
8022 @@ -7951,10 +8401,11 @@
8025 enable_fast_install=yes
8030 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
8031 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
8032 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
8033 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
8034 if test "${lt_cv_path_SED+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6
8037 @@ -8007,22 +8458,22 @@
8041 -echo "$as_me:$LINENO: result: $SED" >&5
8042 -echo "${ECHO_T}$SED" >&6
8043 +{ echo "$as_me:$LINENO: result: $SED" >&5
8044 +echo "${ECHO_T}$SED" >&6; }
8047 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
8048 +# Check whether --with-gnu-ld was given.
8049 if test "${with_gnu_ld+set}" = set; then
8050 - withval="$with_gnu_ld"
8051 - test "$withval" = no || with_gnu_ld=yes
8052 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8059 if test "$GCC" = yes; then
8060 # Check if gcc -print-prog-name=ld gives a path.
8061 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8062 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
8063 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8064 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
8067 # gcc leaves a trailing carriage return which upsets mingw
8068 @@ -8051,11 +8502,11 @@
8071 elif test "$with_gnu_ld" = yes; then
8072 - echo "$as_me:$LINENO: checking for GNU ld" >&5
8073 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8074 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
8075 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8077 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8078 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8079 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8080 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8082 if test "${lt_cv_path_LD+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8084 @@ -8088,17 +8539,17 @@
8087 if test -n "$LD"; then
8088 - echo "$as_me:$LINENO: result: $LD" >&5
8089 -echo "${ECHO_T}$LD" >&6
8090 + { echo "$as_me:$LINENO: result: $LD" >&5
8091 +echo "${ECHO_T}$LD" >&6; }
8093 - echo "$as_me:$LINENO: result: no" >&5
8094 -echo "${ECHO_T}no" >&6
8095 + { echo "$as_me:$LINENO: result: no" >&5
8096 +echo "${ECHO_T}no" >&6; }
8098 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8099 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8100 { (exit 1); exit 1; }; }
8101 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8102 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8103 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8104 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 @@ -8112,20 +8563,20 @@
8112 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8113 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
8114 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8115 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8116 with_gnu_ld=$lt_cv_prog_gnu_ld
8119 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8120 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
8121 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8122 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8123 if test "${lt_cv_ld_reload_flag+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 lt_cv_ld_reload_flag='-r'
8128 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8129 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
8130 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8131 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8132 reload_flag=$lt_cv_ld_reload_flag
8133 case $reload_flag in
8135 @@ -8142,19 +8593,19 @@
8139 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
8140 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8141 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8142 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8144 if test "$LN_S" = "ln -s"; then
8145 - echo "$as_me:$LINENO: result: yes" >&5
8146 -echo "${ECHO_T}yes" >&6
8147 + { echo "$as_me:$LINENO: result: yes" >&5
8148 +echo "${ECHO_T}yes" >&6; }
8150 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8151 -echo "${ECHO_T}no, using $LN_S" >&6
8152 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8153 +echo "${ECHO_T}no, using $LN_S" >&6; }
8156 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8157 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
8158 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8159 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8160 if test "${lt_cv_deplibs_check_method+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 @@ -8329,8 +8780,8 @@
8167 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8168 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
8169 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8170 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8171 file_magic_cmd=$lt_cv_file_magic_cmd
8172 deplibs_check_method=$lt_cv_deplibs_check_method
8173 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8174 @@ -8346,11 +8797,11 @@
8175 # Allow CC to be a program name with arguments.
8178 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8179 +# Check whether --enable-libtool-lock was given.
8180 if test "${enable_libtool_lock+set}" = set; then
8181 - enableval="$enable_libtool_lock"
8182 + enableval=$enable_libtool_lock;
8186 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8188 # Some flags need to be propagated to the compiler or linker for good
8189 @@ -8377,7 +8828,7 @@
8192 # Find out which ABI we are using.
8193 - echo '#line 8380 "configure"' > conftest.$ac_ext
8194 + echo '#line 8831 "configure"' > conftest.$ac_ext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8196 (eval $ac_compile) 2>&5
8198 @@ -8462,8 +8913,8 @@
8199 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8200 SAVE_CFLAGS="$CFLAGS"
8201 CFLAGS="$CFLAGS -belf"
8202 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8203 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
8204 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8205 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8206 if test "${lt_cv_cc_needs_belf+set}" = set; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 @@ -8489,34 +8940,32 @@
8212 rm -f conftest.$ac_objext conftest$ac_exeext
8213 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 - (eval $ac_link) 2>conftest.er1
8215 +if { (ac_try="$ac_link"
8216 +case "(($ac_try" in
8217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218 + *) ac_try_echo=$ac_try;;
8220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 + (eval "$ac_link") 2>conftest.er1
8223 grep -v '^ *+' conftest.er1 >conftest.err
8225 cat conftest.err >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 - (exit $ac_status); } &&
8228 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8229 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 - (eval $ac_try) 2>&5
8232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 - (exit $ac_status); }; } &&
8234 - { ac_try='test -s conftest$ac_exeext'
8235 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 - (eval $ac_try) 2>&5
8238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 - (exit $ac_status); }; }; then
8240 + (exit $ac_status); } && {
8241 + test -z "$ac_c_werror_flag" ||
8242 + test ! -s conftest.err
8243 + } && test -s conftest$ac_exeext &&
8244 + $as_test_x conftest$ac_exeext; then
8245 lt_cv_cc_needs_belf=yes
8247 echo "$as_me: failed program was:" >&5
8248 sed 's/^/| /' conftest.$ac_ext >&5
8250 -lt_cv_cc_needs_belf=no
8251 + lt_cv_cc_needs_belf=no
8253 -rm -f conftest.err conftest.$ac_objext \
8255 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8256 conftest$ac_exeext conftest.$ac_ext
8258 ac_cpp='$CPP $CPPFLAGS'
8259 @@ -8525,8 +8974,8 @@
8260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8263 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8264 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
8265 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8266 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8267 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8268 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8269 CFLAGS="$SAVE_CFLAGS"
8270 @@ -8556,8 +9005,8 @@
8271 if test -n "$ac_tool_prefix"; then
8272 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8273 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8274 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8275 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8276 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8277 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8278 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 @@ -8570,32 +9019,34 @@
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8286 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 DLLTOOL=$ac_cv_prog_DLLTOOL
8298 if test -n "$DLLTOOL"; then
8299 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8300 -echo "${ECHO_T}$DLLTOOL" >&6
8301 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8302 +echo "${ECHO_T}$DLLTOOL" >&6; }
8304 - echo "$as_me:$LINENO: result: no" >&5
8305 -echo "${ECHO_T}no" >&6
8306 + { echo "$as_me:$LINENO: result: no" >&5
8307 +echo "${ECHO_T}no" >&6; }
8312 if test -z "$ac_cv_prog_DLLTOOL"; then
8313 ac_ct_DLLTOOL=$DLLTOOL
8314 # Extract the first word of "dlltool", so it can be a program name with args.
8315 set dummy dlltool; ac_word=$2
8316 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8317 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8318 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8319 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8320 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8321 echo $ECHO_N "(cached) $ECHO_C" >&6
8323 @@ -8608,27 +9059,41 @@
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8328 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8337 - test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
8340 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8341 if test -n "$ac_ct_DLLTOOL"; then
8342 - echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8343 -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
8344 + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8345 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8347 - echo "$as_me:$LINENO: result: no" >&5
8348 -echo "${ECHO_T}no" >&6
8349 + { echo "$as_me:$LINENO: result: no" >&5
8350 +echo "${ECHO_T}no" >&6; }
8353 - DLLTOOL=$ac_ct_DLLTOOL
8354 + if test "x$ac_ct_DLLTOOL" = x; then
8357 + case $cross_compiling:$ac_tool_warned in
8359 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8360 +whose name does not start with the host triplet. If you think this
8361 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8362 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8363 +whose name does not start with the host triplet. If you think this
8364 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8365 +ac_tool_warned=yes ;;
8367 + DLLTOOL=$ac_ct_DLLTOOL
8370 DLLTOOL="$ac_cv_prog_DLLTOOL"
8372 @@ -8636,8 +9101,8 @@
8373 if test -n "$ac_tool_prefix"; then
8374 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}as; ac_word=$2
8376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8378 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8379 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8380 if test "${ac_cv_prog_AS+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 @@ -8650,32 +9115,34 @@
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_AS="${ac_tool_prefix}as"
8390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 if test -n "$AS"; then
8401 - echo "$as_me:$LINENO: result: $AS" >&5
8402 -echo "${ECHO_T}$AS" >&6
8403 + { echo "$as_me:$LINENO: result: $AS" >&5
8404 +echo "${ECHO_T}$AS" >&6; }
8406 - echo "$as_me:$LINENO: result: no" >&5
8407 -echo "${ECHO_T}no" >&6
8408 + { echo "$as_me:$LINENO: result: no" >&5
8409 +echo "${ECHO_T}no" >&6; }
8414 if test -z "$ac_cv_prog_AS"; then
8416 # Extract the first word of "as", so it can be a program name with args.
8417 set dummy as; ac_word=$2
8418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8420 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8421 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8422 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
8423 echo $ECHO_N "(cached) $ECHO_C" >&6
8425 @@ -8688,27 +9155,41 @@
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8430 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8431 ac_cv_prog_ac_ct_AS="as"
8432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8439 - test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
8442 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8443 if test -n "$ac_ct_AS"; then
8444 - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
8445 -echo "${ECHO_T}$ac_ct_AS" >&6
8446 + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
8447 +echo "${ECHO_T}$ac_ct_AS" >&6; }
8449 - echo "$as_me:$LINENO: result: no" >&5
8450 -echo "${ECHO_T}no" >&6
8451 + { echo "$as_me:$LINENO: result: no" >&5
8452 +echo "${ECHO_T}no" >&6; }
8456 + if test "x$ac_ct_AS" = x; then
8459 + case $cross_compiling:$ac_tool_warned in
8461 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8462 +whose name does not start with the host triplet. If you think this
8463 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8464 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8465 +whose name does not start with the host triplet. If you think this
8466 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8467 +ac_tool_warned=yes ;;
8474 @@ -8716,8 +9197,8 @@
8475 if test -n "$ac_tool_prefix"; then
8476 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8477 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8478 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8479 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8480 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8481 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8482 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 @@ -8730,32 +9211,34 @@
8487 test -z "$as_dir" && as_dir=.
8488 for ac_exec_ext in '' $ac_executable_extensions; do
8489 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8490 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8491 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8501 OBJDUMP=$ac_cv_prog_OBJDUMP
8502 if test -n "$OBJDUMP"; then
8503 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8504 -echo "${ECHO_T}$OBJDUMP" >&6
8505 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8506 +echo "${ECHO_T}$OBJDUMP" >&6; }
8508 - echo "$as_me:$LINENO: result: no" >&5
8509 -echo "${ECHO_T}no" >&6
8510 + { echo "$as_me:$LINENO: result: no" >&5
8511 +echo "${ECHO_T}no" >&6; }
8516 if test -z "$ac_cv_prog_OBJDUMP"; then
8517 ac_ct_OBJDUMP=$OBJDUMP
8518 # Extract the first word of "objdump", so it can be a program name with args.
8519 set dummy objdump; ac_word=$2
8520 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8521 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8522 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8523 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8524 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 @@ -8768,27 +9251,41 @@
8529 test -z "$as_dir" && as_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8532 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8533 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8541 - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
8544 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8545 if test -n "$ac_ct_OBJDUMP"; then
8546 - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
8547 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
8548 + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
8549 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
8551 - echo "$as_me:$LINENO: result: no" >&5
8552 -echo "${ECHO_T}no" >&6
8553 + { echo "$as_me:$LINENO: result: no" >&5
8554 +echo "${ECHO_T}no" >&6; }
8557 - OBJDUMP=$ac_ct_OBJDUMP
8558 + if test "x$ac_ct_OBJDUMP" = x; then
8561 + case $cross_compiling:$ac_tool_warned in
8563 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8564 +whose name does not start with the host triplet. If you think this
8565 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8566 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8567 +whose name does not start with the host triplet. If you think this
8568 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8569 +ac_tool_warned=yes ;;
8571 + OBJDUMP=$ac_ct_OBJDUMP
8574 OBJDUMP="$ac_cv_prog_OBJDUMP"
8576 @@ -8800,18 +9297,22 @@
8577 need_locks="$enable_libtool_lock"
8582 ac_cpp='$CXXCPP $CPPFLAGS'
8583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8586 -if test -n "$ac_tool_prefix"; then
8587 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
8588 +if test -z "$CXX"; then
8589 + if test -n "$CCC"; then
8592 + if test -n "$ac_tool_prefix"; then
8593 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8597 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8598 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8599 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8600 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8601 if test "${ac_cv_prog_CXX+set}" = set; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 @@ -8824,36 +9325,38 @@
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8609 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8610 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8621 if test -n "$CXX"; then
8622 - echo "$as_me:$LINENO: result: $CXX" >&5
8623 -echo "${ECHO_T}$CXX" >&6
8624 + { echo "$as_me:$LINENO: result: $CXX" >&5
8625 +echo "${ECHO_T}$CXX" >&6; }
8627 - echo "$as_me:$LINENO: result: no" >&5
8628 -echo "${ECHO_T}no" >&6
8629 + { echo "$as_me:$LINENO: result: no" >&5
8630 +echo "${ECHO_T}no" >&6; }
8634 test -n "$CXX" && break
8637 if test -z "$CXX"; then
8639 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
8640 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8642 # Extract the first word of "$ac_prog", so it can be a program name with args.
8643 set dummy $ac_prog; ac_word=$2
8644 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8645 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8646 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8647 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8648 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 @@ -8866,55 +9369,85 @@
8653 test -z "$as_dir" && as_dir=.
8654 for ac_exec_ext in '' $ac_executable_extensions; do
8655 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8656 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8657 ac_cv_prog_ac_ct_CXX="$ac_prog"
8658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8668 if test -n "$ac_ct_CXX"; then
8669 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8670 -echo "${ECHO_T}$ac_ct_CXX" >&6
8671 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8672 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
8674 - echo "$as_me:$LINENO: result: no" >&5
8675 -echo "${ECHO_T}no" >&6
8676 + { echo "$as_me:$LINENO: result: no" >&5
8677 +echo "${ECHO_T}no" >&6; }
8681 test -n "$ac_ct_CXX" && break
8683 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
8686 + if test "x$ac_ct_CXX" = x; then
8689 + case $cross_compiling:$ac_tool_warned in
8691 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8692 +whose name does not start with the host triplet. If you think this
8693 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8694 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8695 +whose name does not start with the host triplet. If you think this
8696 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8697 +ac_tool_warned=yes ;;
8706 # Provide some information about the compiler.
8707 -echo "$as_me:$LINENO:" \
8708 - "checking for C++ compiler version" >&5
8709 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8710 ac_compiler=`set X $ac_compile; echo $2`
8711 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8712 - (eval $ac_compiler --version </dev/null >&5) 2>&5
8713 +{ (ac_try="$ac_compiler --version >&5"
8714 +case "(($ac_try" in
8715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8716 + *) ac_try_echo=$ac_try;;
8718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8719 + (eval "$ac_compiler --version >&5") 2>&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }
8723 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8724 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8725 +{ (ac_try="$ac_compiler -v >&5"
8726 +case "(($ac_try" in
8727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8728 + *) ac_try_echo=$ac_try;;
8730 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8731 + (eval "$ac_compiler -v >&5") 2>&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }
8735 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8736 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8737 +{ (ac_try="$ac_compiler -V >&5"
8738 +case "(($ac_try" in
8739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8740 + *) ac_try_echo=$ac_try;;
8742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8743 + (eval "$ac_compiler -V >&5") 2>&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }
8748 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8749 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
8750 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8751 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8752 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 @@ -8937,49 +9470,49 @@
8758 rm -f conftest.$ac_objext
8759 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8760 - (eval $ac_compile) 2>conftest.er1
8761 +if { (ac_try="$ac_compile"
8762 +case "(($ac_try" in
8763 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8764 + *) ac_try_echo=$ac_try;;
8766 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8767 + (eval "$ac_compile") 2>conftest.er1
8769 grep -v '^ *+' conftest.er1 >conftest.err
8771 cat conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 - (exit $ac_status); } &&
8774 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8775 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 - (eval $ac_try) 2>&5
8778 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 - (exit $ac_status); }; } &&
8780 - { ac_try='test -s conftest.$ac_objext'
8781 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8782 - (eval $ac_try) 2>&5
8784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 - (exit $ac_status); }; }; then
8786 + (exit $ac_status); } && {
8787 + test -z "$ac_cxx_werror_flag" ||
8788 + test ! -s conftest.err
8789 + } && test -s conftest.$ac_objext; then
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.$ac_ext >&5
8796 + ac_compiler_gnu=no
8798 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8804 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8805 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
8806 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8807 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8808 GXX=`test $ac_compiler_gnu = yes && echo yes`
8809 ac_test_CXXFLAGS=${CXXFLAGS+set}
8810 ac_save_CXXFLAGS=$CXXFLAGS
8812 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8813 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
8814 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8815 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8816 if test "${ac_cv_prog_cxx_g+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 - cat >conftest.$ac_ext <<_ACEOF
8820 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8821 + ac_cxx_werror_flag=yes
8822 + ac_cv_prog_cxx_g=no
8824 + cat >conftest.$ac_ext <<_ACEOF
8827 cat confdefs.h >>conftest.$ac_ext
8828 @@ -8995,157 +9528,134 @@
8831 rm -f conftest.$ac_objext
8832 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8833 - (eval $ac_compile) 2>conftest.er1
8834 +if { (ac_try="$ac_compile"
8835 +case "(($ac_try" in
8836 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8837 + *) ac_try_echo=$ac_try;;
8839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8840 + (eval "$ac_compile") 2>conftest.er1
8842 grep -v '^ *+' conftest.er1 >conftest.err
8844 cat conftest.err >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 - (exit $ac_status); } &&
8847 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 - (eval $ac_try) 2>&5
8851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 - (exit $ac_status); }; } &&
8853 - { ac_try='test -s conftest.$ac_objext'
8854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8855 - (eval $ac_try) 2>&5
8857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 - (exit $ac_status); }; }; then
8859 + (exit $ac_status); } && {
8860 + test -z "$ac_cxx_werror_flag" ||
8861 + test ! -s conftest.err
8862 + } && test -s conftest.$ac_objext; then
8863 ac_cv_prog_cxx_g=yes
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8868 -ac_cv_prog_cxx_g=no
8870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8872 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8873 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8874 -if test "$ac_test_CXXFLAGS" = set; then
8875 - CXXFLAGS=$ac_save_CXXFLAGS
8876 -elif test $ac_cv_prog_cxx_g = yes; then
8877 - if test "$GXX" = yes; then
8883 - if test "$GXX" = yes; then
8889 -for ac_declaration in \
8891 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
8892 - 'extern "C" void std::exit (int); using std::exit;' \
8893 - 'extern "C" void exit (int) throw ();' \
8894 - 'extern "C" void exit (int);' \
8895 - 'void exit (int);'
8897 - cat >conftest.$ac_ext <<_ACEOF
8899 + cat >conftest.$ac_ext <<_ACEOF
8902 cat confdefs.h >>conftest.$ac_ext
8903 cat >>conftest.$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8906 -#include <stdlib.h>
8917 rm -f conftest.$ac_objext
8918 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8919 - (eval $ac_compile) 2>conftest.er1
8920 +if { (ac_try="$ac_compile"
8921 +case "(($ac_try" in
8922 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8923 + *) ac_try_echo=$ac_try;;
8925 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8926 + (eval "$ac_compile") 2>conftest.er1
8928 grep -v '^ *+' conftest.er1 >conftest.err
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 - (exit $ac_status); } &&
8933 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 - (eval $ac_try) 2>&5
8937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 - (exit $ac_status); }; } &&
8939 - { ac_try='test -s conftest.$ac_objext'
8940 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 - (eval $ac_try) 2>&5
8943 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 - (exit $ac_status); }; }; then
8945 + (exit $ac_status); } && {
8946 + test -z "$ac_cxx_werror_flag" ||
8947 + test ! -s conftest.err
8948 + } && test -s conftest.$ac_objext; then
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8956 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8957 - cat >conftest.$ac_ext <<_ACEOF
8958 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8960 + cat >conftest.$ac_ext <<_ACEOF
8963 cat confdefs.h >>conftest.$ac_ext
8964 cat >>conftest.$ac_ext <<_ACEOF
8965 /* end confdefs.h. */
8977 rm -f conftest.$ac_objext
8978 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8979 - (eval $ac_compile) 2>conftest.er1
8980 +if { (ac_try="$ac_compile"
8981 +case "(($ac_try" in
8982 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8983 + *) ac_try_echo=$ac_try;;
8985 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8986 + (eval "$ac_compile") 2>conftest.er1
8988 grep -v '^ *+' conftest.er1 >conftest.err
8990 cat conftest.err >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 - (exit $ac_status); } &&
8993 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8994 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8995 - (eval $ac_try) 2>&5
8997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 - (exit $ac_status); }; } &&
8999 - { ac_try='test -s conftest.$ac_objext'
9000 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001 - (eval $ac_try) 2>&5
9003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 - (exit $ac_status); }; }; then
9006 + (exit $ac_status); } && {
9007 + test -z "$ac_cxx_werror_flag" ||
9008 + test ! -s conftest.err
9009 + } && test -s conftest.$ac_objext; then
9010 + ac_cv_prog_cxx_g=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9017 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9020 -if test -n "$ac_declaration"; then
9021 - echo '#ifdef __cplusplus' >>confdefs.h
9022 - echo $ac_declaration >>confdefs.h
9023 - echo '#endif' >>confdefs.h
9025 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9028 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9032 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9033 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9035 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9036 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9037 +if test "$ac_test_CXXFLAGS" = set; then
9038 + CXXFLAGS=$ac_save_CXXFLAGS
9039 +elif test $ac_cv_prog_cxx_g = yes; then
9040 + if test "$GXX" = yes; then
9046 + if test "$GXX" = yes; then
9053 ac_cpp='$CXXCPP $CPPFLAGS'
9054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9056 @@ -9153,8 +9663,8 @@
9058 depcc="$CXX" am_compiler_list=
9060 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9061 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9062 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9063 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9064 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 @@ -9243,8 +9753,8 @@
9071 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9072 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
9073 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9074 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9075 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9078 @@ -9265,13 +9775,13 @@
9079 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9080 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9081 (test "X$CXX" != "Xg++"))) ; then
9084 ac_cpp='$CXXCPP $CPPFLAGS'
9085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9088 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9089 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
9090 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9091 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
9092 if test -z "$CXXCPP"; then
9093 if test "${ac_cv_prog_CXXCPP+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 @@ -9301,24 +9811,22 @@
9099 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9100 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9101 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9102 +case "(($ac_try" in
9103 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9104 + *) ac_try_echo=$ac_try;;
9106 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9107 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9109 grep -v '^ *+' conftest.er1 >conftest.err
9111 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 - (exit $ac_status); } >/dev/null; then
9114 - if test -s conftest.err; then
9115 - ac_cpp_err=$ac_cxx_preproc_warn_flag
9116 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9123 -if test -z "$ac_cpp_err"; then
9124 + (exit $ac_status); } >/dev/null && {
9125 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9126 + test ! -s conftest.err
9130 echo "$as_me: failed program was:" >&5
9131 @@ -9327,9 +9835,10 @@
9132 # Broken: fails on valid input.
9136 rm -f conftest.err conftest.$ac_ext
9138 - # OK, works on sane cases. Now check whether non-existent headers
9139 + # OK, works on sane cases. Now check whether nonexistent headers
9140 # can be detected and how.
9141 cat >conftest.$ac_ext <<_ACEOF
9143 @@ -9339,24 +9848,22 @@
9144 /* end confdefs.h. */
9145 #include <ac_nonexistent.h>
9147 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9148 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9149 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9150 +case "(($ac_try" in
9151 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9152 + *) ac_try_echo=$ac_try;;
9154 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9155 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9157 grep -v '^ *+' conftest.er1 >conftest.err
9159 cat conftest.err >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 - (exit $ac_status); } >/dev/null; then
9162 - if test -s conftest.err; then
9163 - ac_cpp_err=$ac_cxx_preproc_warn_flag
9164 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9171 -if test -z "$ac_cpp_err"; then
9172 + (exit $ac_status); } >/dev/null && {
9173 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9174 + test ! -s conftest.err
9176 # Broken: success on invalid input.
9179 @@ -9367,6 +9874,7 @@
9184 rm -f conftest.err conftest.$ac_ext
9187 @@ -9384,8 +9892,8 @@
9189 ac_cv_prog_CXXCPP=$CXXCPP
9191 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
9192 -echo "${ECHO_T}$CXXCPP" >&6
9193 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
9194 +echo "${ECHO_T}$CXXCPP" >&6; }
9196 for ac_cxx_preproc_warn_flag in '' yes
9198 @@ -9408,24 +9916,22 @@
9202 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9203 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9204 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9205 +case "(($ac_try" in
9206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9207 + *) ac_try_echo=$ac_try;;
9209 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9212 grep -v '^ *+' conftest.er1 >conftest.err
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 - (exit $ac_status); } >/dev/null; then
9217 - if test -s conftest.err; then
9218 - ac_cpp_err=$ac_cxx_preproc_warn_flag
9219 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9226 -if test -z "$ac_cpp_err"; then
9227 + (exit $ac_status); } >/dev/null && {
9228 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9229 + test ! -s conftest.err
9233 echo "$as_me: failed program was:" >&5
9234 @@ -9434,9 +9940,10 @@
9235 # Broken: fails on valid input.
9239 rm -f conftest.err conftest.$ac_ext
9241 - # OK, works on sane cases. Now check whether non-existent headers
9242 + # OK, works on sane cases. Now check whether nonexistent headers
9243 # can be detected and how.
9244 cat >conftest.$ac_ext <<_ACEOF
9246 @@ -9446,24 +9953,22 @@
9247 /* end confdefs.h. */
9248 #include <ac_nonexistent.h>
9250 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9251 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9252 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9253 +case "(($ac_try" in
9254 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9255 + *) ac_try_echo=$ac_try;;
9257 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9258 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9260 grep -v '^ *+' conftest.er1 >conftest.err
9262 cat conftest.err >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 - (exit $ac_status); } >/dev/null; then
9265 - if test -s conftest.err; then
9266 - ac_cpp_err=$ac_cxx_preproc_warn_flag
9267 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9274 -if test -z "$ac_cpp_err"; then
9275 + (exit $ac_status); } >/dev/null && {
9276 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9277 + test ! -s conftest.err
9279 # Broken: success on invalid input.
9282 @@ -9474,6 +9979,7 @@
9287 rm -f conftest.err conftest.$ac_ext
9290 @@ -9489,7 +9995,7 @@
9291 { (exit 1); exit 1; }; }
9296 ac_cpp='$CXXCPP $CPPFLAGS'
9297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9299 @@ -9503,12 +10009,12 @@
9300 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9301 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
9302 if test -n "$ac_tool_prefix"; then
9303 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
9304 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
9306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9308 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9309 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9310 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9311 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9312 if test "${ac_cv_prog_F77+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 @@ -9521,36 +10027,38 @@
9317 test -z "$as_dir" && as_dir=.
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9320 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9321 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
9322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 if test -n "$F77"; then
9333 - echo "$as_me:$LINENO: result: $F77" >&5
9334 -echo "${ECHO_T}$F77" >&6
9335 + { echo "$as_me:$LINENO: result: $F77" >&5
9336 +echo "${ECHO_T}$F77" >&6; }
9338 - echo "$as_me:$LINENO: result: no" >&5
9339 -echo "${ECHO_T}no" >&6
9340 + { echo "$as_me:$LINENO: result: no" >&5
9341 +echo "${ECHO_T}no" >&6; }
9345 test -n "$F77" && break
9348 if test -z "$F77"; then
9350 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
9351 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
9353 # Extract the first word of "$ac_prog", so it can be a program name with args.
9354 set dummy $ac_prog; ac_word=$2
9355 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9356 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9357 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9359 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 @@ -9563,48 +10071,78 @@
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9367 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9368 ac_cv_prog_ac_ct_F77="$ac_prog"
9369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9378 ac_ct_F77=$ac_cv_prog_ac_ct_F77
9379 if test -n "$ac_ct_F77"; then
9380 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9381 -echo "${ECHO_T}$ac_ct_F77" >&6
9382 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9383 +echo "${ECHO_T}$ac_ct_F77" >&6; }
9385 - echo "$as_me:$LINENO: result: no" >&5
9386 -echo "${ECHO_T}no" >&6
9387 + { echo "$as_me:$LINENO: result: no" >&5
9388 +echo "${ECHO_T}no" >&6; }
9392 test -n "$ac_ct_F77" && break
9396 + if test "x$ac_ct_F77" = x; then
9399 + case $cross_compiling:$ac_tool_warned in
9401 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9402 +whose name does not start with the host triplet. If you think this
9403 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9404 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9405 +whose name does not start with the host triplet. If you think this
9406 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9407 +ac_tool_warned=yes ;;
9414 # Provide some information about the compiler.
9415 -echo "$as_me:9593:" \
9416 - "checking for Fortran 77 compiler version" >&5
9417 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9418 ac_compiler=`set X $ac_compile; echo $2`
9419 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9420 - (eval $ac_compiler --version </dev/null >&5) 2>&5
9421 +{ (ac_try="$ac_compiler --version >&5"
9422 +case "(($ac_try" in
9423 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9424 + *) ac_try_echo=$ac_try;;
9426 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9427 + (eval "$ac_compiler --version >&5") 2>&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); }
9431 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9432 - (eval $ac_compiler -v </dev/null >&5) 2>&5
9433 +{ (ac_try="$ac_compiler -v >&5"
9434 +case "(($ac_try" in
9435 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9436 + *) ac_try_echo=$ac_try;;
9438 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9439 + (eval "$ac_compiler -v >&5") 2>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }
9443 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9444 - (eval $ac_compiler -V </dev/null >&5) 2>&5
9445 +{ (ac_try="$ac_compiler -V >&5"
9446 +case "(($ac_try" in
9447 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 + *) ac_try_echo=$ac_try;;
9450 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 + (eval "$ac_compiler -V >&5") 2>&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }
9455 @@ -9614,8 +10152,8 @@
9456 # input file. (Note that this only needs to work for GNU compilers.)
9459 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9460 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
9461 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9462 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9463 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9464 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 @@ -9628,45 +10166,42 @@
9469 rm -f conftest.$ac_objext
9470 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9471 - (eval $ac_compile) 2>conftest.er1
9472 +if { (ac_try="$ac_compile"
9473 +case "(($ac_try" in
9474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 + *) ac_try_echo=$ac_try;;
9477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 + (eval "$ac_compile") 2>conftest.er1
9480 grep -v '^ *+' conftest.er1 >conftest.err
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 - (exit $ac_status); } &&
9485 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
9486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9487 - (eval $ac_try) 2>&5
9489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 - (exit $ac_status); }; } &&
9491 - { ac_try='test -s conftest.$ac_objext'
9492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 - (eval $ac_try) 2>&5
9495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 - (exit $ac_status); }; }; then
9497 + (exit $ac_status); } && {
9498 + test -z "$ac_f77_werror_flag" ||
9499 + test ! -s conftest.err
9500 + } && test -s conftest.$ac_objext; then
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9507 + ac_compiler_gnu=no
9509 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9511 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9512 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9515 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9516 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
9517 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9518 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9520 ac_test_FFLAGS=${FFLAGS+set}
9521 ac_save_FFLAGS=$FFLAGS
9523 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9524 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
9525 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9526 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9527 if test "${ac_cv_prog_f77_g+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 @@ -9677,38 +10212,35 @@
9533 rm -f conftest.$ac_objext
9534 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9535 - (eval $ac_compile) 2>conftest.er1
9536 +if { (ac_try="$ac_compile"
9537 +case "(($ac_try" in
9538 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9539 + *) ac_try_echo=$ac_try;;
9541 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9542 + (eval "$ac_compile") 2>conftest.er1
9544 grep -v '^ *+' conftest.er1 >conftest.err
9546 cat conftest.err >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 - (exit $ac_status); } &&
9549 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
9550 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 - (eval $ac_try) 2>&5
9553 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 - (exit $ac_status); }; } &&
9555 - { ac_try='test -s conftest.$ac_objext'
9556 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 - (eval $ac_try) 2>&5
9559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 - (exit $ac_status); }; }; then
9561 + (exit $ac_status); } && {
9562 + test -z "$ac_f77_werror_flag" ||
9563 + test ! -s conftest.err
9564 + } && test -s conftest.$ac_objext; then
9565 ac_cv_prog_f77_g=yes
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9570 -ac_cv_prog_f77_g=no
9571 + ac_cv_prog_f77_g=no
9573 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9575 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9578 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9579 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
9580 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9581 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9582 if test "$ac_test_FFLAGS" = set; then
9583 FFLAGS=$ac_save_FFLAGS
9584 elif test $ac_cv_prog_f77_g = yes; then
9585 @@ -9737,8 +10269,8 @@
9586 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9588 # find the maximum length of command line arguments
9589 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9590 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
9591 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9592 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9593 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 @@ -9846,19 +10378,19 @@
9599 if test -n $lt_cv_sys_max_cmd_len ; then
9600 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9601 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
9602 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9603 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9605 - echo "$as_me:$LINENO: result: none" >&5
9606 -echo "${ECHO_T}none" >&6
9607 + { echo "$as_me:$LINENO: result: none" >&5
9608 +echo "${ECHO_T}none" >&6; }
9614 # Check for command to grab the raw symbol name followed by C symbol from nm.
9615 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9616 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
9617 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9618 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9619 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9620 echo $ECHO_N "(cached) $ECHO_C" >&6
9622 @@ -10062,15 +10594,15 @@
9623 lt_cv_sys_global_symbol_to_cdecl=
9625 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9626 - echo "$as_me:$LINENO: result: failed" >&5
9627 -echo "${ECHO_T}failed" >&6
9628 + { echo "$as_me:$LINENO: result: failed" >&5
9629 +echo "${ECHO_T}failed" >&6; }
9631 - echo "$as_me:$LINENO: result: ok" >&5
9632 -echo "${ECHO_T}ok" >&6
9633 + { echo "$as_me:$LINENO: result: ok" >&5
9634 +echo "${ECHO_T}ok" >&6; }
9637 -echo "$as_me:$LINENO: checking for objdir" >&5
9638 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
9639 +{ echo "$as_me:$LINENO: checking for objdir" >&5
9640 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9641 if test "${lt_cv_objdir+set}" = set; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 @@ -10084,8 +10616,8 @@
9646 rmdir .libs 2>/dev/null
9648 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9649 -echo "${ECHO_T}$lt_cv_objdir" >&6
9650 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9651 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
9652 objdir=$lt_cv_objdir
9655 @@ -10136,8 +10668,8 @@
9656 if test -n "$ac_tool_prefix"; then
9657 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9658 set dummy ${ac_tool_prefix}ar; ac_word=$2
9659 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9660 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9661 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9662 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9663 if test "${ac_cv_prog_AR+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 @@ -10150,32 +10682,34 @@
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9671 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9672 ac_cv_prog_AR="${ac_tool_prefix}ar"
9673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9683 if test -n "$AR"; then
9684 - echo "$as_me:$LINENO: result: $AR" >&5
9685 -echo "${ECHO_T}$AR" >&6
9686 + { echo "$as_me:$LINENO: result: $AR" >&5
9687 +echo "${ECHO_T}$AR" >&6; }
9689 - echo "$as_me:$LINENO: result: no" >&5
9690 -echo "${ECHO_T}no" >&6
9691 + { echo "$as_me:$LINENO: result: no" >&5
9692 +echo "${ECHO_T}no" >&6; }
9697 if test -z "$ac_cv_prog_AR"; then
9699 # Extract the first word of "ar", so it can be a program name with args.
9700 set dummy ar; ac_word=$2
9701 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9702 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9703 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9704 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9705 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 @@ -10188,27 +10722,41 @@
9710 test -z "$as_dir" && as_dir=.
9711 for ac_exec_ext in '' $ac_executable_extensions; do
9712 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9713 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9714 ac_cv_prog_ac_ct_AR="ar"
9715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9722 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
9725 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9726 if test -n "$ac_ct_AR"; then
9727 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9728 -echo "${ECHO_T}$ac_ct_AR" >&6
9729 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9730 +echo "${ECHO_T}$ac_ct_AR" >&6; }
9732 - echo "$as_me:$LINENO: result: no" >&5
9733 -echo "${ECHO_T}no" >&6
9734 + { echo "$as_me:$LINENO: result: no" >&5
9735 +echo "${ECHO_T}no" >&6; }
9739 + if test "x$ac_ct_AR" = x; then
9742 + case $cross_compiling:$ac_tool_warned in
9744 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9745 +whose name does not start with the host triplet. If you think this
9746 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9747 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9748 +whose name does not start with the host triplet. If you think this
9749 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9750 +ac_tool_warned=yes ;;
9757 @@ -10216,8 +10764,8 @@
9758 if test -n "$ac_tool_prefix"; then
9759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9761 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9762 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9763 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9764 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9765 if test "${ac_cv_prog_RANLIB+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 @@ -10230,32 +10778,34 @@
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9773 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9774 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 RANLIB=$ac_cv_prog_RANLIB
9785 if test -n "$RANLIB"; then
9786 - echo "$as_me:$LINENO: result: $RANLIB" >&5
9787 -echo "${ECHO_T}$RANLIB" >&6
9788 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
9789 +echo "${ECHO_T}$RANLIB" >&6; }
9791 - echo "$as_me:$LINENO: result: no" >&5
9792 -echo "${ECHO_T}no" >&6
9793 + { echo "$as_me:$LINENO: result: no" >&5
9794 +echo "${ECHO_T}no" >&6; }
9799 if test -z "$ac_cv_prog_RANLIB"; then
9800 ac_ct_RANLIB=$RANLIB
9801 # Extract the first word of "ranlib", so it can be a program name with args.
9802 set dummy ranlib; ac_word=$2
9803 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9804 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9805 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9806 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9807 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 @@ -10268,36 +10818,50 @@
9812 test -z "$as_dir" && as_dir=.
9813 for ac_exec_ext in '' $ac_executable_extensions; do
9814 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9815 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9816 ac_cv_prog_ac_ct_RANLIB="ranlib"
9817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9827 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9828 if test -n "$ac_ct_RANLIB"; then
9829 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9830 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
9831 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9832 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9834 - echo "$as_me:$LINENO: result: no" >&5
9835 -echo "${ECHO_T}no" >&6
9836 + { echo "$as_me:$LINENO: result: no" >&5
9837 +echo "${ECHO_T}no" >&6; }
9840 - RANLIB=$ac_ct_RANLIB
9842 + if test "x$ac_ct_RANLIB" = x; then
9845 + case $cross_compiling:$ac_tool_warned in
9847 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9848 +whose name does not start with the host triplet. If you think this
9849 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9850 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9851 +whose name does not start with the host triplet. If you think this
9852 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9853 +ac_tool_warned=yes ;;
9855 + RANLIB=$ac_ct_RANLIB
9858 RANLIB="$ac_cv_prog_RANLIB"
9861 if test -n "$ac_tool_prefix"; then
9862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9863 set dummy ${ac_tool_prefix}strip; ac_word=$2
9864 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9865 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9867 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9868 if test "${ac_cv_prog_STRIP+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 @@ -10310,32 +10874,34 @@
9873 test -z "$as_dir" && as_dir=.
9874 for ac_exec_ext in '' $ac_executable_extensions; do
9875 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9876 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9877 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 STRIP=$ac_cv_prog_STRIP
9888 if test -n "$STRIP"; then
9889 - echo "$as_me:$LINENO: result: $STRIP" >&5
9890 -echo "${ECHO_T}$STRIP" >&6
9891 + { echo "$as_me:$LINENO: result: $STRIP" >&5
9892 +echo "${ECHO_T}$STRIP" >&6; }
9894 - echo "$as_me:$LINENO: result: no" >&5
9895 -echo "${ECHO_T}no" >&6
9896 + { echo "$as_me:$LINENO: result: no" >&5
9897 +echo "${ECHO_T}no" >&6; }
9902 if test -z "$ac_cv_prog_STRIP"; then
9904 # Extract the first word of "strip", so it can be a program name with args.
9905 set dummy strip; ac_word=$2
9906 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9907 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9909 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9910 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 @@ -10348,27 +10914,41 @@
9915 test -z "$as_dir" && as_dir=.
9916 for ac_exec_ext in '' $ac_executable_extensions; do
9917 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9918 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9919 ac_cv_prog_ac_ct_STRIP="strip"
9920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9927 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
9930 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9931 if test -n "$ac_ct_STRIP"; then
9932 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9933 -echo "${ECHO_T}$ac_ct_STRIP" >&6
9934 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9935 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9937 - echo "$as_me:$LINENO: result: no" >&5
9938 -echo "${ECHO_T}no" >&6
9939 + { echo "$as_me:$LINENO: result: no" >&5
9940 +echo "${ECHO_T}no" >&6; }
9943 - STRIP=$ac_ct_STRIP
9944 + if test "x$ac_ct_STRIP" = x; then
9947 + case $cross_compiling:$ac_tool_warned in
9949 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9950 +whose name does not start with the host triplet. If you think this
9951 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9952 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9953 +whose name does not start with the host triplet. If you think this
9954 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9955 +ac_tool_warned=yes ;;
9957 + STRIP=$ac_ct_STRIP
9960 STRIP="$ac_cv_prog_STRIP"
9962 @@ -10427,8 +11007,8 @@
9963 case $deplibs_check_method in
9965 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9966 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9967 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
9968 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9969 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9970 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9971 echo $ECHO_N "(cached) $ECHO_C" >&6
9973 @@ -10480,17 +11060,17 @@
9975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9976 if test -n "$MAGIC_CMD"; then
9977 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9978 -echo "${ECHO_T}$MAGIC_CMD" >&6
9979 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9980 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
9982 - echo "$as_me:$LINENO: result: no" >&5
9983 -echo "${ECHO_T}no" >&6
9984 + { echo "$as_me:$LINENO: result: no" >&5
9985 +echo "${ECHO_T}no" >&6; }
9988 if test -z "$lt_cv_path_MAGIC_CMD"; then
9989 if test -n "$ac_tool_prefix"; then
9990 - echo "$as_me:$LINENO: checking for file" >&5
9991 -echo $ECHO_N "checking for file... $ECHO_C" >&6
9992 + { echo "$as_me:$LINENO: checking for file" >&5
9993 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9994 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 @@ -10542,11 +11122,11 @@
9999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10000 if test -n "$MAGIC_CMD"; then
10001 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10002 -echo "${ECHO_T}$MAGIC_CMD" >&6
10003 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10004 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
10006 - echo "$as_me:$LINENO: result: no" >&5
10007 -echo "${ECHO_T}no" >&6
10008 + { echo "$as_me:$LINENO: result: no" >&5
10009 +echo "${ECHO_T}no" >&6; }
10013 @@ -10561,21 +11141,21 @@
10015 enable_win32_dll=yes
10017 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10018 +# Check whether --enable-libtool-lock was given.
10019 if test "${enable_libtool_lock+set}" = set; then
10020 - enableval="$enable_libtool_lock"
10021 + enableval=$enable_libtool_lock;
10025 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10028 -# Check whether --with-pic or --without-pic was given.
10029 +# Check whether --with-pic was given.
10030 if test "${with_pic+set}" = set; then
10031 - withval="$with_pic"
10032 - pic_mode="$withval"
10033 + withval=$with_pic; pic_mode="$withval"
10039 test -z "$pic_mode" && pic_mode=default
10041 # Use C for the default configuration in the libtool script
10042 @@ -10633,8 +11213,8 @@
10043 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10046 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10047 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
10048 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10049 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10050 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 @@ -10651,11 +11231,11 @@
10054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10056 -e 's:$: $lt_compiler_flag:'`
10057 - (eval echo "\"\$as_me:10654: $lt_compile\"" >&5)
10058 + (eval echo "\"\$as_me:11234: $lt_compile\"" >&5)
10059 (eval "$lt_compile" 2>conftest.err)
10061 cat conftest.err >&5
10062 - echo "$as_me:10658: \$? = $ac_status" >&5
10063 + echo "$as_me:11238: \$? = $ac_status" >&5
10064 if (exit $ac_status) && test -s "$ac_outfile"; then
10065 # The compiler can only warn and ignore the option if not recognized
10066 # So say no if there are warnings other than the usual output.
10067 @@ -10668,8 +11248,8 @@
10071 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10072 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
10073 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10074 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10076 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10077 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10078 @@ -10683,8 +11263,8 @@
10079 lt_prog_compiler_pic=
10080 lt_prog_compiler_static=
10082 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10083 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10084 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10085 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10087 if test "$GCC" = yes; then
10088 lt_prog_compiler_wl='-Wl,'
10089 @@ -10893,16 +11473,16 @@
10093 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10094 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
10095 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10096 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10099 # Check to make sure the PIC flag actually works.
10101 if test -n "$lt_prog_compiler_pic"; then
10103 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10104 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
10105 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10106 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10107 if test "${lt_prog_compiler_pic_works+set}" = set; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 @@ -10919,11 +11499,11 @@
10111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10113 -e 's:$: $lt_compiler_flag:'`
10114 - (eval echo "\"\$as_me:10922: $lt_compile\"" >&5)
10115 + (eval echo "\"\$as_me:11502: $lt_compile\"" >&5)
10116 (eval "$lt_compile" 2>conftest.err)
10118 cat conftest.err >&5
10119 - echo "$as_me:10926: \$? = $ac_status" >&5
10120 + echo "$as_me:11506: \$? = $ac_status" >&5
10121 if (exit $ac_status) && test -s "$ac_outfile"; then
10122 # The compiler can only warn and ignore the option if not recognized
10123 # So say no if there are warnings other than the usual output.
10124 @@ -10936,8 +11516,8 @@
10128 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10129 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
10130 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10131 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10133 if test x"$lt_prog_compiler_pic_works" = xyes; then
10134 case $lt_prog_compiler_pic in
10135 @@ -10964,8 +11544,8 @@
10136 # Check to make sure the static flag actually works.
10138 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10139 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10140 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
10141 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10142 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10143 if test "${lt_prog_compiler_static_works+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 @@ -10992,8 +11572,8 @@
10147 LDFLAGS="$save_LDFLAGS"
10150 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10151 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
10152 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10153 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10155 if test x"$lt_prog_compiler_static_works" = xyes; then
10157 @@ -11002,8 +11582,8 @@
10161 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10162 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10163 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10164 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10165 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 @@ -11023,11 +11603,11 @@
10169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10171 -e 's:$: $lt_compiler_flag:'`
10172 - (eval echo "\"\$as_me:11026: $lt_compile\"" >&5)
10173 + (eval echo "\"\$as_me:11606: $lt_compile\"" >&5)
10174 (eval "$lt_compile" 2>out/conftest.err)
10176 cat out/conftest.err >&5
10177 - echo "$as_me:11030: \$? = $ac_status" >&5
10178 + echo "$as_me:11610: \$? = $ac_status" >&5
10179 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10181 # The compiler can only warn and ignore the option if not recognized
10182 @@ -11049,23 +11629,23 @@
10186 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10187 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
10188 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10189 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10192 hard_links="nottested"
10193 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10194 # do not overwrite the value of need_locks provided by the user
10195 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10196 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10197 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10198 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10203 ln conftest.a conftest.b 2>&5 || hard_links=no
10204 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10205 - echo "$as_me:$LINENO: result: $hard_links" >&5
10206 -echo "${ECHO_T}$hard_links" >&6
10207 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10208 +echo "${ECHO_T}$hard_links" >&6; }
10209 if test "$hard_links" = no; then
10210 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10211 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10212 @@ -11075,8 +11655,8 @@
10216 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10217 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10218 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10219 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10222 allow_undefined_flag=
10223 @@ -11492,26 +12072,23 @@
10226 rm -f conftest.$ac_objext conftest$ac_exeext
10227 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10228 - (eval $ac_link) 2>conftest.er1
10229 +if { (ac_try="$ac_link"
10230 +case "(($ac_try" in
10231 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10232 + *) ac_try_echo=$ac_try;;
10234 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10235 + (eval "$ac_link") 2>conftest.er1
10237 grep -v '^ *+' conftest.er1 >conftest.err
10239 cat conftest.err >&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 - (exit $ac_status); } &&
10242 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10244 - (eval $ac_try) 2>&5
10246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 - (exit $ac_status); }; } &&
10248 - { ac_try='test -s conftest$ac_exeext'
10249 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250 - (eval $ac_try) 2>&5
10252 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 - (exit $ac_status); }; }; then
10254 + (exit $ac_status); } && {
10255 + test -z "$ac_c_werror_flag" ||
10256 + test ! -s conftest.err
10257 + } && test -s conftest$ac_exeext &&
10258 + $as_test_x conftest$ac_exeext; then
10260 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10262 @@ -11522,8 +12099,10 @@
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10268 -rm -f conftest.err conftest.$ac_objext \
10270 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10274 @@ -11552,26 +12131,23 @@
10277 rm -f conftest.$ac_objext conftest$ac_exeext
10278 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10279 - (eval $ac_link) 2>conftest.er1
10280 +if { (ac_try="$ac_link"
10281 +case "(($ac_try" in
10282 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10283 + *) ac_try_echo=$ac_try;;
10285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10286 + (eval "$ac_link") 2>conftest.er1
10288 grep -v '^ *+' conftest.er1 >conftest.err
10290 cat conftest.err >&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 - (exit $ac_status); } &&
10293 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 - (eval $ac_try) 2>&5
10297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 - (exit $ac_status); }; } &&
10299 - { ac_try='test -s conftest$ac_exeext'
10300 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 - (eval $ac_try) 2>&5
10303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 - (exit $ac_status); }; }; then
10305 + (exit $ac_status); } && {
10306 + test -z "$ac_c_werror_flag" ||
10307 + test ! -s conftest.err
10308 + } && test -s conftest$ac_exeext &&
10309 + $as_test_x conftest$ac_exeext; then
10311 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10313 @@ -11582,8 +12158,10 @@
10314 echo "$as_me: failed program was:" >&5
10315 sed 's/^/| /' conftest.$ac_ext >&5
10319 -rm -f conftest.err conftest.$ac_objext \
10321 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10322 conftest$ac_exeext conftest.$ac_ext
10323 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10325 @@ -12041,8 +12619,8 @@
10329 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10330 -echo "${ECHO_T}$ld_shlibs" >&6
10331 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10332 +echo "${ECHO_T}$ld_shlibs" >&6; }
10333 test "$ld_shlibs" = no && can_build_shared=no
10336 @@ -12062,8 +12640,8 @@
10337 # Test whether the compiler implicitly links with -lc since on some
10338 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10339 # to ld, don't add -lc before -lgcc.
10340 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10341 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10342 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10343 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10345 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10347 @@ -12100,16 +12678,16 @@
10348 cat conftest.err 1>&5
10351 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10352 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
10353 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10354 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10361 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10362 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10363 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10364 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10365 library_names_spec=
10366 libname_spec='lib$name'
10368 @@ -12708,8 +13286,8 @@
10372 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10373 -echo "${ECHO_T}$dynamic_linker" >&6
10374 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10375 +echo "${ECHO_T}$dynamic_linker" >&6; }
10376 test "$dynamic_linker" = no && can_build_shared=no
10378 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10379 @@ -12717,8 +13295,8 @@
10380 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10383 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10384 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10385 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10386 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10388 if test -n "$hardcode_libdir_flag_spec" || \
10389 test -n "$runpath_var" || \
10390 @@ -12742,8 +13320,8 @@
10392 hardcode_action=unsupported
10394 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
10395 -echo "${ECHO_T}$hardcode_action" >&6
10396 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10397 +echo "${ECHO_T}$hardcode_action" >&6; }
10399 if test "$hardcode_action" = relink; then
10400 # Fast installation is not supported
10401 @@ -12756,29 +13334,29 @@
10405 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10406 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10407 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10408 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10409 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10410 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10411 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10412 - echo "$as_me:$LINENO: result: yes" >&5
10413 -echo "${ECHO_T}yes" >&6
10414 + { echo "$as_me:$LINENO: result: yes" >&5
10415 +echo "${ECHO_T}yes" >&6; }
10417 # FIXME - insert some real tests, host_os isn't really good enough
10420 if test -n "$STRIP" ; then
10421 striplib="$STRIP -x"
10422 - echo "$as_me:$LINENO: result: yes" >&5
10423 -echo "${ECHO_T}yes" >&6
10424 + { echo "$as_me:$LINENO: result: yes" >&5
10425 +echo "${ECHO_T}yes" >&6; }
10427 - echo "$as_me:$LINENO: result: no" >&5
10428 -echo "${ECHO_T}no" >&6
10429 + { echo "$as_me:$LINENO: result: no" >&5
10430 +echo "${ECHO_T}no" >&6; }
10434 - echo "$as_me:$LINENO: result: no" >&5
10435 -echo "${ECHO_T}no" >&6
10436 + { echo "$as_me:$LINENO: result: no" >&5
10437 +echo "${ECHO_T}no" >&6; }
10441 @@ -12810,8 +13388,8 @@
10444 # if libdl is installed we need to link against it
10445 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10446 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10447 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10448 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10449 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10450 echo $ECHO_N "(cached) $ECHO_C" >&6
10452 @@ -12824,55 +13402,53 @@
10453 cat >>conftest.$ac_ext <<_ACEOF
10454 /* end confdefs.h. */
10456 -/* Override any gcc2 internal prototype to avoid an error. */
10457 +/* Override any GCC internal prototype to avoid an error.
10458 + Use char because int might match the return type of a GCC
10459 + builtin and then its argument prototype would still apply. */
10463 -/* We use char because int might match the return type of a gcc2
10464 - builtin and then its argument prototype would still apply. */
10475 rm -f conftest.$ac_objext conftest$ac_exeext
10476 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10477 - (eval $ac_link) 2>conftest.er1
10478 +if { (ac_try="$ac_link"
10479 +case "(($ac_try" in
10480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10481 + *) ac_try_echo=$ac_try;;
10483 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10484 + (eval "$ac_link") 2>conftest.er1
10486 grep -v '^ *+' conftest.er1 >conftest.err
10488 cat conftest.err >&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 - (exit $ac_status); } &&
10491 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 - (eval $ac_try) 2>&5
10495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 - (exit $ac_status); }; } &&
10497 - { ac_try='test -s conftest$ac_exeext'
10498 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 - (eval $ac_try) 2>&5
10501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 - (exit $ac_status); }; }; then
10503 + (exit $ac_status); } && {
10504 + test -z "$ac_c_werror_flag" ||
10505 + test ! -s conftest.err
10506 + } && test -s conftest$ac_exeext &&
10507 + $as_test_x conftest$ac_exeext; then
10508 ac_cv_lib_dl_dlopen=yes
10510 echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.$ac_ext >&5
10513 -ac_cv_lib_dl_dlopen=no
10514 + ac_cv_lib_dl_dlopen=no
10516 -rm -f conftest.err conftest.$ac_objext \
10518 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_lib_save_LIBS
10522 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10523 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10524 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10525 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10526 if test $ac_cv_lib_dl_dlopen = yes; then
10527 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10529 @@ -12886,8 +13462,8 @@
10533 - echo "$as_me:$LINENO: checking for shl_load" >&5
10534 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10535 + { echo "$as_me:$LINENO: checking for shl_load" >&5
10536 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10537 if test "${ac_cv_func_shl_load+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 @@ -12914,72 +13490,64 @@
10544 -/* Override any gcc2 internal prototype to avoid an error. */
10545 +/* Override any GCC internal prototype to avoid an error.
10546 + Use char because int might match the return type of a GCC
10547 + builtin and then its argument prototype would still apply. */
10552 -/* We use char because int might match the return type of a gcc2
10553 - builtin and then its argument prototype would still apply. */
10555 /* The GNU C library defines this for functions which it implements
10556 to always fail with ENOSYS. Some functions are actually named
10557 something starting with __ and the normal name is an alias. */
10558 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
10559 +#if defined __stub_shl_load || defined __stub___shl_load
10562 -char (*f) () = shl_load;
10564 -#ifdef __cplusplus
10571 -return f != shl_load;
10572 +return shl_load ();
10577 rm -f conftest.$ac_objext conftest$ac_exeext
10578 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10579 - (eval $ac_link) 2>conftest.er1
10580 +if { (ac_try="$ac_link"
10581 +case "(($ac_try" in
10582 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10583 + *) ac_try_echo=$ac_try;;
10585 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10586 + (eval "$ac_link") 2>conftest.er1
10588 grep -v '^ *+' conftest.er1 >conftest.err
10590 cat conftest.err >&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 - (exit $ac_status); } &&
10593 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10594 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 - (eval $ac_try) 2>&5
10597 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 - (exit $ac_status); }; } &&
10599 - { ac_try='test -s conftest$ac_exeext'
10600 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 - (eval $ac_try) 2>&5
10603 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 - (exit $ac_status); }; }; then
10605 + (exit $ac_status); } && {
10606 + test -z "$ac_c_werror_flag" ||
10607 + test ! -s conftest.err
10608 + } && test -s conftest$ac_exeext &&
10609 + $as_test_x conftest$ac_exeext; then
10610 ac_cv_func_shl_load=yes
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10615 -ac_cv_func_shl_load=no
10616 + ac_cv_func_shl_load=no
10618 -rm -f conftest.err conftest.$ac_objext \
10620 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10621 conftest$ac_exeext conftest.$ac_ext
10623 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10624 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10625 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10626 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10627 if test $ac_cv_func_shl_load = yes; then
10628 lt_cv_dlopen="shl_load"
10630 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10631 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10632 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10633 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10634 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 @@ -12992,60 +13560,58 @@
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10641 -/* Override any gcc2 internal prototype to avoid an error. */
10642 +/* Override any GCC internal prototype to avoid an error.
10643 + Use char because int might match the return type of a GCC
10644 + builtin and then its argument prototype would still apply. */
10648 -/* We use char because int might match the return type of a gcc2
10649 - builtin and then its argument prototype would still apply. */
10655 +return shl_load ();
10660 rm -f conftest.$ac_objext conftest$ac_exeext
10661 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10662 - (eval $ac_link) 2>conftest.er1
10663 +if { (ac_try="$ac_link"
10664 +case "(($ac_try" in
10665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 + *) ac_try_echo=$ac_try;;
10668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 + (eval "$ac_link") 2>conftest.er1
10671 grep -v '^ *+' conftest.er1 >conftest.err
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 - (exit $ac_status); } &&
10676 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10677 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 - (eval $ac_try) 2>&5
10680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 - (exit $ac_status); }; } &&
10682 - { ac_try='test -s conftest$ac_exeext'
10683 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 - (eval $ac_try) 2>&5
10686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 - (exit $ac_status); }; }; then
10688 + (exit $ac_status); } && {
10689 + test -z "$ac_c_werror_flag" ||
10690 + test ! -s conftest.err
10691 + } && test -s conftest$ac_exeext &&
10692 + $as_test_x conftest$ac_exeext; then
10693 ac_cv_lib_dld_shl_load=yes
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 -ac_cv_lib_dld_shl_load=no
10699 + ac_cv_lib_dld_shl_load=no
10701 -rm -f conftest.err conftest.$ac_objext \
10703 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10708 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10709 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10710 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10711 if test $ac_cv_lib_dld_shl_load = yes; then
10712 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10714 - echo "$as_me:$LINENO: checking for dlopen" >&5
10715 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10716 + { echo "$as_me:$LINENO: checking for dlopen" >&5
10717 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10718 if test "${ac_cv_func_dlopen+set}" = set; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 @@ -13072,72 +13638,64 @@
10725 -/* Override any gcc2 internal prototype to avoid an error. */
10726 +/* Override any GCC internal prototype to avoid an error.
10727 + Use char because int might match the return type of a GCC
10728 + builtin and then its argument prototype would still apply. */
10733 -/* We use char because int might match the return type of a gcc2
10734 - builtin and then its argument prototype would still apply. */
10736 /* The GNU C library defines this for functions which it implements
10737 to always fail with ENOSYS. Some functions are actually named
10738 something starting with __ and the normal name is an alias. */
10739 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
10740 +#if defined __stub_dlopen || defined __stub___dlopen
10743 -char (*f) () = dlopen;
10745 -#ifdef __cplusplus
10752 -return f != dlopen;
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760 - (eval $ac_link) 2>conftest.er1
10761 +if { (ac_try="$ac_link"
10762 +case "(($ac_try" in
10763 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 + *) ac_try_echo=$ac_try;;
10766 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 + (eval "$ac_link") 2>conftest.er1
10769 grep -v '^ *+' conftest.er1 >conftest.err
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 - (exit $ac_status); } &&
10774 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 - (eval $ac_try) 2>&5
10778 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 - (exit $ac_status); }; } &&
10780 - { ac_try='test -s conftest$ac_exeext'
10781 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 - (eval $ac_try) 2>&5
10784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 - (exit $ac_status); }; }; then
10786 + (exit $ac_status); } && {
10787 + test -z "$ac_c_werror_flag" ||
10788 + test ! -s conftest.err
10789 + } && test -s conftest$ac_exeext &&
10790 + $as_test_x conftest$ac_exeext; then
10791 ac_cv_func_dlopen=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.$ac_ext >&5
10796 -ac_cv_func_dlopen=no
10797 + ac_cv_func_dlopen=no
10799 -rm -f conftest.err conftest.$ac_objext \
10801 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10802 conftest$ac_exeext conftest.$ac_ext
10804 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10805 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10806 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10807 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10808 if test $ac_cv_func_dlopen = yes; then
10809 lt_cv_dlopen="dlopen"
10811 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10812 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10813 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10814 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10815 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 @@ -13150,60 +13708,58 @@
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10822 -/* Override any gcc2 internal prototype to avoid an error. */
10823 +/* Override any GCC internal prototype to avoid an error.
10824 + Use char because int might match the return type of a GCC
10825 + builtin and then its argument prototype would still apply. */
10829 -/* We use char because int might match the return type of a gcc2
10830 - builtin and then its argument prototype would still apply. */
10841 rm -f conftest.$ac_objext conftest$ac_exeext
10842 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10843 - (eval $ac_link) 2>conftest.er1
10844 +if { (ac_try="$ac_link"
10845 +case "(($ac_try" in
10846 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10847 + *) ac_try_echo=$ac_try;;
10849 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10850 + (eval "$ac_link") 2>conftest.er1
10852 grep -v '^ *+' conftest.er1 >conftest.err
10854 cat conftest.err >&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 - (exit $ac_status); } &&
10857 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 - (eval $ac_try) 2>&5
10861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 - (exit $ac_status); }; } &&
10863 - { ac_try='test -s conftest$ac_exeext'
10864 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 - (eval $ac_try) 2>&5
10867 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 - (exit $ac_status); }; }; then
10869 + (exit $ac_status); } && {
10870 + test -z "$ac_c_werror_flag" ||
10871 + test ! -s conftest.err
10872 + } && test -s conftest$ac_exeext &&
10873 + $as_test_x conftest$ac_exeext; then
10874 ac_cv_lib_dl_dlopen=yes
10876 echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10879 -ac_cv_lib_dl_dlopen=no
10880 + ac_cv_lib_dl_dlopen=no
10882 -rm -f conftest.err conftest.$ac_objext \
10884 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS=$ac_check_lib_save_LIBS
10888 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10889 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10890 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10891 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10892 if test $ac_cv_lib_dl_dlopen = yes; then
10893 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10895 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10896 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10897 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10898 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10899 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 @@ -13216,60 +13772,58 @@
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10906 -/* Override any gcc2 internal prototype to avoid an error. */
10907 +/* Override any GCC internal prototype to avoid an error.
10908 + Use char because int might match the return type of a GCC
10909 + builtin and then its argument prototype would still apply. */
10913 -/* We use char because int might match the return type of a gcc2
10914 - builtin and then its argument prototype would still apply. */
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10927 - (eval $ac_link) 2>conftest.er1
10928 +if { (ac_try="$ac_link"
10929 +case "(($ac_try" in
10930 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10931 + *) ac_try_echo=$ac_try;;
10933 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10934 + (eval "$ac_link") 2>conftest.er1
10936 grep -v '^ *+' conftest.er1 >conftest.err
10938 cat conftest.err >&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 - (exit $ac_status); } &&
10941 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10942 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 - (eval $ac_try) 2>&5
10945 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 - (exit $ac_status); }; } &&
10947 - { ac_try='test -s conftest$ac_exeext'
10948 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 - (eval $ac_try) 2>&5
10951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 - (exit $ac_status); }; }; then
10953 + (exit $ac_status); } && {
10954 + test -z "$ac_c_werror_flag" ||
10955 + test ! -s conftest.err
10956 + } && test -s conftest$ac_exeext &&
10957 + $as_test_x conftest$ac_exeext; then
10958 ac_cv_lib_svld_dlopen=yes
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.$ac_ext >&5
10963 -ac_cv_lib_svld_dlopen=no
10964 + ac_cv_lib_svld_dlopen=no
10966 -rm -f conftest.err conftest.$ac_objext \
10968 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_lib_save_LIBS
10972 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10973 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10974 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10975 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10976 if test $ac_cv_lib_svld_dlopen = yes; then
10977 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10979 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10980 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10981 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10982 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10983 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10984 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 @@ -13282,55 +13836,53 @@
10987 cat >>conftest.$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10990 -/* Override any gcc2 internal prototype to avoid an error. */
10991 +/* Override any GCC internal prototype to avoid an error.
10992 + Use char because int might match the return type of a GCC
10993 + builtin and then its argument prototype would still apply. */
10997 -/* We use char because int might match the return type of a gcc2
10998 - builtin and then its argument prototype would still apply. */
11004 +return dld_link ();
11009 rm -f conftest.$ac_objext conftest$ac_exeext
11010 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11011 - (eval $ac_link) 2>conftest.er1
11012 +if { (ac_try="$ac_link"
11013 +case "(($ac_try" in
11014 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11015 + *) ac_try_echo=$ac_try;;
11017 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11018 + (eval "$ac_link") 2>conftest.er1
11020 grep -v '^ *+' conftest.er1 >conftest.err
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 - (exit $ac_status); } &&
11025 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11026 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 - (eval $ac_try) 2>&5
11029 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 - (exit $ac_status); }; } &&
11031 - { ac_try='test -s conftest$ac_exeext'
11032 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 - (eval $ac_try) 2>&5
11035 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 - (exit $ac_status); }; }; then
11037 + (exit $ac_status); } && {
11038 + test -z "$ac_c_werror_flag" ||
11039 + test ! -s conftest.err
11040 + } && test -s conftest$ac_exeext &&
11041 + $as_test_x conftest$ac_exeext; then
11042 ac_cv_lib_dld_dld_link=yes
11044 echo "$as_me: failed program was:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11047 -ac_cv_lib_dld_dld_link=no
11048 + ac_cv_lib_dld_dld_link=no
11050 -rm -f conftest.err conftest.$ac_objext \
11052 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11057 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11058 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11059 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11060 if test $ac_cv_lib_dld_dld_link = yes; then
11061 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11063 @@ -13370,8 +13922,8 @@
11065 LIBS="$lt_cv_dlopen_libs $LIBS"
11067 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11068 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11069 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11070 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11071 if test "${lt_cv_dlopen_self+set}" = set; then
11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 @@ -13381,7 +13933,7 @@
11075 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11076 lt_status=$lt_dlunknown
11077 cat > conftest.$ac_ext <<EOF
11078 -#line 13384 "configure"
11079 +#line 13936 "configure"
11080 #include "confdefs.h"
11083 @@ -13465,13 +14017,13 @@
11087 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11088 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11089 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11090 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11092 if test "x$lt_cv_dlopen_self" = xyes; then
11093 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11094 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11095 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11096 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11097 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11098 if test "${lt_cv_dlopen_self_static+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 @@ -13481,7 +14033,7 @@
11102 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11103 lt_status=$lt_dlunknown
11104 cat > conftest.$ac_ext <<EOF
11105 -#line 13484 "configure"
11106 +#line 14036 "configure"
11107 #include "confdefs.h"
11110 @@ -13565,8 +14117,8 @@
11114 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11115 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11116 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11117 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11120 CPPFLAGS="$save_CPPFLAGS"
11121 @@ -13588,13 +14140,13 @@
11124 # Report which library types will actually be built
11125 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11126 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11127 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
11128 -echo "${ECHO_T}$can_build_shared" >&6
11129 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11130 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11131 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11132 +echo "${ECHO_T}$can_build_shared" >&6; }
11134 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11135 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11136 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11137 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11138 test "$can_build_shared" = "no" && enable_shared=no
11140 # On AIX, shared libraries and static libraries use the same namespace, and
11141 @@ -13614,15 +14166,15 @@
11145 -echo "$as_me:$LINENO: result: $enable_shared" >&5
11146 -echo "${ECHO_T}$enable_shared" >&6
11147 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11148 +echo "${ECHO_T}$enable_shared" >&6; }
11150 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11151 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11152 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11153 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11154 # Make sure either enable_shared or enable_static is yes.
11155 test "$enable_shared" = yes || enable_static=yes
11156 -echo "$as_me:$LINENO: result: $enable_static" >&5
11157 -echo "${ECHO_T}$enable_static" >&6
11158 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
11159 +echo "${ECHO_T}$enable_static" >&6; }
11161 # The else clause should only fire when bootstrapping the
11162 # libtool distribution, otherwise you forgot to ship ltmain.sh
11163 @@ -14114,11 +14666,11 @@
11167 -# Check whether --with-tags or --without-tags was given.
11168 +# Check whether --with-tags was given.
11169 if test "${with_tags+set}" = set; then
11170 - withval="$with_tags"
11171 - tagnames="$withval"
11173 + withval=$with_tags; tagnames="$withval"
11177 if test -f "$ltmain" && test -n "$tagnames"; then
11178 if test ! -f "${ofile}"; then
11179 @@ -14172,7 +14724,7 @@
11180 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11181 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11182 (test "X$CXX" != "Xg++"))) ; then
11185 ac_cpp='$CXXCPP $CPPFLAGS'
11186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188 @@ -14291,18 +14843,18 @@
11189 # Set up default GNU C++ configuration
11192 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
11193 +# Check whether --with-gnu-ld was given.
11194 if test "${with_gnu_ld+set}" = set; then
11195 - withval="$with_gnu_ld"
11196 - test "$withval" = no || with_gnu_ld=yes
11197 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11204 if test "$GCC" = yes; then
11205 # Check if gcc -print-prog-name=ld gives a path.
11206 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11207 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11208 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11209 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11212 # gcc leaves a trailing carriage return which upsets mingw
11213 @@ -14331,11 +14883,11 @@
11216 elif test "$with_gnu_ld" = yes; then
11217 - echo "$as_me:$LINENO: checking for GNU ld" >&5
11218 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11219 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
11220 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11222 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11223 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11224 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11225 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11227 if test "${lt_cv_path_LD+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 @@ -14368,17 +14920,17 @@
11231 LD="$lt_cv_path_LD"
11232 if test -n "$LD"; then
11233 - echo "$as_me:$LINENO: result: $LD" >&5
11234 -echo "${ECHO_T}$LD" >&6
11235 + { echo "$as_me:$LINENO: result: $LD" >&5
11236 +echo "${ECHO_T}$LD" >&6; }
11238 - echo "$as_me:$LINENO: result: no" >&5
11239 -echo "${ECHO_T}no" >&6
11240 + { echo "$as_me:$LINENO: result: no" >&5
11241 +echo "${ECHO_T}no" >&6; }
11243 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11244 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11245 { (exit 1); exit 1; }; }
11246 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11247 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11248 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11249 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11250 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 @@ -14392,8 +14944,8 @@
11257 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11258 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11259 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11260 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11261 with_gnu_ld=$lt_cv_prog_gnu_ld
11264 @@ -14443,8 +14995,8 @@
11267 # PORTME: fill in a description of your system's C++ link characteristics
11268 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11269 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11270 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11271 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11275 @@ -14556,26 +15108,23 @@
11278 rm -f conftest.$ac_objext conftest$ac_exeext
11279 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11280 - (eval $ac_link) 2>conftest.er1
11281 +if { (ac_try="$ac_link"
11282 +case "(($ac_try" in
11283 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 + *) ac_try_echo=$ac_try;;
11286 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 + (eval "$ac_link") 2>conftest.er1
11289 grep -v '^ *+' conftest.er1 >conftest.err
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 - (exit $ac_status); } &&
11294 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11295 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 - (eval $ac_try) 2>&5
11298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 - (exit $ac_status); }; } &&
11300 - { ac_try='test -s conftest$ac_exeext'
11301 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 - (eval $ac_try) 2>&5
11304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 - (exit $ac_status); }; }; then
11306 + (exit $ac_status); } && {
11307 + test -z "$ac_cxx_werror_flag" ||
11308 + test ! -s conftest.err
11309 + } && test -s conftest$ac_exeext &&
11310 + $as_test_x conftest$ac_exeext; then
11312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11314 @@ -14586,8 +15135,10 @@
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11320 -rm -f conftest.err conftest.$ac_objext \
11322 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11323 conftest$ac_exeext conftest.$ac_ext
11324 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11326 @@ -14617,26 +15168,23 @@
11329 rm -f conftest.$ac_objext conftest$ac_exeext
11330 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11331 - (eval $ac_link) 2>conftest.er1
11332 +if { (ac_try="$ac_link"
11333 +case "(($ac_try" in
11334 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11335 + *) ac_try_echo=$ac_try;;
11337 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11338 + (eval "$ac_link") 2>conftest.er1
11340 grep -v '^ *+' conftest.er1 >conftest.err
11342 cat conftest.err >&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 - (exit $ac_status); } &&
11345 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11346 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 - (eval $ac_try) 2>&5
11349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 - (exit $ac_status); }; } &&
11351 - { ac_try='test -s conftest$ac_exeext'
11352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11353 - (eval $ac_try) 2>&5
11355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 - (exit $ac_status); }; }; then
11357 + (exit $ac_status); } && {
11358 + test -z "$ac_cxx_werror_flag" ||
11359 + test ! -s conftest.err
11360 + } && test -s conftest$ac_exeext &&
11361 + $as_test_x conftest$ac_exeext; then
11363 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11365 @@ -14647,8 +15195,10 @@
11366 echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11371 -rm -f conftest.err conftest.$ac_objext \
11373 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11374 conftest$ac_exeext conftest.$ac_ext
11375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11377 @@ -15379,8 +15929,8 @@
11381 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11382 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
11383 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11384 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11385 test "$ld_shlibs_CXX" = no && can_build_shared=no
11388 @@ -15519,8 +16069,8 @@
11389 lt_prog_compiler_pic_CXX=
11390 lt_prog_compiler_static_CXX=
11392 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11393 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11394 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11395 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11397 # C++ specific cases for pic, static, wl, etc.
11398 if test "$GXX" = yes; then
11399 @@ -15793,16 +16343,16 @@
11403 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11404 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11405 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11406 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11409 # Check to make sure the PIC flag actually works.
11411 if test -n "$lt_prog_compiler_pic_CXX"; then
11413 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11414 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11415 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11416 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11417 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 @@ -15819,11 +16369,11 @@
11421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11423 -e 's:$: $lt_compiler_flag:'`
11424 - (eval echo "\"\$as_me:15822: $lt_compile\"" >&5)
11425 + (eval echo "\"\$as_me:16372: $lt_compile\"" >&5)
11426 (eval "$lt_compile" 2>conftest.err)
11428 cat conftest.err >&5
11429 - echo "$as_me:15826: \$? = $ac_status" >&5
11430 + echo "$as_me:16376: \$? = $ac_status" >&5
11431 if (exit $ac_status) && test -s "$ac_outfile"; then
11432 # The compiler can only warn and ignore the option if not recognized
11433 # So say no if there are warnings other than the usual output.
11434 @@ -15836,8 +16386,8 @@
11438 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11439 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11440 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11441 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11443 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11444 case $lt_prog_compiler_pic_CXX in
11445 @@ -15864,8 +16414,8 @@
11446 # Check to make sure the static flag actually works.
11448 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11449 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11450 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11451 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11452 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11453 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11456 @@ -15892,8 +16442,8 @@
11457 LDFLAGS="$save_LDFLAGS"
11460 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11461 -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11462 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11463 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11465 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11467 @@ -15902,8 +16452,8 @@
11471 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11472 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11473 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11474 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11475 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11478 @@ -15923,11 +16473,11 @@
11479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11481 -e 's:$: $lt_compiler_flag:'`
11482 - (eval echo "\"\$as_me:15926: $lt_compile\"" >&5)
11483 + (eval echo "\"\$as_me:16476: $lt_compile\"" >&5)
11484 (eval "$lt_compile" 2>out/conftest.err)
11486 cat out/conftest.err >&5
11487 - echo "$as_me:15930: \$? = $ac_status" >&5
11488 + echo "$as_me:16480: \$? = $ac_status" >&5
11489 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11491 # The compiler can only warn and ignore the option if not recognized
11492 @@ -15949,23 +16499,23 @@
11496 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11497 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11498 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11499 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11502 hard_links="nottested"
11503 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11504 # do not overwrite the value of need_locks provided by the user
11505 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11506 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11507 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11508 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11511 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11513 ln conftest.a conftest.b 2>&5 || hard_links=no
11514 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11515 - echo "$as_me:$LINENO: result: $hard_links" >&5
11516 -echo "${ECHO_T}$hard_links" >&6
11517 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11518 +echo "${ECHO_T}$hard_links" >&6; }
11519 if test "$hard_links" = no; then
11520 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11521 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11522 @@ -15975,8 +16525,8 @@
11526 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11527 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11528 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11529 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11531 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11533 @@ -16006,8 +16556,8 @@
11537 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11538 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
11539 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11540 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11541 test "$ld_shlibs_CXX" = no && can_build_shared=no
11544 @@ -16027,8 +16577,8 @@
11545 # Test whether the compiler implicitly links with -lc since on some
11546 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11547 # to ld, don't add -lc before -lgcc.
11548 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11549 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11550 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11551 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11553 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11555 @@ -16065,16 +16615,16 @@
11556 cat conftest.err 1>&5
11559 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11560 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11561 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11562 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11569 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11570 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11571 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11572 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11573 library_names_spec=
11574 libname_spec='lib$name'
11576 @@ -16673,8 +17223,8 @@
11580 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11581 -echo "${ECHO_T}$dynamic_linker" >&6
11582 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11583 +echo "${ECHO_T}$dynamic_linker" >&6; }
11584 test "$dynamic_linker" = no && can_build_shared=no
11586 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11587 @@ -16682,8 +17232,8 @@
11588 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11591 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11592 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11593 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11594 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11595 hardcode_action_CXX=
11596 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11597 test -n "$runpath_var_CXX" || \
11598 @@ -16707,8 +17257,8 @@
11600 hardcode_action_CXX=unsupported
11602 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11603 -echo "${ECHO_T}$hardcode_action_CXX" >&6
11604 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11605 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11607 if test "$hardcode_action_CXX" = relink; then
11608 # Fast installation is not supported
11609 @@ -17233,13 +17783,13 @@
11610 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11613 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11614 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11615 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
11616 -echo "${ECHO_T}$can_build_shared" >&6
11617 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11618 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11619 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11620 +echo "${ECHO_T}$can_build_shared" >&6; }
11622 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11623 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11624 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11625 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11626 test "$can_build_shared" = "no" && enable_shared=no
11628 # On AIX, shared libraries and static libraries use the same namespace, and
11629 @@ -17258,15 +17808,15 @@
11633 -echo "$as_me:$LINENO: result: $enable_shared" >&5
11634 -echo "${ECHO_T}$enable_shared" >&6
11635 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11636 +echo "${ECHO_T}$enable_shared" >&6; }
11638 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11639 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11640 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11641 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11642 # Make sure either enable_shared or enable_static is yes.
11643 test "$enable_shared" = yes || enable_static=yes
11644 -echo "$as_me:$LINENO: result: $enable_static" >&5
11645 -echo "${ECHO_T}$enable_static" >&6
11646 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
11647 +echo "${ECHO_T}$enable_static" >&6; }
11651 @@ -17275,8 +17825,8 @@
11652 lt_prog_compiler_pic_F77=
11653 lt_prog_compiler_static_F77=
11655 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11656 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11657 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11658 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11660 if test "$GCC" = yes; then
11661 lt_prog_compiler_wl_F77='-Wl,'
11662 @@ -17485,16 +18035,16 @@
11666 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
11667 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
11668 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
11669 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
11672 # Check to make sure the PIC flag actually works.
11674 if test -n "$lt_prog_compiler_pic_F77"; then
11676 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11677 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
11678 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
11679 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
11680 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 @@ -17511,11 +18061,11 @@
11684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11686 -e 's:$: $lt_compiler_flag:'`
11687 - (eval echo "\"\$as_me:17514: $lt_compile\"" >&5)
11688 + (eval echo "\"\$as_me:18064: $lt_compile\"" >&5)
11689 (eval "$lt_compile" 2>conftest.err)
11691 cat conftest.err >&5
11692 - echo "$as_me:17518: \$? = $ac_status" >&5
11693 + echo "$as_me:18068: \$? = $ac_status" >&5
11694 if (exit $ac_status) && test -s "$ac_outfile"; then
11695 # The compiler can only warn and ignore the option if not recognized
11696 # So say no if there are warnings other than the usual output.
11697 @@ -17528,8 +18078,8 @@
11701 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
11702 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
11703 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
11704 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
11706 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
11707 case $lt_prog_compiler_pic_F77 in
11708 @@ -17556,8 +18106,8 @@
11709 # Check to make sure the static flag actually works.
11711 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
11712 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11713 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11714 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11715 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11716 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 @@ -17584,8 +18134,8 @@
11720 LDFLAGS="$save_LDFLAGS"
11723 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
11724 -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
11725 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
11726 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
11728 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
11730 @@ -17594,8 +18144,8 @@
11734 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11735 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11736 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11737 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11738 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 @@ -17615,11 +18165,11 @@
11742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11744 -e 's:$: $lt_compiler_flag:'`
11745 - (eval echo "\"\$as_me:17618: $lt_compile\"" >&5)
11746 + (eval echo "\"\$as_me:18168: $lt_compile\"" >&5)
11747 (eval "$lt_compile" 2>out/conftest.err)
11749 cat out/conftest.err >&5
11750 - echo "$as_me:17622: \$? = $ac_status" >&5
11751 + echo "$as_me:18172: \$? = $ac_status" >&5
11752 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11754 # The compiler can only warn and ignore the option if not recognized
11755 @@ -17641,23 +18191,23 @@
11759 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
11760 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
11761 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
11762 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
11765 hard_links="nottested"
11766 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
11767 # do not overwrite the value of need_locks provided by the user
11768 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11769 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11770 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11771 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11774 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11776 ln conftest.a conftest.b 2>&5 || hard_links=no
11777 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11778 - echo "$as_me:$LINENO: result: $hard_links" >&5
11779 -echo "${ECHO_T}$hard_links" >&6
11780 + { echo "$as_me:$LINENO: result: $hard_links" >&5
11781 +echo "${ECHO_T}$hard_links" >&6; }
11782 if test "$hard_links" = no; then
11783 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11784 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11785 @@ -17667,8 +18217,8 @@
11789 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11790 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11791 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11792 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11795 allow_undefined_flag_F77=
11796 @@ -18074,26 +18624,23 @@
11799 rm -f conftest.$ac_objext conftest$ac_exeext
11800 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11801 - (eval $ac_link) 2>conftest.er1
11802 +if { (ac_try="$ac_link"
11803 +case "(($ac_try" in
11804 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 + *) ac_try_echo=$ac_try;;
11807 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 + (eval "$ac_link") 2>conftest.er1
11810 grep -v '^ *+' conftest.er1 >conftest.err
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 - (exit $ac_status); } &&
11815 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
11816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 - (eval $ac_try) 2>&5
11819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 - (exit $ac_status); }; } &&
11821 - { ac_try='test -s conftest$ac_exeext'
11822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 - (eval $ac_try) 2>&5
11825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 - (exit $ac_status); }; }; then
11827 + (exit $ac_status); } && {
11828 + test -z "$ac_f77_werror_flag" ||
11829 + test ! -s conftest.err
11830 + } && test -s conftest$ac_exeext &&
11831 + $as_test_x conftest$ac_exeext; then
11833 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11835 @@ -18104,8 +18651,10 @@
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.$ac_ext >&5
11841 -rm -f conftest.err conftest.$ac_objext \
11843 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11844 conftest$ac_exeext conftest.$ac_ext
11845 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11847 @@ -18124,26 +18673,23 @@
11850 rm -f conftest.$ac_objext conftest$ac_exeext
11851 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 - (eval $ac_link) 2>conftest.er1
11853 +if { (ac_try="$ac_link"
11854 +case "(($ac_try" in
11855 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11856 + *) ac_try_echo=$ac_try;;
11858 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11859 + (eval "$ac_link") 2>conftest.er1
11861 grep -v '^ *+' conftest.er1 >conftest.err
11863 cat conftest.err >&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 - (exit $ac_status); } &&
11866 - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
11867 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 - (eval $ac_try) 2>&5
11870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 - (exit $ac_status); }; } &&
11872 - { ac_try='test -s conftest$ac_exeext'
11873 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 - (eval $ac_try) 2>&5
11876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 - (exit $ac_status); }; }; then
11878 + (exit $ac_status); } && {
11879 + test -z "$ac_f77_werror_flag" ||
11880 + test ! -s conftest.err
11881 + } && test -s conftest$ac_exeext &&
11882 + $as_test_x conftest$ac_exeext; then
11884 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11886 @@ -18154,8 +18700,10 @@
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11892 -rm -f conftest.err conftest.$ac_objext \
11894 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895 conftest$ac_exeext conftest.$ac_ext
11896 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11898 @@ -18613,8 +19161,8 @@
11902 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
11903 -echo "${ECHO_T}$ld_shlibs_F77" >&6
11904 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
11905 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
11906 test "$ld_shlibs_F77" = no && can_build_shared=no
11909 @@ -18634,8 +19182,8 @@
11910 # Test whether the compiler implicitly links with -lc since on some
11911 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11912 # to ld, don't add -lc before -lgcc.
11913 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11914 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11915 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11916 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11918 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11920 @@ -18672,16 +19220,16 @@
11921 cat conftest.err 1>&5
11924 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
11925 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
11926 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
11927 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
11934 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11935 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11936 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11937 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11938 library_names_spec=
11939 libname_spec='lib$name'
11941 @@ -19280,8 +19828,8 @@
11945 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11946 -echo "${ECHO_T}$dynamic_linker" >&6
11947 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11948 +echo "${ECHO_T}$dynamic_linker" >&6; }
11949 test "$dynamic_linker" = no && can_build_shared=no
11951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11952 @@ -19289,8 +19837,8 @@
11953 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11956 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11957 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11958 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11959 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11960 hardcode_action_F77=
11961 if test -n "$hardcode_libdir_flag_spec_F77" || \
11962 test -n "$runpath_var_F77" || \
11963 @@ -19314,8 +19862,8 @@
11965 hardcode_action_F77=unsupported
11967 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
11968 -echo "${ECHO_T}$hardcode_action_F77" >&6
11969 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
11970 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
11972 if test "$hardcode_action_F77" = relink; then
11973 # Fast installation is not supported
11974 @@ -19752,7 +20300,6 @@
11975 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
11979 # Source file extension for Java test sources.
11982 @@ -19820,8 +20367,8 @@
11983 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
11986 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11987 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
11988 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11989 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
11990 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 @@ -19838,11 +20385,11 @@
11994 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11995 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11996 -e 's:$: $lt_compiler_flag:'`
11997 - (eval echo "\"\$as_me:19841: $lt_compile\"" >&5)
11998 + (eval echo "\"\$as_me:20388: $lt_compile\"" >&5)
11999 (eval "$lt_compile" 2>conftest.err)
12001 cat conftest.err >&5
12002 - echo "$as_me:19845: \$? = $ac_status" >&5
12003 + echo "$as_me:20392: \$? = $ac_status" >&5
12004 if (exit $ac_status) && test -s "$ac_outfile"; then
12005 # The compiler can only warn and ignore the option if not recognized
12006 # So say no if there are warnings other than the usual output.
12007 @@ -19855,8 +20402,8 @@
12011 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12012 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12013 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12014 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12016 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12017 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
12018 @@ -19870,8 +20417,8 @@
12019 lt_prog_compiler_pic_GCJ=
12020 lt_prog_compiler_static_GCJ=
12022 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12023 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12024 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12025 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12027 if test "$GCC" = yes; then
12028 lt_prog_compiler_wl_GCJ='-Wl,'
12029 @@ -20080,16 +20627,16 @@
12033 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
12034 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
12035 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
12036 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
12039 # Check to make sure the PIC flag actually works.
12041 if test -n "$lt_prog_compiler_pic_GCJ"; then
12043 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
12044 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
12045 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
12046 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
12047 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 @@ -20106,11 +20653,11 @@
12051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12053 -e 's:$: $lt_compiler_flag:'`
12054 - (eval echo "\"\$as_me:20109: $lt_compile\"" >&5)
12055 + (eval echo "\"\$as_me:20656: $lt_compile\"" >&5)
12056 (eval "$lt_compile" 2>conftest.err)
12058 cat conftest.err >&5
12059 - echo "$as_me:20113: \$? = $ac_status" >&5
12060 + echo "$as_me:20660: \$? = $ac_status" >&5
12061 if (exit $ac_status) && test -s "$ac_outfile"; then
12062 # The compiler can only warn and ignore the option if not recognized
12063 # So say no if there are warnings other than the usual output.
12064 @@ -20123,8 +20670,8 @@
12068 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
12069 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
12070 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
12071 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
12073 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
12074 case $lt_prog_compiler_pic_GCJ in
12075 @@ -20151,8 +20698,8 @@
12076 # Check to make sure the static flag actually works.
12078 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
12079 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12080 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12081 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12082 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12083 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 @@ -20179,8 +20726,8 @@
12087 LDFLAGS="$save_LDFLAGS"
12090 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
12091 -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
12092 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
12093 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
12095 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
12097 @@ -20189,8 +20736,8 @@
12101 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12102 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12103 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12104 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12105 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 @@ -20210,11 +20757,11 @@
12109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12111 -e 's:$: $lt_compiler_flag:'`
12112 - (eval echo "\"\$as_me:20213: $lt_compile\"" >&5)
12113 + (eval echo "\"\$as_me:20760: $lt_compile\"" >&5)
12114 (eval "$lt_compile" 2>out/conftest.err)
12116 cat out/conftest.err >&5
12117 - echo "$as_me:20217: \$? = $ac_status" >&5
12118 + echo "$as_me:20764: \$? = $ac_status" >&5
12119 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12121 # The compiler can only warn and ignore the option if not recognized
12122 @@ -20236,23 +20783,23 @@
12126 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
12127 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
12128 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
12129 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
12132 hard_links="nottested"
12133 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
12134 # do not overwrite the value of need_locks provided by the user
12135 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12136 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12137 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12138 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12143 ln conftest.a conftest.b 2>&5 || hard_links=no
12144 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12145 - echo "$as_me:$LINENO: result: $hard_links" >&5
12146 -echo "${ECHO_T}$hard_links" >&6
12147 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12148 +echo "${ECHO_T}$hard_links" >&6; }
12149 if test "$hard_links" = no; then
12150 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12151 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12152 @@ -20262,8 +20809,8 @@
12156 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12157 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12158 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12159 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12162 allow_undefined_flag_GCJ=
12163 @@ -20679,26 +21226,23 @@
12166 rm -f conftest.$ac_objext conftest$ac_exeext
12167 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12168 - (eval $ac_link) 2>conftest.er1
12169 +if { (ac_try="$ac_link"
12170 +case "(($ac_try" in
12171 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12172 + *) ac_try_echo=$ac_try;;
12174 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 + (eval "$ac_link") 2>conftest.er1
12177 grep -v '^ *+' conftest.er1 >conftest.err
12179 cat conftest.err >&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 - (exit $ac_status); } &&
12182 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 - (eval $ac_try) 2>&5
12186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 - (exit $ac_status); }; } &&
12188 - { ac_try='test -s conftest$ac_exeext'
12189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 - (eval $ac_try) 2>&5
12192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 - (exit $ac_status); }; }; then
12194 + (exit $ac_status); } && {
12195 + test -z "$ac_c_werror_flag" ||
12196 + test ! -s conftest.err
12197 + } && test -s conftest$ac_exeext &&
12198 + $as_test_x conftest$ac_exeext; then
12200 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12202 @@ -20709,8 +21253,10 @@
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.$ac_ext >&5
12208 -rm -f conftest.err conftest.$ac_objext \
12210 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12211 conftest$ac_exeext conftest.$ac_ext
12212 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12214 @@ -20739,26 +21285,23 @@
12217 rm -f conftest.$ac_objext conftest$ac_exeext
12218 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12219 - (eval $ac_link) 2>conftest.er1
12220 +if { (ac_try="$ac_link"
12221 +case "(($ac_try" in
12222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12223 + *) ac_try_echo=$ac_try;;
12225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 + (eval "$ac_link") 2>conftest.er1
12228 grep -v '^ *+' conftest.er1 >conftest.err
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 - (exit $ac_status); } &&
12233 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12234 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12235 - (eval $ac_try) 2>&5
12237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 - (exit $ac_status); }; } &&
12239 - { ac_try='test -s conftest$ac_exeext'
12240 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12241 - (eval $ac_try) 2>&5
12243 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 - (exit $ac_status); }; }; then
12245 + (exit $ac_status); } && {
12246 + test -z "$ac_c_werror_flag" ||
12247 + test ! -s conftest.err
12248 + } && test -s conftest$ac_exeext &&
12249 + $as_test_x conftest$ac_exeext; then
12251 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12253 @@ -20769,8 +21312,10 @@
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12259 -rm -f conftest.err conftest.$ac_objext \
12261 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12265 @@ -21228,8 +21773,8 @@
12269 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
12270 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
12271 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
12272 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
12273 test "$ld_shlibs_GCJ" = no && can_build_shared=no
12276 @@ -21249,8 +21794,8 @@
12277 # Test whether the compiler implicitly links with -lc since on some
12278 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12279 # to ld, don't add -lc before -lgcc.
12280 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12281 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12282 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12283 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12285 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12287 @@ -21287,16 +21832,16 @@
12288 cat conftest.err 1>&5
12291 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
12292 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
12293 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
12294 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
12301 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12302 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12303 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12304 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12305 library_names_spec=
12306 libname_spec='lib$name'
12308 @@ -21895,8 +22440,8 @@
12312 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12313 -echo "${ECHO_T}$dynamic_linker" >&6
12314 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12315 +echo "${ECHO_T}$dynamic_linker" >&6; }
12316 test "$dynamic_linker" = no && can_build_shared=no
12318 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12319 @@ -21904,8 +22449,8 @@
12320 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12323 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12324 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12325 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12326 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12327 hardcode_action_GCJ=
12328 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
12329 test -n "$runpath_var_GCJ" || \
12330 @@ -21929,8 +22474,8 @@
12332 hardcode_action_GCJ=unsupported
12334 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
12335 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
12336 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
12337 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
12339 if test "$hardcode_action_GCJ" = relink; then
12340 # Fast installation is not supported
12341 @@ -22366,7 +22911,6 @@
12346 # Source file extension for RC test sources.
12349 @@ -22910,15 +23454,15 @@
12352 # make sure $() command substitution works
12353 -echo "$as_me:$LINENO: checking for POSIX sh \$() command substitution" >&5
12354 -echo $ECHO_N "checking for POSIX sh \$() command substitution... $ECHO_C" >&6
12355 +{ echo "$as_me:$LINENO: checking for POSIX sh \$() command substitution" >&5
12356 +echo $ECHO_N "checking for POSIX sh \$() command substitution... $ECHO_C" >&6; }
12357 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # ''''
12359 - echo "$as_me:$LINENO: result: yes" >&5
12360 -echo "${ECHO_T}yes" >&6
12361 + { echo "$as_me:$LINENO: result: yes" >&5
12362 +echo "${ECHO_T}yes" >&6; }
12364 - echo "$as_me:$LINENO: result: no" >&5
12365 -echo "${ECHO_T}no" >&6
12366 + { echo "$as_me:$LINENO: result: no" >&5
12367 +echo "${ECHO_T}no" >&6; }
12368 uname=`uname 2>&1` # ''
12369 uname_a=`uname -a 2>&1` # ''
12370 { { echo "$as_me:$LINENO: error:
12371 @@ -23141,15 +23685,15 @@
12373 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
12374 # Not so sure whether this hack is all *that* evil...
12375 -echo "$as_me:$LINENO: checking for po/Makevars requiring hack" >&5
12376 -echo $ECHO_N "checking for po/Makevars requiring hack... $ECHO_C" >&6
12377 +{ echo "$as_me:$LINENO: checking for po/Makevars requiring hack" >&5
12378 +echo $ECHO_N "checking for po/Makevars requiring hack... $ECHO_C" >&6; }
12379 if test -f "${srcdir}/po/Makevars.template"; then
12380 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
12381 - echo "$as_me:$LINENO: result: yes, done." >&5
12382 -echo "${ECHO_T}yes, done." >&6
12383 + { echo "$as_me:$LINENO: result: yes, done." >&5
12384 +echo "${ECHO_T}yes, done." >&6; }
12386 - echo "$as_me:$LINENO: result: no" >&5
12387 -echo "${ECHO_T}no" >&6
12388 + { echo "$as_me:$LINENO: result: no" >&5
12389 +echo "${ECHO_T}no" >&6; }
12392 ALL_LINGUAS="cs da de fr es eu it ja nb pl pt_BR ru sl sv uk vi zh_CN zh_TW"
12393 @@ -23168,17 +23712,17 @@
12397 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12398 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12399 - # Check whether --enable-nls or --disable-nls was given.
12400 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12401 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
12402 + # Check whether --enable-nls was given.
12403 if test "${enable_nls+set}" = set; then
12404 - enableval="$enable_nls"
12405 - USE_NLS=$enableval
12406 + enableval=$enable_nls; USE_NLS=$enableval
12410 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
12411 -echo "${ECHO_T}$USE_NLS" >&6
12414 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
12415 +echo "${ECHO_T}$USE_NLS" >&6; }
12419 @@ -23215,8 +23759,8 @@
12421 # Extract the first word of "msgfmt", so it can be a program name with args.
12422 set dummy msgfmt; ac_word=$2
12423 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12424 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12425 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12426 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12427 if test "${ac_cv_path_MSGFMT+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 @@ -23246,17 +23790,17 @@
12432 MSGFMT="$ac_cv_path_MSGFMT"
12433 if test "$MSGFMT" != ":"; then
12434 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
12435 -echo "${ECHO_T}$MSGFMT" >&6
12436 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
12437 +echo "${ECHO_T}$MSGFMT" >&6; }
12439 - echo "$as_me:$LINENO: result: no" >&5
12440 -echo "${ECHO_T}no" >&6
12441 + { echo "$as_me:$LINENO: result: no" >&5
12442 +echo "${ECHO_T}no" >&6; }
12445 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12446 set dummy gmsgfmt; ac_word=$2
12447 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12448 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12449 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12450 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12451 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 @@ -23271,30 +23815,31 @@
12456 test -z "$as_dir" && as_dir=.
12457 for ac_exec_ext in '' $ac_executable_extensions; do
12458 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12459 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12460 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12472 GMSGFMT=$ac_cv_path_GMSGFMT
12474 if test -n "$GMSGFMT"; then
12475 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12476 -echo "${ECHO_T}$GMSGFMT" >&6
12477 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12478 +echo "${ECHO_T}$GMSGFMT" >&6; }
12480 - echo "$as_me:$LINENO: result: no" >&5
12481 -echo "${ECHO_T}no" >&6
12482 + { echo "$as_me:$LINENO: result: no" >&5
12483 +echo "${ECHO_T}no" >&6; }
12489 # Prepare PATH_SEPARATOR.
12490 # The user is always right.
12491 if test "${PATH_SEPARATOR+set}" != set; then
12492 @@ -23325,8 +23870,8 @@
12494 # Extract the first word of "xgettext", so it can be a program name with args.
12495 set dummy xgettext; ac_word=$2
12496 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12497 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12498 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12499 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12500 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 @@ -23356,11 +23901,11 @@
12505 XGETTEXT="$ac_cv_path_XGETTEXT"
12506 if test "$XGETTEXT" != ":"; then
12507 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12508 -echo "${ECHO_T}$XGETTEXT" >&6
12509 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12510 +echo "${ECHO_T}$XGETTEXT" >&6; }
12512 - echo "$as_me:$LINENO: result: no" >&5
12513 -echo "${ECHO_T}no" >&6
12514 + { echo "$as_me:$LINENO: result: no" >&5
12515 +echo "${ECHO_T}no" >&6; }
12519 @@ -23396,8 +23941,8 @@
12521 # Extract the first word of "msgmerge", so it can be a program name with args.
12522 set dummy msgmerge; ac_word=$2
12523 -echo "$as_me:$LINENO: checking for $ac_word" >&5
12524 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12525 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12526 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12527 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 @@ -23426,11 +23971,11 @@
12532 MSGMERGE="$ac_cv_path_MSGMERGE"
12533 if test "$MSGMERGE" != ":"; then
12534 - echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12535 -echo "${ECHO_T}$MSGMERGE" >&6
12536 + { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12537 +echo "${ECHO_T}$MSGMERGE" >&6; }
12539 - echo "$as_me:$LINENO: result: no" >&5
12540 -echo "${ECHO_T}no" >&6
12541 + { echo "$as_me:$LINENO: result: no" >&5
12542 +echo "${ECHO_T}no" >&6; }
12546 @@ -23440,8 +23985,8 @@
12549 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12550 - echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12551 -echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12552 + { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12553 +echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12557 @@ -23451,14 +23996,14 @@
12558 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12561 - echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12562 -echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12563 + { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12564 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
12570 - ac_config_commands="$ac_config_commands default-1"
12571 + ac_config_commands="$ac_config_commands default-1"
12575 @@ -23478,13 +24023,13 @@
12576 prefix="$acl_save_prefix"
12579 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
12580 +# Check whether --with-gnu-ld was given.
12581 if test "${with_gnu_ld+set}" = set; then
12582 - withval="$with_gnu_ld"
12583 - test "$withval" = no || with_gnu_ld=yes
12584 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12590 # Prepare PATH_SEPARATOR.
12591 # The user is always right.
12592 if test "${PATH_SEPARATOR+set}" != set; then
12593 @@ -23501,8 +24046,8 @@
12595 if test "$GCC" = yes; then
12596 # Check if gcc -print-prog-name=ld gives a path.
12597 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
12598 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
12599 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
12600 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
12603 # gcc leaves a trailing carriage return which upsets mingw
12604 @@ -23531,11 +24076,11 @@
12607 elif test "$with_gnu_ld" = yes; then
12608 - echo "$as_me:$LINENO: checking for GNU ld" >&5
12609 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12610 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
12611 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12613 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12614 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12615 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12616 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12618 if test "${acl_cv_path_LD+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12620 @@ -23565,17 +24110,17 @@
12622 LD="$acl_cv_path_LD"
12623 if test -n "$LD"; then
12624 - echo "$as_me:$LINENO: result: $LD" >&5
12625 -echo "${ECHO_T}$LD" >&6
12626 + { echo "$as_me:$LINENO: result: $LD" >&5
12627 +echo "${ECHO_T}$LD" >&6; }
12629 - echo "$as_me:$LINENO: result: no" >&5
12630 -echo "${ECHO_T}no" >&6
12631 + { echo "$as_me:$LINENO: result: no" >&5
12632 +echo "${ECHO_T}no" >&6; }
12634 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12635 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12636 { (exit 1); exit 1; }; }
12637 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12638 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12639 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12640 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12641 if test "${acl_cv_prog_gnu_ld+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12644 @@ -23587,14 +24132,14 @@
12645 acl_cv_prog_gnu_ld=no ;;
12648 -echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
12649 -echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
12650 +{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
12651 +echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
12652 with_gnu_ld=$acl_cv_prog_gnu_ld
12656 - echo "$as_me:$LINENO: checking for shared library run path origin" >&5
12657 -echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
12658 + { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
12659 +echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
12660 if test "${acl_cv_rpath+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 @@ -23606,8 +24151,8 @@
12667 -echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
12668 -echo "${ECHO_T}$acl_cv_rpath" >&6
12669 +{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
12670 +echo "${ECHO_T}$acl_cv_rpath" >&6; }
12672 libext="$acl_cv_libext"
12673 shlibext="$acl_cv_shlibext"
12674 @@ -23615,13 +24160,13 @@
12675 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12676 hardcode_direct="$acl_cv_hardcode_direct"
12677 hardcode_minus_L="$acl_cv_hardcode_minus_L"
12678 - # Check whether --enable-rpath or --disable-rpath was given.
12679 + # Check whether --enable-rpath was given.
12680 if test "${enable_rpath+set}" = set; then
12681 - enableval="$enable_rpath"
12683 + enableval=$enable_rpath; :
12692 @@ -23643,10 +24188,9 @@
12693 prefix="$acl_save_prefix"
12696 -# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
12697 +# Check whether --with-libiconv-prefix was given.
12698 if test "${with_libiconv_prefix+set}" = set; then
12699 - withval="$with_libiconv_prefix"
12701 + withval=$with_libiconv_prefix;
12702 if test "X$withval" = "Xno"; then
12705 @@ -23669,7 +24213,8 @@
12715 @@ -24022,17 +24567,17 @@
12719 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12720 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12721 - # Check whether --enable-nls or --disable-nls was given.
12722 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12723 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
12724 + # Check whether --enable-nls was given.
12725 if test "${enable_nls+set}" = set; then
12726 - enableval="$enable_nls"
12727 - USE_NLS=$enableval
12728 + enableval=$enable_nls; USE_NLS=$enableval
12732 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
12733 -echo "${ECHO_T}$USE_NLS" >&6
12736 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
12737 +echo "${ECHO_T}$USE_NLS" >&6; }
12741 @@ -24049,8 +24594,8 @@
12745 - echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
12746 -echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
12747 + { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
12748 +echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
12749 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 @@ -24073,38 +24618,36 @@
12755 rm -f conftest.$ac_objext conftest$ac_exeext
12756 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12757 - (eval $ac_link) 2>conftest.er1
12758 +if { (ac_try="$ac_link"
12759 +case "(($ac_try" in
12760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12761 + *) ac_try_echo=$ac_try;;
12763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12764 + (eval "$ac_link") 2>conftest.er1
12766 grep -v '^ *+' conftest.er1 >conftest.err
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 - (exit $ac_status); } &&
12771 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 - (eval $ac_try) 2>&5
12775 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 - (exit $ac_status); }; } &&
12777 - { ac_try='test -s conftest$ac_exeext'
12778 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 - (eval $ac_try) 2>&5
12781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 - (exit $ac_status); }; }; then
12783 + (exit $ac_status); } && {
12784 + test -z "$ac_c_werror_flag" ||
12785 + test ! -s conftest.err
12786 + } && test -s conftest$ac_exeext &&
12787 + $as_test_x conftest$ac_exeext; then
12788 gt_cv_func_gnugettext1_libc=yes
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 -gt_cv_func_gnugettext1_libc=no
12794 + gt_cv_func_gnugettext1_libc=no
12796 -rm -f conftest.err conftest.$ac_objext \
12798 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12799 conftest$ac_exeext conftest.$ac_ext
12801 -echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
12802 -echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
12803 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
12804 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
12806 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
12808 @@ -24137,8 +24680,8 @@
12812 - echo "$as_me:$LINENO: checking for iconv" >&5
12813 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6
12814 + { echo "$as_me:$LINENO: checking for iconv" >&5
12815 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
12816 if test "${am_cv_func_iconv+set}" = set; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 @@ -24164,33 +24707,32 @@
12822 rm -f conftest.$ac_objext conftest$ac_exeext
12823 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12824 - (eval $ac_link) 2>conftest.er1
12825 +if { (ac_try="$ac_link"
12826 +case "(($ac_try" in
12827 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 + *) ac_try_echo=$ac_try;;
12830 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 + (eval "$ac_link") 2>conftest.er1
12833 grep -v '^ *+' conftest.er1 >conftest.err
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 - (exit $ac_status); } &&
12838 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12839 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 - (eval $ac_try) 2>&5
12842 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 - (exit $ac_status); }; } &&
12844 - { ac_try='test -s conftest$ac_exeext'
12845 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 - (eval $ac_try) 2>&5
12848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 - (exit $ac_status); }; }; then
12850 + (exit $ac_status); } && {
12851 + test -z "$ac_c_werror_flag" ||
12852 + test ! -s conftest.err
12853 + } && test -s conftest$ac_exeext &&
12854 + $as_test_x conftest$ac_exeext; then
12855 am_cv_func_iconv=yes
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.$ac_ext >&5
12862 -rm -f conftest.err conftest.$ac_objext \
12864 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12865 conftest$ac_exeext conftest.$ac_ext
12866 if test "$am_cv_func_iconv" != yes; then
12867 am_save_LIBS="$LIBS"
12868 @@ -24214,41 +24756,40 @@
12871 rm -f conftest.$ac_objext conftest$ac_exeext
12872 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12873 - (eval $ac_link) 2>conftest.er1
12874 +if { (ac_try="$ac_link"
12875 +case "(($ac_try" in
12876 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12877 + *) ac_try_echo=$ac_try;;
12879 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12880 + (eval "$ac_link") 2>conftest.er1
12882 grep -v '^ *+' conftest.er1 >conftest.err
12884 cat conftest.err >&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 - (exit $ac_status); } &&
12887 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 - (eval $ac_try) 2>&5
12891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 - (exit $ac_status); }; } &&
12893 - { ac_try='test -s conftest$ac_exeext'
12894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 - (eval $ac_try) 2>&5
12897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 - (exit $ac_status); }; }; then
12899 + (exit $ac_status); } && {
12900 + test -z "$ac_c_werror_flag" ||
12901 + test ! -s conftest.err
12902 + } && test -s conftest$ac_exeext &&
12903 + $as_test_x conftest$ac_exeext; then
12904 am_cv_lib_iconv=yes
12905 am_cv_func_iconv=yes
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.$ac_ext >&5
12912 -rm -f conftest.err conftest.$ac_objext \
12914 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS="$am_save_LIBS"
12920 -echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
12921 -echo "${ECHO_T}$am_cv_func_iconv" >&6
12922 +{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
12923 +echo "${ECHO_T}$am_cv_func_iconv" >&6; }
12924 if test "$am_cv_func_iconv" = yes; then
12926 cat >>confdefs.h <<\_ACEOF
12927 @@ -24257,10 +24798,10 @@
12930 if test "$am_cv_lib_iconv" = yes; then
12931 - echo "$as_me:$LINENO: checking how to link with libiconv" >&5
12932 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
12933 - echo "$as_me:$LINENO: result: $LIBICONV" >&5
12934 -echo "${ECHO_T}$LIBICONV" >&6
12935 + { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
12936 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
12937 + { echo "$as_me:$LINENO: result: $LIBICONV" >&5
12938 +echo "${ECHO_T}$LIBICONV" >&6; }
12940 CPPFLAGS="$am_save_CPPFLAGS"
12942 @@ -24286,10 +24827,9 @@
12943 prefix="$acl_save_prefix"
12946 -# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
12947 +# Check whether --with-libintl-prefix was given.
12948 if test "${with_libintl_prefix+set}" = set; then
12949 - withval="$with_libintl_prefix"
12951 + withval=$with_libintl_prefix;
12952 if test "X$withval" = "Xno"; then
12955 @@ -24312,7 +24852,8 @@
12965 @@ -24648,8 +25189,8 @@
12969 - echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
12970 -echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
12971 + { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
12972 +echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
12973 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 @@ -24680,34 +25221,32 @@
12979 rm -f conftest.$ac_objext conftest$ac_exeext
12980 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12981 - (eval $ac_link) 2>conftest.er1
12982 +if { (ac_try="$ac_link"
12983 +case "(($ac_try" in
12984 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12985 + *) ac_try_echo=$ac_try;;
12987 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12988 + (eval "$ac_link") 2>conftest.er1
12990 grep -v '^ *+' conftest.er1 >conftest.err
12992 cat conftest.err >&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 - (exit $ac_status); } &&
12995 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12996 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 - (eval $ac_try) 2>&5
12999 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 - (exit $ac_status); }; } &&
13001 - { ac_try='test -s conftest$ac_exeext'
13002 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 - (eval $ac_try) 2>&5
13005 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 - (exit $ac_status); }; }; then
13007 + (exit $ac_status); } && {
13008 + test -z "$ac_c_werror_flag" ||
13009 + test ! -s conftest.err
13010 + } && test -s conftest$ac_exeext &&
13011 + $as_test_x conftest$ac_exeext; then
13012 gt_cv_func_gnugettext1_libintl=yes
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 -gt_cv_func_gnugettext1_libintl=no
13018 + gt_cv_func_gnugettext1_libintl=no
13020 -rm -f conftest.err conftest.$ac_objext \
13022 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13023 conftest$ac_exeext conftest.$ac_ext
13024 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
13025 LIBS="$LIBS $LIBICONV"
13026 @@ -24734,26 +25273,23 @@
13029 rm -f conftest.$ac_objext conftest$ac_exeext
13030 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13031 - (eval $ac_link) 2>conftest.er1
13032 +if { (ac_try="$ac_link"
13033 +case "(($ac_try" in
13034 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13035 + *) ac_try_echo=$ac_try;;
13037 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13038 + (eval "$ac_link") 2>conftest.er1
13040 grep -v '^ *+' conftest.er1 >conftest.err
13042 cat conftest.err >&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 - (exit $ac_status); } &&
13045 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13046 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 - (eval $ac_try) 2>&5
13049 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 - (exit $ac_status); }; } &&
13051 - { ac_try='test -s conftest$ac_exeext'
13052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 - (eval $ac_try) 2>&5
13055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 - (exit $ac_status); }; }; then
13057 + (exit $ac_status); } && {
13058 + test -z "$ac_c_werror_flag" ||
13059 + test ! -s conftest.err
13060 + } && test -s conftest$ac_exeext &&
13061 + $as_test_x conftest$ac_exeext; then
13062 LIBINTL="$LIBINTL $LIBICONV"
13063 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13064 gt_cv_func_gnugettext1_libintl=yes
13065 @@ -24762,15 +25298,17 @@
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.$ac_ext >&5
13071 -rm -f conftest.err conftest.$ac_objext \
13073 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13074 conftest$ac_exeext conftest.$ac_ext
13076 CPPFLAGS="$gt_save_CPPFLAGS"
13077 LIBS="$gt_save_LIBS"
13079 -echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
13080 -echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
13081 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
13082 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
13085 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
13086 @@ -24798,13 +25336,13 @@
13090 - echo "$as_me:$LINENO: checking whether to use NLS" >&5
13091 -echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
13092 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
13093 -echo "${ECHO_T}$USE_NLS" >&6
13094 + { echo "$as_me:$LINENO: checking whether to use NLS" >&5
13095 +echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
13096 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
13097 +echo "${ECHO_T}$USE_NLS" >&6; }
13098 if test "$USE_NLS" = "yes"; then
13099 - echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13100 -echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
13101 + { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13102 +echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
13103 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13104 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13105 gt_source="external libintl"
13106 @@ -24814,18 +25352,18 @@
13108 gt_source="included intl directory"
13110 - echo "$as_me:$LINENO: result: $gt_source" >&5
13111 -echo "${ECHO_T}$gt_source" >&6
13112 + { echo "$as_me:$LINENO: result: $gt_source" >&5
13113 +echo "${ECHO_T}$gt_source" >&6; }
13116 if test "$USE_NLS" = "yes"; then
13118 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13119 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13120 - echo "$as_me:$LINENO: checking how to link with libintl" >&5
13121 -echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
13122 - echo "$as_me:$LINENO: result: $LIBINTL" >&5
13123 -echo "${ECHO_T}$LIBINTL" >&6
13124 + { echo "$as_me:$LINENO: checking how to link with libintl" >&5
13125 +echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
13126 + { echo "$as_me:$LINENO: result: $LIBINTL" >&5
13127 +echo "${ECHO_T}$LIBINTL" >&6; }
13129 for element in $INCINTL; do
13131 @@ -24909,8 +25447,8 @@
13133 # Extract the first word of "msgfmt", so it can be a program name with args.
13134 set dummy msgfmt; ac_word=$2
13135 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13138 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13139 if test "${ac_cv_path_MSGFMT+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 @@ -24940,17 +25478,17 @@
13144 MSGFMT="$ac_cv_path_MSGFMT"
13145 if test "$MSGFMT" != ":"; then
13146 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
13147 -echo "${ECHO_T}$MSGFMT" >&6
13148 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
13149 +echo "${ECHO_T}$MSGFMT" >&6; }
13151 - echo "$as_me:$LINENO: result: no" >&5
13152 -echo "${ECHO_T}no" >&6
13153 + { echo "$as_me:$LINENO: result: no" >&5
13154 +echo "${ECHO_T}no" >&6; }
13157 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13158 set dummy gmsgfmt; ac_word=$2
13159 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13160 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13161 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13162 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13163 if test "${ac_cv_path_GMSGFMT+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 @@ -24965,30 +25503,31 @@
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13171 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13172 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13180 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13184 GMSGFMT=$ac_cv_path_GMSGFMT
13186 if test -n "$GMSGFMT"; then
13187 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
13188 -echo "${ECHO_T}$GMSGFMT" >&6
13189 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
13190 +echo "${ECHO_T}$GMSGFMT" >&6; }
13192 - echo "$as_me:$LINENO: result: no" >&5
13193 -echo "${ECHO_T}no" >&6
13194 + { echo "$as_me:$LINENO: result: no" >&5
13195 +echo "${ECHO_T}no" >&6; }
13201 # Prepare PATH_SEPARATOR.
13202 # The user is always right.
13203 if test "${PATH_SEPARATOR+set}" != set; then
13204 @@ -25019,8 +25558,8 @@
13206 # Extract the first word of "xgettext", so it can be a program name with args.
13207 set dummy xgettext; ac_word=$2
13208 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13209 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13210 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13211 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13212 if test "${ac_cv_path_XGETTEXT+set}" = set; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13215 @@ -25050,11 +25589,11 @@
13217 XGETTEXT="$ac_cv_path_XGETTEXT"
13218 if test "$XGETTEXT" != ":"; then
13219 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
13220 -echo "${ECHO_T}$XGETTEXT" >&6
13221 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
13222 +echo "${ECHO_T}$XGETTEXT" >&6; }
13224 - echo "$as_me:$LINENO: result: no" >&5
13225 -echo "${ECHO_T}no" >&6
13226 + { echo "$as_me:$LINENO: result: no" >&5
13227 +echo "${ECHO_T}no" >&6; }
13231 @@ -25090,8 +25629,8 @@
13233 # Extract the first word of "msgmerge", so it can be a program name with args.
13234 set dummy msgmerge; ac_word=$2
13235 -echo "$as_me:$LINENO: checking for $ac_word" >&5
13236 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13237 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_path_MSGMERGE+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 @@ -25120,11 +25659,11 @@
13244 MSGMERGE="$ac_cv_path_MSGMERGE"
13245 if test "$MSGMERGE" != ":"; then
13246 - echo "$as_me:$LINENO: result: $MSGMERGE" >&5
13247 -echo "${ECHO_T}$MSGMERGE" >&6
13248 + { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
13249 +echo "${ECHO_T}$MSGMERGE" >&6; }
13251 - echo "$as_me:$LINENO: result: no" >&5
13252 -echo "${ECHO_T}no" >&6
13253 + { echo "$as_me:$LINENO: result: no" >&5
13254 +echo "${ECHO_T}no" >&6; }
13258 @@ -25134,8 +25673,8 @@
13261 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13262 - echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13263 -echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
13264 + { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13265 +echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13269 @@ -25145,14 +25684,14 @@
13270 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13273 - echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
13274 -echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
13275 + { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
13276 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
13282 - ac_config_commands="$ac_config_commands default-2"
13283 + ac_config_commands="$ac_config_commands default-2"
13287 @@ -25185,8 +25724,8 @@
13291 - echo "$as_me:$LINENO: checking for iconv" >&5
13292 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6
13293 + { echo "$as_me:$LINENO: checking for iconv" >&5
13294 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
13295 if test "${am_cv_func_iconv+set}" = set; then
13296 echo $ECHO_N "(cached) $ECHO_C" >&6
13298 @@ -25212,33 +25751,32 @@
13301 rm -f conftest.$ac_objext conftest$ac_exeext
13302 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13303 - (eval $ac_link) 2>conftest.er1
13304 +if { (ac_try="$ac_link"
13305 +case "(($ac_try" in
13306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 + *) ac_try_echo=$ac_try;;
13309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13310 + (eval "$ac_link") 2>conftest.er1
13312 grep -v '^ *+' conftest.er1 >conftest.err
13314 cat conftest.err >&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 - (exit $ac_status); } &&
13317 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 - (eval $ac_try) 2>&5
13321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 - (exit $ac_status); }; } &&
13323 - { ac_try='test -s conftest$ac_exeext'
13324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325 - (eval $ac_try) 2>&5
13327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 - (exit $ac_status); }; }; then
13329 + (exit $ac_status); } && {
13330 + test -z "$ac_c_werror_flag" ||
13331 + test ! -s conftest.err
13332 + } && test -s conftest$ac_exeext &&
13333 + $as_test_x conftest$ac_exeext; then
13334 am_cv_func_iconv=yes
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.$ac_ext >&5
13341 -rm -f conftest.err conftest.$ac_objext \
13343 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13344 conftest$ac_exeext conftest.$ac_ext
13345 if test "$am_cv_func_iconv" != yes; then
13346 am_save_LIBS="$LIBS"
13347 @@ -25262,41 +25800,40 @@
13350 rm -f conftest.$ac_objext conftest$ac_exeext
13351 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13352 - (eval $ac_link) 2>conftest.er1
13353 +if { (ac_try="$ac_link"
13354 +case "(($ac_try" in
13355 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13356 + *) ac_try_echo=$ac_try;;
13358 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13359 + (eval "$ac_link") 2>conftest.er1
13361 grep -v '^ *+' conftest.er1 >conftest.err
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 - (exit $ac_status); } &&
13366 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 - (eval $ac_try) 2>&5
13370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 - (exit $ac_status); }; } &&
13372 - { ac_try='test -s conftest$ac_exeext'
13373 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 - (eval $ac_try) 2>&5
13376 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 - (exit $ac_status); }; }; then
13378 + (exit $ac_status); } && {
13379 + test -z "$ac_c_werror_flag" ||
13380 + test ! -s conftest.err
13381 + } && test -s conftest$ac_exeext &&
13382 + $as_test_x conftest$ac_exeext; then
13383 am_cv_lib_iconv=yes
13384 am_cv_func_iconv=yes
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.$ac_ext >&5
13391 -rm -f conftest.err conftest.$ac_objext \
13393 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS="$am_save_LIBS"
13399 -echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
13400 -echo "${ECHO_T}$am_cv_func_iconv" >&6
13401 +{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
13402 +echo "${ECHO_T}$am_cv_func_iconv" >&6; }
13403 if test "$am_cv_func_iconv" = yes; then
13405 cat >>confdefs.h <<\_ACEOF
13406 @@ -25305,10 +25842,10 @@
13409 if test "$am_cv_lib_iconv" = yes; then
13410 - echo "$as_me:$LINENO: checking how to link with libiconv" >&5
13411 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
13412 - echo "$as_me:$LINENO: result: $LIBICONV" >&5
13413 -echo "${ECHO_T}$LIBICONV" >&6
13414 + { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
13415 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
13416 + { echo "$as_me:$LINENO: result: $LIBICONV" >&5
13417 +echo "${ECHO_T}$LIBICONV" >&6; }
13419 CPPFLAGS="$am_save_CPPFLAGS"
13421 @@ -25318,8 +25855,8 @@
13424 if test "$am_cv_func_iconv" = yes; then
13425 - echo "$as_me:$LINENO: checking for iconv declaration" >&5
13426 -echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
13427 + { echo "$as_me:$LINENO: checking for iconv declaration" >&5
13428 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
13429 if test "${am_cv_proto_iconv+set}" = set; then
13430 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 @@ -25352,42 +25889,39 @@
13435 rm -f conftest.$ac_objext
13436 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 - (eval $ac_compile) 2>conftest.er1
13438 +if { (ac_try="$ac_compile"
13439 +case "(($ac_try" in
13440 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13441 + *) ac_try_echo=$ac_try;;
13443 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 + (eval "$ac_compile") 2>conftest.er1
13446 grep -v '^ *+' conftest.er1 >conftest.err
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 - (exit $ac_status); } &&
13451 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 - (eval $ac_try) 2>&5
13455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 - (exit $ac_status); }; } &&
13457 - { ac_try='test -s conftest.$ac_objext'
13458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 - (eval $ac_try) 2>&5
13461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 - (exit $ac_status); }; }; then
13463 + (exit $ac_status); } && {
13464 + test -z "$ac_c_werror_flag" ||
13465 + test ! -s conftest.err
13466 + } && test -s conftest.$ac_objext; then
13467 am_cv_proto_iconv_arg1=""
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13472 -am_cv_proto_iconv_arg1="const"
13473 + am_cv_proto_iconv_arg1="const"
13475 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13477 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13478 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13481 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13482 - echo "$as_me:$LINENO: result: ${ac_t:-
13483 + { echo "$as_me:$LINENO: result: ${ac_t:-
13484 }$am_cv_proto_iconv" >&5
13485 echo "${ECHO_T}${ac_t:-
13486 - }$am_cv_proto_iconv" >&6
13487 + }$am_cv_proto_iconv" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define ICONV_CONST $am_cv_proto_iconv_arg1
13491 @@ -25429,8 +25963,8 @@
13493 AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
13495 -echo "$as_me:$LINENO: checking for gettext" >&5
13496 -echo $ECHO_N "checking for gettext... $ECHO_C" >&6
13497 +{ echo "$as_me:$LINENO: checking for gettext" >&5
13498 +echo $ECHO_N "checking for gettext... $ECHO_C" >&6; }
13499 if test "${ac_cv_func_gettext+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 @@ -25457,67 +25991,59 @@
13506 -/* Override any gcc2 internal prototype to avoid an error. */
13507 +/* Override any GCC internal prototype to avoid an error.
13508 + Use char because int might match the return type of a GCC
13509 + builtin and then its argument prototype would still apply. */
13514 -/* We use char because int might match the return type of a gcc2
13515 - builtin and then its argument prototype would still apply. */
13517 /* The GNU C library defines this for functions which it implements
13518 to always fail with ENOSYS. Some functions are actually named
13519 something starting with __ and the normal name is an alias. */
13520 -#if defined (__stub_gettext) || defined (__stub___gettext)
13521 +#if defined __stub_gettext || defined __stub___gettext
13524 -char (*f) () = gettext;
13526 -#ifdef __cplusplus
13533 -return f != gettext;
13534 +return gettext ();
13539 rm -f conftest.$ac_objext conftest$ac_exeext
13540 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13541 - (eval $ac_link) 2>conftest.er1
13542 +if { (ac_try="$ac_link"
13543 +case "(($ac_try" in
13544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13545 + *) ac_try_echo=$ac_try;;
13547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13548 + (eval "$ac_link") 2>conftest.er1
13550 grep -v '^ *+' conftest.er1 >conftest.err
13552 cat conftest.err >&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 - (exit $ac_status); } &&
13555 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13556 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 - (eval $ac_try) 2>&5
13559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 - (exit $ac_status); }; } &&
13561 - { ac_try='test -s conftest$ac_exeext'
13562 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 - (eval $ac_try) 2>&5
13565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 - (exit $ac_status); }; }; then
13567 + (exit $ac_status); } && {
13568 + test -z "$ac_c_werror_flag" ||
13569 + test ! -s conftest.err
13570 + } && test -s conftest$ac_exeext &&
13571 + $as_test_x conftest$ac_exeext; then
13572 ac_cv_func_gettext=yes
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13577 -ac_cv_func_gettext=no
13578 + ac_cv_func_gettext=no
13580 -rm -f conftest.err conftest.$ac_objext \
13582 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13583 conftest$ac_exeext conftest.$ac_ext
13585 -echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5
13586 -echo "${ECHO_T}$ac_cv_func_gettext" >&6
13587 +{ echo "$as_me:$LINENO: result: $ac_cv_func_gettext" >&5
13588 +echo "${ECHO_T}$ac_cv_func_gettext" >&6; }
13589 if test $ac_cv_func_gettext = yes; then
13590 gettext_without_libintl=true
13592 @@ -25527,8 +26053,8 @@
13593 # we don't have to check for gettext in libintl. Otherwise
13594 # we may even require libintl.
13595 if test "$gettext_without_libintl" != "true" -a "$USE_NLS" = "yes"; then
13596 - echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
13597 -echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
13598 + { echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
13599 +echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6; }
13600 if test "${ac_cv_lib_intl_gettext+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 @@ -25541,55 +26067,53 @@
13604 cat >>conftest.$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
13607 -/* Override any gcc2 internal prototype to avoid an error. */
13608 +/* Override any GCC internal prototype to avoid an error.
13609 + Use char because int might match the return type of a GCC
13610 + builtin and then its argument prototype would still apply. */
13614 -/* We use char because int might match the return type of a gcc2
13615 - builtin and then its argument prototype would still apply. */
13621 +return gettext ();
13626 rm -f conftest.$ac_objext conftest$ac_exeext
13627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13628 - (eval $ac_link) 2>conftest.er1
13629 +if { (ac_try="$ac_link"
13630 +case "(($ac_try" in
13631 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 + *) ac_try_echo=$ac_try;;
13634 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 + (eval "$ac_link") 2>conftest.er1
13637 grep -v '^ *+' conftest.er1 >conftest.err
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 - (exit $ac_status); } &&
13642 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 - (eval $ac_try) 2>&5
13646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 - (exit $ac_status); }; } &&
13648 - { ac_try='test -s conftest$ac_exeext'
13649 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 - (eval $ac_try) 2>&5
13652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 - (exit $ac_status); }; }; then
13654 + (exit $ac_status); } && {
13655 + test -z "$ac_c_werror_flag" ||
13656 + test ! -s conftest.err
13657 + } && test -s conftest$ac_exeext &&
13658 + $as_test_x conftest$ac_exeext; then
13659 ac_cv_lib_intl_gettext=yes
13661 echo "$as_me: failed program was:" >&5
13662 sed 's/^/| /' conftest.$ac_ext >&5
13664 -ac_cv_lib_intl_gettext=no
13665 + ac_cv_lib_intl_gettext=no
13667 -rm -f conftest.err conftest.$ac_objext \
13669 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_lib_save_LIBS
13673 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
13674 -echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
13675 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
13676 +echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6; }
13677 if test $ac_cv_lib_intl_gettext = yes; then
13678 INTLLIBS="$INTLLIBS -lintl"
13680 @@ -25605,9 +26129,9 @@
13681 ac_header_dirent=no
13682 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13683 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13684 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13685 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
13686 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13687 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13688 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
13689 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 cat >conftest.$ac_ext <<_ACEOF
13693 @@ -25629,37 +26153,35 @@
13696 rm -f conftest.$ac_objext
13697 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13698 - (eval $ac_compile) 2>conftest.er1
13699 +if { (ac_try="$ac_compile"
13700 +case "(($ac_try" in
13701 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13702 + *) ac_try_echo=$ac_try;;
13704 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13705 + (eval "$ac_compile") 2>conftest.er1
13707 grep -v '^ *+' conftest.er1 >conftest.err
13709 cat conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 - (exit $ac_status); } &&
13712 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13713 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 - (eval $ac_try) 2>&5
13716 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 - (exit $ac_status); }; } &&
13718 - { ac_try='test -s conftest.$ac_objext'
13719 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 - (eval $ac_try) 2>&5
13722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 - (exit $ac_status); }; }; then
13724 + (exit $ac_status); } && {
13725 + test -z "$ac_c_werror_flag" ||
13726 + test ! -s conftest.err
13727 + } && test -s conftest.$ac_objext; then
13728 eval "$as_ac_Header=yes"
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13733 -eval "$as_ac_Header=no"
13734 + eval "$as_ac_Header=no"
13736 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13738 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13741 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13742 +ac_res=`eval echo '${'$as_ac_Header'}'`
13743 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13744 +echo "${ECHO_T}$ac_res" >&6; }
13745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13746 cat >>confdefs.h <<_ACEOF
13747 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13748 @@ -25671,13 +26193,12 @@
13750 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13751 if test $ac_header_dirent = dirent.h; then
13752 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
13753 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
13754 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13755 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13756 if test "${ac_cv_search_opendir+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 ac_func_search_save_LIBS=$LIBS
13760 -ac_cv_search_opendir=no
13761 cat >conftest.$ac_ext <<_ACEOF
13764 @@ -25685,124 +26206,83 @@
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13768 -/* Override any gcc2 internal prototype to avoid an error. */
13769 +/* Override any GCC internal prototype to avoid an error.
13770 + Use char because int might match the return type of a GCC
13771 + builtin and then its argument prototype would still apply. */
13775 -/* We use char because int might match the return type of a gcc2
13776 - builtin and then its argument prototype would still apply. */
13782 +return opendir ();
13787 -rm -f conftest.$ac_objext conftest$ac_exeext
13788 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13789 - (eval $ac_link) 2>conftest.er1
13790 +for ac_lib in '' dir; do
13791 + if test -z "$ac_lib"; then
13792 + ac_res="none required"
13795 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13797 + rm -f conftest.$ac_objext conftest$ac_exeext
13798 +if { (ac_try="$ac_link"
13799 +case "(($ac_try" in
13800 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801 + *) ac_try_echo=$ac_try;;
13803 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13804 + (eval "$ac_link") 2>conftest.er1
13806 grep -v '^ *+' conftest.er1 >conftest.err
13808 cat conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 - (exit $ac_status); } &&
13811 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13812 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 - (eval $ac_try) 2>&5
13815 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 - (exit $ac_status); }; } &&
13817 - { ac_try='test -s conftest$ac_exeext'
13818 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 - (eval $ac_try) 2>&5
13821 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 - (exit $ac_status); }; }; then
13823 - ac_cv_search_opendir="none required"
13824 + (exit $ac_status); } && {
13825 + test -z "$ac_c_werror_flag" ||
13826 + test ! -s conftest.err
13827 + } && test -s conftest$ac_exeext &&
13828 + $as_test_x conftest$ac_exeext; then
13829 + ac_cv_search_opendir=$ac_res
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13835 -rm -f conftest.err conftest.$ac_objext \
13836 - conftest$ac_exeext conftest.$ac_ext
13837 -if test "$ac_cv_search_opendir" = no; then
13838 - for ac_lib in dir; do
13839 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13840 - cat >conftest.$ac_ext <<_ACEOF
13843 -cat confdefs.h >>conftest.$ac_ext
13844 -cat >>conftest.$ac_ext <<_ACEOF
13845 -/* end confdefs.h. */
13847 -/* Override any gcc2 internal prototype to avoid an error. */
13848 -#ifdef __cplusplus
13851 -/* We use char because int might match the return type of a gcc2
13852 - builtin and then its argument prototype would still apply. */
13862 -rm -f conftest.$ac_objext conftest$ac_exeext
13863 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13864 - (eval $ac_link) 2>conftest.er1
13866 - grep -v '^ *+' conftest.er1 >conftest.err
13867 - rm -f conftest.er1
13868 - cat conftest.err >&5
13869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 - (exit $ac_status); } &&
13871 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13872 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 - (eval $ac_try) 2>&5
13875 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 - (exit $ac_status); }; } &&
13877 - { ac_try='test -s conftest$ac_exeext'
13878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 - (eval $ac_try) 2>&5
13881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 - (exit $ac_status); }; }; then
13883 - ac_cv_search_opendir="-l$ac_lib"
13886 - echo "$as_me: failed program was:" >&5
13887 -sed 's/^/| /' conftest.$ac_ext >&5
13890 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13891 + conftest$ac_exeext
13892 + if test "${ac_cv_search_opendir+set}" = set; then
13895 -rm -f conftest.err conftest.$ac_objext \
13896 - conftest$ac_exeext conftest.$ac_ext
13899 +if test "${ac_cv_search_opendir+set}" = set; then
13902 + ac_cv_search_opendir=no
13904 +rm conftest.$ac_ext
13905 LIBS=$ac_func_search_save_LIBS
13907 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13908 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
13909 -if test "$ac_cv_search_opendir" != no; then
13910 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
13911 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13912 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13913 +ac_res=$ac_cv_search_opendir
13914 +if test "$ac_res" != no; then
13915 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13920 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
13921 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
13922 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13923 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13924 if test "${ac_cv_search_opendir+set}" = set; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 ac_func_search_save_LIBS=$LIBS
13928 -ac_cv_search_opendir=no
13929 cat >conftest.$ac_ext <<_ACEOF
13932 @@ -25810,120 +26290,80 @@
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13936 -/* Override any gcc2 internal prototype to avoid an error. */
13937 +/* Override any GCC internal prototype to avoid an error.
13938 + Use char because int might match the return type of a GCC
13939 + builtin and then its argument prototype would still apply. */
13943 -/* We use char because int might match the return type of a gcc2
13944 - builtin and then its argument prototype would still apply. */
13950 +return opendir ();
13955 -rm -f conftest.$ac_objext conftest$ac_exeext
13956 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13957 - (eval $ac_link) 2>conftest.er1
13958 +for ac_lib in '' x; do
13959 + if test -z "$ac_lib"; then
13960 + ac_res="none required"
13963 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13965 + rm -f conftest.$ac_objext conftest$ac_exeext
13966 +if { (ac_try="$ac_link"
13967 +case "(($ac_try" in
13968 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13969 + *) ac_try_echo=$ac_try;;
13971 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13972 + (eval "$ac_link") 2>conftest.er1
13974 grep -v '^ *+' conftest.er1 >conftest.err
13976 cat conftest.err >&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 - (exit $ac_status); } &&
13979 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13980 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 - (eval $ac_try) 2>&5
13983 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 - (exit $ac_status); }; } &&
13985 - { ac_try='test -s conftest$ac_exeext'
13986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 - (eval $ac_try) 2>&5
13989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 - (exit $ac_status); }; }; then
13991 - ac_cv_search_opendir="none required"
13992 + (exit $ac_status); } && {
13993 + test -z "$ac_c_werror_flag" ||
13994 + test ! -s conftest.err
13995 + } && test -s conftest$ac_exeext &&
13996 + $as_test_x conftest$ac_exeext; then
13997 + ac_cv_search_opendir=$ac_res
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14003 -rm -f conftest.err conftest.$ac_objext \
14004 - conftest$ac_exeext conftest.$ac_ext
14005 -if test "$ac_cv_search_opendir" = no; then
14006 - for ac_lib in x; do
14007 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14008 - cat >conftest.$ac_ext <<_ACEOF
14011 -cat confdefs.h >>conftest.$ac_ext
14012 -cat >>conftest.$ac_ext <<_ACEOF
14013 -/* end confdefs.h. */
14015 -/* Override any gcc2 internal prototype to avoid an error. */
14016 -#ifdef __cplusplus
14019 -/* We use char because int might match the return type of a gcc2
14020 - builtin and then its argument prototype would still apply. */
14030 -rm -f conftest.$ac_objext conftest$ac_exeext
14031 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14032 - (eval $ac_link) 2>conftest.er1
14034 - grep -v '^ *+' conftest.er1 >conftest.err
14035 - rm -f conftest.er1
14036 - cat conftest.err >&5
14037 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 - (exit $ac_status); } &&
14039 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14040 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 - (eval $ac_try) 2>&5
14043 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 - (exit $ac_status); }; } &&
14045 - { ac_try='test -s conftest$ac_exeext'
14046 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 - (eval $ac_try) 2>&5
14049 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 - (exit $ac_status); }; }; then
14051 - ac_cv_search_opendir="-l$ac_lib"
14054 - echo "$as_me: failed program was:" >&5
14055 -sed 's/^/| /' conftest.$ac_ext >&5
14058 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14059 + conftest$ac_exeext
14060 + if test "${ac_cv_search_opendir+set}" = set; then
14063 -rm -f conftest.err conftest.$ac_objext \
14064 - conftest$ac_exeext conftest.$ac_ext
14067 +if test "${ac_cv_search_opendir+set}" = set; then
14070 + ac_cv_search_opendir=no
14072 +rm conftest.$ac_ext
14073 LIBS=$ac_func_search_save_LIBS
14075 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
14076 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
14077 -if test "$ac_cv_search_opendir" != no; then
14078 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
14079 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
14080 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
14081 +ac_res=$ac_cv_search_opendir
14082 +if test "$ac_res" != no; then
14083 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14089 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14090 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14091 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14092 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14093 if test "${ac_cv_header_stdc+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 @@ -25947,34 +26387,31 @@
14099 rm -f conftest.$ac_objext
14100 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14101 - (eval $ac_compile) 2>conftest.er1
14102 +if { (ac_try="$ac_compile"
14103 +case "(($ac_try" in
14104 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 + *) ac_try_echo=$ac_try;;
14107 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 + (eval "$ac_compile") 2>conftest.er1
14110 grep -v '^ *+' conftest.er1 >conftest.err
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 - (exit $ac_status); } &&
14115 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14116 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 - (eval $ac_try) 2>&5
14119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 - (exit $ac_status); }; } &&
14121 - { ac_try='test -s conftest.$ac_objext'
14122 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 - (eval $ac_try) 2>&5
14125 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 - (exit $ac_status); }; }; then
14127 + (exit $ac_status); } && {
14128 + test -z "$ac_c_werror_flag" ||
14129 + test ! -s conftest.err
14130 + } && test -s conftest.$ac_objext; then
14131 ac_cv_header_stdc=yes
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.$ac_ext >&5
14136 -ac_cv_header_stdc=no
14137 + ac_cv_header_stdc=no
14139 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14141 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143 if test $ac_cv_header_stdc = yes; then
14144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14145 @@ -26030,6 +26467,7 @@
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14149 +#include <stdlib.h>
14150 #if ((' ' & 0x0FF) == 0x020)
14151 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14152 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14153 @@ -26049,18 +26487,27 @@
14154 for (i = 0; i < 256; i++)
14155 if (XOR (islower (i), ISLOWER (i))
14156 || toupper (i) != TOUPPER (i))
14163 rm -f conftest$ac_exeext
14164 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14165 - (eval $ac_link) 2>&5
14166 +if { (ac_try="$ac_link"
14167 +case "(($ac_try" in
14168 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14169 + *) ac_try_echo=$ac_try;;
14171 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14172 + (eval "$ac_link") 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14176 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 - (eval $ac_try) 2>&5
14178 + { (case "(($ac_try" in
14179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14180 + *) ac_try_echo=$ac_try;;
14182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14183 + (eval "$ac_try") 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 @@ -26073,12 +26520,14 @@
14188 ( exit $ac_status )
14189 ac_cv_header_stdc=no
14191 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14192 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14198 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14199 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
14200 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14201 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14202 if test $ac_cv_header_stdc = yes; then
14204 cat >>confdefs.h <<\_ACEOF
14205 @@ -26088,8 +26537,8 @@
14209 -echo "$as_me:$LINENO: checking for inline" >&5
14210 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
14211 +{ echo "$as_me:$LINENO: checking for inline" >&5
14212 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
14213 if test "${ac_cv_c_inline+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 @@ -26109,38 +26558,37 @@
14219 rm -f conftest.$ac_objext
14220 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 - (eval $ac_compile) 2>conftest.er1
14222 +if { (ac_try="$ac_compile"
14223 +case "(($ac_try" in
14224 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14225 + *) ac_try_echo=$ac_try;;
14227 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14228 + (eval "$ac_compile") 2>conftest.er1
14230 grep -v '^ *+' conftest.er1 >conftest.err
14232 cat conftest.err >&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 - (exit $ac_status); } &&
14235 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14236 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 - (eval $ac_try) 2>&5
14239 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 - (exit $ac_status); }; } &&
14241 - { ac_try='test -s conftest.$ac_objext'
14242 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 - (eval $ac_try) 2>&5
14245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 - (exit $ac_status); }; }; then
14247 - ac_cv_c_inline=$ac_kw; break
14248 + (exit $ac_status); } && {
14249 + test -z "$ac_c_werror_flag" ||
14250 + test ! -s conftest.err
14251 + } && test -s conftest.$ac_objext; then
14252 + ac_cv_c_inline=$ac_kw
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.$ac_ext >&5
14259 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14261 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14262 + test "$ac_cv_c_inline" != no && break
14266 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14267 -echo "${ECHO_T}$ac_cv_c_inline" >&6
14268 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14269 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
14272 case $ac_cv_c_inline in
14273 @@ -26158,8 +26606,8 @@
14277 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14278 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14279 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14280 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
14281 if test "${ac_cv_c_const+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 @@ -26177,10 +26625,10 @@
14285 #ifndef __cplusplus
14286 /* Ultrix mips cc rejects this. */
14287 typedef int charset[2];
14289 + const charset cs;
14290 /* SunOS 4.1.1 cc rejects this. */
14291 - char const *const *ccp;
14293 + char const *const *pcpcc;
14295 /* NEC SVR4.0.2 mips cc rejects this. */
14296 struct point {int x, y;};
14297 static struct point const zero = {0,0};
14298 @@ -26189,16 +26637,17 @@
14299 an arm of an if-expression whose if-part is not a constant
14301 const char *g = "string";
14302 - ccp = &g + (g ? g-g : 0);
14303 + pcpcc = &g + (g ? g-g : 0);
14304 /* HPUX 7.0 cc rejects these. */
14306 - p = (char**) ccp;
14307 - ccp = (char const *const *) p;
14309 + ppc = (char**) pcpcc;
14310 + pcpcc = (char const *const *) ppc;
14311 { /* SCO 3.2v4 cc rejects this. */
14313 char const *s = 0 ? (char *) 0 : (char const *) 0;
14318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14319 int x[] = {25, 17};
14320 @@ -26217,7 +26666,9 @@
14322 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14323 const int foo = 10;
14324 + if (!foo) return 0;
14326 + return !cs[0] && !zero.x;
14330 @@ -26225,37 +26676,34 @@
14333 rm -f conftest.$ac_objext
14334 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14335 - (eval $ac_compile) 2>conftest.er1
14336 +if { (ac_try="$ac_compile"
14337 +case "(($ac_try" in
14338 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14339 + *) ac_try_echo=$ac_try;;
14341 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14342 + (eval "$ac_compile") 2>conftest.er1
14344 grep -v '^ *+' conftest.er1 >conftest.err
14346 cat conftest.err >&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 - (exit $ac_status); } &&
14349 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 - (eval $ac_try) 2>&5
14353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 - (exit $ac_status); }; } &&
14355 - { ac_try='test -s conftest.$ac_objext'
14356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 - (eval $ac_try) 2>&5
14359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 - (exit $ac_status); }; }; then
14361 + (exit $ac_status); } && {
14362 + test -z "$ac_c_werror_flag" ||
14363 + test ! -s conftest.err
14364 + } && test -s conftest.$ac_objext; then
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14373 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14375 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14377 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14378 -echo "${ECHO_T}$ac_cv_c_const" >&6
14379 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14380 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
14381 if test $ac_cv_c_const = no; then
14383 cat >>confdefs.h <<\_ACEOF
14384 @@ -26292,18 +26740,19 @@
14385 endian.h byteswap.h asm/io.h mntent.h
14387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14388 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14389 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14390 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14391 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14392 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14393 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14394 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14395 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14399 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14400 +ac_res=`eval echo '${'$as_ac_Header'}'`
14401 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14402 +echo "${ECHO_T}$ac_res" >&6; }
14404 # Is the header compilable?
14405 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14406 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14407 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14408 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14409 cat >conftest.$ac_ext <<_ACEOF
14412 @@ -26314,40 +26763,37 @@
14413 #include <$ac_header>
14415 rm -f conftest.$ac_objext
14416 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14417 - (eval $ac_compile) 2>conftest.er1
14418 +if { (ac_try="$ac_compile"
14419 +case "(($ac_try" in
14420 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14421 + *) ac_try_echo=$ac_try;;
14423 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14424 + (eval "$ac_compile") 2>conftest.er1
14426 grep -v '^ *+' conftest.er1 >conftest.err
14428 cat conftest.err >&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 - (exit $ac_status); } &&
14431 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14432 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14433 - (eval $ac_try) 2>&5
14435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 - (exit $ac_status); }; } &&
14437 - { ac_try='test -s conftest.$ac_objext'
14438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 - (eval $ac_try) 2>&5
14441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 - (exit $ac_status); }; }; then
14443 + (exit $ac_status); } && {
14444 + test -z "$ac_c_werror_flag" ||
14445 + test ! -s conftest.err
14446 + } && test -s conftest.$ac_objext; then
14447 ac_header_compiler=yes
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14452 -ac_header_compiler=no
14453 + ac_header_compiler=no
14455 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14456 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14457 -echo "${ECHO_T}$ac_header_compiler" >&6
14459 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14460 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14461 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14463 # Is the header present?
14464 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14465 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14466 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14467 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14468 cat >conftest.$ac_ext <<_ACEOF
14471 @@ -26356,24 +26802,22 @@
14472 /* end confdefs.h. */
14473 #include <$ac_header>
14475 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14476 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14477 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14478 +case "(($ac_try" in
14479 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 + *) ac_try_echo=$ac_try;;
14482 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14485 grep -v '^ *+' conftest.er1 >conftest.err
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 - (exit $ac_status); } >/dev/null; then
14490 - if test -s conftest.err; then
14491 - ac_cpp_err=$ac_c_preproc_warn_flag
14492 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14499 -if test -z "$ac_cpp_err"; then
14500 + (exit $ac_status); } >/dev/null && {
14501 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14502 + test ! -s conftest.err
14504 ac_header_preproc=yes
14506 echo "$as_me: failed program was:" >&5
14507 @@ -26381,9 +26825,10 @@
14509 ac_header_preproc=no
14512 rm -f conftest.err conftest.$ac_ext
14513 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14514 -echo "${ECHO_T}$ac_header_preproc" >&6
14515 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14516 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14518 # So? What about this header?
14519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14520 @@ -26407,25 +26852,24 @@
14521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14522 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14527 ## ------------------------------------------------- ##
14528 ## Report this to gphoto-devel@lists.sourceforge.net ##
14529 ## ------------------------------------------------- ##
14532 - sed "s/^/$as_me: WARNING: /" >&2
14533 + ) | sed "s/^/$as_me: WARNING: /" >&2
14536 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14537 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14538 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14539 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14540 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14541 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 eval "$as_ac_Header=\$ac_header_preproc"
14546 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14547 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14548 +ac_res=`eval echo '${'$as_ac_Header'}'`
14549 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14550 +echo "${ECHO_T}$ac_res" >&6; }
14553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14554 @@ -26439,17 +26883,17 @@
14557 if test "${ac_cv_header_regex_h+set}" = set; then
14558 - echo "$as_me:$LINENO: checking for regex.h" >&5
14559 -echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
14560 + { echo "$as_me:$LINENO: checking for regex.h" >&5
14561 +echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
14562 if test "${ac_cv_header_regex_h+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14565 -echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
14566 -echo "${ECHO_T}$ac_cv_header_regex_h" >&6
14567 +{ echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
14568 +echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
14570 # Is the header compilable?
14571 -echo "$as_me:$LINENO: checking regex.h usability" >&5
14572 -echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
14573 +{ echo "$as_me:$LINENO: checking regex.h usability" >&5
14574 +echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
14575 cat >conftest.$ac_ext <<_ACEOF
14578 @@ -26460,40 +26904,37 @@
14581 rm -f conftest.$ac_objext
14582 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 - (eval $ac_compile) 2>conftest.er1
14584 +if { (ac_try="$ac_compile"
14585 +case "(($ac_try" in
14586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 + *) ac_try_echo=$ac_try;;
14589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 + (eval "$ac_compile") 2>conftest.er1
14592 grep -v '^ *+' conftest.er1 >conftest.err
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 - (exit $ac_status); } &&
14597 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 - (eval $ac_try) 2>&5
14601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 - (exit $ac_status); }; } &&
14603 - { ac_try='test -s conftest.$ac_objext'
14604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 - (eval $ac_try) 2>&5
14607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 - (exit $ac_status); }; }; then
14609 + (exit $ac_status); } && {
14610 + test -z "$ac_c_werror_flag" ||
14611 + test ! -s conftest.err
14612 + } && test -s conftest.$ac_objext; then
14613 ac_header_compiler=yes
14615 echo "$as_me: failed program was:" >&5
14616 sed 's/^/| /' conftest.$ac_ext >&5
14618 -ac_header_compiler=no
14619 + ac_header_compiler=no
14621 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14622 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14623 -echo "${ECHO_T}$ac_header_compiler" >&6
14625 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14626 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14627 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14629 # Is the header present?
14630 -echo "$as_me:$LINENO: checking regex.h presence" >&5
14631 -echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
14632 +{ echo "$as_me:$LINENO: checking regex.h presence" >&5
14633 +echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
14634 cat >conftest.$ac_ext <<_ACEOF
14637 @@ -26502,24 +26943,22 @@
14638 /* end confdefs.h. */
14641 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14642 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14643 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14644 +case "(($ac_try" in
14645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14646 + *) ac_try_echo=$ac_try;;
14648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14649 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14651 grep -v '^ *+' conftest.er1 >conftest.err
14653 cat conftest.err >&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 - (exit $ac_status); } >/dev/null; then
14656 - if test -s conftest.err; then
14657 - ac_cpp_err=$ac_c_preproc_warn_flag
14658 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14665 -if test -z "$ac_cpp_err"; then
14666 + (exit $ac_status); } >/dev/null && {
14667 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14668 + test ! -s conftest.err
14670 ac_header_preproc=yes
14672 echo "$as_me: failed program was:" >&5
14673 @@ -26527,9 +26966,10 @@
14675 ac_header_preproc=no
14678 rm -f conftest.err conftest.$ac_ext
14679 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14680 -echo "${ECHO_T}$ac_header_preproc" >&6
14681 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14682 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14684 # So? What about this header?
14685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14686 @@ -26553,25 +26993,23 @@
14687 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
14688 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
14689 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
14693 ## ------------------------------------------------- ##
14694 ## Report this to gphoto-devel@lists.sourceforge.net ##
14695 ## ------------------------------------------------- ##
14698 - sed "s/^/$as_me: WARNING: /" >&2
14699 + ) | sed "s/^/$as_me: WARNING: /" >&2
14702 -echo "$as_me:$LINENO: checking for regex.h" >&5
14703 -echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
14704 +{ echo "$as_me:$LINENO: checking for regex.h" >&5
14705 +echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
14706 if test "${ac_cv_header_regex_h+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 ac_cv_header_regex_h=$ac_header_preproc
14711 -echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
14712 -echo "${ECHO_T}$ac_cv_header_regex_h" >&6
14713 +{ echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
14714 +echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
14717 if test $ac_cv_header_regex_h = yes; then
14718 @@ -26597,17 +27035,17 @@
14721 if test "${ac_cv_header_dns_sd_h+set}" = set; then
14722 - echo "$as_me:$LINENO: checking for dns_sd.h" >&5
14723 -echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6
14724 + { echo "$as_me:$LINENO: checking for dns_sd.h" >&5
14725 +echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6; }
14726 if test "${ac_cv_header_dns_sd_h+set}" = set; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 -echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
14730 -echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6
14731 +{ echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
14732 +echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6; }
14734 # Is the header compilable?
14735 -echo "$as_me:$LINENO: checking dns_sd.h usability" >&5
14736 -echo $ECHO_N "checking dns_sd.h usability... $ECHO_C" >&6
14737 +{ echo "$as_me:$LINENO: checking dns_sd.h usability" >&5
14738 +echo $ECHO_N "checking dns_sd.h usability... $ECHO_C" >&6; }
14739 cat >conftest.$ac_ext <<_ACEOF
14742 @@ -26618,40 +27056,37 @@
14743 #include <dns_sd.h>
14745 rm -f conftest.$ac_objext
14746 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747 - (eval $ac_compile) 2>conftest.er1
14748 +if { (ac_try="$ac_compile"
14749 +case "(($ac_try" in
14750 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14751 + *) ac_try_echo=$ac_try;;
14753 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14754 + (eval "$ac_compile") 2>conftest.er1
14756 grep -v '^ *+' conftest.er1 >conftest.err
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 - (exit $ac_status); } &&
14761 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14762 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 - (eval $ac_try) 2>&5
14765 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 - (exit $ac_status); }; } &&
14767 - { ac_try='test -s conftest.$ac_objext'
14768 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 - (eval $ac_try) 2>&5
14771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 - (exit $ac_status); }; }; then
14773 + (exit $ac_status); } && {
14774 + test -z "$ac_c_werror_flag" ||
14775 + test ! -s conftest.err
14776 + } && test -s conftest.$ac_objext; then
14777 ac_header_compiler=yes
14779 echo "$as_me: failed program was:" >&5
14780 sed 's/^/| /' conftest.$ac_ext >&5
14782 -ac_header_compiler=no
14783 + ac_header_compiler=no
14785 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14786 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14787 -echo "${ECHO_T}$ac_header_compiler" >&6
14789 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14790 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14791 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14793 # Is the header present?
14794 -echo "$as_me:$LINENO: checking dns_sd.h presence" >&5
14795 -echo $ECHO_N "checking dns_sd.h presence... $ECHO_C" >&6
14796 +{ echo "$as_me:$LINENO: checking dns_sd.h presence" >&5
14797 +echo $ECHO_N "checking dns_sd.h presence... $ECHO_C" >&6; }
14798 cat >conftest.$ac_ext <<_ACEOF
14801 @@ -26660,24 +27095,22 @@
14802 /* end confdefs.h. */
14803 #include <dns_sd.h>
14805 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14806 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14807 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14808 +case "(($ac_try" in
14809 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14810 + *) ac_try_echo=$ac_try;;
14812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14815 grep -v '^ *+' conftest.er1 >conftest.err
14817 cat conftest.err >&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 - (exit $ac_status); } >/dev/null; then
14820 - if test -s conftest.err; then
14821 - ac_cpp_err=$ac_c_preproc_warn_flag
14822 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14829 -if test -z "$ac_cpp_err"; then
14830 + (exit $ac_status); } >/dev/null && {
14831 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 + test ! -s conftest.err
14834 ac_header_preproc=yes
14836 echo "$as_me: failed program was:" >&5
14837 @@ -26685,9 +27118,10 @@
14839 ac_header_preproc=no
14842 rm -f conftest.err conftest.$ac_ext
14843 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14844 -echo "${ECHO_T}$ac_header_preproc" >&6
14845 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14846 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14848 # So? What about this header?
14849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14850 @@ -26711,31 +27145,29 @@
14851 echo "$as_me: WARNING: dns_sd.h: proceeding with the preprocessor's result" >&2;}
14852 { echo "$as_me:$LINENO: WARNING: dns_sd.h: in the future, the compiler will take precedence" >&5
14853 echo "$as_me: WARNING: dns_sd.h: in the future, the compiler will take precedence" >&2;}
14857 ## ------------------------------------------------- ##
14858 ## Report this to gphoto-devel@lists.sourceforge.net ##
14859 ## ------------------------------------------------- ##
14862 - sed "s/^/$as_me: WARNING: /" >&2
14863 + ) | sed "s/^/$as_me: WARNING: /" >&2
14866 -echo "$as_me:$LINENO: checking for dns_sd.h" >&5
14867 -echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6
14868 +{ echo "$as_me:$LINENO: checking for dns_sd.h" >&5
14869 +echo $ECHO_N "checking for dns_sd.h... $ECHO_C" >&6; }
14870 if test "${ac_cv_header_dns_sd_h+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 ac_cv_header_dns_sd_h=$ac_header_preproc
14875 -echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
14876 -echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6
14877 +{ echo "$as_me:$LINENO: result: $ac_cv_header_dns_sd_h" >&5
14878 +echo "${ECHO_T}$ac_cv_header_dns_sd_h" >&6; }
14881 if test $ac_cv_header_dns_sd_h = yes; then
14883 - echo "$as_me:$LINENO: checking for DNSServiceResolve in -ldns_sd" >&5
14884 -echo $ECHO_N "checking for DNSServiceResolve in -ldns_sd... $ECHO_C" >&6
14885 + { echo "$as_me:$LINENO: checking for DNSServiceResolve in -ldns_sd" >&5
14886 +echo $ECHO_N "checking for DNSServiceResolve in -ldns_sd... $ECHO_C" >&6; }
14887 if test "${ac_cv_lib_dns_sd_DNSServiceResolve+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 @@ -26748,55 +27180,53 @@
14891 cat >>conftest.$ac_ext <<_ACEOF
14892 /* end confdefs.h. */
14894 -/* Override any gcc2 internal prototype to avoid an error. */
14895 +/* Override any GCC internal prototype to avoid an error.
14896 + Use char because int might match the return type of a GCC
14897 + builtin and then its argument prototype would still apply. */
14901 -/* We use char because int might match the return type of a gcc2
14902 - builtin and then its argument prototype would still apply. */
14903 char DNSServiceResolve ();
14907 -DNSServiceResolve ();
14908 +return DNSServiceResolve ();
14913 rm -f conftest.$ac_objext conftest$ac_exeext
14914 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14915 - (eval $ac_link) 2>conftest.er1
14916 +if { (ac_try="$ac_link"
14917 +case "(($ac_try" in
14918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14919 + *) ac_try_echo=$ac_try;;
14921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14922 + (eval "$ac_link") 2>conftest.er1
14924 grep -v '^ *+' conftest.er1 >conftest.err
14926 cat conftest.err >&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 - (exit $ac_status); } &&
14929 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14930 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 - (eval $ac_try) 2>&5
14933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 - (exit $ac_status); }; } &&
14935 - { ac_try='test -s conftest$ac_exeext'
14936 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 - (eval $ac_try) 2>&5
14939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 - (exit $ac_status); }; }; then
14941 + (exit $ac_status); } && {
14942 + test -z "$ac_c_werror_flag" ||
14943 + test ! -s conftest.err
14944 + } && test -s conftest$ac_exeext &&
14945 + $as_test_x conftest$ac_exeext; then
14946 ac_cv_lib_dns_sd_DNSServiceResolve=yes
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14951 -ac_cv_lib_dns_sd_DNSServiceResolve=no
14952 + ac_cv_lib_dns_sd_DNSServiceResolve=no
14954 -rm -f conftest.err conftest.$ac_objext \
14956 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14957 conftest$ac_exeext conftest.$ac_ext
14958 LIBS=$ac_check_lib_save_LIBS
14960 -echo "$as_me:$LINENO: result: $ac_cv_lib_dns_sd_DNSServiceResolve" >&5
14961 -echo "${ECHO_T}$ac_cv_lib_dns_sd_DNSServiceResolve" >&6
14962 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dns_sd_DNSServiceResolve" >&5
14963 +echo "${ECHO_T}$ac_cv_lib_dns_sd_DNSServiceResolve" >&6; }
14964 if test $ac_cv_lib_dns_sd_DNSServiceResolve = yes; then
14966 MDNS_LIBS="-ldns_sd"
14967 @@ -26820,9 +27250,9 @@
14968 for ac_func in strerror snprintf vsnprintf
14970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14971 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14972 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14973 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14974 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14975 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14976 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 cat >conftest.$ac_ext <<_ACEOF
14980 @@ -26848,67 +27278,60 @@
14984 -/* Override any gcc2 internal prototype to avoid an error. */
14985 +/* Override any GCC internal prototype to avoid an error.
14986 + Use char because int might match the return type of a GCC
14987 + builtin and then its argument prototype would still apply. */
14992 -/* We use char because int might match the return type of a gcc2
14993 - builtin and then its argument prototype would still apply. */
14995 /* The GNU C library defines this for functions which it implements
14996 to always fail with ENOSYS. Some functions are actually named
14997 something starting with __ and the normal name is an alias. */
14998 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14999 +#if defined __stub_$ac_func || defined __stub___$ac_func
15002 -char (*f) () = $ac_func;
15004 -#ifdef __cplusplus
15011 -return f != $ac_func;
15012 +return $ac_func ();
15017 rm -f conftest.$ac_objext conftest$ac_exeext
15018 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15019 - (eval $ac_link) 2>conftest.er1
15020 +if { (ac_try="$ac_link"
15021 +case "(($ac_try" in
15022 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 + *) ac_try_echo=$ac_try;;
15025 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 + (eval "$ac_link") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 - (exit $ac_status); } &&
15033 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15034 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 - (eval $ac_try) 2>&5
15037 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 - (exit $ac_status); }; } &&
15039 - { ac_try='test -s conftest$ac_exeext'
15040 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 - (eval $ac_try) 2>&5
15043 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 - (exit $ac_status); }; }; then
15045 + (exit $ac_status); } && {
15046 + test -z "$ac_c_werror_flag" ||
15047 + test ! -s conftest.err
15048 + } && test -s conftest$ac_exeext &&
15049 + $as_test_x conftest$ac_exeext; then
15050 eval "$as_ac_var=yes"
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15055 -eval "$as_ac_var=no"
15056 + eval "$as_ac_var=no"
15058 -rm -f conftest.err conftest.$ac_objext \
15060 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15061 conftest$ac_exeext conftest.$ac_ext
15063 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15064 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15065 +ac_res=`eval echo '${'$as_ac_var'}'`
15066 + { echo "$as_me:$LINENO: result: $ac_res" >&5
15067 +echo "${ECHO_T}$ac_res" >&6; }
15068 if test `eval echo '${'$as_ac_var'}'` = yes; then
15069 cat >>confdefs.h <<_ACEOF
15070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15071 @@ -26934,26 +27357,22 @@
15074 rm -f conftest.$ac_objext
15075 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15076 - (eval $ac_compile) 2>conftest.er1
15077 +if { (ac_try="$ac_compile"
15078 +case "(($ac_try" in
15079 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 + *) ac_try_echo=$ac_try;;
15082 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 + (eval "$ac_compile") 2>conftest.er1
15085 grep -v '^ *+' conftest.er1 >conftest.err
15087 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 - (exit $ac_status); } &&
15090 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15091 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 - (eval $ac_try) 2>&5
15094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 - (exit $ac_status); }; } &&
15096 - { ac_try='test -s conftest.$ac_objext'
15097 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 - (eval $ac_try) 2>&5
15100 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 - (exit $ac_status); }; }; then
15102 + (exit $ac_status); } && {
15103 + test -z "$ac_c_werror_flag" ||
15104 + test ! -s conftest.err
15105 + } && test -s conftest.$ac_objext; then
15107 cat >>confdefs.h <<\_ACEOF
15108 #define HAVE_RTS_IOCTL 1
15109 @@ -26963,8 +27382,10 @@
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15115 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15117 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15118 cat >conftest.$ac_ext <<_ACEOF
15121 @@ -26981,26 +27402,22 @@
15124 rm -f conftest.$ac_objext
15125 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 - (eval $ac_compile) 2>conftest.er1
15127 +if { (ac_try="$ac_compile"
15128 +case "(($ac_try" in
15129 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15130 + *) ac_try_echo=$ac_try;;
15132 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15133 + (eval "$ac_compile") 2>conftest.er1
15135 grep -v '^ *+' conftest.er1 >conftest.err
15137 cat conftest.err >&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 - (exit $ac_status); } &&
15140 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 - (eval $ac_try) 2>&5
15144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 - (exit $ac_status); }; } &&
15146 - { ac_try='test -s conftest.$ac_objext'
15147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 - (eval $ac_try) 2>&5
15150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 - (exit $ac_status); }; }; then
15152 + (exit $ac_status); } && {
15153 + test -z "$ac_c_werror_flag" ||
15154 + test ! -s conftest.err
15155 + } && test -s conftest.$ac_objext; then
15157 cat >>confdefs.h <<\_ACEOF
15158 #define HAVE_RTS_IOCTL 1
15159 @@ -27010,8 +27427,10 @@
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15165 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15167 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168 cat >conftest.$ac_ext <<_ACEOF
15171 @@ -27028,26 +27447,22 @@
15174 rm -f conftest.$ac_objext
15175 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15176 - (eval $ac_compile) 2>conftest.er1
15177 +if { (ac_try="$ac_compile"
15178 +case "(($ac_try" in
15179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 + *) ac_try_echo=$ac_try;;
15182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 + (eval "$ac_compile") 2>conftest.er1
15185 grep -v '^ *+' conftest.er1 >conftest.err
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 - (exit $ac_status); } &&
15190 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15191 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15192 - (eval $ac_try) 2>&5
15194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 - (exit $ac_status); }; } &&
15196 - { ac_try='test -s conftest.$ac_objext'
15197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 - (eval $ac_try) 2>&5
15200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 - (exit $ac_status); }; }; then
15202 + (exit $ac_status); } && {
15203 + test -z "$ac_c_werror_flag" ||
15204 + test ! -s conftest.err
15205 + } && test -s conftest.$ac_objext; then
15207 cat >>confdefs.h <<\_ACEOF
15208 #define HAVE_RTS_IOCTL 1
15209 @@ -27057,8 +27472,10 @@
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.$ac_ext >&5
15215 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15217 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15218 cat >conftest.$ac_ext <<_ACEOF
15221 @@ -27075,26 +27492,22 @@
15224 rm -f conftest.$ac_objext
15225 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226 - (eval $ac_compile) 2>conftest.er1
15227 +if { (ac_try="$ac_compile"
15228 +case "(($ac_try" in
15229 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 + *) ac_try_echo=$ac_try;;
15232 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 + (eval "$ac_compile") 2>conftest.er1
15235 grep -v '^ *+' conftest.er1 >conftest.err
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 - (exit $ac_status); } &&
15240 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 - (eval $ac_try) 2>&5
15244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 - (exit $ac_status); }; } &&
15246 - { ac_try='test -s conftest.$ac_objext'
15247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 - (eval $ac_try) 2>&5
15250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 - (exit $ac_status); }; }; then
15252 + (exit $ac_status); } && {
15253 + test -z "$ac_c_werror_flag" ||
15254 + test ! -s conftest.err
15255 + } && test -s conftest.$ac_objext; then
15257 cat >>confdefs.h <<\_ACEOF
15258 #define HAVE_RTS_IOCTL 1
15259 @@ -27104,22 +27517,24 @@
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15265 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15267 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15269 # Check for va_copy()
15270 if test "${ac_cv_header_stdarg_h+set}" = set; then
15271 - echo "$as_me:$LINENO: checking for stdarg.h" >&5
15272 -echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6
15273 + { echo "$as_me:$LINENO: checking for stdarg.h" >&5
15274 +echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
15275 if test "${ac_cv_header_stdarg_h+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 -echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
15279 -echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6
15280 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
15281 +echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
15283 # Is the header compilable?
15284 -echo "$as_me:$LINENO: checking stdarg.h usability" >&5
15285 -echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6
15286 +{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5
15287 +echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; }
15288 cat >conftest.$ac_ext <<_ACEOF
15291 @@ -27130,40 +27545,37 @@
15292 #include <stdarg.h>
15294 rm -f conftest.$ac_objext
15295 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15296 - (eval $ac_compile) 2>conftest.er1
15297 +if { (ac_try="$ac_compile"
15298 +case "(($ac_try" in
15299 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300 + *) ac_try_echo=$ac_try;;
15302 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 + (eval "$ac_compile") 2>conftest.er1
15305 grep -v '^ *+' conftest.er1 >conftest.err
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 - (exit $ac_status); } &&
15310 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15311 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 - (eval $ac_try) 2>&5
15314 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 - (exit $ac_status); }; } &&
15316 - { ac_try='test -s conftest.$ac_objext'
15317 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 - (eval $ac_try) 2>&5
15320 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 - (exit $ac_status); }; }; then
15322 + (exit $ac_status); } && {
15323 + test -z "$ac_c_werror_flag" ||
15324 + test ! -s conftest.err
15325 + } && test -s conftest.$ac_objext; then
15326 ac_header_compiler=yes
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15331 -ac_header_compiler=no
15332 + ac_header_compiler=no
15334 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15335 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15336 -echo "${ECHO_T}$ac_header_compiler" >&6
15338 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15339 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15340 +echo "${ECHO_T}$ac_header_compiler" >&6; }
15342 # Is the header present?
15343 -echo "$as_me:$LINENO: checking stdarg.h presence" >&5
15344 -echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6
15345 +{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5
15346 +echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; }
15347 cat >conftest.$ac_ext <<_ACEOF
15350 @@ -27172,24 +27584,22 @@
15351 /* end confdefs.h. */
15352 #include <stdarg.h>
15354 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15355 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15356 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15357 +case "(($ac_try" in
15358 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 + *) ac_try_echo=$ac_try;;
15361 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15362 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15364 grep -v '^ *+' conftest.er1 >conftest.err
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 - (exit $ac_status); } >/dev/null; then
15369 - if test -s conftest.err; then
15370 - ac_cpp_err=$ac_c_preproc_warn_flag
15371 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15378 -if test -z "$ac_cpp_err"; then
15379 + (exit $ac_status); } >/dev/null && {
15380 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15381 + test ! -s conftest.err
15383 ac_header_preproc=yes
15385 echo "$as_me: failed program was:" >&5
15386 @@ -27197,9 +27607,10 @@
15388 ac_header_preproc=no
15391 rm -f conftest.err conftest.$ac_ext
15392 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15393 -echo "${ECHO_T}$ac_header_preproc" >&6
15394 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15395 +echo "${ECHO_T}$ac_header_preproc" >&6; }
15397 # So? What about this header?
15398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15399 @@ -27223,25 +27634,23 @@
15400 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;}
15401 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5
15402 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;}
15406 ## ------------------------------------------------- ##
15407 ## Report this to gphoto-devel@lists.sourceforge.net ##
15408 ## ------------------------------------------------- ##
15411 - sed "s/^/$as_me: WARNING: /" >&2
15412 + ) | sed "s/^/$as_me: WARNING: /" >&2
15415 -echo "$as_me:$LINENO: checking for stdarg.h" >&5
15416 -echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6
15417 +{ echo "$as_me:$LINENO: checking for stdarg.h" >&5
15418 +echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; }
15419 if test "${ac_cv_header_stdarg_h+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 ac_cv_header_stdarg_h=$ac_header_preproc
15424 -echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
15425 -echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6
15426 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
15427 +echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; }
15430 if test $ac_cv_header_stdarg_h = yes; then
15431 @@ -27281,26 +27690,23 @@
15434 rm -f conftest.$ac_objext conftest$ac_exeext
15435 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15436 - (eval $ac_link) 2>conftest.er1
15437 +if { (ac_try="$ac_link"
15438 +case "(($ac_try" in
15439 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15440 + *) ac_try_echo=$ac_try;;
15442 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15443 + (eval "$ac_link") 2>conftest.er1
15445 grep -v '^ *+' conftest.er1 >conftest.err
15447 cat conftest.err >&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 - (exit $ac_status); } &&
15450 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15451 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 - (eval $ac_try) 2>&5
15454 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 - (exit $ac_status); }; } &&
15456 - { ac_try='test -s conftest$ac_exeext'
15457 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 - (eval $ac_try) 2>&5
15460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 - (exit $ac_status); }; }; then
15462 + (exit $ac_status); } && {
15463 + test -z "$ac_c_werror_flag" ||
15464 + test ! -s conftest.err
15465 + } && test -s conftest$ac_exeext &&
15466 + $as_test_x conftest$ac_exeext; then
15468 have_va_copy="va_copy"
15470 @@ -27330,26 +27736,23 @@
15473 rm -f conftest.$ac_objext conftest$ac_exeext
15474 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15475 - (eval $ac_link) 2>conftest.er1
15476 +if { (ac_try="$ac_link"
15477 +case "(($ac_try" in
15478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 + *) ac_try_echo=$ac_try;;
15481 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 + (eval "$ac_link") 2>conftest.er1
15484 grep -v '^ *+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 - (exit $ac_status); } &&
15489 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 - (eval $ac_try) 2>&5
15493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 - (exit $ac_status); }; } &&
15495 - { ac_try='test -s conftest$ac_exeext'
15496 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 - (eval $ac_try) 2>&5
15499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 - (exit $ac_status); }; }; then
15501 + (exit $ac_status); } && {
15502 + test -z "$ac_c_werror_flag" ||
15503 + test ! -s conftest.err
15504 + } && test -s conftest$ac_exeext &&
15505 + $as_test_x conftest$ac_exeext; then
15507 have_va_copy="__va_copy"
15509 @@ -27362,17 +27765,20 @@
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15515 -rm -f conftest.err conftest.$ac_objext \
15517 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15518 conftest$ac_exeext conftest.$ac_ext
15521 -rm -f conftest.err conftest.$ac_objext \
15523 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15524 conftest$ac_exeext conftest.$ac_ext
15525 -echo "$as_me:$LINENO: checking for va_copy() or replacement" >&5
15526 -echo $ECHO_N "checking for va_copy() or replacement... $ECHO_C" >&6
15527 -echo "$as_me:$LINENO: result: $have_va_copy" >&5
15528 -echo "${ECHO_T}$have_va_copy" >&6
15529 +{ echo "$as_me:$LINENO: checking for va_copy() or replacement" >&5
15530 +echo $ECHO_N "checking for va_copy() or replacement... $ECHO_C" >&6; }
15531 +{ echo "$as_me:$LINENO: result: $have_va_copy" >&5
15532 +echo "${ECHO_T}$have_va_copy" >&6; }
15533 if test "x$have_va_copy" != "xno"; then
15535 cat >>confdefs.h <<\_ACEOF
15536 @@ -27389,10 +27795,9 @@
15540 -# Check whether --enable-serial or --disable-serial was given.
15541 +# Check whether --enable-serial was given.
15542 if test "${enable_serial+set}" = set; then
15543 - enableval="$enable_serial"
15545 + enableval=$enable_serial;
15546 if test x$enableval = xno; then
15549 @@ -27402,7 +27807,8 @@
15556 if $have_serial; then
15557 IOLIB_SUBDIRS="$IOLIB_SUBDIRS serial"
15559 @@ -27431,60 +27837,60 @@
15560 if $have_serial; then
15562 # GP_SERLOCK([baudboy])
15563 -# Check whether --enable-baudboy or --disable-baudboy was given.
15564 +# Check whether --enable-baudboy was given.
15565 if test "${enable_baudboy+set}" = set; then
15566 - enableval="$enable_baudboy"
15568 + enableval=$enable_baudboy;
15569 if test x$enableval = xno; then
15576 # GP_SERLOCK([ttylock])
15577 -# Check whether --enable-ttylock or --disable-ttylock was given.
15578 +# Check whether --enable-ttylock was given.
15579 if test "${enable_ttylock+set}" = set; then
15580 - enableval="$enable_ttylock"
15582 + enableval=$enable_ttylock;
15583 if test x$enableval = xno; then
15590 # GP_SERLOCK([lockdev])
15591 -# Check whether --enable-lockdev or --disable-lockdev was given.
15592 +# Check whether --enable-lockdev was given.
15593 if test "${enable_lockdev+set}" = set; then
15594 - enableval="$enable_lockdev"
15596 + enableval=$enable_lockdev;
15597 if test x$enableval = xno; then
15604 # GP_SERLOCK([resmgr])
15605 -# Check whether --enable-resmgr or --disable-resmgr was given.
15606 +# Check whether --enable-resmgr was given.
15607 if test "${enable_resmgr+set}" = set; then
15608 - enableval="$enable_resmgr"
15610 + enableval=$enable_resmgr;
15611 if test x$enableval = xno; then
15620 if $try_resmgr; then
15621 if test "${ac_cv_header_resmgr_h+set}" = set; then
15622 - echo "$as_me:$LINENO: checking for resmgr.h" >&5
15623 -echo $ECHO_N "checking for resmgr.h... $ECHO_C" >&6
15624 + { echo "$as_me:$LINENO: checking for resmgr.h" >&5
15625 +echo $ECHO_N "checking for resmgr.h... $ECHO_C" >&6; }
15626 if test "${ac_cv_header_resmgr_h+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15629 -echo "$as_me:$LINENO: result: $ac_cv_header_resmgr_h" >&5
15630 -echo "${ECHO_T}$ac_cv_header_resmgr_h" >&6
15631 +{ echo "$as_me:$LINENO: result: $ac_cv_header_resmgr_h" >&5
15632 +echo "${ECHO_T}$ac_cv_header_resmgr_h" >&6; }
15634 # Is the header compilable?
15635 -echo "$as_me:$LINENO: checking resmgr.h usability" >&5
15636 -echo $ECHO_N "checking resmgr.h usability... $ECHO_C" >&6
15637 +{ echo "$as_me:$LINENO: checking resmgr.h usability" >&5
15638 +echo $ECHO_N "checking resmgr.h usability... $ECHO_C" >&6; }
15639 cat >conftest.$ac_ext <<_ACEOF
15642 @@ -27495,40 +27901,37 @@
15643 #include <resmgr.h>
15645 rm -f conftest.$ac_objext
15646 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 - (eval $ac_compile) 2>conftest.er1
15648 +if { (ac_try="$ac_compile"
15649 +case "(($ac_try" in
15650 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 + *) ac_try_echo=$ac_try;;
15653 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 + (eval "$ac_compile") 2>conftest.er1
15656 grep -v '^ *+' conftest.er1 >conftest.err
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 - (exit $ac_status); } &&
15661 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15662 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 - (eval $ac_try) 2>&5
15665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 - (exit $ac_status); }; } &&
15667 - { ac_try='test -s conftest.$ac_objext'
15668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 - (eval $ac_try) 2>&5
15671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 - (exit $ac_status); }; }; then
15673 + (exit $ac_status); } && {
15674 + test -z "$ac_c_werror_flag" ||
15675 + test ! -s conftest.err
15676 + } && test -s conftest.$ac_objext; then
15677 ac_header_compiler=yes
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.$ac_ext >&5
15682 -ac_header_compiler=no
15683 + ac_header_compiler=no
15685 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15686 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15687 -echo "${ECHO_T}$ac_header_compiler" >&6
15689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15690 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15691 +echo "${ECHO_T}$ac_header_compiler" >&6; }
15693 # Is the header present?
15694 -echo "$as_me:$LINENO: checking resmgr.h presence" >&5
15695 -echo $ECHO_N "checking resmgr.h presence... $ECHO_C" >&6
15696 +{ echo "$as_me:$LINENO: checking resmgr.h presence" >&5
15697 +echo $ECHO_N "checking resmgr.h presence... $ECHO_C" >&6; }
15698 cat >conftest.$ac_ext <<_ACEOF
15701 @@ -27537,24 +27940,22 @@
15702 /* end confdefs.h. */
15703 #include <resmgr.h>
15705 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15706 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15707 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15708 +case "(($ac_try" in
15709 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15710 + *) ac_try_echo=$ac_try;;
15712 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15715 grep -v '^ *+' conftest.er1 >conftest.err
15717 cat conftest.err >&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 - (exit $ac_status); } >/dev/null; then
15720 - if test -s conftest.err; then
15721 - ac_cpp_err=$ac_c_preproc_warn_flag
15722 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15729 -if test -z "$ac_cpp_err"; then
15730 + (exit $ac_status); } >/dev/null && {
15731 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15732 + test ! -s conftest.err
15734 ac_header_preproc=yes
15736 echo "$as_me: failed program was:" >&5
15737 @@ -27562,9 +27963,10 @@
15739 ac_header_preproc=no
15742 rm -f conftest.err conftest.$ac_ext
15743 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15744 -echo "${ECHO_T}$ac_header_preproc" >&6
15745 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15746 +echo "${ECHO_T}$ac_header_preproc" >&6; }
15748 # So? What about this header?
15749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15750 @@ -27588,31 +27990,29 @@
15751 echo "$as_me: WARNING: resmgr.h: proceeding with the preprocessor's result" >&2;}
15752 { echo "$as_me:$LINENO: WARNING: resmgr.h: in the future, the compiler will take precedence" >&5
15753 echo "$as_me: WARNING: resmgr.h: in the future, the compiler will take precedence" >&2;}
15757 ## ------------------------------------------------- ##
15758 ## Report this to gphoto-devel@lists.sourceforge.net ##
15759 ## ------------------------------------------------- ##
15762 - sed "s/^/$as_me: WARNING: /" >&2
15763 + ) | sed "s/^/$as_me: WARNING: /" >&2
15766 -echo "$as_me:$LINENO: checking for resmgr.h" >&5
15767 -echo $ECHO_N "checking for resmgr.h... $ECHO_C" >&6
15768 +{ echo "$as_me:$LINENO: checking for resmgr.h" >&5
15769 +echo $ECHO_N "checking for resmgr.h... $ECHO_C" >&6; }
15770 if test "${ac_cv_header_resmgr_h+set}" = set; then
15771 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 ac_cv_header_resmgr_h=$ac_header_preproc
15775 -echo "$as_me:$LINENO: result: $ac_cv_header_resmgr_h" >&5
15776 -echo "${ECHO_T}$ac_cv_header_resmgr_h" >&6
15777 +{ echo "$as_me:$LINENO: result: $ac_cv_header_resmgr_h" >&5
15778 +echo "${ECHO_T}$ac_cv_header_resmgr_h" >&6; }
15781 if test $ac_cv_header_resmgr_h = yes; then
15783 - echo "$as_me:$LINENO: checking for rsm_lock_device in -lresmgr" >&5
15784 -echo $ECHO_N "checking for rsm_lock_device in -lresmgr... $ECHO_C" >&6
15785 + { echo "$as_me:$LINENO: checking for rsm_lock_device in -lresmgr" >&5
15786 +echo $ECHO_N "checking for rsm_lock_device in -lresmgr... $ECHO_C" >&6; }
15787 if test "${ac_cv_lib_resmgr_rsm_lock_device+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 @@ -27625,55 +28025,53 @@
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15794 -/* Override any gcc2 internal prototype to avoid an error. */
15795 +/* Override any GCC internal prototype to avoid an error.
15796 + Use char because int might match the return type of a GCC
15797 + builtin and then its argument prototype would still apply. */
15801 -/* We use char because int might match the return type of a gcc2
15802 - builtin and then its argument prototype would still apply. */
15803 char rsm_lock_device ();
15807 -rsm_lock_device ();
15808 +return rsm_lock_device ();
15813 rm -f conftest.$ac_objext conftest$ac_exeext
15814 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15815 - (eval $ac_link) 2>conftest.er1
15816 +if { (ac_try="$ac_link"
15817 +case "(($ac_try" in
15818 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 + *) ac_try_echo=$ac_try;;
15821 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 + (eval "$ac_link") 2>conftest.er1
15824 grep -v '^ *+' conftest.er1 >conftest.err
15826 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 - (exit $ac_status); } &&
15829 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15830 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15831 - (eval $ac_try) 2>&5
15833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 - (exit $ac_status); }; } &&
15835 - { ac_try='test -s conftest$ac_exeext'
15836 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 - (eval $ac_try) 2>&5
15839 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 - (exit $ac_status); }; }; then
15841 + (exit $ac_status); } && {
15842 + test -z "$ac_c_werror_flag" ||
15843 + test ! -s conftest.err
15844 + } && test -s conftest$ac_exeext &&
15845 + $as_test_x conftest$ac_exeext; then
15846 ac_cv_lib_resmgr_rsm_lock_device=yes
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 -ac_cv_lib_resmgr_rsm_lock_device=no
15852 + ac_cv_lib_resmgr_rsm_lock_device=no
15854 -rm -f conftest.err conftest.$ac_objext \
15856 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15857 conftest$ac_exeext conftest.$ac_ext
15858 LIBS=$ac_check_lib_save_LIBS
15860 -echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_lock_device" >&5
15861 -echo "${ECHO_T}$ac_cv_lib_resmgr_rsm_lock_device" >&6
15862 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_lock_device" >&5
15863 +echo "${ECHO_T}$ac_cv_lib_resmgr_rsm_lock_device" >&6; }
15864 if test $ac_cv_lib_resmgr_rsm_lock_device = yes; then
15867 @@ -27705,17 +28103,17 @@
15869 if $try_baudboy; then
15870 if test "${ac_cv_header_baudboy_h+set}" = set; then
15871 - echo "$as_me:$LINENO: checking for baudboy.h" >&5
15872 -echo $ECHO_N "checking for baudboy.h... $ECHO_C" >&6
15873 + { echo "$as_me:$LINENO: checking for baudboy.h" >&5
15874 +echo $ECHO_N "checking for baudboy.h... $ECHO_C" >&6; }
15875 if test "${ac_cv_header_baudboy_h+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15878 -echo "$as_me:$LINENO: result: $ac_cv_header_baudboy_h" >&5
15879 -echo "${ECHO_T}$ac_cv_header_baudboy_h" >&6
15880 +{ echo "$as_me:$LINENO: result: $ac_cv_header_baudboy_h" >&5
15881 +echo "${ECHO_T}$ac_cv_header_baudboy_h" >&6; }
15883 # Is the header compilable?
15884 -echo "$as_me:$LINENO: checking baudboy.h usability" >&5
15885 -echo $ECHO_N "checking baudboy.h usability... $ECHO_C" >&6
15886 +{ echo "$as_me:$LINENO: checking baudboy.h usability" >&5
15887 +echo $ECHO_N "checking baudboy.h usability... $ECHO_C" >&6; }
15888 cat >conftest.$ac_ext <<_ACEOF
15891 @@ -27726,40 +28124,37 @@
15892 #include <baudboy.h>
15894 rm -f conftest.$ac_objext
15895 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15896 - (eval $ac_compile) 2>conftest.er1
15897 +if { (ac_try="$ac_compile"
15898 +case "(($ac_try" in
15899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15900 + *) ac_try_echo=$ac_try;;
15902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15903 + (eval "$ac_compile") 2>conftest.er1
15905 grep -v '^ *+' conftest.er1 >conftest.err
15907 cat conftest.err >&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 - (exit $ac_status); } &&
15910 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15911 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15912 - (eval $ac_try) 2>&5
15914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 - (exit $ac_status); }; } &&
15916 - { ac_try='test -s conftest.$ac_objext'
15917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 - (eval $ac_try) 2>&5
15920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 - (exit $ac_status); }; }; then
15922 + (exit $ac_status); } && {
15923 + test -z "$ac_c_werror_flag" ||
15924 + test ! -s conftest.err
15925 + } && test -s conftest.$ac_objext; then
15926 ac_header_compiler=yes
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15931 -ac_header_compiler=no
15932 + ac_header_compiler=no
15934 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15935 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15936 -echo "${ECHO_T}$ac_header_compiler" >&6
15938 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15940 +echo "${ECHO_T}$ac_header_compiler" >&6; }
15942 # Is the header present?
15943 -echo "$as_me:$LINENO: checking baudboy.h presence" >&5
15944 -echo $ECHO_N "checking baudboy.h presence... $ECHO_C" >&6
15945 +{ echo "$as_me:$LINENO: checking baudboy.h presence" >&5
15946 +echo $ECHO_N "checking baudboy.h presence... $ECHO_C" >&6; }
15947 cat >conftest.$ac_ext <<_ACEOF
15950 @@ -27768,24 +28163,22 @@
15951 /* end confdefs.h. */
15952 #include <baudboy.h>
15954 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15955 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15956 +if { (ac_try="$ac_cpp conftest.$ac_ext"
15957 +case "(($ac_try" in
15958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 + *) ac_try_echo=$ac_try;;
15961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15964 grep -v '^ *+' conftest.er1 >conftest.err
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 - (exit $ac_status); } >/dev/null; then
15969 - if test -s conftest.err; then
15970 - ac_cpp_err=$ac_c_preproc_warn_flag
15971 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15978 -if test -z "$ac_cpp_err"; then
15979 + (exit $ac_status); } >/dev/null && {
15980 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15981 + test ! -s conftest.err
15983 ac_header_preproc=yes
15985 echo "$as_me: failed program was:" >&5
15986 @@ -27793,9 +28186,10 @@
15988 ac_header_preproc=no
15991 rm -f conftest.err conftest.$ac_ext
15992 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15993 -echo "${ECHO_T}$ac_header_preproc" >&6
15994 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15995 +echo "${ECHO_T}$ac_header_preproc" >&6; }
15997 # So? What about this header?
15998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15999 @@ -27819,25 +28213,23 @@
16000 echo "$as_me: WARNING: baudboy.h: proceeding with the preprocessor's result" >&2;}
16001 { echo "$as_me:$LINENO: WARNING: baudboy.h: in the future, the compiler will take precedence" >&5
16002 echo "$as_me: WARNING: baudboy.h: in the future, the compiler will take precedence" >&2;}
16006 ## ------------------------------------------------- ##
16007 ## Report this to gphoto-devel@lists.sourceforge.net ##
16008 ## ------------------------------------------------- ##
16011 - sed "s/^/$as_me: WARNING: /" >&2
16012 + ) | sed "s/^/$as_me: WARNING: /" >&2
16015 -echo "$as_me:$LINENO: checking for baudboy.h" >&5
16016 -echo $ECHO_N "checking for baudboy.h... $ECHO_C" >&6
16017 +{ echo "$as_me:$LINENO: checking for baudboy.h" >&5
16018 +echo $ECHO_N "checking for baudboy.h... $ECHO_C" >&6; }
16019 if test "${ac_cv_header_baudboy_h+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 ac_cv_header_baudboy_h=$ac_header_preproc
16024 -echo "$as_me:$LINENO: result: $ac_cv_header_baudboy_h" >&5
16025 -echo "${ECHO_T}$ac_cv_header_baudboy_h" >&6
16026 +{ echo "$as_me:$LINENO: result: $ac_cv_header_baudboy_h" >&5
16027 +echo "${ECHO_T}$ac_cv_header_baudboy_h" >&6; }
16030 if test $ac_cv_header_baudboy_h = yes; then
16031 @@ -27869,17 +28261,17 @@
16033 if $try_ttylock; then
16034 if test "${ac_cv_header_lockdev_h+set}" = set; then
16035 - echo "$as_me:$LINENO: checking for lockdev.h" >&5
16036 -echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6
16037 + { echo "$as_me:$LINENO: checking for lockdev.h" >&5
16038 +echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6; }
16039 if test "${ac_cv_header_lockdev_h+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 -echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16043 -echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6
16044 +{ echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16045 +echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6; }
16047 # Is the header compilable?
16048 -echo "$as_me:$LINENO: checking lockdev.h usability" >&5
16049 -echo $ECHO_N "checking lockdev.h usability... $ECHO_C" >&6
16050 +{ echo "$as_me:$LINENO: checking lockdev.h usability" >&5
16051 +echo $ECHO_N "checking lockdev.h usability... $ECHO_C" >&6; }
16052 cat >conftest.$ac_ext <<_ACEOF
16055 @@ -27890,40 +28282,37 @@
16056 #include <lockdev.h>
16058 rm -f conftest.$ac_objext
16059 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 - (eval $ac_compile) 2>conftest.er1
16061 +if { (ac_try="$ac_compile"
16062 +case "(($ac_try" in
16063 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16064 + *) ac_try_echo=$ac_try;;
16066 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 + (eval "$ac_compile") 2>conftest.er1
16069 grep -v '^ *+' conftest.er1 >conftest.err
16071 cat conftest.err >&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 - (exit $ac_status); } &&
16074 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 - (eval $ac_try) 2>&5
16078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 - (exit $ac_status); }; } &&
16080 - { ac_try='test -s conftest.$ac_objext'
16081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 - (eval $ac_try) 2>&5
16084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 - (exit $ac_status); }; }; then
16086 + (exit $ac_status); } && {
16087 + test -z "$ac_c_werror_flag" ||
16088 + test ! -s conftest.err
16089 + } && test -s conftest.$ac_objext; then
16090 ac_header_compiler=yes
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16095 -ac_header_compiler=no
16096 + ac_header_compiler=no
16098 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16099 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16100 -echo "${ECHO_T}$ac_header_compiler" >&6
16102 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16104 +echo "${ECHO_T}$ac_header_compiler" >&6; }
16106 # Is the header present?
16107 -echo "$as_me:$LINENO: checking lockdev.h presence" >&5
16108 -echo $ECHO_N "checking lockdev.h presence... $ECHO_C" >&6
16109 +{ echo "$as_me:$LINENO: checking lockdev.h presence" >&5
16110 +echo $ECHO_N "checking lockdev.h presence... $ECHO_C" >&6; }
16111 cat >conftest.$ac_ext <<_ACEOF
16114 @@ -27932,24 +28321,22 @@
16115 /* end confdefs.h. */
16116 #include <lockdev.h>
16118 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16119 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16120 +if { (ac_try="$ac_cpp conftest.$ac_ext"
16121 +case "(($ac_try" in
16122 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16123 + *) ac_try_echo=$ac_try;;
16125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16128 grep -v '^ *+' conftest.er1 >conftest.err
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 - (exit $ac_status); } >/dev/null; then
16133 - if test -s conftest.err; then
16134 - ac_cpp_err=$ac_c_preproc_warn_flag
16135 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16142 -if test -z "$ac_cpp_err"; then
16143 + (exit $ac_status); } >/dev/null && {
16144 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16145 + test ! -s conftest.err
16147 ac_header_preproc=yes
16149 echo "$as_me: failed program was:" >&5
16150 @@ -27957,9 +28344,10 @@
16152 ac_header_preproc=no
16155 rm -f conftest.err conftest.$ac_ext
16156 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16157 -echo "${ECHO_T}$ac_header_preproc" >&6
16158 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16159 +echo "${ECHO_T}$ac_header_preproc" >&6; }
16161 # So? What about this header?
16162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16163 @@ -27983,31 +28371,29 @@
16164 echo "$as_me: WARNING: lockdev.h: proceeding with the preprocessor's result" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: lockdev.h: in the future, the compiler will take precedence" >&5
16166 echo "$as_me: WARNING: lockdev.h: in the future, the compiler will take precedence" >&2;}
16170 ## ------------------------------------------------- ##
16171 ## Report this to gphoto-devel@lists.sourceforge.net ##
16172 ## ------------------------------------------------- ##
16175 - sed "s/^/$as_me: WARNING: /" >&2
16176 + ) | sed "s/^/$as_me: WARNING: /" >&2
16179 -echo "$as_me:$LINENO: checking for lockdev.h" >&5
16180 -echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6
16181 +{ echo "$as_me:$LINENO: checking for lockdev.h" >&5
16182 +echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6; }
16183 if test "${ac_cv_header_lockdev_h+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 ac_cv_header_lockdev_h=$ac_header_preproc
16188 -echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16189 -echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6
16190 +{ echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16191 +echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6; }
16196 - echo "$as_me:$LINENO: checking for ttylock.h" >&5
16197 -echo $ECHO_N "checking for ttylock.h... $ECHO_C" >&6
16198 + { echo "$as_me:$LINENO: checking for ttylock.h" >&5
16199 +echo $ECHO_N "checking for ttylock.h... $ECHO_C" >&6; }
16200 if test "${ac_cv_header_ttylock_h+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 @@ -28025,37 +28411,34 @@
16204 #include <ttylock.h>
16206 rm -f conftest.$ac_objext
16207 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16208 - (eval $ac_compile) 2>conftest.er1
16209 +if { (ac_try="$ac_compile"
16210 +case "(($ac_try" in
16211 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 + *) ac_try_echo=$ac_try;;
16214 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 + (eval "$ac_compile") 2>conftest.er1
16217 grep -v '^ *+' conftest.er1 >conftest.err
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 - (exit $ac_status); } &&
16222 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16223 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 - (eval $ac_try) 2>&5
16226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 - (exit $ac_status); }; } &&
16228 - { ac_try='test -s conftest.$ac_objext'
16229 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 - (eval $ac_try) 2>&5
16232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 - (exit $ac_status); }; }; then
16234 + (exit $ac_status); } && {
16235 + test -z "$ac_c_werror_flag" ||
16236 + test ! -s conftest.err
16237 + } && test -s conftest.$ac_objext; then
16238 ac_cv_header_ttylock_h=yes
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16243 -ac_cv_header_ttylock_h=no
16244 + ac_cv_header_ttylock_h=no
16246 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16248 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 -echo "$as_me:$LINENO: result: $ac_cv_header_ttylock_h" >&5
16251 -echo "${ECHO_T}$ac_cv_header_ttylock_h" >&6
16252 +{ echo "$as_me:$LINENO: result: $ac_cv_header_ttylock_h" >&5
16253 +echo "${ECHO_T}$ac_cv_header_ttylock_h" >&6; }
16254 if test $ac_cv_header_ttylock_h = yes; then
16256 lockdev_result="no"
16257 @@ -28075,26 +28458,23 @@
16260 rm -f conftest.$ac_objext conftest$ac_exeext
16261 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16262 - (eval $ac_link) 2>conftest.er1
16263 +if { (ac_try="$ac_link"
16264 +case "(($ac_try" in
16265 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16266 + *) ac_try_echo=$ac_try;;
16268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 + (eval "$ac_link") 2>conftest.er1
16271 grep -v '^ *+' conftest.er1 >conftest.err
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 - (exit $ac_status); } &&
16276 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16277 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 - (eval $ac_try) 2>&5
16280 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 - (exit $ac_status); }; } &&
16282 - { ac_try='test -s conftest$ac_exeext'
16283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 - (eval $ac_try) 2>&5
16286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 - (exit $ac_status); }; }; then
16288 + (exit $ac_status); } && {
16289 + test -z "$ac_c_werror_flag" ||
16290 + test ! -s conftest.err
16291 + } && test -s conftest$ac_exeext &&
16292 + $as_test_x conftest$ac_exeext; then
16294 lockdev_result="no"
16296 @@ -28121,26 +28501,23 @@
16299 rm -f conftest.$ac_objext conftest$ac_exeext
16300 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16301 - (eval $ac_link) 2>conftest.er1
16302 +if { (ac_try="$ac_link"
16303 +case "(($ac_try" in
16304 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 + *) ac_try_echo=$ac_try;;
16307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 + (eval "$ac_link") 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 - (exit $ac_status); } &&
16315 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16316 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 - (eval $ac_try) 2>&5
16319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 - (exit $ac_status); }; } &&
16321 - { ac_try='test -s conftest$ac_exeext'
16322 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 - (eval $ac_try) 2>&5
16325 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 - (exit $ac_status); }; }; then
16327 + (exit $ac_status); } && {
16328 + test -z "$ac_c_werror_flag" ||
16329 + test ! -s conftest.err
16330 + } && test -s conftest$ac_exeext &&
16331 + $as_test_x conftest$ac_exeext; then
16333 lockdev_result="yes"
16335 @@ -28156,21 +28533,25 @@
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16341 -rm -f conftest.err conftest.$ac_objext \
16343 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16344 conftest$ac_exeext conftest.$ac_ext
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16352 -rm -f conftest.err conftest.$ac_objext \
16354 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16355 conftest$ac_exeext conftest.$ac_ext
16356 - echo "$as_me:$LINENO: checking if ttylock needs lockdev" >&5
16357 -echo $ECHO_N "checking if ttylock needs lockdev... $ECHO_C" >&6
16358 - echo "$as_me:$LINENO: result: ${lockdev_result}" >&5
16359 -echo "${ECHO_T}${lockdev_result}" >&6
16360 + { echo "$as_me:$LINENO: checking if ttylock needs lockdev" >&5
16361 +echo $ECHO_N "checking if ttylock needs lockdev... $ECHO_C" >&6; }
16362 + { echo "$as_me:$LINENO: result: ${lockdev_result}" >&5
16363 +echo "${ECHO_T}${lockdev_result}" >&6; }
16367 @@ -28189,8 +28570,8 @@
16370 if $try_lockdev; then
16371 - echo "$as_me:$LINENO: checking for dev_lock in -llockdev" >&5
16372 -echo $ECHO_N "checking for dev_lock in -llockdev... $ECHO_C" >&6
16373 + { echo "$as_me:$LINENO: checking for dev_lock in -llockdev" >&5
16374 +echo $ECHO_N "checking for dev_lock in -llockdev... $ECHO_C" >&6; }
16375 if test "${ac_cv_lib_lockdev_dev_lock+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 @@ -28203,69 +28584,67 @@
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16382 -/* Override any gcc2 internal prototype to avoid an error. */
16383 +/* Override any GCC internal prototype to avoid an error.
16384 + Use char because int might match the return type of a GCC
16385 + builtin and then its argument prototype would still apply. */
16389 -/* We use char because int might match the return type of a gcc2
16390 - builtin and then its argument prototype would still apply. */
16396 +return dev_lock ();
16401 rm -f conftest.$ac_objext conftest$ac_exeext
16402 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16403 - (eval $ac_link) 2>conftest.er1
16404 +if { (ac_try="$ac_link"
16405 +case "(($ac_try" in
16406 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16407 + *) ac_try_echo=$ac_try;;
16409 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 + (eval "$ac_link") 2>conftest.er1
16412 grep -v '^ *+' conftest.er1 >conftest.err
16414 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 - (exit $ac_status); } &&
16417 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 - (eval $ac_try) 2>&5
16421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 - (exit $ac_status); }; } &&
16423 - { ac_try='test -s conftest$ac_exeext'
16424 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 - (eval $ac_try) 2>&5
16427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 - (exit $ac_status); }; }; then
16429 + (exit $ac_status); } && {
16430 + test -z "$ac_c_werror_flag" ||
16431 + test ! -s conftest.err
16432 + } && test -s conftest$ac_exeext &&
16433 + $as_test_x conftest$ac_exeext; then
16434 ac_cv_lib_lockdev_dev_lock=yes
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16439 -ac_cv_lib_lockdev_dev_lock=no
16440 + ac_cv_lib_lockdev_dev_lock=no
16442 -rm -f conftest.err conftest.$ac_objext \
16444 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16445 conftest$ac_exeext conftest.$ac_ext
16446 LIBS=$ac_check_lib_save_LIBS
16448 -echo "$as_me:$LINENO: result: $ac_cv_lib_lockdev_dev_lock" >&5
16449 -echo "${ECHO_T}$ac_cv_lib_lockdev_dev_lock" >&6
16450 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lockdev_dev_lock" >&5
16451 +echo "${ECHO_T}$ac_cv_lib_lockdev_dev_lock" >&6; }
16452 if test $ac_cv_lib_lockdev_dev_lock = yes; then
16454 if test "${ac_cv_header_lockdev_h+set}" = set; then
16455 - echo "$as_me:$LINENO: checking for lockdev.h" >&5
16456 -echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6
16457 + { echo "$as_me:$LINENO: checking for lockdev.h" >&5
16458 +echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6; }
16459 if test "${ac_cv_header_lockdev_h+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 -echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16463 -echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6
16464 +{ echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16465 +echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6; }
16467 # Is the header compilable?
16468 -echo "$as_me:$LINENO: checking lockdev.h usability" >&5
16469 -echo $ECHO_N "checking lockdev.h usability... $ECHO_C" >&6
16470 +{ echo "$as_me:$LINENO: checking lockdev.h usability" >&5
16471 +echo $ECHO_N "checking lockdev.h usability... $ECHO_C" >&6; }
16472 cat >conftest.$ac_ext <<_ACEOF
16475 @@ -28276,40 +28655,37 @@
16476 #include <lockdev.h>
16478 rm -f conftest.$ac_objext
16479 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 - (eval $ac_compile) 2>conftest.er1
16481 +if { (ac_try="$ac_compile"
16482 +case "(($ac_try" in
16483 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16484 + *) ac_try_echo=$ac_try;;
16486 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16487 + (eval "$ac_compile") 2>conftest.er1
16489 grep -v '^ *+' conftest.er1 >conftest.err
16491 cat conftest.err >&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 - (exit $ac_status); } &&
16494 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 - (eval $ac_try) 2>&5
16498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 - (exit $ac_status); }; } &&
16500 - { ac_try='test -s conftest.$ac_objext'
16501 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 - (eval $ac_try) 2>&5
16504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 - (exit $ac_status); }; }; then
16506 + (exit $ac_status); } && {
16507 + test -z "$ac_c_werror_flag" ||
16508 + test ! -s conftest.err
16509 + } && test -s conftest.$ac_objext; then
16510 ac_header_compiler=yes
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16515 -ac_header_compiler=no
16516 + ac_header_compiler=no
16518 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16519 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16520 -echo "${ECHO_T}$ac_header_compiler" >&6
16522 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16524 +echo "${ECHO_T}$ac_header_compiler" >&6; }
16526 # Is the header present?
16527 -echo "$as_me:$LINENO: checking lockdev.h presence" >&5
16528 -echo $ECHO_N "checking lockdev.h presence... $ECHO_C" >&6
16529 +{ echo "$as_me:$LINENO: checking lockdev.h presence" >&5
16530 +echo $ECHO_N "checking lockdev.h presence... $ECHO_C" >&6; }
16531 cat >conftest.$ac_ext <<_ACEOF
16534 @@ -28318,24 +28694,22 @@
16535 /* end confdefs.h. */
16536 #include <lockdev.h>
16538 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16539 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16540 +if { (ac_try="$ac_cpp conftest.$ac_ext"
16541 +case "(($ac_try" in
16542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16543 + *) ac_try_echo=$ac_try;;
16545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16546 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16548 grep -v '^ *+' conftest.er1 >conftest.err
16550 cat conftest.err >&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 - (exit $ac_status); } >/dev/null; then
16553 - if test -s conftest.err; then
16554 - ac_cpp_err=$ac_c_preproc_warn_flag
16555 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16562 -if test -z "$ac_cpp_err"; then
16563 + (exit $ac_status); } >/dev/null && {
16564 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16565 + test ! -s conftest.err
16567 ac_header_preproc=yes
16569 echo "$as_me: failed program was:" >&5
16570 @@ -28343,9 +28717,10 @@
16572 ac_header_preproc=no
16575 rm -f conftest.err conftest.$ac_ext
16576 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16577 -echo "${ECHO_T}$ac_header_preproc" >&6
16578 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16579 +echo "${ECHO_T}$ac_header_preproc" >&6; }
16581 # So? What about this header?
16582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16583 @@ -28369,25 +28744,23 @@
16584 echo "$as_me: WARNING: lockdev.h: proceeding with the preprocessor's result" >&2;}
16585 { echo "$as_me:$LINENO: WARNING: lockdev.h: in the future, the compiler will take precedence" >&5
16586 echo "$as_me: WARNING: lockdev.h: in the future, the compiler will take precedence" >&2;}
16590 ## ------------------------------------------------- ##
16591 ## Report this to gphoto-devel@lists.sourceforge.net ##
16592 ## ------------------------------------------------- ##
16595 - sed "s/^/$as_me: WARNING: /" >&2
16596 + ) | sed "s/^/$as_me: WARNING: /" >&2
16599 -echo "$as_me:$LINENO: checking for lockdev.h" >&5
16600 -echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6
16601 +{ echo "$as_me:$LINENO: checking for lockdev.h" >&5
16602 +echo $ECHO_N "checking for lockdev.h... $ECHO_C" >&6; }
16603 if test "${ac_cv_header_lockdev_h+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 ac_cv_header_lockdev_h=$ac_header_preproc
16608 -echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16609 -echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6
16610 +{ echo "$as_me:$LINENO: result: $ac_cv_header_lockdev_h" >&5
16611 +echo "${ECHO_T}$ac_cv_header_lockdev_h" >&6; }
16614 if test $ac_cv_header_lockdev_h = yes; then
16615 @@ -28437,20 +28810,20 @@
16617 export PKG_CONFIG_PATH
16619 -echo "$as_me:$LINENO: checking PKG_CONFIG_PATH" >&5
16620 -echo $ECHO_N "checking PKG_CONFIG_PATH... $ECHO_C" >&6
16621 +{ echo "$as_me:$LINENO: checking PKG_CONFIG_PATH" >&5
16622 +echo $ECHO_N "checking PKG_CONFIG_PATH... $ECHO_C" >&6; }
16623 if test "x${PKG_CONFIG_PATH}" = "x"; then
16624 - echo "$as_me:$LINENO: result: empty" >&5
16625 -echo "${ECHO_T}empty" >&6
16626 + { echo "$as_me:$LINENO: result: empty" >&5
16627 +echo "${ECHO_T}empty" >&6; }
16629 - echo "$as_me:$LINENO: result: ${PKG_CONFIG_PATH}" >&5
16630 -echo "${ECHO_T}${PKG_CONFIG_PATH}" >&6
16631 + { echo "$as_me:$LINENO: result: ${PKG_CONFIG_PATH}" >&5
16632 +echo "${ECHO_T}${PKG_CONFIG_PATH}" >&6; }
16635 # Extract the first word of "pkg-config", so it can be a program name with args.
16636 set dummy pkg-config; ac_word=$2
16637 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16638 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16639 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16640 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16641 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 @@ -28465,28 +28838,29 @@
16646 test -z "$as_dir" && as_dir=.
16647 for ac_exec_ext in '' $ac_executable_extensions; do
16648 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16649 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16650 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="false"
16662 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16664 if test -n "$PKG_CONFIG"; then
16665 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
16666 -echo "${ECHO_T}$PKG_CONFIG" >&6
16667 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
16668 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
16670 - echo "$as_me:$LINENO: result: no" >&5
16671 -echo "${ECHO_T}no" >&6
16672 + { echo "$as_me:$LINENO: result: no" >&5
16673 +echo "${ECHO_T}no" >&6; }
16677 if test "$PKG_CONFIG" = "false"; then
16678 { { echo "$as_me:$LINENO: error:
16679 *** Build requires pkg-config
16680 @@ -28507,8 +28881,8 @@
16681 { (exit 1); exit 1; }; }
16684 -echo "$as_me:$LINENO: checking for dynamic library extension" >&5
16685 -echo $ECHO_N "checking for dynamic library extension... $ECHO_C" >&6
16686 +{ echo "$as_me:$LINENO: checking for dynamic library extension" >&5
16687 +echo $ECHO_N "checking for dynamic library extension... $ECHO_C" >&6; }
16690 *linux*) soext=".so" ;;
16691 @@ -28520,8 +28894,8 @@
16693 if test "x$soext" = "x"; then
16695 - echo "$as_me:$LINENO: result: ${soext}" >&5
16696 -echo "${ECHO_T}${soext}" >&6
16697 + { echo "$as_me:$LINENO: result: ${soext}" >&5
16698 +echo "${ECHO_T}${soext}" >&6; }
16699 { echo "$as_me:$LINENO: WARNING:
16700 Host system \"${host}\" not recognized, defaulting to \"${soext}\".
16702 @@ -28529,8 +28903,8 @@
16703 Host system \"${host}\" not recognized, defaulting to \"${soext}\".
16706 - echo "$as_me:$LINENO: result: ${soext}" >&5
16707 -echo "${ECHO_T}${soext}" >&6
16708 + { echo "$as_me:$LINENO: result: ${soext}" >&5
16709 +echo "${ECHO_T}${soext}" >&6; }
16713 @@ -28539,8 +28913,8 @@
16714 if test -n "$ac_tool_prefix"; then
16715 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16716 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16717 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16718 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16719 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16720 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16721 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 @@ -28555,34 +28929,35 @@
16726 test -z "$as_dir" && as_dir=.
16727 for ac_exec_ext in '' $ac_executable_extensions; do
16728 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16729 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16730 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16741 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16743 if test -n "$PKG_CONFIG"; then
16744 - echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
16745 -echo "${ECHO_T}$PKG_CONFIG" >&6
16746 + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
16747 +echo "${ECHO_T}$PKG_CONFIG" >&6; }
16749 - echo "$as_me:$LINENO: result: no" >&5
16750 -echo "${ECHO_T}no" >&6
16751 + { echo "$as_me:$LINENO: result: no" >&5
16752 +echo "${ECHO_T}no" >&6; }
16757 if test -z "$ac_cv_path_PKG_CONFIG"; then
16758 ac_pt_PKG_CONFIG=$PKG_CONFIG
16759 # Extract the first word of "pkg-config", so it can be a program name with args.
16760 set dummy pkg-config; ac_word=$2
16761 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16762 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16763 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16764 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16765 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 @@ -28597,28 +28972,42 @@
16770 test -z "$as_dir" && as_dir=.
16771 for ac_exec_ext in '' $ac_executable_extensions; do
16772 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16773 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16774 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16785 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16787 if test -n "$ac_pt_PKG_CONFIG"; then
16788 - echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
16789 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
16790 + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
16791 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
16793 - echo "$as_me:$LINENO: result: no" >&5
16794 -echo "${ECHO_T}no" >&6
16795 + { echo "$as_me:$LINENO: result: no" >&5
16796 +echo "${ECHO_T}no" >&6; }
16799 - PKG_CONFIG=$ac_pt_PKG_CONFIG
16800 + if test "x$ac_pt_PKG_CONFIG" = x; then
16803 + case $cross_compiling:$ac_tool_warned in
16805 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16806 +whose name does not start with the host triplet. If you think this
16807 +configuration is useful to you, please write to autoconf@gnu.org." >&5
16808 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16809 +whose name does not start with the host triplet. If you think this
16810 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16811 +ac_tool_warned=yes ;;
16813 + PKG_CONFIG=$ac_pt_PKG_CONFIG
16816 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16818 @@ -28626,14 +29015,14 @@
16820 if test -n "$PKG_CONFIG"; then
16821 _pkg_min_version=0.9.0
16822 - echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
16823 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
16824 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
16825 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
16826 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16827 - echo "$as_me:$LINENO: result: yes" >&5
16828 -echo "${ECHO_T}yes" >&6
16829 + { echo "$as_me:$LINENO: result: yes" >&5
16830 +echo "${ECHO_T}yes" >&6; }
16832 - echo "$as_me:$LINENO: result: no" >&5
16833 -echo "${ECHO_T}no" >&6
16834 + { echo "$as_me:$LINENO: result: no" >&5
16835 +echo "${ECHO_T}no" >&6; }
16839 @@ -28646,27 +29035,27 @@
16840 # http://libusb.sourceforge.net/
16842 # ----------------------------------------------------------------------
16843 -echo "$as_me:$LINENO: checking for libusb to use" >&5
16844 -echo $ECHO_N "checking for libusb to use... $ECHO_C" >&6
16845 +{ echo "$as_me:$LINENO: checking for libusb to use" >&5
16846 +echo $ECHO_N "checking for libusb to use... $ECHO_C" >&6; }
16849 if test "x${LIBUSB_LIBS}" = "x" && test "x${LIBUSB_CFLAGS}" = "x"; then
16852 -# Check whether --with-libusb or --without-libusb was given.
16853 +# Check whether --with-libusb was given.
16854 if test "${with_libusb+set}" = set; then
16855 - withval="$with_libusb"
16856 - try_LIBUSB="$withval"
16858 + withval=$with_libusb; try_LIBUSB="$withval"
16861 if test "x${try_LIBUSB}" = "xauto"; then try_LIBUSB=autodetect; fi
16862 - echo "$as_me:$LINENO: result: ${try_LIBUSB}" >&5
16863 -echo "${ECHO_T}${try_LIBUSB}" >&6
16864 + { echo "$as_me:$LINENO: result: ${try_LIBUSB}" >&5
16865 +echo "${ECHO_T}${try_LIBUSB}" >&6; }
16866 if test "x${try_LIBUSB}" = "xautodetect"; then
16867 if test "x${have_LIBUSB}" = "xno"; then
16870 -echo "$as_me:$LINENO: checking for LIBUSB" >&5
16871 -echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6
16872 +{ echo "$as_me:$LINENO: checking for LIBUSB" >&5
16873 +echo $ECHO_N "checking for LIBUSB... $ECHO_C" >&6; }
16875 if test -n "$PKG_CONFIG"; then
16876 if test -n "$LIBUSB_CFLAGS"; then
16877 @@ -28728,20 +29117,20 @@
16879 LIBUSB_CFLAGS=$pkg_cv_LIBUSB_CFLAGS
16880 LIBUSB_LIBS=$pkg_cv_LIBUSB_LIBS
16881 - echo "$as_me:$LINENO: result: yes" >&5
16882 -echo "${ECHO_T}yes" >&6
16883 + { echo "$as_me:$LINENO: result: yes" >&5
16884 +echo "${ECHO_T}yes" >&6; }
16888 if test "x${have_LIBUSB}" = "xno"; then
16889 - echo "$as_me:$LINENO: checking libusb config program" >&5
16890 -echo $ECHO_N "checking libusb config program... $ECHO_C" >&6
16891 - echo "$as_me:$LINENO: result: libusb-config" >&5
16892 -echo "${ECHO_T}libusb-config" >&6
16893 + { echo "$as_me:$LINENO: checking libusb config program" >&5
16894 +echo $ECHO_N "checking libusb config program... $ECHO_C" >&6; }
16895 + { echo "$as_me:$LINENO: result: libusb-config" >&5
16896 +echo "${ECHO_T}libusb-config" >&6; }
16897 # Extract the first word of "gp_lib_config", so it can be a program name with args.
16898 set dummy libusb-config; ac_word=$2
16899 -echo "$as_me:$LINENO: checking for $ac_word" >&5
16900 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16901 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16902 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16903 if test "${ac_cv_path_LIBUSB_CONFIG_PROG+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 @@ -28756,32 +29145,33 @@
16908 test -z "$as_dir" && as_dir=.
16909 for ac_exec_ext in '' $ac_executable_extensions; do
16910 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16911 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16912 ac_cv_path_LIBUSB_CONFIG_PROG="$as_dir/$ac_word$ac_exec_ext"
16913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16923 LIBUSB_CONFIG_PROG=$ac_cv_path_LIBUSB_CONFIG_PROG
16925 if test -n "$LIBUSB_CONFIG_PROG"; then
16926 - echo "$as_me:$LINENO: result: $LIBUSB_CONFIG_PROG" >&5
16927 -echo "${ECHO_T}$LIBUSB_CONFIG_PROG" >&6
16928 + { echo "$as_me:$LINENO: result: $LIBUSB_CONFIG_PROG" >&5
16929 +echo "${ECHO_T}$LIBUSB_CONFIG_PROG" >&6; }
16931 - echo "$as_me:$LINENO: result: no" >&5
16932 -echo "${ECHO_T}no" >&6
16933 + { echo "$as_me:$LINENO: result: no" >&5
16934 +echo "${ECHO_T}no" >&6; }
16938 if test -n "${LIBUSB_CONFIG_PROG}" &&
16939 test "${LIBUSB_CONFIG_PROG}" != "none"; then
16941 - echo "$as_me:$LINENO: checking for libusb version according to libusb-config" >&5
16942 -echo $ECHO_N "checking for libusb version according to libusb-config... $ECHO_C" >&6
16943 + { echo "$as_me:$LINENO: checking for libusb version according to libusb-config" >&5
16944 +echo $ECHO_N "checking for libusb version according to libusb-config... $ECHO_C" >&6; }
16945 _LIBUSB_COMPN="-lt"
16946 # split requested version number using m4 regexps
16948 @@ -28794,37 +29184,37 @@
16949 _LIBUSB_VER_2="$(echo "${_LIBUSB_VERSION}" | sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/g')"
16950 _LIBUSB_VER_3="$(echo "${_LIBUSB_VERSION}" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/g')"
16951 _LIBUSB_VER_4="$(echo "${_LIBUSB_VERSION}" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\(.*\)/\4/g')"
16952 - echo "$as_me:$LINENO: result: ${_LIBUSB_VERSION}" >&5
16953 -echo "${ECHO_T}${_LIBUSB_VERSION}" >&6
16954 + { echo "$as_me:$LINENO: result: ${_LIBUSB_VERSION}" >&5
16955 +echo "${ECHO_T}${_LIBUSB_VERSION}" >&6; }
16957 if test "${_LIBUSB_VER_1}" "${_LIBUSB_COMPN}" "${_LIBUSB_REQ_1}"; then _tmp=true;
16958 elif test "${_LIBUSB_VER_2}" "${_LIBUSB_COMPN}" "${_LIBUSB_REQ_2}"; then _tmp=true;
16959 elif test "${_LIBUSB_VER_3}" "${_LIBUSB_COMPN}" "${_LIBUSB_REQ_3}"; then _tmp=true;
16961 - echo "$as_me:$LINENO: checking if libusb version matching requirement >= 0.1.5" >&5
16962 -echo $ECHO_N "checking if libusb version matching requirement >= 0.1.5... $ECHO_C" >&6
16963 + { echo "$as_me:$LINENO: checking if libusb version matching requirement >= 0.1.5" >&5
16964 +echo $ECHO_N "checking if libusb version matching requirement >= 0.1.5... $ECHO_C" >&6; }
16966 - echo "$as_me:$LINENO: result: no" >&5
16967 -echo "${ECHO_T}no" >&6
16968 + { echo "$as_me:$LINENO: result: no" >&5
16969 +echo "${ECHO_T}no" >&6; }
16970 { { echo "$as_me:$LINENO: error: Version requirement libusb >= 0.1.5 not met." >&5
16971 echo "$as_me: error: Version requirement libusb >= 0.1.5 not met." >&2;}
16972 { (exit 1); exit 1; }; }
16974 - echo "$as_me:$LINENO: result: yes" >&5
16975 -echo "${ECHO_T}yes" >&6
16976 + { echo "$as_me:$LINENO: result: yes" >&5
16977 +echo "${ECHO_T}yes" >&6; }
16979 - echo "$as_me:$LINENO: checking for libusb parameters from libusb-config" >&5
16980 -echo $ECHO_N "checking for libusb parameters from libusb-config... $ECHO_C" >&6
16981 + { echo "$as_me:$LINENO: checking for libusb parameters from libusb-config" >&5
16982 +echo $ECHO_N "checking for libusb parameters from libusb-config... $ECHO_C" >&6; }
16983 LIBUSB_LIBS="$(${LIBUSB_CONFIG_PROG} --libs || echo "*error*")"
16984 LIBUSB_CFLAGSS="$(${LIBUSB_CONFIG_PROG} --cflags || echo "*error*")"
16985 if test "x${LIBUSB_LIBS}" = "*error*" ||
16986 test "x${LIBUSB_CFLAGS}" = "*error*"; then
16987 - echo "$as_me:$LINENO: result: error" >&5
16988 -echo "${ECHO_T}error" >&6
16989 + { echo "$as_me:$LINENO: result: error" >&5
16990 +echo "${ECHO_T}error" >&6; }
16993 - echo "$as_me:$LINENO: result: ok" >&5
16994 -echo "${ECHO_T}ok" >&6
16995 + { echo "$as_me:$LINENO: result: ok" >&5
16996 +echo "${ECHO_T}ok" >&6; }
17000 @@ -28836,13 +29226,13 @@
17001 LIBUSB_CFLAGS="-I${try_LIBUSB}/include"
17003 elif test "x${LIBUSB_LIBS}" != "x" && test "x${LIBUSB_CFLAGS}" != "x"; then
17004 - echo "$as_me:$LINENO: result: user-defined" >&5
17005 -echo "${ECHO_T}user-defined" >&6
17006 + { echo "$as_me:$LINENO: result: user-defined" >&5
17007 +echo "${ECHO_T}user-defined" >&6; }
17011 - echo "$as_me:$LINENO: result: broken call" >&5
17012 -echo "${ECHO_T}broken call" >&6
17013 + { echo "$as_me:$LINENO: result: broken call" >&5
17014 +echo "${ECHO_T}broken call" >&6; }
17015 { { echo "$as_me:$LINENO: error:
17017 * When calling configure for ${PACKAGE_TARNAME}
17018 @@ -28869,17 +29259,17 @@
17019 CPPFLAGS_save="$CPPFLAGS"
17020 CPPFLAGS="${LIBUSB_CFLAGS}"
17021 if test "${ac_cv_header_usb_h+set}" = set; then
17022 - echo "$as_me:$LINENO: checking for usb.h" >&5
17023 -echo $ECHO_N "checking for usb.h... $ECHO_C" >&6
17024 + { echo "$as_me:$LINENO: checking for usb.h" >&5
17025 +echo $ECHO_N "checking for usb.h... $ECHO_C" >&6; }
17026 if test "${ac_cv_header_usb_h+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 -echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
17030 -echo "${ECHO_T}$ac_cv_header_usb_h" >&6
17031 +{ echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
17032 +echo "${ECHO_T}$ac_cv_header_usb_h" >&6; }
17034 # Is the header compilable?
17035 -echo "$as_me:$LINENO: checking usb.h usability" >&5
17036 -echo $ECHO_N "checking usb.h usability... $ECHO_C" >&6
17037 +{ echo "$as_me:$LINENO: checking usb.h usability" >&5
17038 +echo $ECHO_N "checking usb.h usability... $ECHO_C" >&6; }
17039 cat >conftest.$ac_ext <<_ACEOF
17042 @@ -28890,40 +29280,37 @@
17045 rm -f conftest.$ac_objext
17046 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 - (eval $ac_compile) 2>conftest.er1
17048 +if { (ac_try="$ac_compile"
17049 +case "(($ac_try" in
17050 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17051 + *) ac_try_echo=$ac_try;;
17053 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17054 + (eval "$ac_compile") 2>conftest.er1
17056 grep -v '^ *+' conftest.er1 >conftest.err
17058 cat conftest.err >&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 - (exit $ac_status); } &&
17061 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17062 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 - (eval $ac_try) 2>&5
17065 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 - (exit $ac_status); }; } &&
17067 - { ac_try='test -s conftest.$ac_objext'
17068 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 - (eval $ac_try) 2>&5
17071 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 - (exit $ac_status); }; }; then
17073 + (exit $ac_status); } && {
17074 + test -z "$ac_c_werror_flag" ||
17075 + test ! -s conftest.err
17076 + } && test -s conftest.$ac_objext; then
17077 ac_header_compiler=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 -ac_header_compiler=no
17083 + ac_header_compiler=no
17085 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17086 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17087 -echo "${ECHO_T}$ac_header_compiler" >&6
17089 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17091 +echo "${ECHO_T}$ac_header_compiler" >&6; }
17093 # Is the header present?
17094 -echo "$as_me:$LINENO: checking usb.h presence" >&5
17095 -echo $ECHO_N "checking usb.h presence... $ECHO_C" >&6
17096 +{ echo "$as_me:$LINENO: checking usb.h presence" >&5
17097 +echo $ECHO_N "checking usb.h presence... $ECHO_C" >&6; }
17098 cat >conftest.$ac_ext <<_ACEOF
17101 @@ -28932,24 +29319,22 @@
17102 /* end confdefs.h. */
17105 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17106 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17107 +if { (ac_try="$ac_cpp conftest.$ac_ext"
17108 +case "(($ac_try" in
17109 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 + *) ac_try_echo=$ac_try;;
17112 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17115 grep -v '^ *+' conftest.er1 >conftest.err
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 - (exit $ac_status); } >/dev/null; then
17120 - if test -s conftest.err; then
17121 - ac_cpp_err=$ac_c_preproc_warn_flag
17122 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17129 -if test -z "$ac_cpp_err"; then
17130 + (exit $ac_status); } >/dev/null && {
17131 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17132 + test ! -s conftest.err
17134 ac_header_preproc=yes
17136 echo "$as_me: failed program was:" >&5
17137 @@ -28957,9 +29342,10 @@
17139 ac_header_preproc=no
17142 rm -f conftest.err conftest.$ac_ext
17143 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17144 -echo "${ECHO_T}$ac_header_preproc" >&6
17145 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17146 +echo "${ECHO_T}$ac_header_preproc" >&6; }
17148 # So? What about this header?
17149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17150 @@ -28983,25 +29369,23 @@
17151 echo "$as_me: WARNING: usb.h: proceeding with the preprocessor's result" >&2;}
17152 { echo "$as_me:$LINENO: WARNING: usb.h: in the future, the compiler will take precedence" >&5
17153 echo "$as_me: WARNING: usb.h: in the future, the compiler will take precedence" >&2;}
17157 ## ------------------------------------------------- ##
17158 ## Report this to gphoto-devel@lists.sourceforge.net ##
17159 ## ------------------------------------------------- ##
17162 - sed "s/^/$as_me: WARNING: /" >&2
17163 + ) | sed "s/^/$as_me: WARNING: /" >&2
17166 -echo "$as_me:$LINENO: checking for usb.h" >&5
17167 -echo $ECHO_N "checking for usb.h... $ECHO_C" >&6
17168 +{ echo "$as_me:$LINENO: checking for usb.h" >&5
17169 +echo $ECHO_N "checking for usb.h... $ECHO_C" >&6; }
17170 if test "${ac_cv_header_usb_h+set}" = set; then
17171 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 ac_cv_header_usb_h=$ac_header_preproc
17175 -echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
17176 -echo "${ECHO_T}$ac_cv_header_usb_h" >&6
17177 +{ echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
17178 +echo "${ECHO_T}$ac_cv_header_usb_h" >&6; }
17181 if test $ac_cv_header_usb_h = yes; then
17182 @@ -29014,8 +29398,8 @@
17183 CPPFLAGS="$CPPFLAGS_save"
17185 if test "x${userdef_LIBUSB}" = "xno" && test "x${have_LIBUSB}" = "xyes"; then
17186 - echo "$as_me:$LINENO: checking for function usb_busses in libusb" >&5
17187 -echo $ECHO_N "checking for function usb_busses in libusb... $ECHO_C" >&6
17188 + { echo "$as_me:$LINENO: checking for function usb_busses in libusb" >&5
17189 +echo $ECHO_N "checking for function usb_busses in libusb... $ECHO_C" >&6; }
17191 LIBS="${LIBUSB_LIBS}"
17192 cat >conftest.$ac_ext <<_ACEOF
17193 @@ -29025,54 +29409,52 @@
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17197 -/* Override any gcc2 internal prototype to avoid an error. */
17198 +/* Override any GCC internal prototype to avoid an error.
17199 + Use char because int might match the return type of a GCC
17200 + builtin and then its argument prototype would still apply. */
17204 -/* We use char because int might match the return type of a gcc2
17205 - builtin and then its argument prototype would still apply. */
17206 char usb_busses ();
17211 +return usb_busses ();
17216 rm -f conftest.$ac_objext conftest$ac_exeext
17217 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17218 - (eval $ac_link) 2>conftest.er1
17219 +if { (ac_try="$ac_link"
17220 +case "(($ac_try" in
17221 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222 + *) ac_try_echo=$ac_try;;
17224 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 + (eval "$ac_link") 2>conftest.er1
17227 grep -v '^ *+' conftest.er1 >conftest.err
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 - (exit $ac_status); } &&
17232 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17233 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 - (eval $ac_try) 2>&5
17236 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 - (exit $ac_status); }; } &&
17238 - { ac_try='test -s conftest$ac_exeext'
17239 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17240 - (eval $ac_try) 2>&5
17242 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 - (exit $ac_status); }; }; then
17244 + (exit $ac_status); } && {
17245 + test -z "$ac_c_werror_flag" ||
17246 + test ! -s conftest.err
17247 + } && test -s conftest$ac_exeext &&
17248 + $as_test_x conftest$ac_exeext; then
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17257 -rm -f conftest.err conftest.$ac_objext \
17259 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17260 conftest$ac_exeext conftest.$ac_ext
17262 - echo "$as_me:$LINENO: result: ${have_LIBUSB}" >&5
17263 -echo "${ECHO_T}${have_LIBUSB}" >&6
17264 + { echo "$as_me:$LINENO: result: ${have_LIBUSB}" >&5
17265 +echo "${ECHO_T}${have_LIBUSB}" >&6; }
17268 if test "x${try_LIBUSB}" != "xno" && test "x${have_LIBUSB}" = "xno"; then
17269 @@ -29133,14 +29515,14 @@
17271 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} yes
17273 - echo "$as_me:$LINENO: checking libusb library flags" >&5
17274 -echo $ECHO_N "checking libusb library flags... $ECHO_C" >&6
17275 - echo "$as_me:$LINENO: result: ${LIBUSB_LIBS}" >&5
17276 -echo "${ECHO_T}${LIBUSB_LIBS}" >&6
17277 - echo "$as_me:$LINENO: checking libusb cpp flags" >&5
17278 -echo $ECHO_N "checking libusb cpp flags... $ECHO_C" >&6
17279 - echo "$as_me:$LINENO: result: ${LIBUSB_CFLAGS}" >&5
17280 -echo "${ECHO_T}${LIBUSB_CFLAGS}" >&6
17281 + { echo "$as_me:$LINENO: checking libusb library flags" >&5
17282 +echo $ECHO_N "checking libusb library flags... $ECHO_C" >&6; }
17283 + { echo "$as_me:$LINENO: result: ${LIBUSB_LIBS}" >&5
17284 +echo "${ECHO_T}${LIBUSB_LIBS}" >&6; }
17285 + { echo "$as_me:$LINENO: checking libusb cpp flags" >&5
17286 +echo $ECHO_N "checking libusb cpp flags... $ECHO_C" >&6; }
17287 + { echo "$as_me:$LINENO: result: ${LIBUSB_CFLAGS}" >&5
17288 +echo "${ECHO_T}${LIBUSB_CFLAGS}" >&6; }
17291 gp_config_msg_len="$(expr "libusb" : '.*')"
17292 @@ -29154,84 +29536,6 @@
17298 -echo "$as_me:$LINENO: checking for HAL" >&5
17299 -echo $ECHO_N "checking for HAL... $ECHO_C" >&6
17301 -if test -n "$PKG_CONFIG"; then
17302 - if test -n "$HAL_CFLAGS"; then
17303 - pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
17305 - if test -n "$PKG_CONFIG" && \
17306 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.31 hal >= 0.5.0\"") >&5
17307 - ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.31 hal >= 0.5.0") 2>&5
17309 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 - (exit $ac_status); }; then
17311 - pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.31 hal >= 0.5.0" 2>/dev/null`
17317 - pkg_failed=untried
17319 -if test -n "$PKG_CONFIG"; then
17320 - if test -n "$HAL_LIBS"; then
17321 - pkg_cv_HAL_LIBS="$HAL_LIBS"
17323 - if test -n "$PKG_CONFIG" && \
17324 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.31 hal >= 0.5.0\"") >&5
17325 - ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.31 hal >= 0.5.0") 2>&5
17327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 - (exit $ac_status); }; then
17329 - pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.31 hal >= 0.5.0" 2>/dev/null`
17335 - pkg_failed=untried
17340 -if test $pkg_failed = yes; then
17342 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17343 - _pkg_short_errors_supported=yes
17345 - _pkg_short_errors_supported=no
17347 - if test $_pkg_short_errors_supported = yes; then
17348 - HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1 >= 0.31 hal >= 0.5.0"`
17350 - HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 0.31 hal >= 0.5.0"`
17352 - # Put the nasty error message in config.log where it belongs
17353 - echo "$HAL_PKG_ERRORS" >&5
17356 -elif test $pkg_failed = untried; then
17359 - HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
17360 - HAL_LIBS=$pkg_cv_HAL_LIBS
17361 - echo "$as_me:$LINENO: result: yes" >&5
17362 -echo "${ECHO_T}yes" >&6
17365 -if test "x$have_hal" = "xtrue"; then
17369 -cat >>confdefs.h <<\_ACEOF
17370 -#define HAVE_HAL 1
17374 IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
17376 IOLIB_SUBDIRS="$IOLIB_SUBDIRS ptpip"
17377 @@ -29246,8 +29550,8 @@
17378 AM_CPPFLAGS="$AM_CPPFLAGS -DIOLIBS=\\\"${iolibdir}\\\""
17381 -echo "$as_me:$LINENO: checking for re_compile_pattern" >&5
17382 -echo $ECHO_N "checking for re_compile_pattern... $ECHO_C" >&6
17383 +{ echo "$as_me:$LINENO: checking for re_compile_pattern" >&5
17384 +echo $ECHO_N "checking for re_compile_pattern... $ECHO_C" >&6; }
17385 if test "${ac_cv_func_re_compile_pattern+set}" = set; then
17386 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 @@ -29274,67 +29578,59 @@
17390 #undef re_compile_pattern
17392 -/* Override any gcc2 internal prototype to avoid an error. */
17393 +/* Override any GCC internal prototype to avoid an error.
17394 + Use char because int might match the return type of a GCC
17395 + builtin and then its argument prototype would still apply. */
17400 -/* We use char because int might match the return type of a gcc2
17401 - builtin and then its argument prototype would still apply. */
17402 char re_compile_pattern ();
17403 /* The GNU C library defines this for functions which it implements
17404 to always fail with ENOSYS. Some functions are actually named
17405 something starting with __ and the normal name is an alias. */
17406 -#if defined (__stub_re_compile_pattern) || defined (__stub___re_compile_pattern)
17407 +#if defined __stub_re_compile_pattern || defined __stub___re_compile_pattern
17410 -char (*f) () = re_compile_pattern;
17412 -#ifdef __cplusplus
17419 -return f != re_compile_pattern;
17420 +return re_compile_pattern ();
17425 rm -f conftest.$ac_objext conftest$ac_exeext
17426 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17427 - (eval $ac_link) 2>conftest.er1
17428 +if { (ac_try="$ac_link"
17429 +case "(($ac_try" in
17430 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17431 + *) ac_try_echo=$ac_try;;
17433 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17434 + (eval "$ac_link") 2>conftest.er1
17436 grep -v '^ *+' conftest.er1 >conftest.err
17438 cat conftest.err >&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 - (exit $ac_status); } &&
17441 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17442 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 - (eval $ac_try) 2>&5
17445 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 - (exit $ac_status); }; } &&
17447 - { ac_try='test -s conftest$ac_exeext'
17448 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 - (eval $ac_try) 2>&5
17451 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 - (exit $ac_status); }; }; then
17453 + (exit $ac_status); } && {
17454 + test -z "$ac_c_werror_flag" ||
17455 + test ! -s conftest.err
17456 + } && test -s conftest$ac_exeext &&
17457 + $as_test_x conftest$ac_exeext; then
17458 ac_cv_func_re_compile_pattern=yes
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 -ac_cv_func_re_compile_pattern=no
17464 + ac_cv_func_re_compile_pattern=no
17466 -rm -f conftest.err conftest.$ac_objext \
17468 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17469 conftest$ac_exeext conftest.$ac_ext
17471 -echo "$as_me:$LINENO: result: $ac_cv_func_re_compile_pattern" >&5
17472 -echo "${ECHO_T}$ac_cv_func_re_compile_pattern" >&6
17473 +{ echo "$as_me:$LINENO: result: $ac_cv_func_re_compile_pattern" >&5
17474 +echo "${ECHO_T}$ac_cv_func_re_compile_pattern" >&6; }
17475 if test $ac_cv_func_re_compile_pattern = yes; then
17477 cat >>confdefs.h <<\_ACEOF
17478 @@ -29346,10 +29642,9 @@
17482 -# Check whether --enable-debug or --disable-debug was given.
17483 +# Check whether --enable-debug was given.
17484 if test "${enable_debug+set}" = set; then
17485 - enableval="$enable_debug"
17487 + enableval=$enable_debug;
17488 if test "$enableval" = "no"; then
17490 cat >>confdefs.h <<\_ACEOF
17491 @@ -29358,7 +29653,8 @@
17500 # ----------------------------------------------------------------------
17501 @@ -29372,50 +29668,50 @@
17505 -# Check whether --with-doc-dir or --without-doc-dir was given.
17506 +# Check whether --with-doc-dir was given.
17507 if test "${with_doc_dir+set}" = set; then
17508 - withval="$with_doc_dir"
17509 + withval=$with_doc_dir;
17514 # check for the main ("root") documentation directory
17515 -echo "$as_me:$LINENO: checking main docdir" >&5
17516 -echo $ECHO_N "checking main docdir... $ECHO_C" >&6
17517 +{ echo "$as_me:$LINENO: checking main docdir" >&5
17518 +echo $ECHO_N "checking main docdir... $ECHO_C" >&6; }
17520 if test "x${with_doc_dir}" != "x"
17521 then # docdir is given as parameter
17522 docdir="${with_doc_dir}"
17523 - echo "$as_me:$LINENO: result: ${docdir} (from parameter)" >&5
17524 -echo "${ECHO_T}${docdir} (from parameter)" >&6
17525 + { echo "$as_me:$LINENO: result: ${docdir} (from parameter)" >&5
17526 +echo "${ECHO_T}${docdir} (from parameter)" >&6; }
17527 else # otherwise invent a docdir hopefully compatible with system policy
17528 if test -d "/usr/share/doc"
17530 maindocdir='${prefix}/share/doc'
17531 - echo "$as_me:$LINENO: result: ${maindocdir} (FHS style)" >&5
17532 -echo "${ECHO_T}${maindocdir} (FHS style)" >&6
17533 + { echo "$as_me:$LINENO: result: ${maindocdir} (FHS style)" >&5
17534 +echo "${ECHO_T}${maindocdir} (FHS style)" >&6; }
17535 elif test -d "/usr/doc"
17537 maindocdir='${prefix}/doc'
17538 - echo "$as_me:$LINENO: result: ${maindocdir} (old style)" >&5
17539 -echo "${ECHO_T}${maindocdir} (old style)" >&6
17540 + { echo "$as_me:$LINENO: result: ${maindocdir} (old style)" >&5
17541 +echo "${ECHO_T}${maindocdir} (old style)" >&6; }
17543 maindocdir='${datadir}/doc'
17544 - echo "$as_me:$LINENO: result: ${maindocdir} (default value)" >&5
17545 -echo "${ECHO_T}${maindocdir} (default value)" >&6
17546 + { echo "$as_me:$LINENO: result: ${maindocdir} (default value)" >&5
17547 +echo "${ECHO_T}${maindocdir} (default value)" >&6; }
17549 - echo "$as_me:$LINENO: checking package docdir" >&5
17550 -echo $ECHO_N "checking package docdir... $ECHO_C" >&6
17551 + { echo "$as_me:$LINENO: checking package docdir" >&5
17552 +echo $ECHO_N "checking package docdir... $ECHO_C" >&6; }
17553 # check whether to include package version into documentation path
17554 # FIXME: doesn't work properly.
17555 if ls -d /usr/{share/,}doc/make-0-9* > /dev/null 2>&1
17557 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
17558 - echo "$as_me:$LINENO: result: ${docdir} (redhat style)" >&5
17559 -echo "${ECHO_T}${docdir} (redhat style)" >&6
17560 + { echo "$as_me:$LINENO: result: ${docdir} (redhat style)" >&5
17561 +echo "${ECHO_T}${docdir} (redhat style)" >&6; }
17563 docdir="${maindocdir}/${PACKAGE}"
17564 - echo "$as_me:$LINENO: result: ${docdir} (default style)" >&5
17565 -echo "${ECHO_T}${docdir} (default style)" >&6
17566 + { echo "$as_me:$LINENO: result: ${docdir} (default style)" >&5
17567 +echo "${ECHO_T}${docdir} (default style)" >&6; }
17571 @@ -29431,20 +29727,20 @@
17573 gtkdoc_msg="no (not requested)"
17575 -# Check whether --enable-docs or --disable-docs was given.
17576 +# Check whether --enable-docs was given.
17577 if test "${enable_docs+set}" = set; then
17578 - enableval="$enable_docs"
17580 + enableval=$enable_docs;
17581 if test x$enableval = xyes; then
17588 if $try_gtkdoc; then
17589 # Extract the first word of "gtkdoc-mkdb", so it can be a program name with args.
17590 set dummy gtkdoc-mkdb; ac_word=$2
17591 -echo "$as_me:$LINENO: checking for $ac_word" >&5
17592 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17593 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17594 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17595 if test "${ac_cv_path_GTKDOC+set}" = set; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17598 @@ -29459,27 +29755,28 @@
17600 test -z "$as_dir" && as_dir=.
17601 for ac_exec_ext in '' $ac_executable_extensions; do
17602 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17603 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17604 ac_cv_path_GTKDOC="$as_dir/$ac_word$ac_exec_ext"
17605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17615 GTKDOC=$ac_cv_path_GTKDOC
17617 if test -n "$GTKDOC"; then
17618 - echo "$as_me:$LINENO: result: $GTKDOC" >&5
17619 -echo "${ECHO_T}$GTKDOC" >&6
17620 + { echo "$as_me:$LINENO: result: $GTKDOC" >&5
17621 +echo "${ECHO_T}$GTKDOC" >&6; }
17623 - echo "$as_me:$LINENO: result: no" >&5
17624 -echo "${ECHO_T}no" >&6
17625 + { echo "$as_me:$LINENO: result: no" >&5
17626 +echo "${ECHO_T}no" >&6; }
17630 if test -n "${GTKDOC}"; then
17633 @@ -29514,22 +29811,22 @@
17634 # user-defined location.
17635 # ---------------------------------------------------------------------------
17637 -# Check whether --with-html-dir or --without-html-dir was given.
17638 +# Check whether --with-html-dir was given.
17639 if test "${with_html_dir+set}" = set; then
17640 - withval="$with_html_dir"
17641 + withval=$with_html_dir;
17646 -echo "$as_me:$LINENO: checking for html dir" >&5
17647 -echo $ECHO_N "checking for html dir... $ECHO_C" >&6
17648 +{ echo "$as_me:$LINENO: checking for html dir" >&5
17649 +echo $ECHO_N "checking for html dir... $ECHO_C" >&6; }
17650 if test "x${with_html_dir}" = "x" ; then
17651 htmldir="${docdir}/html"
17652 - echo "$as_me:$LINENO: result: ${htmldir} (default)" >&5
17653 -echo "${ECHO_T}${htmldir} (default)" >&6
17654 + { echo "$as_me:$LINENO: result: ${htmldir} (default)" >&5
17655 +echo "${ECHO_T}${htmldir} (default)" >&6; }
17657 htmldir="${with_html_dir}"
17658 - echo "$as_me:$LINENO: result: ${htmldir} (from parameter)" >&5
17659 -echo "${ECHO_T}${htmldir} (from parameter)" >&6
17660 + { echo "$as_me:$LINENO: result: ${htmldir} (from parameter)" >&5
17661 +echo "${ECHO_T}${htmldir} (from parameter)" >&6; }
17664 apidocdir="${htmldir}/api"
17665 @@ -29553,7 +29850,7 @@
17666 # ---------------------------------------------------------------------------
17667 # Create output files
17668 # ---------------------------------------------------------------------------
17669 - ac_config_files="$ac_config_files Makefile po/Makefile.in libgphoto2_port/Makefile serial/Makefile usb/Makefile disk/Makefile ptpip/Makefile gphoto2-port-config test/Makefile doc/Makefile m4/Makefile"
17670 +ac_config_files="$ac_config_files Makefile po/Makefile.in libgphoto2_port/Makefile serial/Makefile usb/Makefile disk/Makefile ptpip/Makefile gphoto2-port-config test/Makefile doc/Makefile m4/Makefile"
17672 cat >confcache <<\_ACEOF
17673 # This file is a shell script that caches the results of configure
17674 @@ -29573,39 +29870,58 @@
17676 # The following way of writing the cache mishandles newlines in values,
17677 # but we know of no workaround that is simple, portable, and efficient.
17678 -# So, don't put newlines in cache variables' values.
17679 +# So, we kill variables containing newlines.
17680 # Ultrix sh set writes to stderr and can't be redirected directly,
17681 # and sets the high bit in the cache file unless we assign to the vars.
17684 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17685 + eval ac_val=\$$ac_var
17686 + case $ac_val in #(
17688 + case $ac_var in #(
17689 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
17690 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
17692 + case $ac_var in #(
17693 + _ | IFS | as_nl) ;; #(
17694 + *) $as_unset $ac_var ;;
17700 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
17702 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
17703 + *${as_nl}ac_space=\ *)
17704 # `set' does not quote correctly, so add quotes (double-quote
17705 # substitution turns \\\\ into \\, and sed turns \\ into \).
17708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17712 # `set' quotes correctly as required by POSIX, so do not add quotes.
17714 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17715 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17723 + /^ac_cv_env_/b end
17727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17729 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17730 - : end' >>confcache
17731 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
17732 - if test -w $cache_file; then
17733 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17734 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17735 + :end' >>confcache
17736 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17737 + if test -w "$cache_file"; then
17738 + test "x$cache_file" != "x/dev/null" &&
17739 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
17740 +echo "$as_me: updating cache $cache_file" >&6;}
17741 cat confcache >$cache_file
17743 - echo "not updating unwritable cache $cache_file"
17744 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17745 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17749 @@ -29614,32 +29930,18 @@
17750 # Let make expand exec_prefix.
17751 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17753 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
17754 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17755 -# trailing colons and then remove the whole line if VPATH becomes empty
17756 -# (actually we leave an empty line to preserve line numbers).
17757 -if test "x$srcdir" = x.; then
17758 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
17759 -s/:*\$(srcdir):*/:/;
17760 -s/:*\${srcdir}:*/:/;
17761 -s/:*@srcdir@:*/:/;
17762 -s/^\([^=]*=[ ]*\):*/\1/;
17768 DEFS=-DHAVE_CONFIG_H
17772 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17773 # 1. Remove the extension, and $U if already installed.
17774 - ac_i=`echo "$ac_i" |
17775 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17777 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17778 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17779 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17780 + ac_i=`echo "$ac_i" | sed "$ac_script"`
17781 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17782 + # will be set to the directory where LIBOBJS objects are built.
17783 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17784 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17786 LIBOBJS=$ac_libobjs
17788 @@ -29719,17 +30021,45 @@
17789 ## M4sh Initialization. ##
17790 ## --------------------- ##
17792 -# Be Bourne compatible
17793 +# Be more Bourne compatible
17794 +DUALCASE=1; export DUALCASE # for MKS sh
17795 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17798 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17799 # is contrary to our usage. Disable this feature.
17800 alias -g '${1+"$@"}'='"$@"'
17801 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17803 + setopt NO_GLOB_SUBST
17805 + case `(set -o) 2>/dev/null` in
17806 + *posix*) set -o posix ;;
17815 +# Avoid depending upon Character Ranges.
17816 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17817 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17818 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17819 +as_cr_digits='0123456789'
17820 +as_cr_alnum=$as_cr_Letters$as_cr_digits
17822 +# The user is always right.
17823 +if test "${PATH_SEPARATOR+set}" != set; then
17824 + echo "#! /bin/sh" >conf$$.sh
17825 + echo "exit 0" >>conf$$.sh
17826 + chmod +x conf$$.sh
17827 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17828 + PATH_SEPARATOR=';'
17834 -DUALCASE=1; export DUALCASE # for MKS sh
17836 # Support unset when possible.
17837 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17838 @@ -29739,8 +30069,43 @@
17843 +# We need space, tab and new line, in precisely that order. Quoting is
17844 +# there to prevent editors from complaining about space-tab.
17845 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17846 +# splitting by setting IFS to empty value.)
17851 +# Find who we are. Look in the path if we contain no directory separator.
17853 + *[\\/]* ) as_myself=$0 ;;
17854 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17855 +for as_dir in $PATH
17858 + test -z "$as_dir" && as_dir=.
17859 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17865 +# We did not find ourselves, most probably we were run as `sh COMMAND'
17866 +# in which case we are not to be found in the path.
17867 +if test "x$as_myself" = x; then
17870 +if test ! -f "$as_myself"; then
17871 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17872 + { (exit 1); exit 1; }
17875 # Work around bugs in pre-3.0 UWIN ksh.
17876 -$as_unset ENV MAIL MAILPATH
17877 +for as_var in ENV MAIL MAILPATH
17878 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17883 @@ -29754,18 +30119,19 @@
17884 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17885 eval $as_var=C; export $as_var
17887 - $as_unset $as_var
17888 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17892 # Required to use basename.
17893 -if expr a : '\(a\)' >/dev/null 2>&1; then
17894 +if expr a : '\(a\)' >/dev/null 2>&1 &&
17895 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
17901 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17902 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17903 as_basename=basename
17906 @@ -29773,159 +30139,120 @@
17909 # Name of the executable.
17910 -as_me=`$as_basename "$0" ||
17911 +as_me=`$as_basename -- "$0" ||
17912 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17913 X"$0" : 'X\(//\)$' \| \
17914 - X"$0" : 'X\(/\)$' \| \
17915 - . : '\(.\)' 2>/dev/null ||
17916 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17918 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17919 - /^X\/\(\/\/\)$/{ s//\1/; q; }
17920 - /^X\/\(\/\).*/{ s//\1/; q; }
17922 + sed '/^.*\/\([^/][^/]*\)\/*$/{
17939 -# PATH needs CR, and LINENO needs CR and PATH.
17940 -# Avoid depending upon Character Ranges.
17941 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17942 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17943 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17944 -as_cr_digits='0123456789'
17945 -as_cr_alnum=$as_cr_Letters$as_cr_digits
17947 -# The user is always right.
17948 -if test "${PATH_SEPARATOR+set}" != set; then
17949 - echo "#! /bin/sh" >conf$$.sh
17950 - echo "exit 0" >>conf$$.sh
17951 - chmod +x conf$$.sh
17952 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17953 - PATH_SEPARATOR=';'
17961 as_lineno_1=$LINENO
17962 as_lineno_2=$LINENO
17963 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17964 test "x$as_lineno_1" != "x$as_lineno_2" &&
17965 - test "x$as_lineno_3" = "x$as_lineno_2" || {
17966 - # Find who we are. Look in the path if we contain no path at all
17967 - # relative or not.
17969 - *[\\/]* ) as_myself=$0 ;;
17970 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17971 -for as_dir in $PATH
17974 - test -z "$as_dir" && as_dir=.
17975 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17980 - # We did not find ourselves, most probably we were run as `sh COMMAND'
17981 - # in which case we are not to be found in the path.
17982 - if test "x$as_myself" = x; then
17985 - if test ! -f "$as_myself"; then
17986 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17987 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17988 - { (exit 1); exit 1; }; }
17990 - case $CONFIG_SHELL in
17992 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17993 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17996 - test -z "$as_dir" && as_dir=.
17997 - for as_base in sh bash ksh sh5; do
18000 - if ("$as_dir/$as_base" -c '
18001 - as_lineno_1=$LINENO
18002 - as_lineno_2=$LINENO
18003 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18004 - test "x$as_lineno_1" != "x$as_lineno_2" &&
18005 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18006 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18007 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18008 - CONFIG_SHELL=$as_dir/$as_base
18009 - export CONFIG_SHELL
18010 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18017 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18019 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18020 # uniformly replaced by the line number. The first 'sed' inserts a
18021 - # line-number line before each line; the second 'sed' does the real
18022 - # work. The second script uses 'N' to pair each line-number line
18023 - # with the numbered line, and appends trailing '-' during
18024 - # substitution so that $LINENO is not a special case at line end.
18025 + # line-number line after each line using $LINENO; the second 'sed'
18026 + # does the real work. The second script uses 'N' to pair each
18027 + # line-number line with the line containing $LINENO, and appends
18028 + # trailing '-' during substitution so that $LINENO is not a special
18029 + # case at line end.
18030 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18031 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18032 - sed '=' <$as_myself |
18033 + # scripts with optimization help from Paolo Bonzini. Blame Lee
18034 + # E. McMahon (1931-1989) for sed's syntax. :-)
18040 + s/[$]LINENO.*/&-/
18047 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18049 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18052 - s,^['$as_cr_digits']*\n,,
18054 ' >$as_me.lineno &&
18055 - chmod +x $as_me.lineno ||
18056 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18057 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18058 + chmod +x "$as_me.lineno" ||
18059 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18060 { (exit 1); exit 1; }; }
18062 # Don't try to exec as it changes $[0], causing all sort of problems
18063 # (the dirname of $[0] is not the place where we might find the
18064 - # original and so on. Autoconf is especially sensible to this).
18065 - . ./$as_me.lineno
18066 + # original and so on. Autoconf is especially sensitive to this).
18067 + . "./$as_me.lineno"
18068 # Exit status is that of the last command.
18073 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18074 - *c*,-n*) ECHO_N= ECHO_C='
18076 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18077 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18078 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18079 + as_dirname=dirname
18084 +ECHO_C= ECHO_N= ECHO_T=
18085 +case `echo -n x` in
18087 + case `echo 'x\c'` in
18088 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18095 -if expr a : '\(a\)' >/dev/null 2>&1; then
18096 +if expr a : '\(a\)' >/dev/null 2>&1 &&
18097 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
18103 rm -f conf$$ conf$$.exe conf$$.file
18104 +if test -d conf$$.dir; then
18105 + rm -f conf$$.dir/conf$$.file
18111 if ln -s conf$$.file conf$$ 2>/dev/null; then
18112 - # We could just check for DJGPP; but this test a) works b) is more generic
18113 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18114 - if test -f conf$$.exe; then
18115 - # Don't use ln at all; we don't have any links
18117 + # ... but there are two gotchas:
18118 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18119 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18120 + # In both cases, we have to default to `cp -p'.
18121 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18126 elif ln conf$$.file conf$$ 2>/dev/null; then
18131 -rm -f conf$$ conf$$.exe conf$$.file
18132 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18133 +rmdir conf$$.dir 2>/dev/null
18135 if mkdir -p . 2>/dev/null; then
18137 @@ -29934,7 +30261,28 @@
18141 -as_executable_p="test -f"
18142 +if test -x / >/dev/null 2>&1; then
18143 + as_test_x='test -x'
18145 + if ls -dL / >/dev/null 2>&1; then
18152 + if test -d "$1"; then
18158 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18159 + ???[sx]*):;;*)false;;esac;fi
18163 +as_executable_p=$as_test_x
18165 # Sed expression to map a string onto a valid CPP name.
18166 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18167 @@ -29943,31 +30291,14 @@
18168 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18172 -# We need space, tab and new line, in precisely that order.
18182 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
18183 +# Save the log message, to keep $[0] and so on meaningful, and to
18184 # report actual input values of CONFIG_FILES etc. instead of their
18185 -# values after options handling. Logging --version etc. is OK.
18186 -exec 5>>config.log
18189 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18190 -## Running $as_me. ##
18195 +# values after options handling.
18197 This file was extended by libgphoto2_port $as_me 0.6.1, which was
18198 -generated by GNU Autoconf 2.59. Invocation command line was
18199 +generated by GNU Autoconf 2.61. Invocation command line was
18201 CONFIG_FILES = $CONFIG_FILES
18202 CONFIG_HEADERS = $CONFIG_HEADERS
18203 @@ -29975,30 +30306,20 @@
18204 CONFIG_COMMANDS = $CONFIG_COMMANDS
18208 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18210 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
18215 +cat >>$CONFIG_STATUS <<_ACEOF
18216 # Files that config.status was made for.
18217 -if test -n "$ac_config_files"; then
18218 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18220 +config_files="$ac_config_files"
18221 +config_headers="$ac_config_headers"
18222 +config_commands="$ac_config_commands"
18224 -if test -n "$ac_config_headers"; then
18225 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18228 -if test -n "$ac_config_links"; then
18229 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18232 -if test -n "$ac_config_commands"; then
18233 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18237 cat >>$CONFIG_STATUS <<\_ACEOF
18240 \`$as_me' instantiates files from templates according to the
18241 current configuration.
18242 @@ -30006,7 +30327,7 @@
18243 Usage: $0 [OPTIONS] [FILE]...
18245 -h, --help print this help, then exit
18246 - -V, --version print version number, then exit
18247 + -V, --version print version number and configuration settings, then exit
18248 -q, --quiet do not print progress messages
18249 -d, --debug don't remove temporary files
18250 --recheck update $as_me by reconfiguring in the same conditions
18251 @@ -30025,19 +30346,21 @@
18254 Report bugs to <bug-autoconf@gnu.org>."
18258 cat >>$CONFIG_STATUS <<_ACEOF
18260 libgphoto2_port config.status 0.6.1
18261 -configured by $0, generated by GNU Autoconf 2.59,
18262 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18263 +configured by $0, generated by GNU Autoconf 2.61,
18264 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18266 -Copyright (C) 2003 Free Software Foundation, Inc.
18267 +Copyright (C) 2006 Free Software Foundation, Inc.
18268 This config.status script is free software; the Free Software Foundation
18269 gives unlimited permission to copy, distribute and modify it."
18271 -INSTALL="$INSTALL"
18275 +INSTALL='$INSTALL'
18278 cat >>$CONFIG_STATUS <<\_ACEOF
18279 @@ -30048,39 +30371,24 @@
18283 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
18284 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18285 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
18286 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18295 - *) # This is not an option, so the user has probably given explicit
18298 - ac_need_defaults=false;;
18302 # Handling of the options.
18304 -cat >>$CONFIG_STATUS <<\_ACEOF
18305 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18307 - --version | --vers* | -V )
18308 - echo "$ac_cs_version"; exit 0 ;;
18310 - # Conflict between --help and --header
18311 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
18312 -Try \`$0 --help' for more information." >&5
18313 -echo "$as_me: error: ambiguous option: $1
18314 -Try \`$0 --help' for more information." >&2;}
18315 - { (exit 1); exit 1; }; };;
18316 - --help | --hel | -h )
18317 - echo "$ac_cs_usage"; exit 0 ;;
18318 - --debug | --d* | -d )
18319 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18320 + echo "$ac_cs_version"; exit ;;
18321 + --debug | --debu | --deb | --de | --d | -d )
18323 --file | --fil | --fi | --f )
18325 @@ -30090,18 +30398,24 @@
18327 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18328 ac_need_defaults=false;;
18330 + # Conflict between --help and --header
18331 + { echo "$as_me: error: ambiguous option: $1
18332 +Try \`$0 --help' for more information." >&2
18333 + { (exit 1); exit 1; }; };;
18334 + --help | --hel | -h )
18335 + echo "$ac_cs_usage"; exit ;;
18336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18337 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18340 # This is an error.
18341 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18342 -Try \`$0 --help' for more information." >&5
18343 -echo "$as_me: error: unrecognized option: $1
18344 -Try \`$0 --help' for more information." >&2;}
18345 + -*) { echo "$as_me: error: unrecognized option: $1
18346 +Try \`$0 --help' for more information." >&2
18347 { (exit 1); exit 1; }; } ;;
18349 - *) ac_config_targets="$ac_config_targets $1" ;;
18350 + *) ac_config_targets="$ac_config_targets $1"
18351 + ac_need_defaults=false ;;
18355 @@ -30117,17 +30431,28 @@
18357 cat >>$CONFIG_STATUS <<_ACEOF
18358 if \$ac_cs_recheck; then
18359 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18360 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18361 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18362 + CONFIG_SHELL=$SHELL
18363 + export CONFIG_SHELL
18364 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18368 +cat >>$CONFIG_STATUS <<\_ACEOF
18369 +exec 5>>config.log
18372 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18373 +## Running $as_me. ##
18379 cat >>$CONFIG_STATUS <<_ACEOF
18381 -# INIT-COMMANDS section.
18385 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18386 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18387 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18388 @@ -30146,34 +30471,35 @@
18394 cat >>$CONFIG_STATUS <<\_ACEOF
18396 +# Handling of arguments.
18397 for ac_config_target in $ac_config_targets
18399 - case "$ac_config_target" in
18400 - # Handling of arguments.
18401 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18402 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18403 - "libgphoto2_port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libgphoto2_port/Makefile" ;;
18404 - "serial/Makefile" ) CONFIG_FILES="$CONFIG_FILES serial/Makefile" ;;
18405 - "usb/Makefile" ) CONFIG_FILES="$CONFIG_FILES usb/Makefile" ;;
18406 - "disk/Makefile" ) CONFIG_FILES="$CONFIG_FILES disk/Makefile" ;;
18407 - "ptpip/Makefile" ) CONFIG_FILES="$CONFIG_FILES ptpip/Makefile" ;;
18408 - "gphoto2-port-config" ) CONFIG_FILES="$CONFIG_FILES gphoto2-port-config" ;;
18409 - "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18410 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18411 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
18412 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18413 - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18414 - "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
18415 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18416 + case $ac_config_target in
18417 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18418 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18419 + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18420 + "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
18421 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18422 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18423 + "libgphoto2_port/Makefile") CONFIG_FILES="$CONFIG_FILES libgphoto2_port/Makefile" ;;
18424 + "serial/Makefile") CONFIG_FILES="$CONFIG_FILES serial/Makefile" ;;
18425 + "usb/Makefile") CONFIG_FILES="$CONFIG_FILES usb/Makefile" ;;
18426 + "disk/Makefile") CONFIG_FILES="$CONFIG_FILES disk/Makefile" ;;
18427 + "ptpip/Makefile") CONFIG_FILES="$CONFIG_FILES ptpip/Makefile" ;;
18428 + "gphoto2-port-config") CONFIG_FILES="$CONFIG_FILES gphoto2-port-config" ;;
18429 + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18430 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18431 + "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
18433 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18434 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18435 { (exit 1); exit 1; }; };;
18440 # If the user did not use the arguments to specify the items to instantiate,
18441 # then the envvar interface is used. Set only those that are not.
18442 # We use the long form for the default assignment because of an extremely
18443 @@ -30185,665 +30511,643 @@
18446 # Have a temporary directory for convenience. Make it in the build tree
18447 -# simply because there is no reason to put it here, and in addition,
18448 +# simply because there is no reason against having it here, and in addition,
18449 # creating and moving files from /tmp can sometimes cause problems.
18450 -# Create a temporary directory, and hook for its removal unless debugging.
18451 +# Hook for its removal unless debugging.
18452 +# Note that there is a small window in which the directory will not be cleaned:
18453 +# after its creation but before its name has been assigned to `$tmp'.
18456 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18458 + trap 'exit_status=$?
18459 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18461 trap '{ (exit 1); exit 1; }' 1 2 13 15
18464 # Create a (secure) tmp directory for tmp files.
18467 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18468 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18469 test -n "$tmp" && test -d "$tmp"
18472 - tmp=./confstat$$-$RANDOM
18473 - (umask 077 && mkdir $tmp)
18474 + tmp=./conf$$-$RANDOM
18475 + (umask 077 && mkdir "$tmp")
18478 echo "$me: cannot create a temporary directory in ." >&2
18479 { (exit 1); exit 1; }
18484 -cat >>$CONFIG_STATUS <<_ACEOF
18487 -# CONFIG_FILES section.
18488 +# Set up the sed scripts for CONFIG_FILES section.
18491 # No need to generate the scripts if there are no CONFIG_FILES.
18492 # This happens for instance when ./config.status config.h
18493 -if test -n "\$CONFIG_FILES"; then
18494 - # Protect against being on the right side of a sed subst in config.status.
18495 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18496 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18497 -s,@SHELL@,$SHELL,;t t
18498 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18499 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18500 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18501 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18502 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18503 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18504 -s,@exec_prefix@,$exec_prefix,;t t
18505 -s,@prefix@,$prefix,;t t
18506 -s,@program_transform_name@,$program_transform_name,;t t
18507 -s,@bindir@,$bindir,;t t
18508 -s,@sbindir@,$sbindir,;t t
18509 -s,@libexecdir@,$libexecdir,;t t
18510 -s,@datadir@,$datadir,;t t
18511 -s,@sysconfdir@,$sysconfdir,;t t
18512 -s,@sharedstatedir@,$sharedstatedir,;t t
18513 -s,@localstatedir@,$localstatedir,;t t
18514 -s,@libdir@,$libdir,;t t
18515 -s,@includedir@,$includedir,;t t
18516 -s,@oldincludedir@,$oldincludedir,;t t
18517 -s,@infodir@,$infodir,;t t
18518 -s,@mandir@,$mandir,;t t
18519 -s,@build_alias@,$build_alias,;t t
18520 -s,@host_alias@,$host_alias,;t t
18521 -s,@target_alias@,$target_alias,;t t
18522 -s,@DEFS@,$DEFS,;t t
18523 -s,@ECHO_C@,$ECHO_C,;t t
18524 -s,@ECHO_N@,$ECHO_N,;t t
18525 -s,@ECHO_T@,$ECHO_T,;t t
18526 -s,@LIBS@,$LIBS,;t t
18527 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18528 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18529 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18530 -s,@CYGPATH_W@,$CYGPATH_W,;t t
18531 -s,@PACKAGE@,$PACKAGE,;t t
18532 -s,@VERSION@,$VERSION,;t t
18533 -s,@ACLOCAL@,$ACLOCAL,;t t
18534 -s,@AUTOCONF@,$AUTOCONF,;t t
18535 -s,@AUTOMAKE@,$AUTOMAKE,;t t
18536 -s,@AUTOHEADER@,$AUTOHEADER,;t t
18537 -s,@MAKEINFO@,$MAKEINFO,;t t
18538 -s,@install_sh@,$install_sh,;t t
18539 -s,@STRIP@,$STRIP,;t t
18540 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
18541 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
18542 -s,@mkdir_p@,$mkdir_p,;t t
18544 -s,@SET_MAKE@,$SET_MAKE,;t t
18545 -s,@am__leading_dot@,$am__leading_dot,;t t
18546 -s,@AMTAR@,$AMTAR,;t t
18547 -s,@am__tar@,$am__tar,;t t
18548 -s,@am__untar@,$am__untar,;t t
18549 -s,@LIBGPHOTO2_PORT_AGE@,$LIBGPHOTO2_PORT_AGE,;t t
18550 -s,@LIBGPHOTO2_PORT_REVISION@,$LIBGPHOTO2_PORT_REVISION,;t t
18551 -s,@LIBGPHOTO2_PORT_CURRENT@,$LIBGPHOTO2_PORT_CURRENT,;t t
18552 -s,@LIBGPHOTO2_PORT_CURRENT_MIN@,$LIBGPHOTO2_PORT_CURRENT_MIN,;t t
18553 -s,@LIBGPHOTO2_PORT_VERSION_INFO@,$LIBGPHOTO2_PORT_VERSION_INFO,;t t
18555 -s,@CFLAGS@,$CFLAGS,;t t
18556 -s,@LDFLAGS@,$LDFLAGS,;t t
18557 -s,@CPPFLAGS@,$CPPFLAGS,;t t
18558 -s,@ac_ct_CC@,$ac_ct_CC,;t t
18559 -s,@EXEEXT@,$EXEEXT,;t t
18560 -s,@OBJEXT@,$OBJEXT,;t t
18561 -s,@DEPDIR@,$DEPDIR,;t t
18562 -s,@am__include@,$am__include,;t t
18563 -s,@am__quote@,$am__quote,;t t
18564 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18565 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18566 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18567 -s,@CCDEPMODE@,$CCDEPMODE,;t t
18568 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18569 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18571 -s,@EGREP@,$EGREP,;t t
18572 -s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
18573 -s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
18574 -s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
18575 -s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
18576 -s,@build@,$build,;t t
18577 -s,@build_cpu@,$build_cpu,;t t
18578 -s,@build_vendor@,$build_vendor,;t t
18579 -s,@build_os@,$build_os,;t t
18580 -s,@host@,$host,;t t
18581 -s,@host_cpu@,$host_cpu,;t t
18582 -s,@host_vendor@,$host_vendor,;t t
18583 -s,@host_os@,$host_os,;t t
18584 -s,@LIBADD_DL@,$LIBADD_DL,;t t
18585 -s,@LIBLTDL@,$LIBLTDL,;t t
18586 -s,@INCLTDL@,$INCLTDL,;t t
18587 -s,@subdirs@,$subdirs,;t t
18588 -s,@LN_S@,$LN_S,;t t
18589 -s,@ECHO@,$ECHO,;t t
18591 -s,@ac_ct_AR@,$ac_ct_AR,;t t
18592 -s,@RANLIB@,$RANLIB,;t t
18593 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18594 -s,@DLLTOOL@,$DLLTOOL,;t t
18595 -s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
18597 -s,@ac_ct_AS@,$ac_ct_AS,;t t
18598 -s,@OBJDUMP@,$OBJDUMP,;t t
18599 -s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
18601 -s,@CXXFLAGS@,$CXXFLAGS,;t t
18602 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18603 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18604 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18605 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18606 -s,@CXXCPP@,$CXXCPP,;t t
18608 -s,@FFLAGS@,$FFLAGS,;t t
18609 -s,@ac_ct_F77@,$ac_ct_F77,;t t
18610 -s,@LIBTOOL@,$LIBTOOL,;t t
18611 -s,@LTDLINCL@,$LTDLINCL,;t t
18612 -s,@URL_GPHOTO_HOME@,$URL_GPHOTO_HOME,;t t
18613 -s,@URL_GPHOTO_PROJECT@,$URL_GPHOTO_PROJECT,;t t
18614 -s,@URL_DIGICAM_LIST@,$URL_DIGICAM_LIST,;t t
18615 -s,@URL_JPHOTO_HOME@,$URL_JPHOTO_HOME,;t t
18616 -s,@URL_USB_MASSSTORAGE@,$URL_USB_MASSSTORAGE,;t t
18617 -s,@MAIL_GPHOTO_DEVEL@,$MAIL_GPHOTO_DEVEL,;t t
18618 -s,@MAIL_GPHOTO_USER@,$MAIL_GPHOTO_USER,;t t
18619 -s,@MAIL_GPHOTO_TRANSLATION@,$MAIL_GPHOTO_TRANSLATION,;t t
18620 -s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
18621 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
18622 -s,@USE_NLS@,$USE_NLS,;t t
18623 -s,@MSGFMT@,$MSGFMT,;t t
18624 -s,@GMSGFMT@,$GMSGFMT,;t t
18625 -s,@XGETTEXT@,$XGETTEXT,;t t
18626 -s,@MSGMERGE@,$MSGMERGE,;t t
18627 -s,@LIBICONV@,$LIBICONV,;t t
18628 -s,@LTLIBICONV@,$LTLIBICONV,;t t
18629 -s,@INTLLIBS@,$INTLLIBS,;t t
18630 -s,@LIBINTL@,$LIBINTL,;t t
18631 -s,@LTLIBINTL@,$LTLIBINTL,;t t
18632 -s,@POSUB@,$POSUB,;t t
18633 -s,@localedir@,$localedir,;t t
18634 -s,@MDNS_LIBS@,$MDNS_LIBS,;t t
18635 -s,@SERIAL_LIBS@,$SERIAL_LIBS,;t t
18636 -s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18637 -s,@PKG_CONFIG_PATH@,$PKG_CONFIG_PATH,;t t
18638 -s,@LIBUSB_CFLAGS@,$LIBUSB_CFLAGS,;t t
18639 -s,@LIBUSB_LIBS@,$LIBUSB_LIBS,;t t
18640 -s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
18641 -s,@LIBUSB_CONFIG_PROG@,$LIBUSB_CONFIG_PROG,;t t
18642 -s,@HAVE_LIBUSB_TRUE@,$HAVE_LIBUSB_TRUE,;t t
18643 -s,@HAVE_LIBUSB_FALSE@,$HAVE_LIBUSB_FALSE,;t t
18644 -s,@HAL_CFLAGS@,$HAL_CFLAGS,;t t
18645 -s,@HAL_LIBS@,$HAL_LIBS,;t t
18646 -s,@IOLIB_SUBDIRS@,$IOLIB_SUBDIRS,;t t
18647 -s,@iolibdir@,$iolibdir,;t t
18648 -s,@docdir@,$docdir,;t t
18649 -s,@GTKDOC@,$GTKDOC,;t t
18650 -s,@ENABLE_GTK_DOC_TRUE@,$ENABLE_GTK_DOC_TRUE,;t t
18651 -s,@ENABLE_GTK_DOC_FALSE@,$ENABLE_GTK_DOC_FALSE,;t t
18652 -s,@htmldir@,$htmldir,;t t
18653 -s,@apidocdir}@,$apidocdir},;t t
18654 -s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
18655 -s,@AM_LDFLAGS@,$AM_LDFLAGS,;t t
18656 -s,@LIBOBJS@,$LIBOBJS,;t t
18657 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18662 - cat >>$CONFIG_STATUS <<\_ACEOF
18663 - # Split the substitutions into bite-sized pieces for seds with
18664 - # small command number limits, like on Digital OSF/1 and HP-UX.
18665 - ac_max_sed_lines=48
18666 - ac_sed_frag=1 # Number of current file.
18667 - ac_beg=1 # First line for current file.
18668 - ac_end=$ac_max_sed_lines # Line after last line for current file.
18671 - while $ac_more_lines; do
18672 - if test $ac_beg -gt 1; then
18673 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18675 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18677 - if test ! -s $tmp/subs.frag; then
18678 - ac_more_lines=false
18680 - # The purpose of the label and of the branching condition is to
18681 - # speed up the sed processing (if there are no `@' at all, there
18682 - # is no need to browse any of the substitutions).
18683 - # These are the two extra sed commands mentioned above.
18685 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18686 - if test -z "$ac_sed_cmds"; then
18687 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18689 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18691 - ac_sed_frag=`expr $ac_sed_frag + 1`
18693 - ac_end=`expr $ac_end + $ac_max_sed_lines`
18696 - if test -z "$ac_sed_cmds"; then
18698 +if test -n "$CONFIG_FILES"; then
18705 +for ac_last_try in false false false false false :; do
18706 + cat >conf$$subs.sed <<_ACEOF
18707 +SHELL!$SHELL$ac_delim
18708 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
18709 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
18710 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
18711 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
18712 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
18713 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
18714 +exec_prefix!$exec_prefix$ac_delim
18715 +prefix!$prefix$ac_delim
18716 +program_transform_name!$program_transform_name$ac_delim
18717 +bindir!$bindir$ac_delim
18718 +sbindir!$sbindir$ac_delim
18719 +libexecdir!$libexecdir$ac_delim
18720 +datarootdir!$datarootdir$ac_delim
18721 +datadir!$datadir$ac_delim
18722 +sysconfdir!$sysconfdir$ac_delim
18723 +sharedstatedir!$sharedstatedir$ac_delim
18724 +localstatedir!$localstatedir$ac_delim
18725 +includedir!$includedir$ac_delim
18726 +oldincludedir!$oldincludedir$ac_delim
18727 +docdir!$docdir$ac_delim
18728 +infodir!$infodir$ac_delim
18729 +htmldir!$htmldir$ac_delim
18730 +dvidir!$dvidir$ac_delim
18731 +pdfdir!$pdfdir$ac_delim
18732 +psdir!$psdir$ac_delim
18733 +libdir!$libdir$ac_delim
18734 +localedir!$localedir$ac_delim
18735 +mandir!$mandir$ac_delim
18736 +DEFS!$DEFS$ac_delim
18737 +ECHO_C!$ECHO_C$ac_delim
18738 +ECHO_N!$ECHO_N$ac_delim
18739 +ECHO_T!$ECHO_T$ac_delim
18740 +LIBS!$LIBS$ac_delim
18741 +build_alias!$build_alias$ac_delim
18742 +host_alias!$host_alias$ac_delim
18743 +target_alias!$target_alias$ac_delim
18744 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
18745 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
18746 +INSTALL_DATA!$INSTALL_DATA$ac_delim
18747 +CYGPATH_W!$CYGPATH_W$ac_delim
18748 +PACKAGE!$PACKAGE$ac_delim
18749 +VERSION!$VERSION$ac_delim
18750 +ACLOCAL!$ACLOCAL$ac_delim
18751 +AUTOCONF!$AUTOCONF$ac_delim
18752 +AUTOMAKE!$AUTOMAKE$ac_delim
18753 +AUTOHEADER!$AUTOHEADER$ac_delim
18754 +MAKEINFO!$MAKEINFO$ac_delim
18755 +install_sh!$install_sh$ac_delim
18756 +STRIP!$STRIP$ac_delim
18757 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
18758 +mkdir_p!$mkdir_p$ac_delim
18760 +SET_MAKE!$SET_MAKE$ac_delim
18761 +am__leading_dot!$am__leading_dot$ac_delim
18762 +AMTAR!$AMTAR$ac_delim
18763 +am__tar!$am__tar$ac_delim
18764 +am__untar!$am__untar$ac_delim
18765 +LIBGPHOTO2_PORT_AGE!$LIBGPHOTO2_PORT_AGE$ac_delim
18766 +LIBGPHOTO2_PORT_REVISION!$LIBGPHOTO2_PORT_REVISION$ac_delim
18767 +LIBGPHOTO2_PORT_CURRENT!$LIBGPHOTO2_PORT_CURRENT$ac_delim
18768 +LIBGPHOTO2_PORT_CURRENT_MIN!$LIBGPHOTO2_PORT_CURRENT_MIN$ac_delim
18769 +LIBGPHOTO2_PORT_VERSION_INFO!$LIBGPHOTO2_PORT_VERSION_INFO$ac_delim
18771 +CFLAGS!$CFLAGS$ac_delim
18772 +LDFLAGS!$LDFLAGS$ac_delim
18773 +CPPFLAGS!$CPPFLAGS$ac_delim
18774 +ac_ct_CC!$ac_ct_CC$ac_delim
18775 +EXEEXT!$EXEEXT$ac_delim
18776 +OBJEXT!$OBJEXT$ac_delim
18777 +DEPDIR!$DEPDIR$ac_delim
18778 +am__include!$am__include$ac_delim
18779 +am__quote!$am__quote$ac_delim
18780 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
18781 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
18782 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
18783 +CCDEPMODE!$CCDEPMODE$ac_delim
18784 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
18785 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
18787 +GREP!$GREP$ac_delim
18788 +EGREP!$EGREP$ac_delim
18789 +INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
18790 +INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
18791 +CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
18792 +CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
18793 +build!$build$ac_delim
18794 +build_cpu!$build_cpu$ac_delim
18795 +build_vendor!$build_vendor$ac_delim
18796 +build_os!$build_os$ac_delim
18797 +host!$host$ac_delim
18798 +host_cpu!$host_cpu$ac_delim
18799 +host_vendor!$host_vendor$ac_delim
18800 +host_os!$host_os$ac_delim
18801 +LIBADD_DL!$LIBADD_DL$ac_delim
18802 +LIBLTDL!$LIBLTDL$ac_delim
18803 +INCLTDL!$INCLTDL$ac_delim
18806 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
18808 + elif $ac_last_try; then
18809 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18810 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18811 + { (exit 1); exit 1; }; }
18813 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18815 -fi # test -n "$CONFIG_FILES"
18818 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18819 +if test -n "$ac_eof"; then
18820 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18821 + ac_eof=`expr $ac_eof + 1`
18824 +cat >>$CONFIG_STATUS <<_ACEOF
18825 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
18826 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18829 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18830 +s/^/s,@/; s/!/@,|#_!!_#|/
18833 +s/'"$ac_delim"'$/,g/; t
18835 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18836 +' >>$CONFIG_STATUS <conf$$subs.sed
18837 +rm -f conf$$subs.sed
18838 +cat >>$CONFIG_STATUS <<_ACEOF
18844 +for ac_last_try in false false false false false :; do
18845 + cat >conf$$subs.sed <<_ACEOF
18846 +subdirs!$subdirs$ac_delim
18847 +LN_S!$LN_S$ac_delim
18848 +ECHO!$ECHO$ac_delim
18850 +RANLIB!$RANLIB$ac_delim
18851 +DLLTOOL!$DLLTOOL$ac_delim
18853 +OBJDUMP!$OBJDUMP$ac_delim
18855 +CXXFLAGS!$CXXFLAGS$ac_delim
18856 +ac_ct_CXX!$ac_ct_CXX$ac_delim
18857 +CXXDEPMODE!$CXXDEPMODE$ac_delim
18858 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
18859 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
18860 +CXXCPP!$CXXCPP$ac_delim
18862 +FFLAGS!$FFLAGS$ac_delim
18863 +ac_ct_F77!$ac_ct_F77$ac_delim
18864 +LIBTOOL!$LIBTOOL$ac_delim
18865 +LTDLINCL!$LTDLINCL$ac_delim
18866 +URL_GPHOTO_HOME!$URL_GPHOTO_HOME$ac_delim
18867 +URL_GPHOTO_PROJECT!$URL_GPHOTO_PROJECT$ac_delim
18868 +URL_DIGICAM_LIST!$URL_DIGICAM_LIST$ac_delim
18869 +URL_JPHOTO_HOME!$URL_JPHOTO_HOME$ac_delim
18870 +URL_USB_MASSSTORAGE!$URL_USB_MASSSTORAGE$ac_delim
18871 +MAIL_GPHOTO_DEVEL!$MAIL_GPHOTO_DEVEL$ac_delim
18872 +MAIL_GPHOTO_USER!$MAIL_GPHOTO_USER$ac_delim
18873 +MAIL_GPHOTO_TRANSLATION!$MAIL_GPHOTO_TRANSLATION$ac_delim
18874 +GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
18875 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
18876 +USE_NLS!$USE_NLS$ac_delim
18877 +MSGFMT!$MSGFMT$ac_delim
18878 +GMSGFMT!$GMSGFMT$ac_delim
18879 +XGETTEXT!$XGETTEXT$ac_delim
18880 +MSGMERGE!$MSGMERGE$ac_delim
18881 +LIBICONV!$LIBICONV$ac_delim
18882 +LTLIBICONV!$LTLIBICONV$ac_delim
18883 +INTLLIBS!$INTLLIBS$ac_delim
18884 +LIBINTL!$LIBINTL$ac_delim
18885 +LTLIBINTL!$LTLIBINTL$ac_delim
18886 +POSUB!$POSUB$ac_delim
18887 +MDNS_LIBS!$MDNS_LIBS$ac_delim
18888 +SERIAL_LIBS!$SERIAL_LIBS$ac_delim
18889 +PKG_CONFIG!$PKG_CONFIG$ac_delim
18890 +PKG_CONFIG_PATH!$PKG_CONFIG_PATH$ac_delim
18891 +LIBUSB_CFLAGS!$LIBUSB_CFLAGS$ac_delim
18892 +LIBUSB_LIBS!$LIBUSB_LIBS$ac_delim
18893 +LIBUSB_CONFIG_PROG!$LIBUSB_CONFIG_PROG$ac_delim
18894 +HAVE_LIBUSB_TRUE!$HAVE_LIBUSB_TRUE$ac_delim
18895 +HAVE_LIBUSB_FALSE!$HAVE_LIBUSB_FALSE$ac_delim
18896 +IOLIB_SUBDIRS!$IOLIB_SUBDIRS$ac_delim
18897 +iolibdir!$iolibdir$ac_delim
18898 +GTKDOC!$GTKDOC$ac_delim
18899 +ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
18900 +ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
18901 +apidocdir}!$apidocdir}$ac_delim
18902 +AM_CPPFLAGS!$AM_CPPFLAGS$ac_delim
18903 +AM_LDFLAGS!$AM_LDFLAGS$ac_delim
18904 +LIBOBJS!$LIBOBJS$ac_delim
18905 +LTLIBOBJS!$LTLIBOBJS$ac_delim
18908 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
18910 + elif $ac_last_try; then
18911 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18912 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18913 + { (exit 1); exit 1; }; }
18915 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18919 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18920 +if test -n "$ac_eof"; then
18921 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18922 + ac_eof=`expr $ac_eof + 1`
18925 +cat >>$CONFIG_STATUS <<_ACEOF
18926 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
18927 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
18930 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18931 +s/^/s,@/; s/!/@,|#_!!_#|/
18934 +s/'"$ac_delim"'$/,g/; t
18936 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18937 +' >>$CONFIG_STATUS <conf$$subs.sed
18938 +rm -f conf$$subs.sed
18939 +cat >>$CONFIG_STATUS <<_ACEOF
18946 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
18947 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18948 +# trailing colons and then remove the whole line if VPATH becomes empty
18949 +# (actually we leave an empty line to preserve line numbers).
18950 +if test "x$srcdir" = x.; then
18951 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
18952 +s/:*\$(srcdir):*/:/
18953 +s/:*\${srcdir}:*/:/
18955 +s/^\([^=]*=[ ]*\):*/\1/
18961 cat >>$CONFIG_STATUS <<\_ACEOF
18962 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18963 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18965 - - | *:- | *:-:* ) # input from stdin
18967 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18968 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18969 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18970 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18971 - * ) ac_file_in=$ac_file.in ;;
18972 +fi # test -n "$CONFIG_FILES"
18975 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
18978 + :[FHLC]) ac_mode=$ac_tag; continue;;
18980 + case $ac_mode$ac_tag in
18982 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
18983 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
18984 + { (exit 1); exit 1; }; };;
18985 + :[FH]-) ac_tag=-:-;;
18986 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18997 + :L) ac_source=$1;;
19003 + -) ac_f="$tmp/stdin";;
19004 + *) # Look for the file first in the build tree, then in the source tree
19005 + # (if the path is not absolute). The absolute path cannot be DOS-style,
19006 + # because $ac_f cannot contain `:'.
19007 + test -f "$ac_f" ||
19010 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19012 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19013 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19014 + { (exit 1); exit 1; }; };;
19016 + ac_file_inputs="$ac_file_inputs $ac_f"
19019 + # Let's still pretend it is `configure' which instantiates (i.e., don't
19020 + # use $as_me), people would be surprised to read:
19021 + # /* config.h. Generated by config.status. */
19022 + configure_input="Generated from "`IFS=:
19023 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
19024 + if test x"$ac_file" != x-; then
19025 + configure_input="$ac_file. $configure_input"
19026 + { echo "$as_me:$LINENO: creating $ac_file" >&5
19027 +echo "$as_me: creating $ac_file" >&6;}
19031 + *:-:* | *:-) cat >"$tmp/stdin";;
19036 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19037 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19038 + ac_dir=`$as_dirname -- "$ac_file" ||
19039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19040 X"$ac_file" : 'X\(//\)[^/]' \| \
19041 X"$ac_file" : 'X\(//\)$' \| \
19042 - X"$ac_file" : 'X\(/\)' \| \
19043 - . : '\(.\)' 2>/dev/null ||
19044 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19046 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19047 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19048 - /^X\(\/\/\)$/{ s//\1/; q; }
19049 - /^X\(\/\).*/{ s//\1/; q; }
19051 - { if $as_mkdir_p; then
19052 - mkdir -p "$ac_dir"
19055 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19059 + /^X\(\/\/\)[^/].*/{
19072 + { as_dir="$ac_dir"
19073 + case $as_dir in #(
19074 + -*) as_dir=./$as_dir;;
19076 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19078 - while test ! -d "$as_dir"; do
19079 - as_dirs="$as_dir $as_dirs"
19080 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
19082 + case $as_dir in #(
19083 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19084 + *) as_qdir=$as_dir;;
19086 + as_dirs="'$as_qdir' $as_dirs"
19087 + as_dir=`$as_dirname -- "$as_dir" ||
19088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19089 X"$as_dir" : 'X\(//\)[^/]' \| \
19090 X"$as_dir" : 'X\(//\)$' \| \
19091 - X"$as_dir" : 'X\(/\)' \| \
19092 - . : '\(.\)' 2>/dev/null ||
19093 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19095 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19096 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19097 - /^X\(\/\/\)$/{ s//\1/; q; }
19098 - /^X\(\/\).*/{ s//\1/; q; }
19100 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19104 + /^X\(\/\/\)[^/].*/{
19117 + test -d "$as_dir" && break
19119 - test ! -n "$as_dirs" || mkdir $as_dirs
19120 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19121 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19122 + test -z "$as_dirs" || eval "mkdir $as_dirs"
19123 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19124 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
19125 { (exit 1); exit 1; }; }; }
19129 -if test "$ac_dir" != .; then
19131 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19133 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19134 - # A "../" for each directory in $ac_dir_suffix.
19135 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19137 - ac_dir_suffix= ac_top_builddir=
19139 + # A ".." for each directory in $ac_dir_suffix.
19140 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
19141 + case $ac_top_builddir_sub in
19142 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19143 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19146 +ac_abs_top_builddir=$ac_pwd
19147 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
19148 +# for backward compatibility:
19149 +ac_top_builddir=$ac_top_build_prefix
19152 - .) # No --srcdir option. We are building in place.
19153 + .) # We are building in place.
19155 - if test -z "$ac_top_builddir"; then
19158 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19160 - [\\/]* | ?:[\\/]* ) # Absolute path.
19161 + ac_top_srcdir=$ac_top_builddir_sub
19162 + ac_abs_top_srcdir=$ac_pwd ;;
19163 + [\\/]* | ?:[\\/]* ) # Absolute name.
19164 ac_srcdir=$srcdir$ac_dir_suffix;
19165 - ac_top_srcdir=$srcdir ;;
19166 - *) # Relative path.
19167 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19168 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
19169 + ac_top_srcdir=$srcdir
19170 + ac_abs_top_srcdir=$srcdir ;;
19171 + *) # Relative name.
19172 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19173 + ac_top_srcdir=$ac_top_build_prefix$srcdir
19174 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19176 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19178 -# Do not use `cd foo && pwd` to compute absolute paths, because
19179 -# the directories may not exist.
19181 -.) ac_abs_builddir="$ac_dir";;
19183 - case "$ac_dir" in
19184 - .) ac_abs_builddir=`pwd`;;
19185 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19186 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
19189 -case $ac_abs_builddir in
19190 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
19192 - case ${ac_top_builddir}. in
19193 - .) ac_abs_top_builddir=$ac_abs_builddir;;
19194 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19195 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19198 -case $ac_abs_builddir in
19199 -.) ac_abs_srcdir=$ac_srcdir;;
19201 - case $ac_srcdir in
19202 - .) ac_abs_srcdir=$ac_abs_builddir;;
19203 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19204 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19207 -case $ac_abs_builddir in
19208 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
19210 - case $ac_top_srcdir in
19211 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
19212 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19213 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19224 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19225 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
19226 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19230 - # Let's still pretend it is `configure' which instantiates (i.e., don't
19231 - # use $as_me), people would be surprised to read:
19232 - # /* config.h. Generated by config.status. */
19233 - if test x"$ac_file" = x-; then
19236 - configure_input="$ac_file. "
19238 - configure_input=$configure_input"Generated from `echo $ac_file_in |
19239 - sed 's,.*/,,'` by configure."
19241 - # First look for the input files in the build tree, otherwise in the
19243 - ac_file_inputs=`IFS=:
19244 - for f in $ac_file_in; do
19246 - -) echo $tmp/stdin ;;
19248 - # Absolute (can't be DOS-style, as IFS=:)
19249 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19250 -echo "$as_me: error: cannot find input file: $f" >&2;}
19251 - { (exit 1); exit 1; }; }
19254 - if test -f "$f"; then
19257 - elif test -f "$srcdir/$f"; then
19259 - echo "$srcdir/$f"
19262 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19263 -echo "$as_me: error: cannot find input file: $f" >&2;}
19264 - { (exit 1); exit 1; }; }
19267 - done` || { (exit 1); exit 1; }
19269 - if test x"$ac_file" != x-; then
19270 - { echo "$as_me:$LINENO: creating $ac_file" >&5
19271 -echo "$as_me: creating $ac_file" >&6;}
19274 +cat >>$CONFIG_STATUS <<\_ACEOF
19275 +# If the template does not know about datarootdir, expand it.
19276 +# FIXME: This hack should be removed a few years after 2.60.
19277 +ac_datarootdir_hack=; ac_datarootdir_seen=
19279 +case `sed -n '/datarootdir/ {
19288 +' $ac_file_inputs` in
19289 +*datarootdir*) ac_datarootdir_seen=yes;;
19290 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19291 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19292 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19294 cat >>$CONFIG_STATUS <<_ACEOF
19295 + ac_datarootdir_hack='
19296 + s&@datadir@&$datadir&g
19297 + s&@docdir@&$docdir&g
19298 + s&@infodir@&$infodir&g
19299 + s&@localedir@&$localedir&g
19300 + s&@mandir@&$mandir&g
19301 + s&\\\${datarootdir}&$datarootdir&g' ;;
19305 +# Neutralize VPATH when `$srcdir' = `.'.
19306 +# Shell code in configure.ac might set extrasub.
19307 +# FIXME: do we really want to maintain this feature?
19308 +cat >>$CONFIG_STATUS <<_ACEOF
19312 cat >>$CONFIG_STATUS <<\_ACEOF
19314 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19315 -s,@configure_input@,$configure_input,;t t
19316 -s,@srcdir@,$ac_srcdir,;t t
19317 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
19318 -s,@top_srcdir@,$ac_top_srcdir,;t t
19319 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
19320 -s,@builddir@,$ac_builddir,;t t
19321 -s,@abs_builddir@,$ac_abs_builddir,;t t
19322 -s,@top_builddir@,$ac_top_builddir,;t t
19323 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
19324 -s,@INSTALL@,$ac_INSTALL,;t t
19325 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19327 - if test x"$ac_file" != x-; then
19328 - mv $tmp/out $ac_file
19336 -cat >>$CONFIG_STATUS <<\_ACEOF
19339 -# CONFIG_HEADER section.
19342 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19343 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
19345 -# ac_d sets the value in "#define NAME VALUE" lines.
19346 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19347 -ac_dB='[ ].*$,\1#\2'
19350 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19351 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19352 -ac_uB='$,\1#\2define\3'
19355 +s&@configure_input@&$configure_input&;t t
19356 +s&@top_builddir@&$ac_top_builddir_sub&;t t
19357 +s&@srcdir@&$ac_srcdir&;t t
19358 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
19359 +s&@top_srcdir@&$ac_top_srcdir&;t t
19360 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19361 +s&@builddir@&$ac_builddir&;t t
19362 +s&@abs_builddir@&$ac_abs_builddir&;t t
19363 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19364 +s&@INSTALL@&$ac_INSTALL&;t t
19365 +$ac_datarootdir_hack
19366 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
19368 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19369 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19370 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19371 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19372 +which seems to be undefined. Please make sure it is defined." >&5
19373 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19374 +which seems to be undefined. Please make sure it is defined." >&2;}
19376 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
19377 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19378 + rm -f "$tmp/stdin"
19380 - - | *:- | *:-:* ) # input from stdin
19382 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19383 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19384 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19385 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19386 - * ) ac_file_in=$ac_file.in ;;
19387 + -) cat "$tmp/out"; rm -f "$tmp/out";;
19388 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
19391 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
19392 -echo "$as_me: creating $ac_file" >&6;}
19394 - # First look for the input files in the build tree, otherwise in the
19396 - ac_file_inputs=`IFS=:
19397 - for f in $ac_file_in; do
19399 - -) echo $tmp/stdin ;;
19401 - # Absolute (can't be DOS-style, as IFS=:)
19402 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19403 -echo "$as_me: error: cannot find input file: $f" >&2;}
19404 - { (exit 1); exit 1; }; }
19405 - # Do quote $f, to prevent DOS paths from being IFS'd.
19408 - if test -f "$f"; then
19411 - elif test -f "$srcdir/$f"; then
19413 - echo "$srcdir/$f"
19416 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19417 -echo "$as_me: error: cannot find input file: $f" >&2;}
19418 - { (exit 1); exit 1; }; }
19421 - done` || { (exit 1); exit 1; }
19422 - # Remove the trailing spaces.
19423 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19432 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
19433 -# `conftest.undefs', that substitutes the proper values into
19434 -# config.h.in to produce config.h. The first handles `#define'
19435 -# templates, and the second `#undef' templates.
19436 -# And first: Protect against being on the right side of a sed subst in
19437 -# config.status. Protect against being in an unquoted here document
19438 -# in config.status.
19439 -rm -f conftest.defines conftest.undefs
19440 -# Using a here document instead of a string reduces the quoting nightmare.
19441 -# Putting comments in sed scripts is not portable.
19443 -# `end' is used to avoid that the second main sed command (meant for
19444 -# 0-ary CPP macros) applies to n-ary macro definitions.
19445 -# See the Autoconf documentation for `clear'.
19446 -cat >confdef2sed.sed <<\_ACEOF
19451 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19453 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19456 -# If some macros were called several times there might be several times
19457 -# the same #defines, which is useless. Nevertheless, we may not want to
19458 -# sort them, since we want the *last* AC-DEFINE to be honored.
19459 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19460 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19461 -rm -f confdef2sed.sed
19462 +# Transform confdefs.h into a sed script `conftest.defines', that
19463 +# substitutes the proper values into config.h.in to produce config.h.
19464 +rm -f conftest.defines conftest.tail
19465 +# First, append a space to every undef/define line, to ease matching.
19466 +echo 's/$/ /' >conftest.defines
19467 +# Then, protect against being on the right side of a sed subst, or in
19468 +# an unquoted here document, in config.status. If some macros were
19469 +# called several times there might be several #defines for the same
19470 +# symbol, which is useless. But do not sort them, since the last
19471 +# AC_DEFINE must be honored.
19472 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19473 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
19474 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
19475 +# PARAMS is the parameter list in the macro definition--in most cases, it's
19476 +# just an empty string.
19477 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
19478 +ac_dB='\\)[ (].*,\\1define\\2'
19482 -# This sed command replaces #undef with comments. This is necessary, for
19487 + s/^[ ]*#[ ]*define[ ][ ]*//
19492 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
19493 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
19494 + ' >>conftest.defines
19496 +# Remove the space that was appended to ease matching.
19497 +# Then replace #undef with comments. This is necessary, for
19498 # example, in the case of _POSIX_SOURCE, which is predefined and required
19499 # on some systems where configure will not decide to define it.
19500 -cat >>conftest.undefs <<\_ACEOF
19501 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19503 +# (The regexp can be short, since the line contains either #define or #undef.)
19505 +s,^[ #]*u.*,/* & */,' >>conftest.defines
19507 +# Break up conftest.defines:
19508 +ac_max_sed_lines=50
19510 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
19511 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
19512 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
19514 +ac_in='$ac_file_inputs'
19515 +ac_out='"$tmp/out1"'
19516 +ac_nxt='"$tmp/out2"'
19518 -# Break up conftest.defines because some shells have a limit on the size
19519 -# of here documents, and old seds have small limits too (100 cmds).
19520 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19521 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19522 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19523 -echo ' :' >>$CONFIG_STATUS
19524 -rm -f conftest.tail
19525 -while grep . conftest.defines >/dev/null
19528 - # Write a limited-size here document to $tmp/defines.sed.
19529 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19530 - # Speed up: don't consider the non `#define' lines.
19531 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19532 - # Work around the forget-to-reset-the-flag bug.
19533 - echo 't clr' >>$CONFIG_STATUS
19534 - echo ': clr' >>$CONFIG_STATUS
19535 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
19536 + # Write a here document:
19537 + cat >>$CONFIG_STATUS <<_ACEOF
19538 + # First, check the format of the line:
19539 + cat >"\$tmp/defines.sed" <<\\CEOF
19540 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
19541 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
19545 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
19547 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
19549 - mv $tmp/out $tmp/in
19550 -' >>$CONFIG_STATUS
19551 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
19552 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
19553 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
19554 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
19555 + grep . conftest.tail >/dev/null || break
19556 rm -f conftest.defines
19557 mv conftest.tail conftest.defines
19559 -rm -f conftest.defines
19560 -echo ' fi # grep' >>$CONFIG_STATUS
19561 -echo >>$CONFIG_STATUS
19563 -# Break up conftest.undefs because some shells have a limit on the size
19564 -# of here documents, and old seds have small limits too (100 cmds).
19565 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19566 -rm -f conftest.tail
19567 -while grep . conftest.undefs >/dev/null
19569 - # Write a limited-size here document to $tmp/undefs.sed.
19570 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19571 - # Speed up: don't consider the non `#undef'
19572 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19573 - # Work around the forget-to-reset-the-flag bug.
19574 - echo 't clr' >>$CONFIG_STATUS
19575 - echo ': clr' >>$CONFIG_STATUS
19576 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19578 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19580 - mv $tmp/out $tmp/in
19581 -' >>$CONFIG_STATUS
19582 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19583 - rm -f conftest.undefs
19584 - mv conftest.tail conftest.undefs
19586 -rm -f conftest.undefs
19587 +rm -f conftest.defines conftest.tail
19589 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
19590 cat >>$CONFIG_STATUS <<\_ACEOF
19591 - # Let's still pretend it is `configure' which instantiates (i.e., don't
19592 - # use $as_me), people would be surprised to read:
19593 - # /* config.h. Generated by config.status. */
19594 - if test x"$ac_file" = x-; then
19595 - echo "/* Generated by configure. */" >$tmp/config.h
19597 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19599 - cat $tmp/in >>$tmp/config.h
19601 if test x"$ac_file" != x-; then
19602 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
19603 + echo "/* $configure_input */" >"$tmp/config.h"
19604 + cat "$ac_result" >>"$tmp/config.h"
19605 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
19606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19607 echo "$as_me: $ac_file is unchanged" >&6;}
19609 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19610 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19611 - X"$ac_file" : 'X\(//\)[^/]' \| \
19612 - X"$ac_file" : 'X\(//\)$' \| \
19613 - X"$ac_file" : 'X\(/\)' \| \
19614 - . : '\(.\)' 2>/dev/null ||
19615 -echo X"$ac_file" |
19616 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19617 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19618 - /^X\(\/\/\)$/{ s//\1/; q; }
19619 - /^X\(\/\).*/{ s//\1/; q; }
19621 - { if $as_mkdir_p; then
19622 - mkdir -p "$ac_dir"
19626 - while test ! -d "$as_dir"; do
19627 - as_dirs="$as_dir $as_dirs"
19628 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
19629 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19630 - X"$as_dir" : 'X\(//\)[^/]' \| \
19631 - X"$as_dir" : 'X\(//\)$' \| \
19632 - X"$as_dir" : 'X\(/\)' \| \
19633 - . : '\(.\)' 2>/dev/null ||
19635 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19636 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19637 - /^X\(\/\/\)$/{ s//\1/; q; }
19638 - /^X\(\/\).*/{ s//\1/; q; }
19641 - test ! -n "$as_dirs" || mkdir $as_dirs
19642 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19643 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19644 - { (exit 1); exit 1; }; }; }
19647 - mv $tmp/config.h $ac_file
19648 + mv "$tmp/config.h" $ac_file
19651 - cat $tmp/config.h
19652 - rm -f $tmp/config.h
19653 + echo "/* $configure_input */"
19656 + rm -f "$tmp/out12"
19657 # Compute $ac_file's index in $config_headers.
19659 for _am_header in $config_headers :; do
19660 @@ -30854,135 +31158,39 @@
19661 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19664 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
19665 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
19666 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19667 X$ac_file : 'X\(//\)[^/]' \| \
19668 X$ac_file : 'X\(//\)$' \| \
19669 - X$ac_file : 'X\(/\)' \| \
19670 - . : '\(.\)' 2>/dev/null ||
19671 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
19673 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19674 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19675 - /^X\(\/\/\)$/{ s//\1/; q; }
19676 - /^X\(\/\).*/{ s//\1/; q; }
19677 - s/.*/./; q'`/stamp-h$_am_stamp_count
19680 -cat >>$CONFIG_STATUS <<\_ACEOF
19683 -# CONFIG_COMMANDS section.
19685 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19686 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19687 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19688 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19689 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19690 - X"$ac_dest" : 'X\(//\)[^/]' \| \
19691 - X"$ac_dest" : 'X\(//\)$' \| \
19692 - X"$ac_dest" : 'X\(/\)' \| \
19693 - . : '\(.\)' 2>/dev/null ||
19694 -echo X"$ac_dest" |
19695 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19696 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19697 - /^X\(\/\/\)$/{ s//\1/; q; }
19698 - /^X\(\/\).*/{ s//\1/; q; }
19700 - { if $as_mkdir_p; then
19701 - mkdir -p "$ac_dir"
19705 - while test ! -d "$as_dir"; do
19706 - as_dirs="$as_dir $as_dirs"
19707 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
19708 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19709 - X"$as_dir" : 'X\(//\)[^/]' \| \
19710 - X"$as_dir" : 'X\(//\)$' \| \
19711 - X"$as_dir" : 'X\(/\)' \| \
19712 - . : '\(.\)' 2>/dev/null ||
19714 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19715 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19716 - /^X\(\/\/\)$/{ s//\1/; q; }
19717 - /^X\(\/\).*/{ s//\1/; q; }
19720 - test ! -n "$as_dirs" || mkdir $as_dirs
19721 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19722 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19723 - { (exit 1); exit 1; }; }; }
19727 -if test "$ac_dir" != .; then
19728 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19729 - # A "../" for each directory in $ac_dir_suffix.
19730 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19732 - ac_dir_suffix= ac_top_builddir=
19736 - .) # No --srcdir option. We are building in place.
19738 - if test -z "$ac_top_builddir"; then
19741 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19743 - [\\/]* | ?:[\\/]* ) # Absolute path.
19744 - ac_srcdir=$srcdir$ac_dir_suffix;
19745 - ac_top_srcdir=$srcdir ;;
19746 - *) # Relative path.
19747 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19748 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
19750 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19754 + /^X\(\/\/\)[^/].*/{
19766 + s/.*/./; q'`/stamp-h$_am_stamp_count
19769 -# Do not use `cd foo && pwd` to compute absolute paths, because
19770 -# the directories may not exist.
19772 -.) ac_abs_builddir="$ac_dir";;
19774 - case "$ac_dir" in
19775 - .) ac_abs_builddir=`pwd`;;
19776 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19777 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
19780 -case $ac_abs_builddir in
19781 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
19783 - case ${ac_top_builddir}. in
19784 - .) ac_abs_top_builddir=$ac_abs_builddir;;
19785 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19786 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19789 -case $ac_abs_builddir in
19790 -.) ac_abs_srcdir=$ac_srcdir;;
19792 - case $ac_srcdir in
19793 - .) ac_abs_srcdir=$ac_abs_builddir;;
19794 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19795 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19798 -case $ac_abs_builddir in
19799 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
19801 - case $ac_top_srcdir in
19802 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
19803 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19804 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19807 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
19808 +echo "$as_me: executing $ac_file commands" >&6;}
19813 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19814 -echo "$as_me: executing $ac_dest commands" >&6;}
19816 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19817 + case $ac_file$ac_mode in
19818 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19819 # Strip MF so we end up with the name of the file.
19820 mf=`echo "$mf" | sed -e 's/:.*$//'`
19821 # Check whether this is an Automake generated Makefile or not.
19822 @@ -30992,18 +31200,29 @@
19823 # each Makefile.in and add a new line on top of each file to say so.
19824 # So let's grep whole file.
19825 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
19826 - dirpart=`(dirname "$mf") 2>/dev/null ||
19827 + dirpart=`$as_dirname -- "$mf" ||
19828 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19829 X"$mf" : 'X\(//\)[^/]' \| \
19830 X"$mf" : 'X\(//\)$' \| \
19831 - X"$mf" : 'X\(/\)' \| \
19832 - . : '\(.\)' 2>/dev/null ||
19833 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19835 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19836 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19837 - /^X\(\/\/\)$/{ s//\1/; q; }
19838 - /^X\(\/\).*/{ s//\1/; q; }
19840 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19844 + /^X\(\/\/\)[^/].*/{
19860 @@ -31025,49 +31244,76 @@
19861 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19862 # Make sure the directory exists.
19863 test -f "$dirpart/$file" && continue
19864 - fdir=`(dirname "$file") 2>/dev/null ||
19865 + fdir=`$as_dirname -- "$file" ||
19866 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19867 X"$file" : 'X\(//\)[^/]' \| \
19868 X"$file" : 'X\(//\)$' \| \
19869 - X"$file" : 'X\(/\)' \| \
19870 - . : '\(.\)' 2>/dev/null ||
19871 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19873 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19874 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19875 - /^X\(\/\/\)$/{ s//\1/; q; }
19876 - /^X\(\/\).*/{ s//\1/; q; }
19878 - { if $as_mkdir_p; then
19879 - mkdir -p $dirpart/$fdir
19881 - as_dir=$dirpart/$fdir
19882 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19886 + /^X\(\/\/\)[^/].*/{
19899 + { as_dir=$dirpart/$fdir
19900 + case $as_dir in #(
19901 + -*) as_dir=./$as_dir;;
19903 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19905 - while test ! -d "$as_dir"; do
19906 - as_dirs="$as_dir $as_dirs"
19907 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
19909 + case $as_dir in #(
19910 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
19911 + *) as_qdir=$as_dir;;
19913 + as_dirs="'$as_qdir' $as_dirs"
19914 + as_dir=`$as_dirname -- "$as_dir" ||
19915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19916 X"$as_dir" : 'X\(//\)[^/]' \| \
19917 X"$as_dir" : 'X\(//\)$' \| \
19918 - X"$as_dir" : 'X\(/\)' \| \
19919 - . : '\(.\)' 2>/dev/null ||
19920 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19922 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19923 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19924 - /^X\(\/\/\)$/{ s//\1/; q; }
19925 - /^X\(\/\).*/{ s//\1/; q; }
19927 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19931 + /^X\(\/\/\)[^/].*/{
19944 + test -d "$as_dir" && break
19946 - test ! -n "$as_dirs" || mkdir $as_dirs
19947 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
19948 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
19949 + test -z "$as_dirs" || eval "mkdir $as_dirs"
19950 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19951 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
19952 { (exit 1); exit 1; }; }; }
19954 # echo "creating $dirpart/$file"
19955 echo '# dummy' > "$dirpart/$file"
19961 for ac_file in $CONFIG_FILES; do
19962 # Support "outfile[:infile[:infile...]]"
19964 @@ -31176,7 +31422,7 @@
19970 for ac_file in $CONFIG_FILES; do
19971 # Support "outfile[:infile[:infile...]]"
19973 @@ -31285,11 +31531,10 @@
19983 -cat >>$CONFIG_STATUS <<\_ACEOF
19985 { (exit 0); exit 0; }
19987 @@ -31326,7 +31571,10 @@
19988 # Remove --cache-file and --srcdir arguments so they do not pile up.
19989 ac_sub_configure_args=
19991 - for ac_arg in $ac_configure_args; do
19992 + eval "set x $ac_configure_args"
19996 if test -n "$ac_prev"; then
19999 @@ -31349,123 +31597,123 @@
20001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
20003 - *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20006 + *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20008 + ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
20012 # Always prepend --prefix to ensure using the same prefix
20013 # in subdir configurations.
20014 - ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
20015 + ac_arg="--prefix=$prefix"
20017 + *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
20019 + ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
20022 + if test "$silent" = yes; then
20023 + ac_sub_configure_args="--silent $ac_sub_configure_args"
20027 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
20029 # Do not complain, so a configure script can configure whichever
20030 # parts of a large source tree are present.
20031 - test -d $srcdir/$ac_dir || continue
20032 + test -d "$srcdir/$ac_dir" || continue
20034 - { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
20035 -echo "$as_me: configuring in $ac_dir" >&6;}
20036 - { if $as_mkdir_p; then
20037 - mkdir -p "$ac_dir"
20040 + ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
20041 + echo "$as_me:$LINENO: $ac_msg" >&5
20042 + echo "$ac_msg" >&6
20043 + { as_dir="$ac_dir"
20044 + case $as_dir in #(
20045 + -*) as_dir=./$as_dir;;
20047 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20049 - while test ! -d "$as_dir"; do
20050 - as_dirs="$as_dir $as_dirs"
20051 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
20053 + case $as_dir in #(
20054 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20055 + *) as_qdir=$as_dir;;
20057 + as_dirs="'$as_qdir' $as_dirs"
20058 + as_dir=`$as_dirname -- "$as_dir" ||
20059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20060 X"$as_dir" : 'X\(//\)[^/]' \| \
20061 X"$as_dir" : 'X\(//\)$' \| \
20062 - X"$as_dir" : 'X\(/\)' \| \
20063 - . : '\(.\)' 2>/dev/null ||
20064 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20066 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20067 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20068 - /^X\(\/\/\)$/{ s//\1/; q; }
20069 - /^X\(\/\).*/{ s//\1/; q; }
20071 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20075 + /^X\(\/\/\)[^/].*/{
20088 + test -d "$as_dir" && break
20090 - test ! -n "$as_dirs" || mkdir $as_dirs
20091 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20092 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20093 + test -z "$as_dirs" || eval "mkdir $as_dirs"
20094 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20095 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
20096 { (exit 1); exit 1; }; }; }
20100 -if test "$ac_dir" != .; then
20102 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20104 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20105 - # A "../" for each directory in $ac_dir_suffix.
20106 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20108 - ac_dir_suffix= ac_top_builddir=
20110 + # A ".." for each directory in $ac_dir_suffix.
20111 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20112 + case $ac_top_builddir_sub in
20113 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20114 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20117 +ac_abs_top_builddir=$ac_pwd
20118 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
20119 +# for backward compatibility:
20120 +ac_top_builddir=$ac_top_build_prefix
20123 - .) # No --srcdir option. We are building in place.
20124 + .) # We are building in place.
20126 - if test -z "$ac_top_builddir"; then
20129 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20131 - [\\/]* | ?:[\\/]* ) # Absolute path.
20132 + ac_top_srcdir=$ac_top_builddir_sub
20133 + ac_abs_top_srcdir=$ac_pwd ;;
20134 + [\\/]* | ?:[\\/]* ) # Absolute name.
20135 ac_srcdir=$srcdir$ac_dir_suffix;
20136 - ac_top_srcdir=$srcdir ;;
20137 - *) # Relative path.
20138 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20139 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
20142 -# Do not use `cd foo && pwd` to compute absolute paths, because
20143 -# the directories may not exist.
20145 -.) ac_abs_builddir="$ac_dir";;
20147 - case "$ac_dir" in
20148 - .) ac_abs_builddir=`pwd`;;
20149 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20150 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
20153 -case $ac_abs_builddir in
20154 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
20156 - case ${ac_top_builddir}. in
20157 - .) ac_abs_top_builddir=$ac_abs_builddir;;
20158 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20159 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20162 -case $ac_abs_builddir in
20163 -.) ac_abs_srcdir=$ac_srcdir;;
20165 - case $ac_srcdir in
20166 - .) ac_abs_srcdir=$ac_abs_builddir;;
20167 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20168 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20171 -case $ac_abs_builddir in
20172 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
20174 - case $ac_top_srcdir in
20175 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
20176 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20177 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20179 + ac_top_srcdir=$srcdir
20180 + ac_abs_top_srcdir=$srcdir ;;
20181 + *) # Relative name.
20182 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20183 + ac_top_srcdir=$ac_top_build_prefix$srcdir
20184 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20186 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20192 # Check for guested configure; otherwise get Cygnus style configure.
20193 - if test -f $ac_srcdir/configure.gnu; then
20194 - ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
20195 - elif test -f $ac_srcdir/configure; then
20196 - ac_sub_configure="$SHELL '$ac_srcdir/configure'"
20197 - elif test -f $ac_srcdir/configure.in; then
20198 - ac_sub_configure=$ac_configure
20199 + if test -f "$ac_srcdir/configure.gnu"; then
20200 + ac_sub_configure=$ac_srcdir/configure.gnu
20201 + elif test -f "$ac_srcdir/configure"; then
20202 + ac_sub_configure=$ac_srcdir/configure
20203 + elif test -f "$ac_srcdir/configure.in"; then
20204 + # This should be Cygnus configure.
20205 + ac_sub_configure=$ac_aux_dir/configure
20207 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
20208 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
20209 @@ -31477,15 +31725,15 @@
20210 # Make the cache file name correct relative to the subdirectory.
20211 case $cache_file in
20212 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
20213 - *) # Relative path.
20214 - ac_sub_cache_file=$ac_top_builddir$cache_file ;;
20215 + *) # Relative name.
20216 + ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
20219 - { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20220 -echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20221 + { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
20222 +echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
20223 # The eval makes quoting arguments work.
20224 - eval $ac_sub_configure $ac_sub_configure_args \
20225 - --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
20226 + eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
20227 + --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20228 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
20229 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20230 { (exit 1); exit 1; }; }
20231 diff -urN -x autom4te.cache libgphoto2-2.2.1/libgphoto2_port/configure.in libgphoto2-2.2.1.new/libgphoto2_port/configure.in
20232 --- libgphoto2-2.2.1/libgphoto2_port/configure.in 2006-06-19 21:03:17.000000000 +0200
20233 +++ libgphoto2-2.2.1.new/libgphoto2_port/configure.in 2006-12-10 13:01:21.000000000 +0100
20234 @@ -305,14 +305,6 @@
20235 dnl ---------------------------------------------------------------------------
20236 dnl disk - hal and various stuff
20237 dnl ---------------------------------------------------------------------------
20238 -PKG_CHECK_MODULES(HAL, [dbus-1 >= 0.31 hal >= 0.5.0],
20240 - [have_hal=false])
20241 -if test "x$have_hal" = "xtrue"; then
20242 - AC_SUBST(HAL_CFLAGS)
20243 - AC_SUBST(HAL_LIBS)
20244 - AC_DEFINE(HAVE_HAL,1,[defined if HAL is available])
20246 IOLIB_SUBDIRS="$IOLIB_SUBDIRS disk"
20248 dnl ptpip - works 'everywhere' with TCP/IP stack.
20249 diff -urN -x autom4te.cache libgphoto2-2.2.1/libgphoto2_port/ltmain.sh libgphoto2-2.2.1.new/libgphoto2_port/ltmain.sh
20250 --- libgphoto2-2.2.1/libgphoto2_port/ltmain.sh 2006-01-10 16:23:50.000000000 +0100
20251 +++ libgphoto2-2.2.1.new/libgphoto2_port/ltmain.sh 2006-08-11 12:31:25.000000000 +0200
20256 +# define SED for historic ltconfig's generated by Libtool 1.3
20257 +test -z "$SED" && SED=sed
20259 # The name of this program:
20260 progname=`echo "$progpath" | $SED $basename`
20261 modename="$progname"
20266 -VERSION="1.5.22 Debian 1.5.22-2"
20268 TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
20270 # See if we are running on zsh, and set the options which allow our
20272 if test -n "${ZSH_VERSION+set}" ; then
20273 setopt NO_GLOB_SUBST
20275 +# Same for EGREP, and just to be sure, do LTCC as well
20276 +if test "X$EGREP" = X ; then
20279 +if test "X$LTCC" = X ; then
20283 # Check that we have a working $echo.
20284 if test "X$1" = X--no-reexec; then
20285 @@ -137,6 +147,30 @@
20286 lo2o="s/\\.lo\$/.${objext}/"
20287 o2lo="s/\\.${objext}\$/.lo/"
20289 +if test -z "$max_cmd_len"; then
20294 + # If test is not a shell built-in, we'll probably end up computing a
20295 + # maximum length that is only half of the actual maximum length, but
20297 + while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
20298 + = "XX$testring") >/dev/null 2>&1 &&
20299 + new_result=`expr "X$testring" : ".*" 2>&1` &&
20300 + max_cmd_len="$new_result" &&
20301 + test "$i" != 17 # 1/2 MB should be enough
20304 + testring="$testring$testring"
20307 + # Add a significant safety factor because C++ compilers can tack on massive
20308 + # amounts of additional arguments before passing them to the linker.
20309 + # It appears as though 1/2 is a usable value.
20310 + max_cmd_len=`expr $max_cmd_len \/ 2`
20313 #####################################
20314 # Shell function definitions:
20315 # This seems to be the best place for them
20316 @@ -257,7 +291,21 @@
20318 CC_quoted="$CC_quoted $arg"
20320 + # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
20321 + trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"`
20322 + # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
20323 + extendcc=${host}-${CC}
20324 + # and sometimes libtool has CC=<OLDHOST>-gcc but user has CC=<NEWHOST>-gcc
20325 + # (Gentoo-specific hack because we always export $CHOST)
20326 + mungedcc=${CHOST-${host}}-${trimedcc}
20328 + "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\
20329 + "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
20332 + "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
20333 + "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\
20334 + "$mungedcc "* | " $mungedcc "* | "`$echo $mungedcc` "* | " `$echo $mungedcc` "*|\
20335 " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
20336 # The compiler in the base compile command matches
20337 # the one in the tagged configuration.
20338 @@ -851,7 +899,7 @@
20339 # Lock this critical section if it is needed
20340 # We use this script file to make the link, it avoids creating a new file
20341 if test "$need_locks" = yes; then
20342 - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
20343 + until $run ln "$srcfile" "$lockfile" 2>/dev/null; do
20344 $show "Waiting for $lockfile to be removed"
20347 @@ -2082,10 +2130,7 @@
20349 dlopen) libs="$dlfiles" ;;
20350 dlpreopen) libs="$dlprefiles" ;;
20352 - libs="$deplibs %DEPLIBS%"
20353 - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
20355 + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
20358 if test "$pass" = dlopen; then
20359 @@ -3204,11 +3249,6 @@
20360 age="$number_minor"
20361 revision="$number_minor"
20364 - $echo "$modename: unknown library version type \`$version_type'" 1>&2
20365 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
20366 - exit $EXIT_FAILURE
20371 @@ -3650,6 +3690,13 @@
20372 *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
20375 + # It is ok to link against an archive when
20376 + # building a shared library.
20377 + if $AR -t $potlib > /dev/null 2>&1; then
20378 + newdeplibs="$newdeplibs $a_deplib"
20382 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
20384 | $EGREP "$file_magic_regex" > /dev/null; then
20385 @@ -5387,6 +5434,11 @@
20386 $echo >> $output "\
20387 if test \"\$libtool_execute_magic\" != \"$magic\"; then
20388 # Run the actual program with our arguments.
20390 + # Make sure env LD_LIBRARY_PATH does not mess us up
20391 + if test -n \"\${LD_LIBRARY_PATH+set}\"; then
20392 + export LD_LIBRARY_PATH=\$progdir:\$LD_LIBRARY_PATH
20396 # Backslashes separate directories on plain windows
20397 @@ -5614,9 +5666,53 @@
20398 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
20401 - newdependency_libs="$newdependency_libs $libdir/$name"
20402 + if test "X$EGREP" = X ; then
20405 + # We do not want portage's install root ($D) present. Check only for
20406 + # this if the .la is being installed.
20407 + if test "$installed" = yes && test "$D"; then
20408 + eval mynewdependency_lib=`echo "$libdir/$name" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
20410 + mynewdependency_lib="$libdir/$name"
20412 + # Do not add duplicates
20413 + if test "$mynewdependency_lib"; then
20414 + my_little_ninja_foo_1=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
20415 + if test -z "$my_little_ninja_foo_1"; then
20416 + newdependency_libs="$newdependency_libs $mynewdependency_lib"
20421 + if test "$installed" = yes; then
20422 + # Rather use S=WORKDIR if our version of portage supports it.
20423 + # This is because some ebuild (gcc) do not use $S as buildroot.
20424 + if test "$PWORKDIR"; then
20427 + # We do not want portage's build root ($S) present.
20428 + my_little_ninja_foo_2=`echo $deplib |$EGREP -e "$S"`
20429 + # We do not want portage's install root ($D) present.
20430 + my_little_ninja_foo_3=`echo $deplib |$EGREP -e "$D"`
20431 + if test -n "$my_little_ninja_foo_2" && test "$S"; then
20432 + mynewdependency_lib=""
20433 + elif test -n "$my_little_ninja_foo_3" && test "$D"; then
20434 + eval mynewdependency_lib=`echo "$deplib" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
20436 + mynewdependency_lib="$deplib"
20439 + mynewdependency_lib="$deplib"
20441 + # Do not add duplicates
20442 + if test "$mynewdependency_lib"; then
20443 + my_little_ninja_foo_4=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
20444 + if test -z "$my_little_ninja_foo_4"; then
20445 + newdependency_libs="$newdependency_libs $mynewdependency_lib"
20449 - *) newdependency_libs="$newdependency_libs $deplib" ;;
20452 dependency_libs="$newdependency_libs"
20453 @@ -5668,6 +5764,10 @@
20454 case $host,$output,$installed,$module,$dlname in
20455 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
20457 + # Do not add duplicates
20458 + if test "$installed" = yes && test "$D"; then
20459 + install_libdir=`echo "$install_libdir" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
20462 # $outputname - a libtool library file
20463 # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP