2 # From configure.in Revision: 1.36 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25 BIN_SH=xpg4; export BIN_SH # for Tru64
26 DUALCASE=1; export DUALCASE # for MKS sh
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
42 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
67 # Find who we are. Look in the path if we contain no directory separator.
69 *[\\/]* ) as_myself=$0 ;;
70 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 test -z "$as_dir" && as_dir=.
75 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x; then
86 if test ! -f "$as_myself"; then
87 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106 eval $as_var=C; export $as_var
108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 # Required to use basename.
113 if expr a : '\(a\)' >/dev/null 2>&1 &&
114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 # Name of the executable.
128 as_me=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130 X"$0" : 'X\(//\)$' \| \
131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 sed '/^.*\/\([^/][^/]*\)\/*$/{
151 if test "x$CONFIG_SHELL" = x; then
152 if (eval ":") 2>/dev/null; then
158 if test $as_have_required = yes && (eval ":
168 as_func_ret_success () {
171 as_func_ret_failure () {
176 if as_func_success; then
180 echo as_func_success failed.
183 if as_func_failure; then
185 echo as_func_failure succeeded.
188 if as_func_ret_success; then
192 echo as_func_ret_success failed.
195 if as_func_ret_failure; then
197 echo as_func_ret_failure succeeded.
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 echo positional parameters were not saved.
207 test \$exitcode = 0) || { (exit 1); exit 1; }
212 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev/null; then
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 for as_shell in $as_candidate_shells $SHELL; do
234 # Try only shells that exist, to save several forks.
235 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236 { ("$as_shell") 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
246 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248 BIN_SH=xpg4; export BIN_SH # for Tru64
249 DUALCASE=1; export DUALCASE # for MKS sh
254 CONFIG_SHELL=$as_shell
256 if { "$as_shell" 2> /dev/null <<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
266 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268 BIN_SH=xpg4; export BIN_SH # for Tru64
269 DUALCASE=1; export DUALCASE # for MKS sh
281 as_func_ret_success () {
284 as_func_ret_failure () {
289 if as_func_success; then
293 echo as_func_success failed.
296 if as_func_failure; then
298 echo as_func_failure succeeded.
301 if as_func_ret_success; then
305 echo as_func_ret_success failed.
308 if as_func_ret_failure; then
310 echo as_func_ret_failure succeeded.
313 if ( set x; as_func_ret_success y && test x = "$1" ); then
317 echo positional parameters were not saved.
320 test $exitcode = 0) || { (exit 1); exit 1; }
325 test "x$as_lineno_1" != "x$as_lineno_2" &&
326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
337 if test "x$CONFIG_SHELL" != x; then
338 for as_var in BASH_ENV ENV
339 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
346 if test $as_have_required = no; then
347 echo This script requires a shell more modern than all the
348 echo shells that I found on your system. Please install a
349 echo modern shell, or manually run the script under such a
350 echo shell if you do have one.
351 { (exit 1); exit 1; }
361 (eval "as_func_return () {
370 as_func_ret_success () {
373 as_func_ret_failure () {
378 if as_func_success; then
382 echo as_func_success failed.
385 if as_func_failure; then
387 echo as_func_failure succeeded.
390 if as_func_ret_success; then
394 echo as_func_ret_success failed.
397 if as_func_ret_failure; then
399 echo as_func_ret_failure succeeded.
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
406 echo positional parameters were not saved.
409 test \$exitcode = 0") || {
410 echo No shell found that supports shell functions.
411 echo Please tell autoconf@gnu.org about your system,
412 echo including any error possibly output before this
420 test "x$as_lineno_1" != "x$as_lineno_2" &&
421 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
424 # uniformly replaced by the line number. The first 'sed' inserts a
425 # line-number line after each line using $LINENO; the second 'sed'
426 # does the real work. The second script uses 'N' to pair each
427 # line-number line with the line containing $LINENO, and appends
428 # trailing '-' during substitution so that $LINENO is not a special
430 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
431 # scripts with optimization help from Paolo Bonzini. Blame Lee
432 # E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x "$as_me.lineno" ||
449 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
450 { (exit 1); exit 1; }; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 ECHO_C= ECHO_N= ECHO_T=
471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 if expr a : '\(a\)' >/dev/null 2>&1 &&
479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
509 if mkdir -p . 2>/dev/null; then
512 test -d ./-p && rmdir ./-p
516 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.file <<_ASEOF
523 if test -x conf$$.file >/dev/null 2>&1; then
524 as_executable_p="test -x"
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 # Check that we are running under the correct shell.
540 SHELL=${CONFIG_SHELL-/bin/sh}
544 # Remove one level of quotation (which was required for Make).
545 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
550 if test "X$1" = X--no-reexec; then
551 # Discard the --no-reexec flag, and continue.
553 elif test "X$1" = X--fallback-echo; then
554 # Avoid inline document here, it may be left over
556 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
557 # Yippee, $echo works!
560 # Restart under the correct shell.
561 exec $SHELL "$0" --no-reexec ${1+"$@"}
564 if test "X$1" = X--fallback-echo; then
565 # used as fallback echo
573 # The HP-UX ksh and POSIX shell print the target directory to stdout
575 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
577 if test -z "$ECHO"; then
578 if test "X${echo_test_string+set}" != Xset; then
579 # find a string as large as possible, as long as the shell can cope with it
580 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
581 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
582 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
583 echo_test_string="`eval $cmd`" &&
584 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
591 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
592 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
593 test "X$echo_testing_string" = "X$echo_test_string"; then
596 # The Solaris, AIX, and Digital Unix default echo programs unquote
597 # backslashes. This makes it impossible to quote backslashes using
598 # echo "$something" | sed 's/\\/\\\\/g'
600 # So, first we look for a working echo in the user's PATH.
602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
603 for dir in $PATH /usr/ucb; do
605 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
606 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
615 if test "X$echo" = Xecho; then
616 # We didn't find a better echo, so look for alternatives.
617 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
618 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
619 test "X$echo_testing_string" = "X$echo_test_string"; then
620 # This shell has a builtin print -r that does the trick.
622 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
623 test "X$CONFIG_SHELL" != X/bin/ksh; then
624 # If we have ksh, try running configure again with it.
625 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
626 export ORIGINAL_CONFIG_SHELL
627 CONFIG_SHELL=/bin/ksh
629 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
633 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
638 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639 test "X$echo_testing_string" = 'X\t' &&
640 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
644 SHELL="$CONFIG_SHELL"
646 echo="$CONFIG_SHELL $0 --fallback-echo"
647 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
648 test "X$echo_testing_string" = 'X\t' &&
649 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
651 echo="$CONFIG_SHELL $0 --fallback-echo"
653 # maybe with a smaller string...
656 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
657 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
664 if test "$prev" != 'sed 50q "$0"'; then
665 echo_test_string=`eval $prev`
666 export echo_test_string
667 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
669 # Oops. We lost completely, so just stick with echo.
678 # Copy echo and quote the copy suitably for passing to libtool from
679 # the Makefile, instead of quoting the original, which is used later.
681 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
682 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
688 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
690 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
692 exec 7<&0 </dev/null 6>&1
695 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
696 # so uname gets run too.
697 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
702 ac_default_prefix=/usr/local
704 ac_config_libobj_dir=.
710 SHELL=${CONFIG_SHELL-/bin/sh}
712 # Identity of this package.
719 ac_unique_file="mimetic/mimetic.h"
720 # Factoring default headers for most tests.
721 ac_includes_default="\
724 # include <sys/types.h>
727 # include <sys/stat.h>
738 # if !STDC_HEADERS && HAVE_MEMORY_H
744 # include <strings.h>
747 # include <inttypes.h>
765 program_transform_name
818 INSTALL_STRIP_PROGRAM
855 ac_precious_vars='build_alias
871 # Initialize some variables set by options.
873 ac_init_version=false
874 # The variables have the same names as the options, with
875 # dashes changed to underlines.
883 program_transform_name=s,x,x,
891 # Installation directory options.
892 # These are left unexpanded so users can "make install exec_prefix=/foo"
893 # and all the variables that are supposed to be based on exec_prefix
894 # by default will actually change.
895 # Use braces instead of parens because sh, perl, etc. also accept them.
896 # (The list follows the same order as the GNU Coding Standards.)
897 bindir='${exec_prefix}/bin'
898 sbindir='${exec_prefix}/sbin'
899 libexecdir='${exec_prefix}/libexec'
900 datarootdir='${prefix}/share'
901 datadir='${datarootdir}'
902 sysconfdir='${prefix}/etc'
903 sharedstatedir='${prefix}/com'
904 localstatedir='${prefix}/var'
905 includedir='${prefix}/include'
906 oldincludedir='/usr/include'
907 docdir='${datarootdir}/doc/${PACKAGE}'
908 infodir='${datarootdir}/info'
913 libdir='${exec_prefix}/lib'
914 localedir='${datarootdir}/locale'
915 mandir='${datarootdir}/man'
921 # If the previous option needs an argument, assign it.
922 if test -n "$ac_prev"; then
923 eval $ac_prev=\$ac_option
929 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
933 # Accept the important Cygnus configure options, so we can diagnose typos.
935 case $ac_dashdash$ac_option in
939 -bindir | --bindir | --bindi | --bind | --bin | --bi)
941 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
944 -build | --build | --buil | --bui | --bu)
945 ac_prev=build_alias ;;
946 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
947 build_alias=$ac_optarg ;;
949 -cache-file | --cache-file | --cache-fil | --cache-fi \
950 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
951 ac_prev=cache_file ;;
952 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
953 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
954 cache_file=$ac_optarg ;;
957 cache_file=config.cache ;;
959 -datadir | --datadir | --datadi | --datad)
961 -datadir=* | --datadir=* | --datadi=* | --datad=*)
962 datadir=$ac_optarg ;;
964 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
965 | --dataroo | --dataro | --datar)
966 ac_prev=datarootdir ;;
967 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
968 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
969 datarootdir=$ac_optarg ;;
971 -disable-* | --disable-*)
972 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
975 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
976 { (exit 1); exit 1; }; }
977 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
978 eval enable_$ac_feature=no ;;
980 -docdir | --docdir | --docdi | --doc | --do)
982 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990 -enable-* | --enable-*)
991 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
994 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
995 { (exit 1); exit 1; }; }
996 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
997 eval enable_$ac_feature=\$ac_optarg ;;
999 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1000 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1001 | --exec | --exe | --ex)
1002 ac_prev=exec_prefix ;;
1003 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1004 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1005 | --exec=* | --exe=* | --ex=*)
1006 exec_prefix=$ac_optarg ;;
1008 -gas | --gas | --ga | --g)
1009 # Obsolete; use --with-gas.
1012 -help | --help | --hel | --he | -h)
1013 ac_init_help=long ;;
1014 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1015 ac_init_help=recursive ;;
1016 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1017 ac_init_help=short ;;
1019 -host | --host | --hos | --ho)
1020 ac_prev=host_alias ;;
1021 -host=* | --host=* | --hos=* | --ho=*)
1022 host_alias=$ac_optarg ;;
1024 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1026 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1028 htmldir=$ac_optarg ;;
1030 -includedir | --includedir | --includedi | --included | --include \
1031 | --includ | --inclu | --incl | --inc)
1032 ac_prev=includedir ;;
1033 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1034 | --includ=* | --inclu=* | --incl=* | --inc=*)
1035 includedir=$ac_optarg ;;
1037 -infodir | --infodir | --infodi | --infod | --info | --inf)
1039 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1040 infodir=$ac_optarg ;;
1042 -libdir | --libdir | --libdi | --libd)
1044 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1045 libdir=$ac_optarg ;;
1047 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1048 | --libexe | --libex | --libe)
1049 ac_prev=libexecdir ;;
1050 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1051 | --libexe=* | --libex=* | --libe=*)
1052 libexecdir=$ac_optarg ;;
1054 -localedir | --localedir | --localedi | --localed | --locale)
1055 ac_prev=localedir ;;
1056 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1057 localedir=$ac_optarg ;;
1059 -localstatedir | --localstatedir | --localstatedi | --localstated \
1060 | --localstate | --localstat | --localsta | --localst | --locals)
1061 ac_prev=localstatedir ;;
1062 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1063 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1064 localstatedir=$ac_optarg ;;
1066 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1068 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1069 mandir=$ac_optarg ;;
1071 -nfp | --nfp | --nf)
1072 # Obsolete; use --without-fp.
1075 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1076 | --no-cr | --no-c | -n)
1079 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1080 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1084 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1085 | --oldin | --oldi | --old | --ol | --o)
1086 ac_prev=oldincludedir ;;
1087 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1088 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1089 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1090 oldincludedir=$ac_optarg ;;
1092 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1094 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1095 prefix=$ac_optarg ;;
1097 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1098 | --program-pre | --program-pr | --program-p)
1099 ac_prev=program_prefix ;;
1100 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1101 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1102 program_prefix=$ac_optarg ;;
1104 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1105 | --program-suf | --program-su | --program-s)
1106 ac_prev=program_suffix ;;
1107 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1108 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1109 program_suffix=$ac_optarg ;;
1111 -program-transform-name | --program-transform-name \
1112 | --program-transform-nam | --program-transform-na \
1113 | --program-transform-n | --program-transform- \
1114 | --program-transform | --program-transfor \
1115 | --program-transfo | --program-transf \
1116 | --program-trans | --program-tran \
1117 | --progr-tra | --program-tr | --program-t)
1118 ac_prev=program_transform_name ;;
1119 -program-transform-name=* | --program-transform-name=* \
1120 | --program-transform-nam=* | --program-transform-na=* \
1121 | --program-transform-n=* | --program-transform-=* \
1122 | --program-transform=* | --program-transfor=* \
1123 | --program-transfo=* | --program-transf=* \
1124 | --program-trans=* | --program-tran=* \
1125 | --progr-tra=* | --program-tr=* | --program-t=*)
1126 program_transform_name=$ac_optarg ;;
1128 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1130 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1131 pdfdir=$ac_optarg ;;
1133 -psdir | --psdir | --psdi | --psd | --ps)
1135 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1139 | -silent | --silent | --silen | --sile | --sil)
1142 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1144 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1146 sbindir=$ac_optarg ;;
1148 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1149 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1150 | --sharedst | --shareds | --shared | --share | --shar \
1152 ac_prev=sharedstatedir ;;
1153 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1154 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1155 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1157 sharedstatedir=$ac_optarg ;;
1159 -site | --site | --sit)
1161 -site=* | --site=* | --sit=*)
1164 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1166 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1167 srcdir=$ac_optarg ;;
1169 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1170 | --syscon | --sysco | --sysc | --sys | --sy)
1171 ac_prev=sysconfdir ;;
1172 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1173 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1174 sysconfdir=$ac_optarg ;;
1176 -target | --target | --targe | --targ | --tar | --ta | --t)
1177 ac_prev=target_alias ;;
1178 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1179 target_alias=$ac_optarg ;;
1181 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1184 -version | --version | --versio | --versi | --vers | -V)
1185 ac_init_version=: ;;
1188 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1191 { echo "$as_me: error: invalid package name: $ac_package" >&2
1192 { (exit 1); exit 1; }; }
1193 ac_package=`echo $ac_package| sed 's/-/_/g'`
1194 eval with_$ac_package=\$ac_optarg ;;
1196 -without-* | --without-*)
1197 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1200 { echo "$as_me: error: invalid package name: $ac_package" >&2
1201 { (exit 1); exit 1; }; }
1202 ac_package=`echo $ac_package | sed 's/-/_/g'`
1203 eval with_$ac_package=no ;;
1206 # Obsolete; use --with-x.
1209 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1210 | --x-incl | --x-inc | --x-in | --x-i)
1211 ac_prev=x_includes ;;
1212 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1213 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1214 x_includes=$ac_optarg ;;
1216 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1217 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1218 ac_prev=x_libraries ;;
1219 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1220 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1221 x_libraries=$ac_optarg ;;
1223 -*) { echo "$as_me: error: unrecognized option: $ac_option
1224 Try \`$0 --help' for more information." >&2
1225 { (exit 1); exit 1; }; }
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1232 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1233 { (exit 1); exit 1; }; }
1234 eval $ac_envvar=\$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1248 if test -n "$ac_prev"; then
1249 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1250 { echo "$as_me: error: missing argument to $ac_option" >&2
1251 { (exit 1); exit 1; }; }
1254 # Be sure to have absolute directory names.
1255 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val=\$$ac_var
1262 [\\/$]* | ?:[\\/]* ) continue;;
1263 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1265 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1266 { (exit 1); exit 1; }; }
1269 # There might be people who depend on the old broken behavior: `$host'
1270 # used to hold the argument of --host etc.
1271 # FIXME: To remove some day.
1274 target=$target_alias
1276 # FIXME: To remove some day.
1277 if test "x$host_alias" != x; then
1278 if test "x$build_alias" = x; then
1279 cross_compiling=maybe
1280 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1281 If a cross compiler is detected then cross compile mode will be used." >&2
1282 elif test "x$build_alias" != "x$host_alias"; then
1288 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1290 test "$silent" = yes && exec 6>/dev/null
1293 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1294 ac_ls_di=`ls -di .` &&
1295 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1296 { echo "$as_me: error: Working directory cannot be determined" >&2
1297 { (exit 1); exit 1; }; }
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 { echo "$as_me: error: pwd does not report name of working directory" >&2
1300 { (exit 1); exit 1; }; }
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir=`$as_dirname -- "$0" ||
1308 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$0" : 'X\(//\)[^/]' \| \
1310 X"$0" : 'X\(//\)$' \| \
1311 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1339 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1340 { (exit 1); exit 1; }; }
1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1345 { (exit 1); exit 1; }; }
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var in $ac_precious_vars; do
1358 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_${ac_var}_value=\$${ac_var}
1360 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures this package to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1434 --build=BUILD configure for building on BUILD [guessed]
1435 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1436 --target=TARGET configure for building compilers for TARGET [HOST]
1440 if test -n "$ac_init_help"; then
1445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1447 --disable-dependency-tracking Speeds up one-time builds
1448 --enable-dependency-tracking Do not reject slow dependency extractors
1449 --enable-shared[=PKGS] build shared libraries [default=yes]
1450 --enable-static[=PKGS] build static libraries [default=yes]
1451 --enable-fast-install[=PKGS]
1452 optimize for fast installation [default=yes]
1453 --disable-libtool-lock avoid locking (might break parallel builds)
1454 --enable-debug=LEVEL enables debug symbols default=2
1455 --enable-profile enables profiling
1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1460 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1461 --with-pic try to use only PIC/non-PIC objects [default=use
1463 --with-tags[=TAGS] include additional configurations [automatic]
1464 --with-stlport=BASEDIR use STLport
1465 --with-stlport-includes=DIR where the STLport includes are
1466 --with-stlport-libraries=DIR where STLport library is installed
1467 --with-stlport-libname=NAME STLport lib base name
1469 Some influential environment variables:
1470 CC C compiler command
1471 CFLAGS C compiler flags
1472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1473 nonstandard directory <lib dir>
1474 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1475 you have headers in a nonstandard directory <include dir>
1477 CXX C++ compiler command
1478 CXXFLAGS C++ compiler flags
1479 CXXCPP C++ preprocessor
1480 F77 Fortran 77 compiler command
1481 FFLAGS Fortran 77 compiler flags
1483 Use these variables to override the choices made by `configure' or to help
1484 it to find libraries and programs with nonstandard names/locations.
1490 if test "$ac_init_help" = "recursive"; then
1491 # If there are subdirs, report their specific --help.
1492 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1493 test -d "$ac_dir" || continue
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1500 # A ".." for each directory in $ac_dir_suffix.
1501 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1502 case $ac_top_builddir_sub in
1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1513 .) # We are building in place.
1515 ac_top_srcdir=$ac_top_builddir_sub
1516 ac_abs_top_srcdir=$ac_pwd ;;
1517 [\\/]* | ?:[\\/]* ) # Absolute name.
1518 ac_srcdir=$srcdir$ac_dir_suffix;
1519 ac_top_srcdir=$srcdir
1520 ac_abs_top_srcdir=$srcdir ;;
1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1528 cd "$ac_dir" || { ac_status=$?; continue; }
1529 # Check for guested configure.
1530 if test -f "$ac_srcdir/configure.gnu"; then
1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 elif test -f "$ac_srcdir/configure"; then
1535 $SHELL "$ac_srcdir/configure" --help=recursive
1537 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539 cd "$ac_pwd" || { ac_status=$?; break; }
1543 test -n "$ac_init_help" && exit $ac_status
1544 if $ac_init_version; then
1547 generated by GNU Autoconf 2.60
1549 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1550 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1556 cat >config.log <<_ACEOF
1557 This file contains any messages produced by compilers while
1558 running configure, to aid debugging if configure makes a mistake.
1560 It was created by $as_me, which was
1561 generated by GNU Autoconf 2.60. Invocation command line was
1573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 echo "PATH: $as_dir"
1613 # Keep a trace of the command line.
1614 # Strip out --no-create and --no-recursion so they do not pile up.
1615 # Strip out --silent because we don't want to record it for future runs.
1616 # Also quote any args containing shell meta-characters.
1617 # Make two passes to allow for proper duplicate-argument suppression.
1621 ac_must_keep_next=false
1627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1629 | -silent | --silent | --silen | --sile | --sil)
1632 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1635 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1637 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1638 if test $ac_must_keep_next = true; then
1639 ac_must_keep_next=false # Got value, back to normal.
1642 *=* | --config-cache | -C | -disable-* | --disable-* \
1643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1645 | -with-* | --with-* | -without-* | --without-* | --x)
1646 case "$ac_configure_args0 " in
1647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1650 -* ) ac_must_keep_next=true ;;
1653 ac_configure_args="$ac_configure_args '$ac_arg'"
1658 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1659 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1661 # When interrupted or exit'd, cleanup temporary files, and complete
1662 # config.log. We remove comments because anyway the quotes in there
1663 # would cause problems or look ugly.
1664 # WARNING: Use '\'' to represent an apostrophe within the trap.
1665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1666 trap 'exit_status=$?
1667 # Save into config.log some information that might help in debugging.
1672 ## ---------------- ##
1673 ## Cache variables. ##
1674 ## ---------------- ##
1677 # The following way of writing the cache mishandles newlines in values,
1679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1680 eval ac_val=\$$ac_var
1684 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1685 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1688 _ | IFS | as_nl) ;; #(
1689 *) $as_unset $ac_var ;;
1694 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1695 *${as_nl}ac_space=\ *)
1697 "s/'\''/'\''\\\\'\'''\''/g;
1698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1709 ## ----------------- ##
1710 ## Output variables. ##
1711 ## ----------------- ##
1714 for ac_var in $ac_subst_vars
1716 eval ac_val=\$$ac_var
1718 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720 echo "$ac_var='\''$ac_val'\''"
1724 if test -n "$ac_subst_files"; then
1726 ## ------------------- ##
1727 ## File substitutions. ##
1728 ## ------------------- ##
1731 for ac_var in $ac_subst_files
1733 eval ac_val=\$$ac_var
1735 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1737 echo "$ac_var='\''$ac_val'\''"
1742 if test -s confdefs.h; then
1752 test "$ac_signal" != 0 &&
1753 echo "$as_me: caught signal $ac_signal"
1754 echo "$as_me: exit $exit_status"
1756 rm -f core *.core core.conftest.* &&
1757 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1760 for ac_signal in 1 2 13 15; do
1761 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1765 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1766 rm -f -r conftest* confdefs.h
1768 # Predefined preprocessor variables.
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_NAME "$PACKAGE_NAME"
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_STRING "$PACKAGE_STRING"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1795 # Let the site file select an alternate cache file if it wants to.
1796 # Prefer explicitly selected file to automatically selected ones.
1797 if test -n "$CONFIG_SITE"; then
1798 set x "$CONFIG_SITE"
1799 elif test "x$prefix" != xNONE; then
1800 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1802 set x "$ac_default_prefix/share/config.site" \
1803 "$ac_default_prefix/etc/config.site"
1808 if test -r "$ac_site_file"; then
1809 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1810 echo "$as_me: loading site script $ac_site_file" >&6;}
1811 sed 's/^/| /' "$ac_site_file" >&5
1816 if test -r "$cache_file"; then
1817 # Some versions of bash will fail to source /dev/null (special
1818 # files actually), so we avoid doing that.
1819 if test -f "$cache_file"; then
1820 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1821 echo "$as_me: loading cache $cache_file" >&6;}
1823 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1824 *) . "./$cache_file";;
1828 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1829 echo "$as_me: creating cache $cache_file" >&6;}
1833 # Check that the precious variables saved in the cache have kept the same
1835 ac_cache_corrupted=false
1836 for ac_var in $ac_precious_vars; do
1837 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1838 eval ac_new_set=\$ac_env_${ac_var}_set
1839 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1840 eval ac_new_val=\$ac_env_${ac_var}_value
1841 case $ac_old_set,$ac_new_set in
1843 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1844 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1845 ac_cache_corrupted=: ;;
1847 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1848 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1849 ac_cache_corrupted=: ;;
1852 if test "x$ac_old_val" != "x$ac_new_val"; then
1853 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1854 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1855 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1856 echo "$as_me: former value: $ac_old_val" >&2;}
1857 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1858 echo "$as_me: current value: $ac_new_val" >&2;}
1859 ac_cache_corrupted=:
1862 # Pass precious variables to config.status.
1863 if test "$ac_new_set" = set; then
1865 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1866 *) ac_arg=$ac_var=$ac_new_val ;;
1868 case " $ac_configure_args " in
1869 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1870 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1874 if $ac_cache_corrupted; then
1875 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1876 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1877 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1878 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1879 { (exit 1); exit 1; }; }
1899 ac_cpp='$CPP $CPPFLAGS'
1900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1907 if test -f "$ac_dir/install-sh"; then
1909 ac_install_sh="$ac_aux_dir/install-sh -c"
1911 elif test -f "$ac_dir/install.sh"; then
1913 ac_install_sh="$ac_aux_dir/install.sh -c"
1915 elif test -f "$ac_dir/shtool"; then
1917 ac_install_sh="$ac_aux_dir/shtool install -c"
1921 if test -z "$ac_aux_dir"; then
1922 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1923 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1924 { (exit 1); exit 1; }; }
1927 # These three variables are undocumented and unsupported,
1928 # and are intended to be withdrawn in a future Autoconf release.
1929 # They can cause serious problems if a builder's source tree is in a directory
1930 # whose full name contains unusual characters.
1931 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1932 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1933 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1936 # Make sure we can run config.sub.
1937 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1938 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1939 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1940 { (exit 1); exit 1; }; }
1942 { echo "$as_me:$LINENO: checking build system type" >&5
1943 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1944 if test "${ac_cv_build+set}" = set; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1947 ac_build_alias=$build_alias
1948 test "x$ac_build_alias" = x &&
1949 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1950 test "x$ac_build_alias" = x &&
1951 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1952 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1953 { (exit 1); exit 1; }; }
1954 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1955 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1956 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1957 { (exit 1); exit 1; }; }
1960 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1961 echo "${ECHO_T}$ac_cv_build" >&6; }
1962 case $ac_cv_build in
1964 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1965 echo "$as_me: error: invalid value of canonical build" >&2;}
1966 { (exit 1); exit 1; }; };;
1969 ac_save_IFS=$IFS; IFS='-'
1975 # Remember, the first character of IFS is used to create $*,
1976 # except with old shells:
1979 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1982 { echo "$as_me:$LINENO: checking host system type" >&5
1983 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1984 if test "${ac_cv_host+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 if test "x$host_alias" = x; then
1988 ac_cv_host=$ac_cv_build
1990 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1991 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1992 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1993 { (exit 1); exit 1; }; }
1997 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1998 echo "${ECHO_T}$ac_cv_host" >&6; }
2001 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2002 echo "$as_me: error: invalid value of canonical host" >&2;}
2003 { (exit 1); exit 1; }; };;
2006 ac_save_IFS=$IFS; IFS='-'
2012 # Remember, the first character of IFS is used to create $*,
2013 # except with old shells:
2016 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2019 { echo "$as_me:$LINENO: checking target system type" >&5
2020 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2021 if test "${ac_cv_target+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 if test "x$target_alias" = x; then
2025 ac_cv_target=$ac_cv_host
2027 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2028 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2029 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2030 { (exit 1); exit 1; }; }
2034 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2035 echo "${ECHO_T}$ac_cv_target" >&6; }
2036 case $ac_cv_target in
2038 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2039 echo "$as_me: error: invalid value of canonical target" >&2;}
2040 { (exit 1); exit 1; }; };;
2042 target=$ac_cv_target
2043 ac_save_IFS=$IFS; IFS='-'
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2053 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2056 # The aliases save the names the user supplied, while $host etc.
2057 # will get canonicalized.
2058 test -n "$target_alias" &&
2059 test "$program_prefix$program_suffix$program_transform_name" = \
2061 program_prefix=${target_alias}-
2063 am__api_version="1.6"
2064 # Find a good install program. We prefer a C program (faster),
2065 # so one script is as good as another. But avoid the broken or
2066 # incompatible versions:
2067 # SysV /etc/install, /usr/sbin/install
2068 # SunOS /usr/etc/install
2069 # IRIX /sbin/install
2071 # AmigaOS /C/install, which installs bootblocks on floppy discs
2072 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2073 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2074 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2075 # OS/2's system install, which has a completely different semantic
2076 # ./install, which can be erroneously created by make from ./install.sh.
2077 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2078 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2079 if test -z "$INSTALL"; then
2080 if test "${ac_cv_path_install+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 # Account for people who put trailing slashes in PATH elements.
2090 ./ | .// | /cC/* | \
2091 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2092 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2095 # OSF1 and SCO ODT 3.0 have their own names for install.
2096 # Don't use installbsd from OSF since it installs stuff as root
2098 for ac_prog in ginstall scoinst install; do
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
2101 if test $ac_prog = install &&
2102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2103 # AIX install. It has an incompatible calling convention.
2105 elif test $ac_prog = install &&
2106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2107 # program-specific install script used by HP pwplus--don't use.
2110 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2123 if test "${ac_cv_path_install+set}" = set; then
2124 INSTALL=$ac_cv_path_install
2126 # As a last resort, use the slow shell script. Don't cache a
2127 # value for INSTALL within a source directory, because that will
2128 # break other packages using the cache if that directory is
2129 # removed, or if the value is a relative name.
2130 INSTALL=$ac_install_sh
2133 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2134 echo "${ECHO_T}$INSTALL" >&6; }
2136 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2137 # It thinks the first close brace ends the variable substitution.
2138 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2140 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2142 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2144 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2145 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2148 echo timestamp > conftest.file
2149 # Do `set' in a subshell so we don't clobber the current shell's
2150 # arguments. Must try -L first in case configure is actually a
2151 # symlink; some systems play weird games with the mod time of symlinks
2152 # (eg FreeBSD returns the mod time of the symlink's containing
2155 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2156 if test "$*" = "X"; then
2158 set X `ls -t $srcdir/configure conftest.file`
2161 if test "$*" != "X $srcdir/configure conftest.file" \
2162 && test "$*" != "X conftest.file $srcdir/configure"; then
2164 # If neither matched, then we have a broken ls. This can happen
2165 # if, for instance, CONFIG_SHELL is bash and it inherits a
2166 # broken ls alias from the environment. This has actually
2167 # happened. Such a system could not be considered "sane".
2168 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2169 alias in your environment" >&5
2170 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2171 alias in your environment" >&2;}
2172 { (exit 1); exit 1; }; }
2175 test "$2" = conftest.file
2181 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2182 Check your system clock" >&5
2183 echo "$as_me: error: newly created file is older than distributed files!
2184 Check your system clock" >&2;}
2185 { (exit 1); exit 1; }; }
2187 { echo "$as_me:$LINENO: result: yes" >&5
2188 echo "${ECHO_T}yes" >&6; }
2189 test "$program_prefix" != NONE &&
2190 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2191 # Use a double $ so make ignores it.
2192 test "$program_suffix" != NONE &&
2193 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2194 # Double any \ or $. echo might interpret backslashes.
2195 # By default was `s,x,x', remove it if useless.
2196 cat <<\_ACEOF >conftest.sed
2197 s/[\\$]/&&/g;s/;s,x,x,$//
2199 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2203 # expand $ac_aux_dir to an absolute path
2204 am_aux_dir=`cd $ac_aux_dir && pwd`
2206 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2207 # Use eval to expand $SHELL
2208 if eval "$MISSING --run true"; then
2209 am_missing_run="$MISSING --run "
2212 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2213 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2216 for ac_prog in gawk mawk nawk awk
2218 # Extract the first word of "$ac_prog", so it can be a program name with args.
2219 set dummy $ac_prog; ac_word=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_AWK+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$AWK"; then
2226 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir=.
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_AWK="$ac_prog"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$AWK"; then
2247 { echo "$as_me:$LINENO: result: $AWK" >&5
2248 echo "${ECHO_T}$AWK" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2255 test -n "$AWK" && break
2258 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2259 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2260 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2261 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 cat >conftest.make <<\_ACEOF
2267 @echo '@@@%%%=$(MAKE)=@@@%%%'
2269 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2270 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2272 eval ac_cv_prog_make_${ac_make}_set=yes;;
2274 eval ac_cv_prog_make_${ac_make}_set=no;;
2278 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2279 { echo "$as_me:$LINENO: result: yes" >&5
2280 echo "${ECHO_T}yes" >&6; }
2283 { echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6; }
2285 SET_MAKE="MAKE=${MAKE-make}"
2288 # test to see if srcdir already configured
2289 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2290 test -f $srcdir/config.status; then
2291 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2292 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2293 { (exit 1); exit 1; }; }
2296 # Define the identity of the package.
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE "$PACKAGE"
2306 cat >>confdefs.h <<_ACEOF
2307 #define VERSION "$VERSION"
2310 # Some tools Automake needs.
2312 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2315 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2318 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2321 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2324 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2327 AMTAR=${AMTAR-"${am_missing_run}tar"}
2329 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2331 # Installed binaries are usually stripped using `strip' when the user
2332 # run `make install-strip'. However `strip' might not be the right
2333 # tool to use in cross-compilation environments, therefore Automake
2334 # will honor the `STRIP' environment variable to overrule this program.
2335 if test "$cross_compiling" != no; then
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2338 set dummy ${ac_tool_prefix}strip; ac_word=$2
2339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2341 if test "${ac_cv_prog_STRIP+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$STRIP"; then
2345 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 STRIP=$ac_cv_prog_STRIP
2365 if test -n "$STRIP"; then
2366 { echo "$as_me:$LINENO: result: $STRIP" >&5
2367 echo "${ECHO_T}$STRIP" >&6; }
2369 { echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6; }
2375 if test -z "$ac_cv_prog_STRIP"; then
2377 # Extract the first word of "strip", so it can be a program name with args.
2378 set dummy strip; 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_STRIP+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 if test -n "$ac_ct_STRIP"; then
2385 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_ac_ct_STRIP="strip"
2395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2405 if test -n "$ac_ct_STRIP"; then
2406 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2407 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2409 { echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6; }
2413 if test "x$ac_ct_STRIP" = x; then
2416 case $cross_compiling:$ac_tool_warned in
2418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2419 whose name does not start with the host triplet. If you think this
2420 configuration is useful to you, please write to autoconf@gnu.org." >&5
2421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2422 whose name does not start with the host triplet. If you think this
2423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2424 ac_tool_warned=yes ;;
2429 STRIP="$ac_cv_prog_STRIP"
2433 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2435 # We need awk for the "check" target. The system "awk" is bad on
2440 # Add the stamp file to the list of files AC keeps track of,
2441 # along with our hook.
2442 ac_config_headers="$ac_config_headers mimetic/config.h"
2448 ac_cpp='$CPP $CPPFLAGS'
2449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2454 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 if test -n "$CC"; then
2482 { echo "$as_me:$LINENO: result: $CC" >&5
2483 echo "${ECHO_T}$CC" >&6; }
2485 { echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6; }
2491 if test -z "$ac_cv_prog_CC"; then
2493 # Extract the first word of "gcc", so it can be a program name with args.
2494 set dummy gcc; ac_word=$2
2495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 if test -n "$ac_ct_CC"; then
2501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2510 ac_cv_prog_ac_ct_CC="gcc"
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521 if test -n "$ac_ct_CC"; then
2522 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2523 echo "${ECHO_T}$ac_ct_CC" >&6; }
2525 { echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6; }
2529 if test "x$ac_ct_CC" = x; then
2532 case $cross_compiling:$ac_tool_warned in
2534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2535 whose name does not start with the host triplet. If you think this
2536 configuration is useful to you, please write to autoconf@gnu.org." >&5
2537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2538 whose name does not start with the host triplet. If you think this
2539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2540 ac_tool_warned=yes ;;
2548 if test -z "$CC"; then
2549 if test -n "$ac_tool_prefix"; then
2550 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2551 set dummy ${ac_tool_prefix}cc; ac_word=$2
2552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2554 if test "${ac_cv_prog_CC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if test -n "$CC"; then
2558 ac_cv_prog_CC="$CC" # Let the user override the test.
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_CC="${ac_tool_prefix}cc"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 if test -n "$CC"; then
2579 { echo "$as_me:$LINENO: result: $CC" >&5
2580 echo "${ECHO_T}$CC" >&6; }
2582 { echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6; }
2589 if test -z "$CC"; then
2590 # Extract the first word of "cc", so it can be a program name with args.
2591 set dummy cc; ac_word=$2
2592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2594 if test "${ac_cv_prog_CC+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 if test -n "$CC"; then
2598 ac_cv_prog_CC="$CC" # Let the user override the test.
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2609 ac_prog_rejected=yes
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test $ac_prog_rejected = yes; then
2621 # We found a bogon in the path, so make sure we never use it.
2622 set dummy $ac_cv_prog_CC
2624 if test $# != 0; then
2625 # We chose a different compiler from the bogus one.
2626 # However, it has the same basename, so the bogon will be chosen
2627 # first if we set CC to just the basename; use the full file name.
2629 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2635 if test -n "$CC"; then
2636 { echo "$as_me:$LINENO: result: $CC" >&5
2637 echo "${ECHO_T}$CC" >&6; }
2639 { echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6; }
2645 if test -z "$CC"; then
2646 if test -n "$ac_tool_prefix"; then
2647 for ac_prog in cl.exe
2649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2653 if test "${ac_cv_prog_CC+set}" = set; then
2654 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 if test -n "$CC"; then
2657 ac_cv_prog_CC="$CC" # Let the user override the test.
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test -n "$CC"; then
2678 { echo "$as_me:$LINENO: result: $CC" >&5
2679 echo "${ECHO_T}$CC" >&6; }
2681 { echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6; }
2686 test -n "$CC" && break
2689 if test -z "$CC"; then
2691 for ac_prog in cl.exe
2693 # Extract the first word of "$ac_prog", so it can be a program name with args.
2694 set dummy $ac_prog; ac_word=$2
2695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 if test -n "$ac_ct_CC"; then
2701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 ac_cv_prog_ac_ct_CC="$ac_prog"
2711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2721 if test -n "$ac_ct_CC"; then
2722 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2723 echo "${ECHO_T}$ac_ct_CC" >&6; }
2725 { echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6; }
2730 test -n "$ac_ct_CC" && break
2733 if test "x$ac_ct_CC" = x; then
2736 case $cross_compiling:$ac_tool_warned in
2738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2739 whose name does not start with the host triplet. If you think this
2740 configuration is useful to you, please write to autoconf@gnu.org." >&5
2741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2742 whose name does not start with the host triplet. If you think this
2743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2744 ac_tool_warned=yes ;;
2753 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2754 See \`config.log' for more details." >&5
2755 echo "$as_me: error: no acceptable C compiler found in \$PATH
2756 See \`config.log' for more details." >&2;}
2757 { (exit 1); exit 1; }; }
2759 # Provide some information about the compiler.
2760 echo "$as_me:$LINENO: checking for C compiler version" >&5
2761 ac_compiler=`set X $ac_compile; echo $2`
2762 { (ac_try="$ac_compiler --version >&5"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compiler --version >&5") 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }
2772 { (ac_try="$ac_compiler -v >&5"
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2778 (eval "$ac_compiler -v >&5") 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }
2782 { (ac_try="$ac_compiler -V >&5"
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compiler -V >&5") 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }
2793 cat >conftest.$ac_ext <<_ACEOF
2796 cat confdefs.h >>conftest.$ac_ext
2797 cat >>conftest.$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2808 ac_clean_files_save=$ac_clean_files
2809 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2810 # Try to create an executable without -o first, disregard a.out.
2811 # It will help us diagnose broken compilers, and finding out an intuition
2813 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2815 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2817 # List of possible output files, starting from the most likely.
2818 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2819 # only as a last resort. b.out is created by i960 compilers.
2820 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2822 # The IRIX 6 linker writes into existing files which may not be
2823 # executable, retaining their permissions. Remove them first so a
2824 # subsequent execution test works.
2826 for ac_file in $ac_files
2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2830 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2835 if { (ac_try="$ac_link_default"
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_link_default") 2>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; then
2845 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2846 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2847 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2848 # so that the user can short-circuit this test for compilers unknown to
2850 for ac_file in $ac_files
2852 test -f "$ac_file" || continue
2854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2857 # We found the default executable, but exeext='' is most
2861 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2863 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865 # We set ac_cv_exeext here because the later test for it is not
2866 # safe: cross compilers may not add the suffix if given an `-o'
2867 # argument, so we may need to know it at that point already.
2868 # Even if this section looks crufty: it has the advantage of
2875 test "$ac_cv_exeext" = no && ac_cv_exeext=
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2882 See \`config.log' for more details." >&5
2883 echo "$as_me: error: C compiler cannot create executables
2884 See \`config.log' for more details." >&2;}
2885 { (exit 77); exit 77; }; }
2888 ac_exeext=$ac_cv_exeext
2889 { echo "$as_me:$LINENO: result: $ac_file" >&5
2890 echo "${ECHO_T}$ac_file" >&6; }
2892 # Check that the compiler produces executables we can run. If not, either
2893 # the compiler is broken, or we cross compile.
2894 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2895 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2897 # If not cross compiling, check that we can run a simple program.
2898 if test "$cross_compiling" != yes; then
2899 if { ac_try='./$ac_file'
2900 { (case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_try") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 if test "$cross_compiling" = maybe; then
2914 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2915 If you meant to cross compile, use \`--host'.
2916 See \`config.log' for more details." >&5
2917 echo "$as_me: error: cannot run C compiled programs.
2918 If you meant to cross compile, use \`--host'.
2919 See \`config.log' for more details." >&2;}
2920 { (exit 1); exit 1; }; }
2924 { echo "$as_me:$LINENO: result: yes" >&5
2925 echo "${ECHO_T}yes" >&6; }
2927 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2928 ac_clean_files=$ac_clean_files_save
2929 # Check that the compiler produces executables we can run. If not, either
2930 # the compiler is broken, or we cross compile.
2931 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2932 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2933 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2934 echo "${ECHO_T}$cross_compiling" >&6; }
2936 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2937 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2938 if { (ac_try="$ac_link"
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_link") 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2949 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2950 # work properly (i.e., refer to `conftest.exe'), while it won't with
2952 for ac_file in conftest.exe conftest conftest.*; do
2953 test -f "$ac_file" || continue
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2956 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2962 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2963 See \`config.log' for more details." >&5
2964 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2965 See \`config.log' for more details." >&2;}
2966 { (exit 1); exit 1; }; }
2969 rm -f conftest$ac_cv_exeext
2970 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2971 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2973 rm -f conftest.$ac_ext
2974 EXEEXT=$ac_cv_exeext
2976 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2977 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2978 if test "${ac_cv_objext+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2996 rm -f conftest.o conftest.obj
2997 if { (ac_try="$ac_compile"
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_compile") 2>&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; then
3007 for ac_file in conftest.o conftest.obj conftest.*; do
3008 test -f "$ac_file" || continue;
3010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3011 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3019 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3020 See \`config.log' for more details." >&5
3021 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3022 See \`config.log' for more details." >&2;}
3023 { (exit 1); exit 1; }; }
3026 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3028 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3029 echo "${ECHO_T}$ac_cv_objext" >&6; }
3030 OBJEXT=$ac_cv_objext
3032 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3033 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3034 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3055 rm -f conftest.$ac_objext
3056 if { (ac_try="$ac_compile"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_compile") 2>conftest.er1
3064 grep -v '^ *+' conftest.er1 >conftest.err
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3070 { (case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_try") 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }; } &&
3079 { ac_try='test -s conftest.$ac_objext'
3080 { (case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_try") 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3101 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3103 GCC=`test $ac_compiler_gnu = yes && echo yes`
3104 ac_test_CFLAGS=${CFLAGS+set}
3105 ac_save_CFLAGS=$CFLAGS
3106 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3107 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3108 if test "${ac_cv_prog_cc_g+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 ac_save_c_werror_flag=$ac_c_werror_flag
3112 ac_c_werror_flag=yes
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } &&
3144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3145 { (case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_try") 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; } &&
3154 { ac_try='test -s conftest.$ac_objext'
3155 { (case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_try") 2>&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; }; then
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3170 cat >conftest.$ac_ext <<_ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3185 rm -f conftest.$ac_objext
3186 if { (ac_try="$ac_compile"
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_compile") 2>conftest.er1
3194 grep -v '^ *+' conftest.er1 >conftest.err
3196 cat conftest.err >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } &&
3199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3200 { (case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_try") 2>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }; } &&
3209 { ac_try='test -s conftest.$ac_objext'
3210 { (case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_try") 2>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_c_werror_flag=$ac_save_c_werror_flag
3226 cat >conftest.$ac_ext <<_ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3248 (eval "$ac_compile") 2>conftest.er1
3250 grep -v '^ *+' conftest.er1 >conftest.err
3252 cat conftest.err >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } &&
3255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3256 { (case "(($ac_try" in
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261 (eval "$ac_try") 2>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try='test -s conftest.$ac_objext'
3266 { (case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_try") 2>&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3294 if test "$ac_test_CFLAGS" = set; then
3295 CFLAGS=$ac_save_CFLAGS
3296 elif test $ac_cv_prog_cc_g = yes; then
3297 if test "$GCC" = yes; then
3303 if test "$GCC" = yes; then
3309 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3310 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3311 if test "${ac_cv_prog_cc_c89+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 ac_cv_prog_cc_c89=no
3316 cat >conftest.$ac_ext <<_ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 #include <sys/types.h>
3325 #include <sys/stat.h>
3326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3327 struct buf { int x; };
3328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3329 static char *e (p, i)
3335 static char *f (char * (*g) (char **, int), char **p, ...)
3340 s = g (p, va_arg (v,int));
3345 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3346 function prototypes and stuff, but not '\xHH' hex character constants.
3347 These don't provoke an error unfortunately, instead are silently treated
3348 as 'x'. The following induces an error, until -std is added to get
3349 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3350 array size at least. It's necessary to write '\x00'==0 to get something
3351 that's true only with -std. */
3352 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3354 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3355 inside strings and character constants. */
3357 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3359 int test (int i, double x);
3360 struct s1 {int (*f) (int a);};
3361 struct s2 {int (*f) (double a);};
3362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3373 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3374 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3376 CC="$ac_save_CC $ac_arg"
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } &&
3391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3392 { (case "(($ac_try" in
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3397 (eval "$ac_try") 2>&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); }; } &&
3401 { ac_try='test -s conftest.$ac_objext'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3411 ac_cv_prog_cc_c89=$ac_arg
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3419 rm -f core conftest.err conftest.$ac_objext
3420 test "x$ac_cv_prog_cc_c89" != "xno" && break
3422 rm -f conftest.$ac_ext
3427 case "x$ac_cv_prog_cc_c89" in
3429 { echo "$as_me:$LINENO: result: none needed" >&5
3430 echo "${ECHO_T}none needed" >&6; } ;;
3432 { echo "$as_me:$LINENO: result: unsupported" >&5
3433 echo "${ECHO_T}unsupported" >&6; } ;;
3435 CC="$CC $ac_cv_prog_cc_c89"
3436 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3437 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3442 ac_cpp='$CPP $CPPFLAGS'
3443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 rm -f .deps 2>/dev/null
3447 mkdir .deps 2>/dev/null
3448 if test -d .deps; then
3451 # MS-DOS does not allow filenames that begin with a dot.
3454 rmdir .deps 2>/dev/null
3457 ac_config_commands="$ac_config_commands depfiles"
3460 am_make=${MAKE-make}
3461 cat > confinc << 'END'
3465 # If we don't find an include directive, just comment out the code.
3466 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3467 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3471 # First try GNU make style include.
3472 echo "include confinc" > confmf
3473 # We grep out `Entering directory' and `Leaving directory'
3474 # messages which can occur if `w' ends up in MAKEFLAGS.
3475 # In particular we don't look at `^make:' because GNU make might
3476 # be invoked under some other name (usually "gmake"), in which
3477 # case it prints its new name instead of `make'.
3478 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3483 # Now try BSD make style include.
3484 if test "$am__include" = "#"; then
3485 echo '.include "confinc"' > confmf
3486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3487 am__include=.include
3494 { echo "$as_me:$LINENO: result: $_am_result" >&5
3495 echo "${ECHO_T}$_am_result" >&6; }
3496 rm -f confinc confmf
3498 # Check whether --enable-dependency-tracking was given.
3499 if test "${enable_dependency_tracking+set}" = set; then
3500 enableval=$enable_dependency_tracking;
3503 if test "x$enable_dependency_tracking" != xno; then
3504 am_depcomp="$ac_aux_dir/depcomp"
3509 if test "x$enable_dependency_tracking" != xno; then
3520 depcc="$CC" am_compiler_list=
3522 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3523 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528 # We make a subdir and do the tests there. Otherwise we can end up
3529 # making bogus files that we don't know about and never remove. For
3530 # instance it was reported that on HP-UX the gcc test will end up
3531 # making a dummy file named `D' -- because `-MD' means `put the output
3534 # Copy depcomp to subdir because otherwise we won't find it if we're
3535 # using a relative directory.
3536 cp "$am_depcomp" conftest.dir
3539 am_cv_CC_dependencies_compiler_type=none
3540 if test "$am_compiler_list" = ""; then
3541 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3543 for depmode in $am_compiler_list; do
3544 # We need to recreate these files for each test, as the compiler may
3545 # overwrite some of them when testing with obscure command lines.
3546 # This happens at least with the AIX C compiler.
3547 echo '#include "conftest.h"' > conftest.c
3548 echo 'int i;' > conftest.h
3549 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3553 # after this tag, mechanisms are not by side-effect, so they'll
3554 # only be used when explicitly requested
3555 if test "x$enable_dependency_tracking" = xyes; then
3563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3564 # mode. It turns out that the SunPro C++ compiler does not properly
3565 # handle `-M -o', and we need to detect this.
3566 if depmode=$depmode \
3567 source=conftest.c object=conftest.o \
3568 depfile=conftest.Po tmpdepfile=conftest.TPo \
3569 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3570 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3571 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3572 am_cv_CC_dependencies_compiler_type=$depmode
3580 am_cv_CC_dependencies_compiler_type=none
3584 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3585 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3586 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3589 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3590 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3591 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3592 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 cat >conftest.make <<\_ACEOF
3598 @echo '@@@%%%=$(MAKE)=@@@%%%'
3600 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3601 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3603 eval ac_cv_prog_make_${ac_make}_set=yes;;
3605 eval ac_cv_prog_make_${ac_make}_set=no;;
3609 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3610 { echo "$as_me:$LINENO: result: yes" >&5
3611 echo "${ECHO_T}yes" >&6; }
3614 { echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6; }
3616 SET_MAKE="MAKE=${MAKE-make}"
3619 # Check whether --enable-shared was given.
3620 if test "${enable_shared+set}" = set; then
3621 enableval=$enable_shared; p=${PACKAGE-default}
3623 yes) enable_shared=yes ;;
3624 no) enable_shared=no ;;
3627 # Look at the argument we got. We use all the common list separators.
3628 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3629 for pkg in $enableval; do
3631 if test "X$pkg" = "X$p"; then
3643 # Check whether --enable-static was given.
3644 if test "${enable_static+set}" = set; then
3645 enableval=$enable_static; p=${PACKAGE-default}
3647 yes) enable_static=yes ;;
3648 no) enable_static=no ;;
3651 # Look at the argument we got. We use all the common list separators.
3652 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3653 for pkg in $enableval; do
3655 if test "X$pkg" = "X$p"; then
3667 # Check whether --enable-fast-install was given.
3668 if test "${enable_fast_install+set}" = set; then
3669 enableval=$enable_fast_install; p=${PACKAGE-default}
3671 yes) enable_fast_install=yes ;;
3672 no) enable_fast_install=no ;;
3674 enable_fast_install=no
3675 # Look at the argument we got. We use all the common list separators.
3676 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3677 for pkg in $enableval; do
3679 if test "X$pkg" = "X$p"; then
3680 enable_fast_install=yes
3687 enable_fast_install=yes
3691 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3692 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3693 if test "${lt_cv_path_SED+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 # Loop through the user's path and test for sed and gsed.
3697 # Then use that list of sed's as ones to test for truncation.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for lt_ac_prog in sed gsed; do
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3706 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3713 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3714 # along with /bin/sed that truncates output.
3715 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3716 test ! -f $lt_ac_sed && break
3717 cat /dev/null > conftest.in
3719 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3720 # Check for GNU sed and select it if it is found.
3721 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3722 lt_cv_path_SED=$lt_ac_sed
3726 cat conftest.in conftest.in >conftest.tmp
3727 mv conftest.tmp conftest.in
3728 cp conftest.in conftest.nl
3730 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3731 cmp -s conftest.out conftest.nl || break
3732 # 10000 chars as input seems more than enough
3733 test $lt_ac_count -gt 10 && break
3734 lt_ac_count=`expr $lt_ac_count + 1`
3735 if test $lt_ac_count -gt $lt_ac_max; then
3736 lt_ac_max=$lt_ac_count
3737 lt_cv_path_SED=$lt_ac_sed
3745 { echo "$as_me:$LINENO: result: $SED" >&5
3746 echo "${ECHO_T}$SED" >&6; }
3748 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3749 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3750 if test "${ac_cv_path_GREP+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 # Extract the first word of "grep ggrep" to use in msg output
3754 if test -z "$GREP"; then
3755 set dummy grep ggrep; ac_prog_name=$2
3756 if test "${ac_cv_path_GREP+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 ac_path_GREP_found=false
3760 # Loop through the user's path and test for each of PROGNAME-LIST
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3765 test -z "$as_dir" && as_dir=.
3766 for ac_prog in grep ggrep; do
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3769 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3770 # Check for GNU ac_path_GREP and select it if it is found.
3771 # Check for GNU $ac_path_GREP
3772 case `"$ac_path_GREP" --version 2>&1` in
3774 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3780 cat "conftest.in" "conftest.in" >"conftest.tmp"
3781 mv "conftest.tmp" "conftest.in"
3782 cp "conftest.in" "conftest.nl"
3783 echo 'GREP' >> "conftest.nl"
3784 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3786 ac_count=`expr $ac_count + 1`
3787 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3788 # Best one so far, save it but keep looking for a better one
3789 ac_cv_path_GREP="$ac_path_GREP"
3790 ac_path_GREP_max=$ac_count
3792 # 10*(2^10) chars as input seems more than enough
3793 test $ac_count -gt 10 && break
3795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3799 $ac_path_GREP_found && break 3
3809 GREP="$ac_cv_path_GREP"
3810 if test -z "$GREP"; then
3811 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3812 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3813 { (exit 1); exit 1; }; }
3817 ac_cv_path_GREP=$GREP
3822 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3823 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3824 GREP="$ac_cv_path_GREP"
3827 { echo "$as_me:$LINENO: checking for egrep" >&5
3828 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3829 if test "${ac_cv_path_EGREP+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3833 then ac_cv_path_EGREP="$GREP -E"
3835 # Extract the first word of "egrep" to use in msg output
3836 if test -z "$EGREP"; then
3837 set dummy egrep; ac_prog_name=$2
3838 if test "${ac_cv_path_EGREP+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 ac_path_EGREP_found=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3847 test -z "$as_dir" && as_dir=.
3848 for ac_prog in egrep; do
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3851 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3852 # Check for GNU ac_path_EGREP and select it if it is found.
3853 # Check for GNU $ac_path_EGREP
3854 case `"$ac_path_EGREP" --version 2>&1` in
3856 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3859 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 echo 'EGREP' >> "conftest.nl"
3866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3867 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3868 ac_count=`expr $ac_count + 1`
3869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_EGREP="$ac_path_EGREP"
3872 ac_path_EGREP_max=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3881 $ac_path_EGREP_found && break 3
3891 EGREP="$ac_cv_path_EGREP"
3892 if test -z "$EGREP"; then
3893 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3894 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3895 { (exit 1); exit 1; }; }
3899 ac_cv_path_EGREP=$EGREP
3905 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3906 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3907 EGREP="$ac_cv_path_EGREP"
3911 # Check whether --with-gnu-ld was given.
3912 if test "${with_gnu_ld+set}" = set; then
3913 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3919 if test "$GCC" = yes; then
3920 # Check if gcc -print-prog-name=ld gives a path.
3921 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3922 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3925 # gcc leaves a trailing carriage return which upsets mingw
3926 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3928 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3931 # Accept absolute paths.
3933 re_direlt='/[^/][^/]*/\.\./'
3934 # Canonicalize the path of ld
3935 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3936 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3937 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3939 test -z "$LD" && LD="$ac_prog"
3942 # If it fails, then pretend we aren't using GCC.
3946 # If it is relative, then search for the first ld in PATH.
3950 elif test "$with_gnu_ld" = yes; then
3951 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3952 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3954 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3955 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3957 if test "${lt_cv_path_LD+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 if test -z "$LD"; then
3961 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3962 for ac_dir in $PATH; do
3964 test -z "$ac_dir" && ac_dir=.
3965 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3966 lt_cv_path_LD="$ac_dir/$ac_prog"
3967 # Check to see if the program is GNU ld. I'd rather use --version,
3968 # but apparently some GNU ld's only accept -v.
3969 # Break only if it was the GNU/non-GNU ld that we prefer.
3970 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3971 *GNU* | *'with BFD'*)
3972 test "$with_gnu_ld" != no && break
3975 test "$with_gnu_ld" != yes && break
3982 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3987 if test -n "$LD"; then
3988 { echo "$as_me:$LINENO: result: $LD" >&5
3989 echo "${ECHO_T}$LD" >&6; }
3991 { echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6; }
3994 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3995 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3996 { (exit 1); exit 1; }; }
3997 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3998 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3999 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4003 case `"$LD" -v 2>&1 </dev/null` in
4004 *GNU* | *'with BFD'*)
4005 lt_cv_prog_gnu_ld=yes
4008 lt_cv_prog_gnu_ld=no
4012 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4013 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4014 with_gnu_ld=$lt_cv_prog_gnu_ld
4017 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4018 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4019 if test "${lt_cv_ld_reload_flag+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 lt_cv_ld_reload_flag='-r'
4024 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4025 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4026 reload_flag=$lt_cv_ld_reload_flag
4027 case $reload_flag in
4029 *) reload_flag=" $reload_flag" ;;
4031 reload_cmds='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs'
4033 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4034 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4035 if test "${lt_cv_path_NM+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 if test -n "$NM"; then
4039 # Let the user override the test.
4042 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4043 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4045 test -z "$ac_dir" && ac_dir=.
4046 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4047 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4048 # Check to see if the nm accepts a BSD-compat flag.
4049 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4050 # nm: unknown option "B" ignored
4051 # Tru64's nm complains that /dev/null is an invalid object file
4052 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4053 */dev/null* | *'Invalid file or object type'*)
4054 lt_cv_path_NM="$tmp_nm -B"
4058 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4060 lt_cv_path_NM="$tmp_nm -p"
4064 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4065 continue # so that we can try to find one that supports BSD flags
4072 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4075 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4076 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4079 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4080 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4082 if test "$LN_S" = "ln -s"; then
4083 { echo "$as_me:$LINENO: result: yes" >&5
4084 echo "${ECHO_T}yes" >&6; }
4086 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4087 echo "${ECHO_T}no, using $LN_S" >&6; }
4090 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4091 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4092 if test "${lt_cv_deplibs_check_method+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 lt_cv_file_magic_cmd='$MAGIC_CMD'
4096 lt_cv_file_magic_test_file=
4097 lt_cv_deplibs_check_method='unknown'
4098 # Need to set the preceding variable on all platforms that support
4099 # interlibrary dependencies.
4100 # 'none' -- dependencies not supported.
4101 # `unknown' -- same as none, but documents that we really don't know.
4102 # 'pass_all' -- all dependencies passed with no checks.
4103 # 'test_compile' -- check by making test program.
4104 # 'file_magic [[regex]]' -- check by looking for files in library path
4105 # which responds to the $file_magic_cmd with a given extended regex.
4106 # If you have `file' or equivalent on your system and you're not sure
4107 # whether `pass_all' will *always* work, you probably want this one.
4111 lt_cv_deplibs_check_method=pass_all
4115 lt_cv_deplibs_check_method=pass_all
4119 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4120 lt_cv_file_magic_cmd='/usr/bin/file -L'
4121 lt_cv_file_magic_test_file=/shlib/libc.so
4124 cygwin* | mingw* | pw32*)
4125 # win32_libid is a shell function defined in ltmain.sh
4126 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4127 lt_cv_file_magic_cmd='win32_libid'
4130 darwin* | rhapsody*)
4131 # this will be overwritten by pass_all, but leave it in just in case
4132 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4133 lt_cv_file_magic_cmd='/usr/bin/file -L'
4135 rhapsody* | darwin1.[012])
4136 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4139 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4142 lt_cv_deplibs_check_method=pass_all
4146 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4149 # Not sure whether the presence of OpenBSD here was a mistake.
4150 # Let's accept both of them until this is cleared up.
4151 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4152 lt_cv_file_magic_cmd=/usr/bin/file
4153 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4157 lt_cv_deplibs_check_method=pass_all
4162 lt_cv_deplibs_check_method=pass_all
4165 hpux10.20* | hpux11*)
4166 lt_cv_file_magic_cmd=/usr/bin/file
4169 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4170 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4173 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4174 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4177 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4178 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4183 irix5* | irix6* | nonstopux*)
4185 irix5* | nonstopux*)
4186 # this will be overridden with pass_all, but let us keep it just in case
4187 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4191 *-32|*"-32 ") libmagic=32-bit;;
4192 *-n32|*"-n32 ") libmagic=N32;;
4193 *-64|*"-64 ") libmagic=64-bit;;
4194 *) libmagic=never-match;;
4196 # this will be overridden with pass_all, but let us keep it just in case
4197 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4200 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4201 lt_cv_deplibs_check_method=pass_all
4204 # This must be Linux ELF.
4207 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4208 lt_cv_deplibs_check_method=pass_all ;;
4210 # glibc up to 2.1.1 does not perform some relocations on ARM
4211 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4213 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4217 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4225 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4226 lt_cv_file_magic_cmd=/usr/bin/file
4227 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4231 lt_cv_deplibs_check_method=unknown
4235 lt_cv_file_magic_cmd=/usr/bin/file
4236 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4237 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4238 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4240 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4244 osf3* | osf4* | osf5*)
4245 # this will be overridden with pass_all, but let us keep it just in case
4246 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4247 lt_cv_file_magic_test_file=/shlib/libc.so
4248 lt_cv_deplibs_check_method=pass_all
4252 lt_cv_deplibs_check_method=pass_all
4256 lt_cv_deplibs_check_method=pass_all
4257 lt_cv_file_magic_test_file=/lib/libc.so
4260 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4261 case $host_vendor in
4263 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]'
4264 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4267 lt_cv_deplibs_check_method=pass_all
4270 lt_cv_file_magic_cmd='/bin/file'
4271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4274 lt_cv_file_magic_cmd='/bin/file'
4275 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4276 lt_cv_file_magic_test_file=/lib/libc.so
4279 lt_cv_deplibs_check_method=pass_all
4284 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4285 lt_cv_deplibs_check_method=pass_all
4290 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4291 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4292 file_magic_cmd=$lt_cv_file_magic_cmd
4293 deplibs_check_method=$lt_cv_deplibs_check_method
4294 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4299 # If no C compiler was specified, use CC.
4302 # Allow CC to be a program name with arguments.
4306 # Check whether --enable-libtool-lock was given.
4307 if test "${enable_libtool_lock+set}" = set; then
4308 enableval=$enable_libtool_lock;
4311 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4313 # Some flags need to be propagated to the compiler or linker for good
4317 # Find out which ABI we are using.
4318 echo 'int i;' > conftest.$ac_ext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4320 (eval $ac_compile) 2>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; then
4324 case `/usr/bin/file conftest.$ac_objext` in
4336 # Find out which ABI we are using.
4337 echo '#line 4337 "configure"' > conftest.$ac_ext
4338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4339 (eval $ac_compile) 2>&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; then
4343 if test "$lt_cv_prog_gnu_ld" = yes; then
4344 case `/usr/bin/file conftest.$ac_objext` in
4346 LD="${LD-ld} -melf32bsmip"
4349 LD="${LD-ld} -melf32bmipn32"
4352 LD="${LD-ld} -melf64bmip"
4356 case `/usr/bin/file conftest.$ac_objext` in
4372 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4373 # Find out which ABI we are using.
4374 echo 'int i;' > conftest.$ac_ext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4376 (eval $ac_compile) 2>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; then
4380 case "`/usr/bin/file conftest.o`" in
4384 LD="${LD-ld} -m elf_i386"
4387 LD="${LD-ld} -m elf32ppclinux"
4390 LD="${LD-ld} -m elf_s390"
4393 LD="${LD-ld} -m elf32_sparc"
4400 LD="${LD-ld} -m elf_x86_64"
4402 ppc*-*linux*|powerpc*-*linux*)
4403 LD="${LD-ld} -m elf64ppc"
4406 LD="${LD-ld} -m elf64_s390"
4409 LD="${LD-ld} -m elf64_sparc"
4419 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4420 SAVE_CFLAGS="$CFLAGS"
4421 CFLAGS="$CFLAGS -belf"
4422 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4423 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4424 if test "${lt_cv_cc_needs_belf+set}" = set; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 cat >conftest.$ac_ext <<_ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4448 rm -f conftest.$ac_objext conftest$ac_exeext
4449 if { (ac_try="$ac_link"
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_link") 2>conftest.er1
4457 grep -v '^ *+' conftest.er1 >conftest.err
4459 cat conftest.err >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4463 { (case "(($ac_try" in
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4468 (eval "$ac_try") 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; } &&
4472 { ac_try='test -s conftest$ac_exeext'
4473 { (case "(($ac_try" in
4474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478 (eval "$ac_try") 2>&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 lt_cv_cc_needs_belf=yes
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4487 lt_cv_cc_needs_belf=no
4490 rm -f core conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4499 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4500 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4501 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4502 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4503 CFLAGS="$SAVE_CFLAGS"
4509 need_locks="$enable_libtool_lock"
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4518 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4519 # On Suns, sometimes $CPP names a directory.
4520 if test -n "$CPP" && test -d "$CPP"; then
4523 if test -z "$CPP"; then
4524 if test "${ac_cv_prog_CPP+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 # Double quotes because CPP needs to be expanded
4528 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4531 for ac_c_preproc_warn_flag in '' yes
4533 # Use a header file that comes with gcc, so configuring glibc
4534 # with a fresh cross-compiler works.
4535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4536 # <limits.h> exists even on freestanding compilers.
4537 # On the NeXT, cc -E runs the code through the compiler's parser,
4538 # not just through cpp. "Syntax error" is here to catch this case.
4539 cat >conftest.$ac_ext <<_ACEOF
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4546 # include <limits.h>
4548 # include <assert.h>
4552 if { (ac_try="$ac_cpp conftest.$ac_ext"
4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4560 grep -v '^ *+' conftest.er1 >conftest.err
4562 cat conftest.err >&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } >/dev/null; then
4565 if test -s conftest.err; then
4566 ac_cpp_err=$ac_c_preproc_warn_flag
4567 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4574 if test -z "$ac_cpp_err"; then
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4580 # Broken: fails on valid input.
4584 rm -f conftest.err conftest.$ac_ext
4586 # OK, works on sane cases. Now check whether nonexistent headers
4587 # can be detected and how.
4588 cat >conftest.$ac_ext <<_ACEOF
4591 cat confdefs.h >>conftest.$ac_ext
4592 cat >>conftest.$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4594 #include <ac_nonexistent.h>
4596 if { (ac_try="$ac_cpp conftest.$ac_ext"
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } >/dev/null; then
4609 if test -s conftest.err; then
4610 ac_cpp_err=$ac_c_preproc_warn_flag
4611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4618 if test -z "$ac_cpp_err"; then
4619 # Broken: success on invalid input.
4622 echo "$as_me: failed program was:" >&5
4623 sed 's/^/| /' conftest.$ac_ext >&5
4625 # Passes both tests.
4630 rm -f conftest.err conftest.$ac_ext
4633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4634 rm -f conftest.err conftest.$ac_ext
4635 if $ac_preproc_ok; then
4647 { echo "$as_me:$LINENO: result: $CPP" >&5
4648 echo "${ECHO_T}$CPP" >&6; }
4650 for ac_c_preproc_warn_flag in '' yes
4652 # Use a header file that comes with gcc, so configuring glibc
4653 # with a fresh cross-compiler works.
4654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4655 # <limits.h> exists even on freestanding compilers.
4656 # On the NeXT, cc -E runs the code through the compiler's parser,
4657 # not just through cpp. "Syntax error" is here to catch this case.
4658 cat >conftest.$ac_ext <<_ACEOF
4661 cat confdefs.h >>conftest.$ac_ext
4662 cat >>conftest.$ac_ext <<_ACEOF
4663 /* end confdefs.h. */
4665 # include <limits.h>
4667 # include <assert.h>
4671 if { (ac_try="$ac_cpp conftest.$ac_ext"
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } >/dev/null; then
4684 if test -s conftest.err; then
4685 ac_cpp_err=$ac_c_preproc_warn_flag
4686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4693 if test -z "$ac_cpp_err"; then
4696 echo "$as_me: failed program was:" >&5
4697 sed 's/^/| /' conftest.$ac_ext >&5
4699 # Broken: fails on valid input.
4703 rm -f conftest.err conftest.$ac_ext
4705 # OK, works on sane cases. Now check whether nonexistent headers
4706 # can be detected and how.
4707 cat >conftest.$ac_ext <<_ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4713 #include <ac_nonexistent.h>
4715 if { (ac_try="$ac_cpp conftest.$ac_ext"
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4723 grep -v '^ *+' conftest.er1 >conftest.err
4725 cat conftest.err >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } >/dev/null; then
4728 if test -s conftest.err; then
4729 ac_cpp_err=$ac_c_preproc_warn_flag
4730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4737 if test -z "$ac_cpp_err"; then
4738 # Broken: success on invalid input.
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 # Passes both tests.
4749 rm -f conftest.err conftest.$ac_ext
4752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4753 rm -f conftest.err conftest.$ac_ext
4754 if $ac_preproc_ok; then
4757 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4758 See \`config.log' for more details." >&5
4759 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4760 See \`config.log' for more details." >&2;}
4761 { (exit 1); exit 1; }; }
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4771 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4772 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4773 if test "${ac_cv_header_stdc+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4795 rm -f conftest.$ac_objext
4796 if { (ac_try="$ac_compile"
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_compile") 2>conftest.er1
4804 grep -v '^ *+' conftest.er1 >conftest.err
4806 cat conftest.err >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } &&
4809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4810 { (case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_try") 2>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; } &&
4819 { ac_try='test -s conftest.$ac_objext'
4820 { (case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_try") 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_cv_header_stdc=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 ac_cv_header_stdc=no
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839 if test $ac_cv_header_stdc = yes; then
4840 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4851 $EGREP "memchr" >/dev/null 2>&1; then
4854 ac_cv_header_stdc=no
4860 if test $ac_cv_header_stdc = yes; then
4861 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4862 cat >conftest.$ac_ext <<_ACEOF
4865 cat confdefs.h >>conftest.$ac_ext
4866 cat >>conftest.$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4872 $EGREP "free" >/dev/null 2>&1; then
4875 ac_cv_header_stdc=no
4881 if test $ac_cv_header_stdc = yes; then
4882 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4883 if test "$cross_compiling" = yes; then
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4894 #if ((' ' & 0x0FF) == 0x020)
4895 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4896 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4898 # define ISLOWER(c) \
4899 (('a' <= (c) && (c) <= 'i') \
4900 || ('j' <= (c) && (c) <= 'r') \
4901 || ('s' <= (c) && (c) <= 'z'))
4902 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4905 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4910 for (i = 0; i < 256; i++)
4911 if (XOR (islower (i), ISLOWER (i))
4912 || toupper (i) != TOUPPER (i))
4917 rm -f conftest$ac_exeext
4918 if { (ac_try="$ac_link"
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4924 (eval "$ac_link") 2>&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4928 { (case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_try") 2>&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; }; then
4939 echo "$as_me: program exited with status $ac_status" >&5
4940 echo "$as_me: failed program was:" >&5
4941 sed 's/^/| /' conftest.$ac_ext >&5
4944 ac_cv_header_stdc=no
4946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4952 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4953 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4954 if test $ac_cv_header_stdc = yes; then
4956 cat >>confdefs.h <<\_ACEOF
4957 #define STDC_HEADERS 1
4962 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4972 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4973 inttypes.h stdint.h unistd.h
4975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4976 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 cat >conftest.$ac_ext <<_ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4987 $ac_includes_default
4989 #include <$ac_header>
4991 rm -f conftest.$ac_objext
4992 if { (ac_try="$ac_compile"
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_compile") 2>conftest.er1
5000 grep -v '^ *+' conftest.er1 >conftest.err
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5006 { (case "(($ac_try" in
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_try") 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; } &&
5015 { ac_try='test -s conftest.$ac_objext'
5016 { (case "(($ac_try" in
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_try") 2>&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5025 eval "$as_ac_Header=yes"
5027 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.$ac_ext >&5
5030 eval "$as_ac_Header=no"
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 ac_res=`eval echo '${'$as_ac_Header'}'`
5036 { echo "$as_me:$LINENO: result: $ac_res" >&5