2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
243 # Find the correct PATH separator. Usually this is `:', but
244 # DJGPP uses `;' like DOS.
245 if test "X${PATH_SEPARATOR+set}" != Xset; then
246 UNAME=${UNAME-`uname 2>/dev/null`}
248 *-DOS) lt_cv_sys_path_separator=';' ;;
249 *) lt_cv_sys_path_separator=':' ;;
251 PATH_SEPARATOR=$lt_cv_sys_path_separator
255 # Check that we are running under the correct shell.
256 SHELL=${CONFIG_SHELL-/bin/sh}
260 # Remove one level of quotation (which was required for Make).
261 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
266 if test "X$1" = X--no-reexec; then
267 # Discard the --no-reexec flag, and continue.
269 elif test "X$1" = X--fallback-echo; then
270 # Avoid inline document here, it may be left over
272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
273 # Yippee, $echo works!
276 # Restart under the correct shell.
277 exec $SHELL "$0" --no-reexec ${1+"$@"}
280 if test "X$1" = X--fallback-echo; then
281 # used as fallback echo
289 # The HP-UX ksh and POSIX shell print the target directory to stdout
291 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
293 if test -z "$ECHO"; then
294 if test "X${echo_test_string+set}" != Xset; then
295 # find a string as large as possible, as long as the shell can cope with it
296 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
297 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
298 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
299 echo_test_string="`eval $cmd`" &&
300 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
307 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
308 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
309 test "X$echo_testing_string" = "X$echo_test_string"; then
312 # The Solaris, AIX, and Digital Unix default echo programs unquote
313 # backslashes. This makes it impossible to quote backslashes using
314 # echo "$something" | sed 's/\\/\\\\/g'
316 # So, first we look for a working echo in the user's PATH.
318 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
319 for dir in $PATH /usr/ucb; do
320 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
321 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
322 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
323 test "X$echo_testing_string" = "X$echo_test_string"; then
330 if test "X$echo" = Xecho; then
331 # We didn't find a better echo, so look for alternatives.
332 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
333 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
334 test "X$echo_testing_string" = "X$echo_test_string"; then
335 # This shell has a builtin print -r that does the trick.
337 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
338 test "X$CONFIG_SHELL" != X/bin/ksh; then
339 # If we have ksh, try running configure again with it.
340 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
341 export ORIGINAL_CONFIG_SHELL
342 CONFIG_SHELL=/bin/ksh
344 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
348 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
349 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
353 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
359 SHELL="$CONFIG_SHELL"
361 echo="$CONFIG_SHELL $0 --fallback-echo"
362 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
363 test "X$echo_testing_string" = 'X\t' &&
364 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
365 test "X$echo_testing_string" = "X$echo_test_string"; then
366 echo="$CONFIG_SHELL $0 --fallback-echo"
368 # maybe with a smaller string...
371 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
372 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
379 if test "$prev" != 'sed 50q "$0"'; then
380 echo_test_string=`eval $prev`
381 export echo_test_string
382 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
384 # Oops. We lost completely, so just stick with echo.
393 # Copy echo and quote the copy suitably for passing to libtool from
394 # the Makefile, instead of quoting the original, which is used later.
396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
397 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404 # so uname gets run too.
405 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
412 ac_default_prefix=/usr/local
413 ac_config_libobj_dir=.
418 SHELL=${CONFIG_SHELL-/bin/sh}
420 # Maximum number of lines to put in a shell here document.
421 # This variable seems obsolete. It should probably be removed, and
422 # only ac_max_sed_lines should be used.
423 : ${ac_max_here_lines=38}
425 # Identity of this package.
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_default_prefix=/usr/local
470 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LIBTOOL_DEPS LT_RELEASE LT_CURRENT LT_REVISION LT_AGE LIBOBJS LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CXX_set=${CXX+set}
928 ac_env_CXX_value=$CXX
929 ac_cv_env_CXX_set=${CXX+set}
930 ac_cv_env_CXX_value=$CXX
931 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932 ac_env_CXXFLAGS_value=$CXXFLAGS
933 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935 ac_env_CPP_set=${CPP+set}
936 ac_env_CPP_value=$CPP
937 ac_cv_env_CPP_set=${CPP+set}
938 ac_cv_env_CPP_value=$CPP
941 # Report the --help message.
943 if test "$ac_init_help" = "long"; then
944 # Omit some internal or obsolete options to make the list less imposing.
945 # This message is too long to be a string in the A/UX 3.1 sh.
947 \`configure' configures this package to adapt to many kinds of systems.
949 Usage: $0 [OPTION]... [VAR=VALUE]...
951 To assign environment variables (e.g., CC, CFLAGS...), specify them as
952 VAR=VALUE. See below for descriptions of some of the useful variables.
954 Defaults for the options are specified in brackets.
957 -h, --help display this help and exit
958 --help=short display options specific to this package
959 --help=recursive display the short help of all the included packages
960 -V, --version display version information and exit
961 -q, --quiet, --silent do not print \`checking...' messages
962 --cache-file=FILE cache test results in FILE [disabled]
963 -C, --config-cache alias for \`--cache-file=config.cache'
964 -n, --no-create do not create output files
965 --srcdir=DIR find the sources in DIR [configure dir or \`..']
970 Installation directories:
971 --prefix=PREFIX install architecture-independent files in PREFIX
973 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
976 By default, \`make install' will install all the files in
977 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
978 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
979 for instance \`--prefix=\$HOME'.
981 For better control, use the options below.
983 Fine tuning of the installation directories:
984 --bindir=DIR user executables [EPREFIX/bin]
985 --sbindir=DIR system admin executables [EPREFIX/sbin]
986 --libexecdir=DIR program executables [EPREFIX/libexec]
987 --datadir=DIR read-only architecture-independent data [PREFIX/share]
988 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
989 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
990 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
991 --libdir=DIR object code libraries [EPREFIX/lib]
992 --includedir=DIR C header files [PREFIX/include]
993 --oldincludedir=DIR C header files for non-gcc [/usr/include]
994 --infodir=DIR info documentation [PREFIX/info]
995 --mandir=DIR man documentation [PREFIX/man]
1001 --program-prefix=PREFIX prepend PREFIX to installed program names
1002 --program-suffix=SUFFIX append SUFFIX to installed program names
1003 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1006 --build=BUILD configure for building on BUILD [guessed]
1007 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1008 --target=TARGET configure for building compilers for TARGET [HOST]
1012 if test -n "$ac_init_help"; then
1017 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1018 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1019 --disable-dependency-tracking Speeds up one-time builds
1020 --enable-dependency-tracking Do not reject slow dependency extractors
1021 --disable-largefile omit support for large files
1022 --enable-shared=PKGS build shared libraries default=no
1023 --enable-static=PKGS build static libraries default=yes
1024 --enable-fast-install=PKGS optimize for fast installation default=yes
1025 --disable-libtool-lock avoid locking (might break parallel builds)
1028 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1029 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1030 --with-gnu-ld assume the C compiler uses GNU ld default=no
1031 --with-pic try to use only PIC/non-PIC objects default=use both
1032 --with-debug Compile with '-g -O0' and enable global DEBUG
1033 --with-debug-libcdck Compile with DEBUG_LIBCDCK
1035 Some influential environment variables:
1036 CC C compiler command
1037 CFLAGS C compiler flags
1038 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1039 nonstandard directory <lib dir>
1040 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1041 headers in a nonstandard directory <include dir>
1042 CXX C++ compiler command
1043 CXXFLAGS C++ compiler flags
1046 Use these variables to override the choices made by `configure' or to help
1047 it to find libraries and programs with nonstandard names/locations.
1052 if test "$ac_init_help" = "recursive"; then
1053 # If there are subdirs, report their specific --help.
1055 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1056 test -d $ac_dir || continue
1059 if test "$ac_dir" != .; then
1060 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1061 # A "../" for each directory in $ac_dir_suffix.
1062 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1064 ac_dir_suffix= ac_top_builddir=
1068 .) # No --srcdir option. We are building in place.
1070 if test -z "$ac_top_builddir"; then
1073 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1075 [\\/]* | ?:[\\/]* ) # Absolute path.
1076 ac_srcdir=$srcdir$ac_dir_suffix;
1077 ac_top_srcdir=$srcdir ;;
1079 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1080 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1082 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1084 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1085 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1086 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1087 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1090 # Check for guested configure; otherwise get Cygnus style configure.
1091 if test -f $ac_srcdir/configure.gnu; then
1093 $SHELL $ac_srcdir/configure.gnu --help=recursive
1094 elif test -f $ac_srcdir/configure; then
1096 $SHELL $ac_srcdir/configure --help=recursive
1097 elif test -f $ac_srcdir/configure.ac ||
1098 test -f $ac_srcdir/configure.in; then
1100 $ac_configure --help
1102 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1108 test -n "$ac_init_help" && exit 0
1109 if $ac_init_version; then
1112 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1113 Free Software Foundation, Inc.
1114 This configure script is free software; the Free Software Foundation
1115 gives unlimited permission to copy, distribute and modify it.
1121 This file contains any messages produced by compilers while
1122 running configure, to aid debugging if configure makes a mistake.
1124 It was created by $as_me, which was
1125 generated by GNU Autoconf 2.57. Invocation command line was
1136 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1137 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1138 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1139 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1140 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1142 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1143 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1145 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1146 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1147 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1148 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1149 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1150 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1151 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1159 test -z "$as_dir" && as_dir=.
1160 echo "PATH: $as_dir"
1175 # Keep a trace of the command line.
1176 # Strip out --no-create and --no-recursion so they do not pile up.
1177 # Strip out --silent because we don't want to record it for future runs.
1178 # Also quote any args containing shell meta-characters.
1179 # Make two passes to allow for proper duplicate-argument suppression.
1184 ac_must_keep_next=false
1190 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1192 | -silent | --silent | --silen | --sile | --sil)
1194 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1195 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1198 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1200 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1201 if test $ac_must_keep_next = true; then
1202 ac_must_keep_next=false # Got value, back to normal.
1205 *=* | --config-cache | -C | -disable-* | --disable-* \
1206 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1207 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1208 | -with-* | --with-* | -without-* | --without-* | --x)
1209 case "$ac_configure_args0 " in
1210 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1213 -* ) ac_must_keep_next=true ;;
1216 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1217 # Get rid of the leading space.
1223 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1224 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1226 # When interrupted or exit'd, cleanup temporary files, and complete
1227 # config.log. We remove comments because anyway the quotes in there
1228 # would cause problems or look ugly.
1229 # WARNING: Be sure not to use single quotes in there, as some shells,
1230 # such as our DU 5.0 friend, will then `close' the trap.
1231 trap 'exit_status=$?
1232 # Save into config.log some information that might help in debugging.
1237 ## ---------------- ##
1238 ## Cache variables. ##
1239 ## ---------------- ##
1242 # The following way of writing the cache mishandles newlines in values,
1245 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1248 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1253 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1260 ## ----------------- ##
1261 ## Output variables. ##
1262 ## ----------------- ##
1265 for ac_var in $ac_subst_vars
1267 eval ac_val=$`echo $ac_var`
1268 echo "$ac_var='"'"'$ac_val'"'"'"
1272 if test -n "$ac_subst_files"; then
1279 for ac_var in $ac_subst_files
1281 eval ac_val=$`echo $ac_var`
1282 echo "$ac_var='"'"'$ac_val'"'"'"
1287 if test -s confdefs.h; then
1294 sed "/^$/d" confdefs.h | sort
1297 test "$ac_signal" != 0 &&
1298 echo "$as_me: caught signal $ac_signal"
1299 echo "$as_me: exit $exit_status"
1301 rm -f core core.* *.core &&
1302 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1305 for ac_signal in 1 2 13 15; do
1306 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1311 rm -rf conftest* confdefs.h
1312 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1315 # Predefined preprocessor variables.
1317 cat >>confdefs.h <<_ACEOF
1318 #define PACKAGE_NAME "$PACKAGE_NAME"
1322 cat >>confdefs.h <<_ACEOF
1323 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1327 cat >>confdefs.h <<_ACEOF
1328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1332 cat >>confdefs.h <<_ACEOF
1333 #define PACKAGE_STRING "$PACKAGE_STRING"
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1342 # Let the site file select an alternate cache file if it wants to.
1343 # Prefer explicitly selected file to automatically selected ones.
1344 if test -z "$CONFIG_SITE"; then
1345 if test "x$prefix" != xNONE; then
1346 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1348 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1351 for ac_site_file in $CONFIG_SITE; do
1352 if test -r "$ac_site_file"; then
1353 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1354 echo "$as_me: loading site script $ac_site_file" >&6;}
1355 sed 's/^/| /' "$ac_site_file" >&5
1360 if test -r "$cache_file"; then
1361 # Some versions of bash will fail to source /dev/null (special
1362 # files actually), so we avoid doing that.
1363 if test -f "$cache_file"; then
1364 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1365 echo "$as_me: loading cache $cache_file" >&6;}
1367 [\\/]* | ?:[\\/]* ) . $cache_file;;
1368 *) . ./$cache_file;;
1372 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1373 echo "$as_me: creating cache $cache_file" >&6;}
1377 # Check that the precious variables saved in the cache have kept the same
1379 ac_cache_corrupted=false
1380 for ac_var in `(set) 2>&1 |
1381 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1383 eval ac_new_set=\$ac_env_${ac_var}_set
1384 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1385 eval ac_new_val="\$ac_env_${ac_var}_value"
1386 case $ac_old_set,$ac_new_set in
1388 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1389 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1390 ac_cache_corrupted=: ;;
1392 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1393 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1394 ac_cache_corrupted=: ;;
1397 if test "x$ac_old_val" != "x$ac_new_val"; then
1398 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1399 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1400 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1401 echo "$as_me: former value: $ac_old_val" >&2;}
1402 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1403 echo "$as_me: current value: $ac_new_val" >&2;}
1404 ac_cache_corrupted=:
1407 # Pass precious variables to config.status.
1408 if test "$ac_new_set" = set; then
1410 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1411 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1412 *) ac_arg=$ac_var=$ac_new_val ;;
1414 case " $ac_configure_args " in
1415 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1416 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1420 if $ac_cache_corrupted; then
1421 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1422 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1423 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1424 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1425 { (exit 1); exit 1; }; }
1429 ac_cpp='$CPP $CPPFLAGS'
1430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1453 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1454 if test -f $ac_dir/install-sh; then
1456 ac_install_sh="$ac_aux_dir/install-sh -c"
1458 elif test -f $ac_dir/install.sh; then
1460 ac_install_sh="$ac_aux_dir/install.sh -c"
1462 elif test -f $ac_dir/shtool; then
1464 ac_install_sh="$ac_aux_dir/shtool install -c"
1468 if test -z "$ac_aux_dir"; then
1469 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1470 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1471 { (exit 1); exit 1; }; }
1473 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1474 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1475 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1477 # Make sure we can run config.sub.
1478 $ac_config_sub sun4 >/dev/null 2>&1 ||
1479 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1480 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1481 { (exit 1); exit 1; }; }
1483 echo "$as_me:$LINENO: checking build system type" >&5
1484 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1485 if test "${ac_cv_build+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 ac_cv_build_alias=$build_alias
1489 test -z "$ac_cv_build_alias" &&
1490 ac_cv_build_alias=`$ac_config_guess`
1491 test -z "$ac_cv_build_alias" &&
1492 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1493 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1494 { (exit 1); exit 1; }; }
1495 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1502 echo "${ECHO_T}$ac_cv_build" >&6
1504 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking host system type" >&5
1510 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1511 if test "${ac_cv_host+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 ac_cv_host_alias=$host_alias
1515 test -z "$ac_cv_host_alias" &&
1516 ac_cv_host_alias=$ac_cv_build_alias
1517 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1524 echo "${ECHO_T}$ac_cv_host" >&6
1526 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 echo "$as_me:$LINENO: checking target system type" >&5
1532 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1533 if test "${ac_cv_target+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 ac_cv_target_alias=$target_alias
1537 test "x$ac_cv_target_alias" = "x" &&
1538 ac_cv_target_alias=$ac_cv_host_alias
1539 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1545 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1546 echo "${ECHO_T}$ac_cv_target" >&6
1547 target=$ac_cv_target
1548 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1549 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1550 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1553 # The aliases save the names the user supplied, while $host etc.
1554 # will get canonicalized.
1555 test -n "$target_alias" &&
1556 test "$program_prefix$program_suffix$program_transform_name" = \
1558 program_prefix=${target_alias}-
1559 am__api_version="1.6"
1560 # Find a good install program. We prefer a C program (faster),
1561 # so one script is as good as another. But avoid the broken or
1562 # incompatible versions:
1563 # SysV /etc/install, /usr/sbin/install
1564 # SunOS /usr/etc/install
1565 # IRIX /sbin/install
1567 # AmigaOS /C/install, which installs bootblocks on floppy discs
1568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir=.
1583 # Account for people who put trailing slashes in PATH elements.
1585 ./ | .// | /cC/* | \
1586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1589 # OSF1 and SCO ODT 3.0 have their own names for install.
1590 # Don't use installbsd from OSF since it installs stuff as root
1592 for ac_prog in ginstall scoinst install; do
1593 for ac_exec_ext in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1595 if test $ac_prog = install &&
1596 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1597 # AIX install. It has an incompatible calling convention.
1599 elif test $ac_prog = install &&
1600 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # program-specific install script used by HP pwplus--don't use.
1604 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1616 if test "${ac_cv_path_install+set}" = set; then
1617 INSTALL=$ac_cv_path_install
1619 # As a last resort, use the slow shell script. We don't cache a
1620 # path for INSTALL within a source directory, because that will
1621 # break other packages using the cache if that directory is
1622 # removed, or if the path is relative.
1623 INSTALL=$ac_install_sh
1626 echo "$as_me:$LINENO: result: $INSTALL" >&5
1627 echo "${ECHO_T}$INSTALL" >&6
1629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1630 # It thinks the first close brace ends the variable substitution.
1631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1635 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1637 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1638 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1641 echo timestamp > conftest.file
1642 # Do `set' in a subshell so we don't clobber the current shell's
1643 # arguments. Must try -L first in case configure is actually a
1644 # symlink; some systems play weird games with the mod time of symlinks
1645 # (eg FreeBSD returns the mod time of the symlink's containing
1648 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1649 if test "$*" = "X"; then
1651 set X `ls -t $srcdir/configure conftest.file`
1654 if test "$*" != "X $srcdir/configure conftest.file" \
1655 && test "$*" != "X conftest.file $srcdir/configure"; then
1657 # If neither matched, then we have a broken ls. This can happen
1658 # if, for instance, CONFIG_SHELL is bash and it inherits a
1659 # broken ls alias from the environment. This has actually
1660 # happened. Such a system could not be considered "sane".
1661 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1662 alias in your environment" >&5
1663 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1664 alias in your environment" >&2;}
1665 { (exit 1); exit 1; }; }
1668 test "$2" = conftest.file
1674 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1675 Check your system clock" >&5
1676 echo "$as_me: error: newly created file is older than distributed files!
1677 Check your system clock" >&2;}
1678 { (exit 1); exit 1; }; }
1680 echo "$as_me:$LINENO: result: yes" >&5
1681 echo "${ECHO_T}yes" >&6
1682 test "$program_prefix" != NONE &&
1683 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1684 # Use a double $ so make ignores it.
1685 test "$program_suffix" != NONE &&
1686 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1687 # Double any \ or $. echo might interpret backslashes.
1688 # By default was `s,x,x', remove it if useless.
1689 cat <<\_ACEOF >conftest.sed
1690 s/[\\$]/&&/g;s/;s,x,x,$//
1692 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1696 # expand $ac_aux_dir to an absolute path
1697 am_aux_dir=`cd $ac_aux_dir && pwd`
1699 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1700 # Use eval to expand $SHELL
1701 if eval "$MISSING --run true"; then
1702 am_missing_run="$MISSING --run "
1705 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1706 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1709 for ac_prog in gawk mawk nawk awk
1711 # Extract the first word of "$ac_prog", so it can be a program name with args.
1712 set dummy $ac_prog; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_AWK+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 if test -n "$AWK"; then
1719 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_AWK="$ac_prog"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 if test -n "$AWK"; then
1739 echo "$as_me:$LINENO: result: $AWK" >&5
1740 echo "${ECHO_T}$AWK" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1746 test -n "$AWK" && break
1749 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1750 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1751 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1752 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 cat >conftest.make <<\_ACEOF
1757 @echo 'ac_maketemp="$(MAKE)"'
1759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1760 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1761 if test -n "$ac_maketemp"; then
1762 eval ac_cv_prog_make_${ac_make}_set=yes
1764 eval ac_cv_prog_make_${ac_make}_set=no
1768 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1769 echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1775 SET_MAKE="MAKE=${MAKE-make}"
1778 # test to see if srcdir already configured
1779 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1780 test -f $srcdir/config.status; then
1781 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1782 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1783 { (exit 1); exit 1; }; }
1786 # Define the identity of the package.
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE "$PACKAGE"
1796 cat >>confdefs.h <<_ACEOF
1797 #define VERSION "$VERSION"
1800 # Some tools Automake needs.
1802 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1805 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1808 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1811 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1814 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1817 AMTAR=${AMTAR-"${am_missing_run}tar"}
1819 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1821 # Installed binaries are usually stripped using `strip' when the user
1822 # run `make install-strip'. However `strip' might not be the right
1823 # tool to use in cross-compilation environments, therefore Automake
1824 # will honor the `STRIP' environment variable to overrule this program.
1825 if test "$cross_compiling" != no; then
1826 if test -n "$ac_tool_prefix"; then
1827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1828 set dummy ${ac_tool_prefix}strip; ac_word=$2
1829 echo "$as_me:$LINENO: checking for $ac_word" >&5
1830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1831 if test "${ac_cv_prog_STRIP+set}" = set; then
1832 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 if test -n "$STRIP"; then
1835 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841 test -z "$as_dir" && as_dir=.
1842 for ac_exec_ext in '' $ac_executable_extensions; do
1843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1844 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 STRIP=$ac_cv_prog_STRIP
1854 if test -n "$STRIP"; then
1855 echo "$as_me:$LINENO: result: $STRIP" >&5
1856 echo "${ECHO_T}$STRIP" >&6
1858 echo "$as_me:$LINENO: result: no" >&5
1859 echo "${ECHO_T}no" >&6
1863 if test -z "$ac_cv_prog_STRIP"; then
1865 # Extract the first word of "strip", so it can be a program name with args.
1866 set dummy strip; ac_word=$2
1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 if test -n "$ac_ct_STRIP"; then
1873 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 ac_cv_prog_ac_ct_STRIP="strip"
1883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1892 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1893 if test -n "$ac_ct_STRIP"; then
1894 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1895 echo "${ECHO_T}$ac_ct_STRIP" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1903 STRIP="$ac_cv_prog_STRIP"
1907 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1909 # We need awk for the "check" target. The system "awk" is bad on
1917 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1918 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1921 echo timestamp > conftest.file
1922 # Do `set' in a subshell so we don't clobber the current shell's
1923 # arguments. Must try -L first in case configure is actually a
1924 # symlink; some systems play weird games with the mod time of symlinks
1925 # (eg FreeBSD returns the mod time of the symlink's containing
1928 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1929 if test "$*" = "X"; then
1931 set X `ls -t $srcdir/configure conftest.file`
1934 if test "$*" != "X $srcdir/configure conftest.file" \
1935 && test "$*" != "X conftest.file $srcdir/configure"; then
1937 # If neither matched, then we have a broken ls. This can happen
1938 # if, for instance, CONFIG_SHELL is bash and it inherits a
1939 # broken ls alias from the environment. This has actually
1940 # happened. Such a system could not be considered "sane".
1941 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1942 alias in your environment" >&5
1943 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1944 alias in your environment" >&2;}
1945 { (exit 1); exit 1; }; }
1948 test "$2" = conftest.file
1954 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1955 Check your system clock" >&5
1956 echo "$as_me: error: newly created file is older than distributed files!
1957 Check your system clock" >&2;}
1958 { (exit 1); exit 1; }; }
1960 echo "$as_me:$LINENO: result: yes" >&5
1961 echo "${ECHO_T}yes" >&6
1962 # Find a good install program. We prefer a C program (faster),
1963 # so one script is as good as another. But avoid the broken or
1964 # incompatible versions:
1965 # SysV /etc/install, /usr/sbin/install
1966 # SunOS /usr/etc/install
1967 # IRIX /sbin/install
1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1973 # ./install, which can be erroneously created by make from ./install.sh.
1974 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1975 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1976 if test -z "$INSTALL"; then
1977 if test "${ac_cv_path_install+set}" = set; then
1978 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 # Account for people who put trailing slashes in PATH elements.
1987 ./ | .// | /cC/* | \
1988 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1991 # OSF1 and SCO ODT 3.0 have their own names for install.
1992 # Don't use installbsd from OSF since it installs stuff as root
1994 for ac_prog in ginstall scoinst install; do
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1997 if test $ac_prog = install &&
1998 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1999 # AIX install. It has an incompatible calling convention.
2001 elif test $ac_prog = install &&
2002 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003 # program-specific install script used by HP pwplus--don't use.
2006 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2018 if test "${ac_cv_path_install+set}" = set; then
2019 INSTALL=$ac_cv_path_install
2021 # As a last resort, use the slow shell script. We don't cache a
2022 # path for INSTALL within a source directory, because that will
2023 # break other packages using the cache if that directory is
2024 # removed, or if the path is relative.
2025 INSTALL=$ac_install_sh
2028 echo "$as_me:$LINENO: result: $INSTALL" >&5
2029 echo "${ECHO_T}$INSTALL" >&6
2031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2032 # It thinks the first close brace ends the variable substitution.
2033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2037 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2039 rm -f .deps 2>/dev/null
2040 mkdir .deps 2>/dev/null
2041 if test -d .deps; then
2044 # MS-DOS does not allow filenames that begin with a dot.
2047 rmdir .deps 2>/dev/null
2050 ac_config_commands="$ac_config_commands depfiles"
2053 am_make=${MAKE-make}
2054 cat > confinc << 'END'
2058 # If we don't find an include directive, just comment out the code.
2059 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2060 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2064 # First try GNU make style include.
2065 echo "include confinc" > confmf
2066 # We grep out `Entering directory' and `Leaving directory'
2067 # messages which can occur if `w' ends up in MAKEFLAGS.
2068 # In particular we don't look at `^make:' because GNU make might
2069 # be invoked under some other name (usually "gmake"), in which
2070 # case it prints its new name instead of `make'.
2071 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2076 # Now try BSD make style include.
2077 if test "$am__include" = "#"; then
2078 echo '.include "confinc"' > confmf
2079 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2080 am__include=.include
2087 echo "$as_me:$LINENO: result: $_am_result" >&5
2088 echo "${ECHO_T}$_am_result" >&6
2089 rm -f confinc confmf
2091 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2092 if test "${enable_dependency_tracking+set}" = set; then
2093 enableval="$enable_dependency_tracking"
2096 if test "x$enable_dependency_tracking" != xno; then
2097 am_depcomp="$ac_aux_dir/depcomp"
2102 if test "x$enable_dependency_tracking" != xno; then
2113 ac_cpp='$CPP $CPPFLAGS'
2114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2156 # Extract the first word of "gcc", so it can be a program name with args.
2157 set dummy gcc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="gcc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2196 if test -z "$CC"; then
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2199 set dummy ${ac_tool_prefix}cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215 ac_cv_prog_CC="${ac_tool_prefix}cc"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 if test -n "$CC"; then
2226 echo "$as_me:$LINENO: result: $CC" >&5
2227 echo "${ECHO_T}$CC" >&6
2229 echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6
2234 if test -z "$ac_cv_prog_CC"; then
2236 # Extract the first word of "cc", so it can be a program name with args.
2237 set dummy cc; ac_word=$2
2238 echo "$as_me:$LINENO: checking for $ac_word" >&5
2239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 if test -n "$ac_ct_CC"; then
2244 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir=.
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2253 ac_cv_prog_ac_ct_CC="cc"
2254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2263 if test -n "$ac_ct_CC"; then
2264 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2265 echo "${ECHO_T}$ac_ct_CC" >&6
2267 echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6
2277 if test -z "$CC"; then
2278 # Extract the first word of "cc", so it can be a program name with args.
2279 set dummy cc; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2297 ac_prog_rejected=yes
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 if test $ac_prog_rejected = yes; then
2308 # We found a bogon in the path, so make sure we never use it.
2309 set dummy $ac_cv_prog_CC
2311 if test $# != 0; then
2312 # We chose a different compiler from the bogus one.
2313 # However, it has the same basename, so the bogon will be chosen
2314 # first if we set CC to just the basename; use the full file name.
2316 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2322 if test -n "$CC"; then
2323 echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$CC"; then
2332 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$CC"; then
2363 echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6
2366 echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6
2370 test -n "$CC" && break
2373 if test -z "$CC"; then
2377 # Extract the first word of "$ac_prog", so it can be a program name with args.
2378 set dummy $ac_prog; ac_word=$2
2379 echo "$as_me:$LINENO: checking for $ac_word" >&5
2380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 if test -n "$ac_ct_CC"; then
2385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2394 ac_cv_prog_ac_ct_CC="$ac_prog"
2395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2404 if test -n "$ac_ct_CC"; then
2405 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2406 echo "${ECHO_T}$ac_ct_CC" >&6
2408 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2412 test -n "$ac_ct_CC" && break
2421 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: no acceptable C compiler found in \$PATH
2424 See \`config.log' for more details." >&2;}
2425 { (exit 1); exit 1; }; }
2427 # Provide some information about the compiler.
2428 echo "$as_me:$LINENO:" \
2429 "checking for C compiler version" >&5
2430 ac_compiler=`set X $ac_compile; echo $2`
2431 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2432 (eval $ac_compiler --version </dev/null >&5) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }
2436 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2437 (eval $ac_compiler -v </dev/null >&5) 2>&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }
2441 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2442 (eval $ac_compiler -V </dev/null >&5) 2>&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }
2447 cat >conftest.$ac_ext <<_ACEOF
2448 #line $LINENO "configure"
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 ac_clean_files_save=$ac_clean_files
2464 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2465 # Try to create an executable without -o first, disregard a.out.
2466 # It will help us diagnose broken compilers, and finding out an intuition
2468 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2469 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2470 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2471 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2472 (eval $ac_link_default) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; then
2476 # Find the output, starting from the most likely. This scheme is
2477 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2480 # Be careful to initialize this variable, since it used to be cached.
2481 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2483 # b.out is created by i960 compilers.
2484 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2486 test -f "$ac_file" || continue
2488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2491 # This is the source file.
2494 # We found the default executable, but exeext='' is most
2498 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2499 # FIXME: I believe we export ac_cv_exeext for Libtool,
2500 # but it would be cool to find out if it's true. Does anybody
2501 # maintain Libtool? --akim.
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: C compiler cannot create executables
2515 See \`config.log' for more details." >&2;}
2516 { (exit 77); exit 77; }; }
2519 ac_exeext=$ac_cv_exeext
2520 echo "$as_me:$LINENO: result: $ac_file" >&5
2521 echo "${ECHO_T}$ac_file" >&6
2523 # Check the compiler produces executables we can run. If not, either
2524 # the compiler is broken, or we cross compile.
2525 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2526 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2527 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2528 # If not cross compiling, check that we can run a simple program.
2529 if test "$cross_compiling" != yes; then
2530 if { ac_try='./$ac_file'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2538 if test "$cross_compiling" = maybe; then
2541 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2542 If you meant to cross compile, use \`--host'.
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot run C compiled programs.
2545 If you meant to cross compile, use \`--host'.
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2551 echo "$as_me:$LINENO: result: yes" >&5
2552 echo "${ECHO_T}yes" >&6
2554 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2555 ac_clean_files=$ac_clean_files_save
2556 # Check the compiler produces executables we can run. If not, either
2557 # the compiler is broken, or we cross compile.
2558 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2559 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2560 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2561 echo "${ECHO_T}$cross_compiling" >&6
2563 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2564 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2566 (eval $ac_link) 2>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; then
2570 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2571 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2572 # work properly (i.e., refer to `conftest.exe'), while it won't with
2574 for ac_file in conftest.exe conftest conftest.*; do
2575 test -f "$ac_file" || continue
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2578 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2585 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2592 rm -f conftest$ac_cv_exeext
2593 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2594 echo "${ECHO_T}$ac_cv_exeext" >&6
2596 rm -f conftest.$ac_ext
2597 EXEEXT=$ac_cv_exeext
2599 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2600 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2601 if test "${ac_cv_objext+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 cat >conftest.$ac_ext <<_ACEOF
2605 #line $LINENO "configure"
2608 cat confdefs.h >>conftest.$ac_ext
2609 cat >>conftest.$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2620 rm -f conftest.o conftest.obj
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 (eval $ac_compile) 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2629 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details." >&5
2639 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2640 See \`config.log' for more details." >&2;}
2641 { (exit 1); exit 1; }; }
2644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2646 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2647 echo "${ECHO_T}$ac_cv_objext" >&6
2648 OBJEXT=$ac_cv_objext
2650 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2651 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2652 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2655 cat >conftest.$ac_ext <<_ACEOF
2656 #line $LINENO "configure"
2659 cat confdefs.h >>conftest.$ac_ext
2660 cat >>conftest.$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2674 rm -f conftest.$ac_objext
2675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2676 (eval $ac_compile) 2>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try='test -s conftest.$ac_objext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2693 rm -f conftest.$ac_objext conftest.$ac_ext
2694 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2697 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2698 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2699 GCC=`test $ac_compiler_gnu = yes && echo yes`
2700 ac_test_CFLAGS=${CFLAGS+set}
2701 ac_save_CFLAGS=$CFLAGS
2703 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2704 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2705 if test "${ac_cv_prog_cc_g+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 cat >conftest.$ac_ext <<_ACEOF
2709 #line $LINENO "configure"
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2724 rm -f conftest.$ac_objext
2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 (eval $ac_compile) 2>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } &&
2730 { ac_try='test -s conftest.$ac_objext'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2743 rm -f conftest.$ac_objext conftest.$ac_ext
2745 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2747 if test "$ac_test_CFLAGS" = set; then
2748 CFLAGS=$ac_save_CFLAGS
2749 elif test $ac_cv_prog_cc_g = yes; then
2750 if test "$GCC" = yes; then
2756 if test "$GCC" = yes; then
2762 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2763 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2764 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 ac_cv_prog_cc_stdc=no
2769 cat >conftest.$ac_ext <<_ACEOF
2770 #line $LINENO "configure"
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 #include <sys/types.h>
2779 #include <sys/stat.h>
2780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2781 struct buf { int x; };
2782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2783 static char *e (p, i)
2789 static char *f (char * (*g) (char **, int), char **p, ...)
2794 s = g (p, va_arg (v,int));
2798 int test (int i, double x);
2799 struct s1 {int (*f) (int a);};
2800 struct s2 {int (*f) (double a);};
2801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2812 # Don't try gcc -ansi; that turns off useful extensions and
2813 # breaks some systems' header files.
2814 # AIX -qlanglvl=ansi
2815 # Ultrix and OSF/1 -std1
2816 # HP-UX 10.20 and later -Ae
2817 # HP-UX older versions -Aa -D_HPUX_SOURCE
2818 # SVR4 -Xc -D__EXTENSIONS__
2819 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2821 CC="$ac_save_CC $ac_arg"
2822 rm -f conftest.$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } &&
2828 { ac_try='test -s conftest.$ac_objext'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2834 ac_cv_prog_cc_stdc=$ac_arg
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2841 rm -f conftest.$ac_objext
2843 rm -f conftest.$ac_ext conftest.$ac_objext
2848 case "x$ac_cv_prog_cc_stdc" in
2850 echo "$as_me:$LINENO: result: none needed" >&5
2851 echo "${ECHO_T}none needed" >&6 ;;
2853 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2854 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2855 CC="$CC $ac_cv_prog_cc_stdc" ;;
2858 # Some people use a C++ compiler to compile C. Since we use `exit',
2859 # in C++ we need to declare it. In case someone uses the same compiler
2860 # for both compiling C and C++ we need to have the C++ compiler decide
2861 # the declaration of exit, since it's the most demanding environment.
2862 cat >conftest.$ac_ext <<_ACEOF
2867 rm -f conftest.$ac_objext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2869 (eval $ac_compile) 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } &&
2873 { ac_try='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 for ac_declaration in \
2881 '#include <stdlib.h>' \
2882 'extern "C" void std::exit (int) throw (); using std::exit;' \
2883 'extern "C" void std::exit (int); using std::exit;' \
2884 'extern "C" void exit (int) throw ();' \
2885 'extern "C" void exit (int);' \
2888 cat >conftest.$ac_ext <<_ACEOF
2889 #line $LINENO "configure"
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2905 rm -f conftest.$ac_objext
2906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907 (eval $ac_compile) 2>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -s conftest.$ac_objext'
2912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f conftest.$ac_objext conftest.$ac_ext
2925 cat >conftest.$ac_ext <<_ACEOF
2926 #line $LINENO "configure"
2929 cat confdefs.h >>conftest.$ac_ext
2930 cat >>conftest.$ac_ext <<_ACEOF
2931 /* end confdefs.h. */
2941 rm -f conftest.$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } &&
2947 { ac_try='test -s conftest.$ac_objext'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; }; then
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2959 rm -f conftest.$ac_objext conftest.$ac_ext
2962 if test -n "$ac_declaration"; then
2963 echo '#ifdef __cplusplus' >>confdefs.h
2964 echo $ac_declaration >>confdefs.h
2965 echo '#endif' >>confdefs.h
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2973 rm -f conftest.$ac_objext conftest.$ac_ext
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 depcc="$CC" am_compiler_list=
2982 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2983 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2984 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2988 # We make a subdir and do the tests there. Otherwise we can end up
2989 # making bogus files that we don't know about and never remove. For
2990 # instance it was reported that on HP-UX the gcc test will end up
2991 # making a dummy file named `D' -- because `-MD' means `put the output
2994 # Copy depcomp to subdir because otherwise we won't find it if we're
2995 # using a relative directory.
2996 cp "$am_depcomp" conftest.dir
2999 am_cv_CC_dependencies_compiler_type=none
3000 if test "$am_compiler_list" = ""; then
3001 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3003 for depmode in $am_compiler_list; do
3004 # We need to recreate these files for each test, as the compiler may
3005 # overwrite some of them when testing with obscure command lines.
3006 # This happens at least with the AIX C compiler.
3007 echo '#include "conftest.h"' > conftest.c
3008 echo 'int i;' > conftest.h
3009 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3013 # after this tag, mechanisms are not by side-effect, so they'll
3014 # only be used when explicitly requested
3015 if test "x$enable_dependency_tracking" = xyes; then
3023 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3024 # mode. It turns out that the SunPro C++ compiler does not properly
3025 # handle `-M -o', and we need to detect this.
3026 if depmode=$depmode \
3027 source=conftest.c object=conftest.o \
3028 depfile=conftest.Po tmpdepfile=conftest.TPo \
3029 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3030 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3031 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3032 am_cv_CC_dependencies_compiler_type=$depmode
3040 am_cv_CC_dependencies_compiler_type=none
3044 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3045 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3046 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3051 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3052 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3053 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 ac_check_lib_save_LIBS=$LIBS
3057 LIBS="-lcposix $LIBS"
3058 cat >conftest.$ac_ext <<_ACEOF
3059 #line $LINENO "configure"
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3066 /* Override any gcc2 internal prototype to avoid an error. */
3070 /* We use char because int might match the return type of a gcc2
3071 builtin and then its argument prototype would still apply. */
3081 rm -f conftest.$ac_objext conftest$ac_exeext
3082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3083 (eval $ac_link) 2>&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } &&
3087 { ac_try='test -s conftest$ac_exeext'
3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; }; then
3093 ac_cv_lib_cposix_strerror=yes
3095 echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 ac_cv_lib_cposix_strerror=no
3100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3101 LIBS=$ac_check_lib_save_LIBS
3103 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3104 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3105 if test $ac_cv_lib_cposix_strerror = yes; then
3106 LIBS="$LIBS -lcposix"
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3118 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3119 echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3121 if test "${ac_cv_prog_CC+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC="$CC" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 if test -n "$CC"; then
3145 echo "$as_me:$LINENO: result: $CC" >&5
3146 echo "${ECHO_T}$CC" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3153 if test -z "$ac_cv_prog_CC"; then
3155 # Extract the first word of "gcc", so it can be a program name with args.
3156 set dummy gcc; ac_word=$2
3157 echo "$as_me:$LINENO: checking for $ac_word" >&5
3158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 if test -n "$ac_ct_CC"; then
3163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_ac_ct_CC="gcc"
3173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3184 echo "${ECHO_T}$ac_ct_CC" >&6
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3195 if test -z "$CC"; then
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3198 set dummy ${ac_tool_prefix}cc; ac_word=$2
3199 echo "$as_me:$LINENO: checking for $ac_word" >&5
3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3201 if test "${ac_cv_prog_CC+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 if test -n "$CC"; then
3205 ac_cv_prog_CC="$CC" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_CC="${ac_tool_prefix}cc"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$CC"; then
3225 echo "$as_me:$LINENO: result: $CC" >&5
3226 echo "${ECHO_T}$CC" >&6
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3233 if test -z "$ac_cv_prog_CC"; then
3235 # Extract the first word of "cc", so it can be a program name with args.
3236 set dummy cc; ac_word=$2
3237 echo "$as_me:$LINENO: checking for $ac_word" >&5
3238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 if test -n "$ac_ct_CC"; then
3243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_ac_ct_CC="cc"
3253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3262 if test -n "$ac_ct_CC"; then
3263 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3264 echo "${ECHO_T}$ac_ct_CC" >&6
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3276 if test -z "$CC"; then
3277 # Extract the first word of "cc", so it can be a program name with args.
3278 set dummy cc; ac_word=$2
3279 echo "$as_me:$LINENO: checking for $ac_word" >&5
3280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3281 if test "${ac_cv_prog_CC+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3296 ac_prog_rejected=yes
3300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 if test $ac_prog_rejected = yes; then
3307 # We found a bogon in the path, so make sure we never use it.
3308 set dummy $ac_cv_prog_CC
3310 if test $# != 0; then
3311 # We chose a different compiler from the bogus one.
3312 # However, it has the same basename, so the bogon will be chosen
3313 # first if we set CC to just the basename; use the full file name.
3315 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3321 if test -n "$CC"; then
3322 echo "$as_me:$LINENO: result: $CC" >&5
3323 echo "${ECHO_T}$CC" >&6
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3330 if test -z "$CC"; then
3331 if test -n "$ac_tool_prefix"; then
3334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3336 echo "$as_me:$LINENO: checking for $ac_word" >&5
3337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3338 if test "${ac_cv_prog_CC+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 if test -n "$CC"; then
3342 ac_cv_prog_CC="$CC" # Let the user override the test.
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348 test -z "$as_dir" && as_dir=.
3349 for ac_exec_ext in '' $ac_executable_extensions; do
3350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 if test -n "$CC"; then
3362 echo "$as_me:$LINENO: result: $CC" >&5
3363 echo "${ECHO_T}$CC" >&6
3365 echo "$as_me:$LINENO: result: no" >&5
3366 echo "${ECHO_T}no" >&6
3369 test -n "$CC" && break
3372 if test -z "$CC"; then
3376 # Extract the first word of "$ac_prog", so it can be a program name with args.
3377 set dummy $ac_prog; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 if test -n "$ac_ct_CC"; then
3384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_ac_ct_CC="$ac_prog"
3394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3403 if test -n "$ac_ct_CC"; then
3404 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3405 echo "${ECHO_T}$ac_ct_CC" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3411 test -n "$ac_ct_CC" && break
3420 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3421 See \`config.log' for more details." >&5
3422 echo "$as_me: error: no acceptable C compiler found in \$PATH
3423 See \`config.log' for more details." >&2;}
3424 { (exit 1); exit 1; }; }
3426 # Provide some information about the compiler.
3427 echo "$as_me:$LINENO:" \
3428 "checking for C compiler version" >&5
3429 ac_compiler=`set X $ac_compile; echo $2`
3430 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3431 (eval $ac_compiler --version </dev/null >&5) 2>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }
3435 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3436 (eval $ac_compiler -v </dev/null >&5) 2>&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }
3440 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3441 (eval $ac_compiler -V </dev/null >&5) 2>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }
3446 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3447 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3448 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 cat >conftest.$ac_ext <<_ACEOF
3452 #line $LINENO "configure"
3455 cat confdefs.h >>conftest.$ac_ext
3456 cat >>conftest.$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3470 rm -f conftest.$ac_objext
3471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3472 (eval $ac_compile) 2>&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try='test -s conftest.$ac_objext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3489 rm -f conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3494 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3495 GCC=`test $ac_compiler_gnu = yes && echo yes`
3496 ac_test_CFLAGS=${CFLAGS+set}
3497 ac_save_CFLAGS=$CFLAGS
3499 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3500 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3501 if test "${ac_cv_prog_cc_g+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 cat >conftest.$ac_ext <<_ACEOF
3505 #line $LINENO "configure"
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3520 rm -f conftest.$ac_objext
3521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3522 (eval $ac_compile) 2>&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } &&
3526 { ac_try='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3539 rm -f conftest.$ac_objext conftest.$ac_ext
3541 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3552 if test "$GCC" = yes; then
3558 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3559 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3560 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 ac_cv_prog_cc_stdc=no
3565 cat >conftest.$ac_ext <<_ACEOF
3566 #line $LINENO "configure"
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3574 #include <sys/types.h>
3575 #include <sys/stat.h>
3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3577 struct buf { int x; };
3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3579 static char *e (p, i)
3585 static char *f (char * (*g) (char **, int), char **p, ...)
3590 s = g (p, va_arg (v,int));
3594 int test (int i, double x);
3595 struct s1 {int (*f) (int a);};
3596 struct s2 {int (*f) (double a);};
3597 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3603 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3608 # Don't try gcc -ansi; that turns off useful extensions and
3609 # breaks some systems' header files.
3610 # AIX -qlanglvl=ansi
3611 # Ultrix and OSF/1 -std1
3612 # HP-UX 10.20 and later -Ae
3613 # HP-UX older versions -Aa -D_HPUX_SOURCE
3614 # SVR4 -Xc -D__EXTENSIONS__
3615 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3617 CC="$ac_save_CC $ac_arg"
3618 rm -f conftest.$ac_objext
3619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3620 (eval $ac_compile) 2>&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try='test -s conftest.$ac_objext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3630 ac_cv_prog_cc_stdc=$ac_arg
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3637 rm -f conftest.$ac_objext
3639 rm -f conftest.$ac_ext conftest.$ac_objext
3644 case "x$ac_cv_prog_cc_stdc" in
3646 echo "$as_me:$LINENO: result: none needed" >&5
3647 echo "${ECHO_T}none needed" >&6 ;;
3649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3650 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3651 CC="$CC $ac_cv_prog_cc_stdc" ;;
3654 # Some people use a C++ compiler to compile C. Since we use `exit',
3655 # in C++ we need to declare it. In case someone uses the same compiler
3656 # for both compiling C and C++ we need to have the C++ compiler decide
3657 # the declaration of exit, since it's the most demanding environment.
3658 cat >conftest.$ac_ext <<_ACEOF
3663 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try='test -s conftest.$ac_objext'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; }; then
3675 for ac_declaration in \
3677 '#include <stdlib.h>' \
3678 'extern "C" void std::exit (int) throw (); using std::exit;' \
3679 'extern "C" void std::exit (int); using std::exit;' \
3680 'extern "C" void exit (int) throw ();' \
3681 'extern "C" void exit (int);' \
3684 cat >conftest.$ac_ext <<_ACEOF
3685 #line $LINENO "configure"
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3701 rm -f conftest.$ac_objext
3702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3703 (eval $ac_compile) 2>&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try='test -s conftest.$ac_objext'
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; }; then
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3720 rm -f conftest.$ac_objext conftest.$ac_ext
3721 cat >conftest.$ac_ext <<_ACEOF
3722 #line $LINENO "configure"
3725 cat confdefs.h >>conftest.$ac_ext
3726 cat >>conftest.$ac_ext <<_ACEOF
3727 /* end confdefs.h. */
3737 rm -f conftest.$ac_objext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3739 (eval $ac_compile) 2>&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); } &&
3743 { ac_try='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3755 rm -f conftest.$ac_objext conftest.$ac_ext
3758 if test -n "$ac_declaration"; then
3759 echo '#ifdef __cplusplus' >>confdefs.h
3760 echo $ac_declaration >>confdefs.h
3761 echo '#endif' >>confdefs.h
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3769 rm -f conftest.$ac_objext conftest.$ac_ext
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 depcc="$CC" am_compiler_list=
3778 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3779 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3780 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3784 # We make a subdir and do the tests there. Otherwise we can end up
3785 # making bogus files that we don't know about and never remove. For
3786 # instance it was reported that on HP-UX the gcc test will end up
3787 # making a dummy file named `D' -- because `-MD' means `put the output
3790 # Copy depcomp to subdir because otherwise we won't find it if we're
3791 # using a relative directory.
3792 cp "$am_depcomp" conftest.dir
3795 am_cv_CC_dependencies_compiler_type=none
3796 if test "$am_compiler_list" = ""; then
3797 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3799 for depmode in $am_compiler_list; do
3800 # We need to recreate these files for each test, as the compiler may
3801 # overwrite some of them when testing with obscure command lines.
3802 # This happens at least with the AIX C compiler.
3803 echo '#include "conftest.h"' > conftest.c
3804 echo 'int i;' > conftest.h
3805 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3809 # after this tag, mechanisms are not by side-effect, so they'll
3810 # only be used when explicitly requested
3811 if test "x$enable_dependency_tracking" = xyes; then
3819 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3820 # mode. It turns out that the SunPro C++ compiler does not properly
3821 # handle `-M -o', and we need to detect this.
3822 if depmode=$depmode \
3823 source=conftest.c object=conftest.o \
3824 depfile=conftest.Po tmpdepfile=conftest.TPo \
3825 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3826 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3827 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3828 am_cv_CC_dependencies_compiler_type=$depmode
3836 am_cv_CC_dependencies_compiler_type=none
3840 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3841 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3842 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3846 ac_cpp='$CXXCPP $CPPFLAGS'
3847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3850 if test -n "$ac_tool_prefix"; then
3851 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3855 echo "$as_me:$LINENO: checking for $ac_word" >&5
3856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3857 if test "${ac_cv_prog_CXX+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 if test -n "$CXX"; then
3861 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test -n "$CXX"; then
3881 echo "$as_me:$LINENO: result: $CXX" >&5
3882 echo "${ECHO_T}$CXX" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 test -n "$CXX" && break
3891 if test -z "$CXX"; then
3893 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3895 # Extract the first word of "$ac_prog", so it can be a program name with args.
3896 set dummy $ac_prog; ac_word=$2
3897 echo "$as_me:$LINENO: checking for $ac_word" >&5
3898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3899 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if test -n "$ac_ct_CXX"; then
3903 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir=.
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_ac_ct_CXX="$ac_prog"
3913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3922 if test -n "$ac_ct_CXX"; then
3923 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3924 echo "${ECHO_T}$ac_ct_CXX" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3930 test -n "$ac_ct_CXX" && break
3932 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3938 # Provide some information about the compiler.
3939 echo "$as_me:$LINENO:" \
3940 "checking for C++ compiler version" >&5
3941 ac_compiler=`set X $ac_compile; echo $2`
3942 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3943 (eval $ac_compiler --version </dev/null >&5) 2>&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }
3947 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3948 (eval $ac_compiler -v </dev/null >&5) 2>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }
3952 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3953 (eval $ac_compiler -V </dev/null >&5) 2>&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }
3958 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3959 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3960 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 cat >conftest.$ac_ext <<_ACEOF
3964 #line $LINENO "configure"
3967 cat confdefs.h >>conftest.$ac_ext
3968 cat >>conftest.$ac_ext <<_ACEOF
3969 /* end confdefs.h. */
3982 rm -f conftest.$ac_objext
3983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3984 (eval $ac_compile) 2>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } &&
3988 { ac_try='test -s conftest.$ac_objext'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3996 echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
4001 rm -f conftest.$ac_objext conftest.$ac_ext
4002 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4005 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4006 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4007 GXX=`test $ac_compiler_gnu = yes && echo yes`
4008 ac_test_CXXFLAGS=${CXXFLAGS+set}
4009 ac_save_CXXFLAGS=$CXXFLAGS
4011 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4012 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4013 if test "${ac_cv_prog_cxx_g+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 cat >conftest.$ac_ext <<_ACEOF
4017 #line $LINENO "configure"
4020 cat confdefs.h >>conftest.$ac_ext
4021 cat >>conftest.$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4032 rm -f conftest.$ac_objext
4033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4034 (eval $ac_compile) 2>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } &&
4038 { ac_try='test -s conftest.$ac_objext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4044 ac_cv_prog_cxx_g=yes
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4051 rm -f conftest.$ac_objext conftest.$ac_ext
4053 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4054 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4055 if test "$ac_test_CXXFLAGS" = set; then
4056 CXXFLAGS=$ac_save_CXXFLAGS
4057 elif test $ac_cv_prog_cxx_g = yes; then
4058 if test "$GXX" = yes; then
4064 if test "$GXX" = yes; then
4070 for ac_declaration in \
4072 '#include <stdlib.h>' \
4073 'extern "C" void std::exit (int) throw (); using std::exit;' \
4074 'extern "C" void std::exit (int); using std::exit;' \
4075 'extern "C" void exit (int) throw ();' \
4076 'extern "C" void exit (int);' \
4079 cat >conftest.$ac_ext <<_ACEOF
4080 #line $LINENO "configure"
4083 cat confdefs.h >>conftest.$ac_ext
4084 cat >>conftest.$ac_ext <<_ACEOF
4085 /* end confdefs.h. */
4096 rm -f conftest.$ac_objext
4097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4098 (eval $ac_compile) 2>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } &&
4102 { ac_try='test -s conftest.$ac_objext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4115 rm -f conftest.$ac_objext conftest.$ac_ext
4116 cat >conftest.$ac_ext <<_ACEOF
4117 #line $LINENO "configure"
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4132 rm -f conftest.$ac_objext
4133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4134 (eval $ac_compile) 2>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } &&
4138 { ac_try='test -s conftest.$ac_objext'
4139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); }; }; then
4146 echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4150 rm -f conftest.$ac_objext conftest.$ac_ext
4153 if test -n "$ac_declaration"; then
4154 echo '#ifdef __cplusplus' >>confdefs.h
4155 echo $ac_declaration >>confdefs.h
4156 echo '#endif' >>confdefs.h
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165 depcc="$CXX" am_compiler_list=
4167 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4168 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4169 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4173 # We make a subdir and do the tests there. Otherwise we can end up
4174 # making bogus files that we don't know about and never remove. For
4175 # instance it was reported that on HP-UX the gcc test will end up
4176 # making a dummy file named `D' -- because `-MD' means `put the output
4179 # Copy depcomp to subdir because otherwise we won't find it if we're
4180 # using a relative directory.
4181 cp "$am_depcomp" conftest.dir
4184 am_cv_CXX_dependencies_compiler_type=none
4185 if test "$am_compiler_list" = ""; then
4186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4188 for depmode in $am_compiler_list; do
4189 # We need to recreate these files for each test, as the compiler may
4190 # overwrite some of them when testing with obscure command lines.
4191 # This happens at least with the AIX C compiler.
4192 echo '#include "conftest.h"' > conftest.c
4193 echo 'int i;' > conftest.h
4194 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
4198 # after this tag, mechanisms are not by side-effect, so they'll
4199 # only be used when explicitly requested
4200 if test "x$enable_dependency_tracking" = xyes; then
4208 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4209 # mode. It turns out that the SunPro C++ compiler does not properly
4210 # handle `-M -o', and we need to detect this.
4211 if depmode=$depmode \
4212 source=conftest.c object=conftest.o \
4213 depfile=conftest.Po tmpdepfile=conftest.TPo \
4214 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4215 grep conftest.h conftest.Po > /dev/null 2>&1 &&
4216 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4217 am_cv_CXX_dependencies_compiler_type=$depmode
4225 am_cv_CXX_dependencies_compiler_type=none
4229 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4230 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4231 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4235 # Check whether --enable-largefile or --disable-largefile was given.
4236 if test "${enable_largefile+set}" = set; then
4237 enableval="$enable_largefile"
4240 if test "$enable_largefile" != no; then
4242 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4243 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4244 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 ac_cv_sys_largefile_CC=no
4248 if test "$GCC" != yes; then
4251 # IRIX 6.2 and later do not support large files by default,
4252 # so use the C compiler's -n32 option if that helps.
4253 cat >conftest.$ac_ext <<_ACEOF
4254 #line $LINENO "configure"
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 #include <sys/types.h>
4261 /* Check that off_t can represent 2**63 - 1 correctly.
4262 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4263 since some C++ compilers masquerading as C compilers
4264 incorrectly reject 9223372036854775807. */
4265 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4266 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4267 && LARGE_OFF_T % 2147483647 == 1)
4277 rm -f conftest.$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } &&
4283 { ac_try='test -s conftest.$ac_objext'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; }; then
4291 echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4295 rm -f conftest.$ac_objext
4297 rm -f conftest.$ac_objext
4298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4299 (eval $ac_compile) 2>&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try='test -s conftest.$ac_objext'
4304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; }; then
4309 ac_cv_sys_largefile_CC=' -n32'; break
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4315 rm -f conftest.$ac_objext
4319 rm -f conftest.$ac_ext
4322 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4323 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4324 if test "$ac_cv_sys_largefile_CC" != no; then
4325 CC=$CC$ac_cv_sys_largefile_CC
4328 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4329 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4330 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_cv_sys_file_offset_bits=no
4335 cat >conftest.$ac_ext <<_ACEOF
4336 #line $LINENO "configure"
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 #include <sys/types.h>
4343 /* Check that off_t can represent 2**63 - 1 correctly.
4344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4345 since some C++ compilers masquerading as C compilers
4346 incorrectly reject 9223372036854775807. */
4347 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4349 && LARGE_OFF_T % 2147483647 == 1)
4359 rm -f conftest.$ac_objext
4360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4361 (eval $ac_compile) 2>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try='test -s conftest.$ac_objext'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4377 rm -f conftest.$ac_objext conftest.$ac_ext
4378 cat >conftest.$ac_ext <<_ACEOF
4379 #line $LINENO "configure"
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4385 #define _FILE_OFFSET_BITS 64
4386 #include <sys/types.h>
4387 /* Check that off_t can represent 2**63 - 1 correctly.
4388 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4389 since some C++ compilers masquerading as C compilers
4390 incorrectly reject 9223372036854775807. */
4391 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4392 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4393 && LARGE_OFF_T % 2147483647 == 1)
4403 rm -f conftest.$ac_objext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4405 (eval $ac_compile) 2>&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); } &&
4409 { ac_try='test -s conftest.$ac_objext'
4410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }; }; then
4415 ac_cv_sys_file_offset_bits=64; break
4417 echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4421 rm -f conftest.$ac_objext conftest.$ac_ext
4425 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4426 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4427 if test "$ac_cv_sys_file_offset_bits" != no; then
4429 cat >>confdefs.h <<_ACEOF
4430 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4435 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4436 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4437 if test "${ac_cv_sys_large_files+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 ac_cv_sys_large_files=no
4442 cat >conftest.$ac_ext <<_ACEOF
4443 #line $LINENO "configure"
4446 cat confdefs.h >>conftest.$ac_ext
4447 cat >>conftest.$ac_ext <<_ACEOF
4448 /* end confdefs.h. */
4449 #include <sys/types.h>
4450 /* Check that off_t can represent 2**63 - 1 correctly.
4451 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4452 since some C++ compilers masquerading as C compilers
4453 incorrectly reject 9223372036854775807. */
4454 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4455 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4456 && LARGE_OFF_T % 2147483647 == 1)
4466 rm -f conftest.$ac_objext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4468 (eval $ac_compile) 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } &&
4472 { ac_try='test -s conftest.$ac_objext'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4480 echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.$ac_ext >&5
4484 rm -f conftest.$ac_objext conftest.$ac_ext
4485 cat >conftest.$ac_ext <<_ACEOF
4486 #line $LINENO "configure"
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4492 #define _LARGE_FILES 1
4493 #include <sys/types.h>
4494 /* Check that off_t can represent 2**63 - 1 correctly.
4495 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4496 since some C++ compilers masquerading as C compilers
4497 incorrectly reject 9223372036854775807. */
4498 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4499 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4500 && LARGE_OFF_T % 2147483647 == 1)
4510 rm -f conftest.$ac_objext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try='test -s conftest.$ac_objext'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4522 ac_cv_sys_large_files=1; break
4524 echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.$ac_ext >&5
4528 rm -f conftest.$ac_objext conftest.$ac_ext
4532 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4533 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4534 if test "$ac_cv_sys_large_files" != no; then
4536 cat >>confdefs.h <<_ACEOF
4537 #define _LARGE_FILES $ac_cv_sys_large_files
4545 # Check whether --enable-shared or --disable-shared was given.
4546 if test "${enable_shared+set}" = set; then
4547 enableval="$enable_shared"
4548 p=${PACKAGE-default}
4550 yes) enable_shared=yes ;;
4551 no) enable_shared=no ;;
4554 # Look at the argument we got. We use all the common list separators.
4555 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4556 for pkg in $enableval; do
4557 if test "X$pkg" = "X$p"; then
4567 # Check whether --enable-static or --disable-static was given.
4568 if test "${enable_static+set}" = set; then
4569 enableval="$enable_static"
4570 p=${PACKAGE-default}
4572 yes) enable_static=yes ;;
4573 no) enable_static=no ;;
4576 # Look at the argument we got. We use all the common list separators.
4577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4578 for pkg in $enableval; do
4579 if test "X$pkg" = "X$p"; then
4589 # Check whether --enable-fast-install or --disable-fast-install was given.
4590 if test "${enable_fast_install+set}" = set; then
4591 enableval="$enable_fast_install"
4592 p=${PACKAGE-default}
4594 yes) enable_fast_install=yes ;;
4595 no) enable_fast_install=no ;;
4597 enable_fast_install=no
4598 # Look at the argument we got. We use all the common list separators.
4599 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4600 for pkg in $enableval; do
4601 if test "X$pkg" = "X$p"; then
4602 enable_fast_install=yes
4609 enable_fast_install=yes
4611 # Find the correct PATH separator. Usually this is `:', but
4612 # DJGPP uses `;' like DOS.
4613 if test "X${PATH_SEPARATOR+set}" != Xset; then
4614 UNAME=${UNAME-`uname 2>/dev/null`}
4616 *-DOS) lt_cv_sys_path_separator=';' ;;
4617 *) lt_cv_sys_path_separator=':' ;;
4619 PATH_SEPARATOR=$lt_cv_sys_path_separator
4623 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4624 if test "${with_gnu_ld+set}" = set; then
4625 withval="$with_gnu_ld"
4626 test "$withval" = no || with_gnu_ld=yes
4631 if test "$GCC" = yes; then
4632 # Check if gcc -print-prog-name=ld gives a path.
4633 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4634 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4637 # gcc leaves a trailing carriage return which upsets mingw
4638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4643 # Accept absolute paths.
4644 [\\/]* | [A-Za-z]:[\\/]*)
4645 re_direlt='/[^/][^/]*/\.\./'
4646 # Canonicalize the path of ld
4647 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4648 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4649 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4651 test -z "$LD" && LD="$ac_prog"
4654 # If it fails, then pretend we aren't using GCC.
4658 # If it is relative, then search for the first ld in PATH.
4662 elif test "$with_gnu_ld" = yes; then
4663 echo "$as_me:$LINENO: checking for GNU ld" >&5
4664 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4666 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4667 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4669 if test "${lt_cv_path_LD+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 if test -z "$LD"; then
4673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4674 for ac_dir in $PATH; do
4675 test -z "$ac_dir" && ac_dir=.
4676 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4677 lt_cv_path_LD="$ac_dir/$ac_prog"
4678 # Check to see if the program is GNU ld. I'd rather use --version,
4679 # but apparently some GNU ld's only accept -v.
4680 # Break only if it was the GNU/non-GNU ld that we prefer.
4681 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4682 test "$with_gnu_ld" != no && break
4684 test "$with_gnu_ld" != yes && break
4690 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4695 if test -n "$LD"; then
4696 echo "$as_me:$LINENO: result: $LD" >&5
4697 echo "${ECHO_T}$LD" >&6
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4702 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4703 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4704 { (exit 1); exit 1; }; }
4705 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4706 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4707 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4711 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4712 lt_cv_prog_gnu_ld=yes
4714 lt_cv_prog_gnu_ld=no
4717 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4718 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4719 with_gnu_ld=$lt_cv_prog_gnu_ld
4722 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4723 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4724 if test "${lt_cv_ld_reload_flag+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 lt_cv_ld_reload_flag='-r'
4729 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4730 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4731 reload_flag=$lt_cv_ld_reload_flag
4732 test -n "$reload_flag" && reload_flag=" $reload_flag"
4734 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4735 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4736 if test "${lt_cv_path_NM+set}" = set; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4739 if test -n "$NM"; then
4740 # Let the user override the test.
4743 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4744 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4745 test -z "$ac_dir" && ac_dir=.
4746 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4747 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4748 # Check to see if the nm accepts a BSD-compat flag.
4749 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4750 # nm: unknown option "B" ignored
4751 # Tru64's nm complains that /dev/null is an invalid object file
4752 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4753 lt_cv_path_NM="$tmp_nm -B"
4755 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4756 lt_cv_path_NM="$tmp_nm -p"
4759 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4760 continue # so that we can try to find one that supports BSD flags
4765 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4770 echo "$as_me:$LINENO: result: $NM" >&5
4771 echo "${ECHO_T}$NM" >&6
4773 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4774 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4775 if test "${lt_cv_path_SED+set}" = set; then
4776 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 # Loop through the user's path and test for sed and gsed.
4779 # Then use that list of sed's as ones to test for truncation.
4780 as_executable_p="test -f"
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir=.
4786 for ac_prog in sed gsed; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4789 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4795 # Create a temporary directory, and hook for its removal unless debugging.
4798 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4799 trap '{ (exit 1); exit 1; }' 1 2 13 15
4802 # Create a (secure) tmp directory for tmp files.
4805 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4806 test -n "$tmp" && test -d "$tmp"
4809 tmp=$TMPDIR/sed$$-$RANDOM
4810 (umask 077 && mkdir $tmp)
4813 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4814 { (exit 1); exit 1; }
4818 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4819 # along with /bin/sed that truncates output.
4820 for _sed in $_sed_list /usr/xpg4/bin/sed; do
4821 test ! -f ${_sed} && break
4822 cat /dev/null > "$tmp/sed.in"
4824 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4825 # Check for GNU sed and select it if it is found.
4826 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4827 lt_cv_path_SED=${_sed}
4831 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4832 mv "$tmp/sed.tmp" "$tmp/sed.in"
4833 cp "$tmp/sed.in" "$tmp/sed.nl"
4834 echo >>"$tmp/sed.nl"
4835 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4836 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4837 # 40000 chars as input seems more than enough
4838 test $_count -gt 10 && break
4839 _count=`expr $_count + 1`
4840 if test $_count -gt $_max; then
4842 lt_cv_path_SED=$_sed
4850 if test "X$SED" != "X"; then
4855 echo "$as_me:$LINENO: result: $SED" >&5
4856 echo "${ECHO_T}$SED" >&6
4858 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4859 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4861 if test "$LN_S" = "ln -s"; then
4862 echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6
4865 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4866 echo "${ECHO_T}no, using $LN_S" >&6
4869 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4870 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4871 if test "${lt_cv_deplibs_check_method+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 lt_cv_file_magic_cmd='$MAGIC_CMD'
4875 lt_cv_file_magic_test_file=
4876 lt_cv_deplibs_check_method='unknown'
4877 # Need to set the preceding variable on all platforms that support
4878 # interlibrary dependencies.
4879 # 'none' -- dependencies not supported.
4880 # `unknown' -- same as none, but documents that we really don't know.
4881 # 'pass_all' -- all dependencies passed with no checks.
4882 # 'test_compile' -- check by making test program.
4883 # 'file_magic [[regex]]' -- check by looking for files in library path
4884 # which responds to the $file_magic_cmd with a given egrep regex.
4885 # If you have `file' or equivalent on your system and you're not sure
4886 # whether `pass_all' will *always* work, you probably want this one.
4890 lt_cv_deplibs_check_method=pass_all
4894 lt_cv_deplibs_check_method=pass_all
4898 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4899 lt_cv_file_magic_cmd='/usr/bin/file -L'
4900 lt_cv_file_magic_test_file=/shlib/libc.so
4903 cygwin* | mingw* | pw32*)
4904 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4905 lt_cv_file_magic_cmd='$OBJDUMP -f'
4908 darwin* | rhapsody*)
4909 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4910 lt_cv_file_magic_cmd='/usr/bin/file -L'
4912 rhapsody* | darwin1.[012])
4913 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
4916 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4922 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4925 # Not sure whether the presence of OpenBSD here was a mistake.
4926 # Let's accept both of them until this is cleared up.
4927 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4928 lt_cv_file_magic_cmd=/usr/bin/file
4929 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4933 lt_cv_deplibs_check_method=pass_all
4938 lt_cv_deplibs_check_method=pass_all
4942 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4943 lt_cv_file_magic_cmd=/usr/bin/file
4944 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4947 irix5* | irix6* | nonstopux*)
4949 irix5* | nonstopux*)
4950 # this will be overridden with pass_all, but let us keep it just in case
4951 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4955 *-32|*"-32 ") libmagic=32-bit;;
4956 *-n32|*"-n32 ") libmagic=N32;;
4957 *-64|*"-64 ") libmagic=64-bit;;
4958 *) libmagic=never-match;;
4960 # this will be overridden with pass_all, but let us keep it just in case
4961 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4964 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4965 lt_cv_deplibs_check_method=pass_all
4968 # This must be Linux ELF.
4971 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
4972 lt_cv_deplibs_check_method=pass_all ;;
4974 # glibc up to 2.1.1 does not perform some relocations on ARM
4975 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4977 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4981 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4982 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4984 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4990 lt_cv_file_magic_cmd=/usr/bin/file
4991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4995 lt_cv_file_magic_cmd=/usr/bin/file
4996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4997 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
5000 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
5004 osf3* | osf4* | osf5*)
5005 # this will be overridden with pass_all, but let us keep it just in case
5006 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5007 lt_cv_file_magic_test_file=/shlib/libc.so
5008 lt_cv_deplibs_check_method=pass_all
5012 lt_cv_deplibs_check_method=pass_all
5016 lt_cv_deplibs_check_method=pass_all
5017 lt_cv_file_magic_test_file=/lib/libc.so
5020 sysv5uw[78]* | sysv4*uw2*)
5021 lt_cv_deplibs_check_method=pass_all
5024 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5025 case $host_vendor in
5027 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5028 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5031 lt_cv_deplibs_check_method=pass_all
5034 lt_cv_file_magic_cmd='/bin/file'
5035 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5038 lt_cv_file_magic_cmd='/bin/file'
5039 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5040 lt_cv_file_magic_test_file=/lib/libc.so
5043 lt_cv_deplibs_check_method=pass_all
5050 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5051 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5052 file_magic_cmd=$lt_cv_file_magic_cmd
5053 deplibs_check_method=$lt_cv_deplibs_check_method
5061 # Check for command to grab the raw symbol name followed by C symbol from nm.