2 # From configure.ac Revision: 1.154 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for simgrid 3.3-cvs.
6 # Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X--no-reexec; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X--fallback-echo; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X--fallback-echo; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
600 echo_test_string=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames=${tagnames+${tagnames},}CXX
707 tagnames=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev/null 6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix=/usr/local
721 ac_config_libobj_dir=.
727 SHELL=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
730 PACKAGE_NAME='simgrid'
731 PACKAGE_TARNAME='simgrid'
732 PACKAGE_VERSION='3.3-cvs'
733 PACKAGE_STRING='simgrid 3.3-cvs'
734 PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr'
736 ac_unique_file="include/gras.h"
737 # Factoring default headers for most tests.
738 ac_includes_default="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
835 INSTALL_STRIP_PROGRAM
882 pth_skaddr_makecontext
883 pth_sksize_makecontext
898 MAINTAINER_MODE_FALSE
920 ac_precious_vars='build_alias
937 # Initialize some variables set by options.
939 ac_init_version=false
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
949 program_transform_name=s,x,x,
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir='${exec_prefix}/bin'
964 sbindir='${exec_prefix}/sbin'
965 libexecdir='${exec_prefix}/libexec'
966 datarootdir='${prefix}/share'
967 datadir='${datarootdir}'
968 sysconfdir='${prefix}/etc'
969 sharedstatedir='${prefix}/com'
970 localstatedir='${prefix}/var'
971 includedir='${prefix}/include'
972 oldincludedir='/usr/include'
973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir='${datarootdir}/info'
979 libdir='${exec_prefix}/lib'
980 localedir='${datarootdir}/locale'
981 mandir='${datarootdir}/man'
987 # If the previous option needs an argument, assign it.
988 if test -n "$ac_prev"; then
989 eval $ac_prev=\$ac_option
995 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
999 # Accept the important Cygnus configure options, so we can diagnose typos.
1001 case $ac_dashdash$ac_option in
1005 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1008 bindir=$ac_optarg ;;
1010 -build | --build | --buil | --bui | --bu)
1011 ac_prev=build_alias ;;
1012 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1013 build_alias=$ac_optarg ;;
1015 -cache-file | --cache-file | --cache-fil | --cache-fi \
1016 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1017 ac_prev=cache_file ;;
1018 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1019 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1020 cache_file=$ac_optarg ;;
1022 --config-cache | -C)
1023 cache_file=config.cache ;;
1025 -datadir | --datadir | --datadi | --datad)
1027 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1028 datadir=$ac_optarg ;;
1030 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1031 | --dataroo | --dataro | --datar)
1032 ac_prev=datarootdir ;;
1033 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1034 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1035 datarootdir=$ac_optarg ;;
1037 -disable-* | --disable-*)
1038 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1044 eval enable_$ac_feature=no ;;
1046 -docdir | --docdir | --docdi | --doc | --do)
1048 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1049 docdir=$ac_optarg ;;
1051 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1053 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1054 dvidir=$ac_optarg ;;
1056 -enable-* | --enable-*)
1057 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1063 eval enable_$ac_feature=\$ac_optarg ;;
1065 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1066 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1067 | --exec | --exe | --ex)
1068 ac_prev=exec_prefix ;;
1069 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1070 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1071 | --exec=* | --exe=* | --ex=*)
1072 exec_prefix=$ac_optarg ;;
1074 -gas | --gas | --ga | --g)
1075 # Obsolete; use --with-gas.
1078 -help | --help | --hel | --he | -h)
1079 ac_init_help=long ;;
1080 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1081 ac_init_help=recursive ;;
1082 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1083 ac_init_help=short ;;
1085 -host | --host | --hos | --ho)
1086 ac_prev=host_alias ;;
1087 -host=* | --host=* | --hos=* | --ho=*)
1088 host_alias=$ac_optarg ;;
1090 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1092 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1094 htmldir=$ac_optarg ;;
1096 -includedir | --includedir | --includedi | --included | --include \
1097 | --includ | --inclu | --incl | --inc)
1098 ac_prev=includedir ;;
1099 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1100 | --includ=* | --inclu=* | --incl=* | --inc=*)
1101 includedir=$ac_optarg ;;
1103 -infodir | --infodir | --infodi | --infod | --info | --inf)
1105 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1106 infodir=$ac_optarg ;;
1108 -libdir | --libdir | --libdi | --libd)
1110 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1111 libdir=$ac_optarg ;;
1113 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1114 | --libexe | --libex | --libe)
1115 ac_prev=libexecdir ;;
1116 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1117 | --libexe=* | --libex=* | --libe=*)
1118 libexecdir=$ac_optarg ;;
1120 -localedir | --localedir | --localedi | --localed | --locale)
1121 ac_prev=localedir ;;
1122 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1123 localedir=$ac_optarg ;;
1125 -localstatedir | --localstatedir | --localstatedi | --localstated \
1126 | --localstate | --localstat | --localsta | --localst | --locals)
1127 ac_prev=localstatedir ;;
1128 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1129 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1130 localstatedir=$ac_optarg ;;
1132 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1134 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1135 mandir=$ac_optarg ;;
1137 -nfp | --nfp | --nf)
1138 # Obsolete; use --without-fp.
1141 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1142 | --no-cr | --no-c | -n)
1145 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1146 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1150 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1151 | --oldin | --oldi | --old | --ol | --o)
1152 ac_prev=oldincludedir ;;
1153 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1154 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1155 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1156 oldincludedir=$ac_optarg ;;
1158 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1160 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1161 prefix=$ac_optarg ;;
1163 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1164 | --program-pre | --program-pr | --program-p)
1165 ac_prev=program_prefix ;;
1166 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1167 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1168 program_prefix=$ac_optarg ;;
1170 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1171 | --program-suf | --program-su | --program-s)
1172 ac_prev=program_suffix ;;
1173 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1174 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1175 program_suffix=$ac_optarg ;;
1177 -program-transform-name | --program-transform-name \
1178 | --program-transform-nam | --program-transform-na \
1179 | --program-transform-n | --program-transform- \
1180 | --program-transform | --program-transfor \
1181 | --program-transfo | --program-transf \
1182 | --program-trans | --program-tran \
1183 | --progr-tra | --program-tr | --program-t)
1184 ac_prev=program_transform_name ;;
1185 -program-transform-name=* | --program-transform-name=* \
1186 | --program-transform-nam=* | --program-transform-na=* \
1187 | --program-transform-n=* | --program-transform-=* \
1188 | --program-transform=* | --program-transfor=* \
1189 | --program-transfo=* | --program-transf=* \
1190 | --program-trans=* | --program-tran=* \
1191 | --progr-tra=* | --program-tr=* | --program-t=*)
1192 program_transform_name=$ac_optarg ;;
1194 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1196 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1197 pdfdir=$ac_optarg ;;
1199 -psdir | --psdir | --psdi | --psd | --ps)
1201 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1205 | -silent | --silent | --silen | --sile | --sil)
1208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1212 sbindir=$ac_optarg ;;
1214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1216 | --sharedst | --shareds | --shared | --share | --shar \
1218 ac_prev=sharedstatedir ;;
1219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1223 sharedstatedir=$ac_optarg ;;
1225 -site | --site | --sit)
1227 -site=* | --site=* | --sit=*)
1230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1233 srcdir=$ac_optarg ;;
1235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1236 | --syscon | --sysco | --sysc | --sys | --sy)
1237 ac_prev=sysconfdir ;;
1238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1240 sysconfdir=$ac_optarg ;;
1242 -target | --target | --targe | --targ | --tar | --ta | --t)
1243 ac_prev=target_alias ;;
1244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1245 target_alias=$ac_optarg ;;
1247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 -version | --version | --versio | --versi | --vers | -V)
1251 ac_init_version=: ;;
1254 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257 { echo "$as_me: error: invalid package name: $ac_package" >&2
1258 { (exit 1); exit 1; }; }
1259 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1260 eval with_$ac_package=\$ac_optarg ;;
1262 -without-* | --without-*)
1263 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 { echo "$as_me: error: invalid package name: $ac_package" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1269 eval with_$ac_package=no ;;
1272 # Obsolete; use --with-x.
1275 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1276 | --x-incl | --x-inc | --x-in | --x-i)
1277 ac_prev=x_includes ;;
1278 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1279 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1280 x_includes=$ac_optarg ;;
1282 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1283 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1284 ac_prev=x_libraries ;;
1285 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1286 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1287 x_libraries=$ac_optarg ;;
1289 -*) { echo "$as_me: error: unrecognized option: $ac_option
1290 Try \`$0 --help' for more information." >&2
1291 { (exit 1); exit 1; }; }
1295 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1298 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1299 { (exit 1); exit 1; }; }
1300 eval $ac_envvar=\$ac_optarg
1301 export $ac_envvar ;;
1304 # FIXME: should be removed in autoconf 3.0.
1305 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314 if test -n "$ac_prev"; then
1315 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1316 { echo "$as_me: error: missing argument to $ac_option" >&2
1317 { (exit 1); exit 1; }; }
1320 # Be sure to have absolute directory names.
1321 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val=\$$ac_var
1328 [\\/$]* | ?:[\\/]* ) continue;;
1329 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1332 { (exit 1); exit 1; }; }
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1340 target=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344 if test "x$build_alias" = x; then
1345 cross_compiling=maybe
1346 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347 If a cross compiler is detected then cross compile mode will be used." >&2
1348 elif test "x$build_alias" != "x$host_alias"; then
1354 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1356 test "$silent" = yes && exec 6>/dev/null
1359 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di=`ls -di .` &&
1361 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1362 { echo "$as_me: error: Working directory cannot be determined" >&2
1363 { (exit 1); exit 1; }; }
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 { echo "$as_me: error: pwd does not report name of working directory" >&2
1366 { (exit 1); exit 1; }; }
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir=`$as_dirname -- "$0" ||
1374 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$0" : 'X\(//\)[^/]' \| \
1376 X"$0" : 'X\(//\)$' \| \
1377 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1405 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1406 { (exit 1); exit 1; }; }
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1411 { (exit 1); exit 1; }; }
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var in $ac_precious_vars; do
1424 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_${ac_var}_value=\$${ac_var}
1426 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures simgrid 3.3-cvs to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1500 --build=BUILD configure for building on BUILD [guessed]
1501 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1502 --target=TARGET configure for building compilers for TARGET [HOST]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive ) echo "Configuration of simgrid 3.3-cvs:";;
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-shared[=PKGS] build shared libraries [default=yes]
1516 --enable-static[=PKGS] build static libraries [default=yes]
1517 --enable-fast-install[=PKGS]
1518 optimize for fast installation [default=yes]
1519 --disable-dependency-tracking speeds up one-time build
1520 --enable-dependency-tracking do not reject slow dependency extractors
1521 --disable-libtool-lock avoid locking (might break parallel builds)
1522 --enable-simix Use the new SimIX module (default=no)
1523 --enable-maintainer-mode enable make rules and dependencies not useful
1524 (and sometimes confusing) to the casual installer
1525 --enable-compile-warnings
1526 use compiler warnings (default=no, unless in
1528 --disable-compile-optimizations
1529 use compiler optimizations (default=yes, unless if
1530 CFLAGS is explicitly set)
1533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1535 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1536 --with-pic try to use only PIC/non-PIC objects [default=use
1538 --with-tags[=TAGS] include additional configurations [automatic]
1539 --with-pthread Use pthread instead of ucontext.
1540 --with-pthreads Use pthread instead of ucontext.
1541 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1542 --with-gtnets Path to GTNetS installation (default to empty, ie
1545 Some influential environment variables:
1546 CC C compiler command
1547 CFLAGS C compiler flags
1548 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1549 nonstandard directory <lib dir>
1550 LIBS libraries to pass to the linker, e.g. -l<library>
1551 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1552 you have headers in a nonstandard directory <include dir>
1554 CXX C++ compiler command
1555 CXXFLAGS C++ compiler flags
1556 CXXCPP C++ preprocessor
1557 F77 Fortran 77 compiler command
1558 FFLAGS Fortran 77 compiler flags
1560 Use these variables to override the choices made by `configure' or to help
1561 it to find libraries and programs with nonstandard names/locations.
1563 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1568 if test "$ac_init_help" = "recursive"; then
1569 # If there are subdirs, report their specific --help.
1570 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1571 test -d "$ac_dir" || continue
1575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1578 # A ".." for each directory in $ac_dir_suffix.
1579 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1580 case $ac_top_builddir_sub in
1581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1585 ac_abs_top_builddir=$ac_pwd
1586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1587 # for backward compatibility:
1588 ac_top_builddir=$ac_top_build_prefix
1591 .) # We are building in place.
1593 ac_top_srcdir=$ac_top_builddir_sub
1594 ac_abs_top_srcdir=$ac_pwd ;;
1595 [\\/]* | ?:[\\/]* ) # Absolute name.
1596 ac_srcdir=$srcdir$ac_dir_suffix;
1597 ac_top_srcdir=$srcdir
1598 ac_abs_top_srcdir=$srcdir ;;
1600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1601 ac_top_srcdir=$ac_top_build_prefix$srcdir
1602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1606 cd "$ac_dir" || { ac_status=$?; continue; }
1607 # Check for guested configure.
1608 if test -f "$ac_srcdir/configure.gnu"; then
1610 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1611 elif test -f "$ac_srcdir/configure"; then
1613 $SHELL "$ac_srcdir/configure" --help=recursive
1615 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1617 cd "$ac_pwd" || { ac_status=$?; break; }
1621 test -n "$ac_init_help" && exit $ac_status
1622 if $ac_init_version; then
1624 simgrid configure 3.3-cvs
1625 generated by GNU Autoconf 2.61
1627 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1628 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1629 This configure script is free software; the Free Software Foundation
1630 gives unlimited permission to copy, distribute and modify it.
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by simgrid $as_me 3.3-cvs, which was
1639 generated by GNU Autoconf 2.61. Invocation command line was
1651 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1652 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1653 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1654 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1655 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1657 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1658 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1660 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1661 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1662 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1663 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1664 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1665 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1666 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 echo "PATH: $as_dir"
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1699 ac_must_keep_next=false
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1710 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1715 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 -* ) ac_must_keep_next=true ;;
1731 ac_configure_args="$ac_configure_args '$ac_arg'"
1736 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1737 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1750 ## ---------------- ##
1751 ## Cache variables. ##
1752 ## ---------------- ##
1755 # The following way of writing the cache mishandles newlines in values,
1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1758 eval ac_val=\$$ac_var
1762 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1763 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1766 _ | IFS | as_nl) ;; #(
1767 *) $as_unset $ac_var ;;
1772 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1773 *${as_nl}ac_space=\ *)
1775 "s/'\''/'\''\\\\'\'''\''/g;
1776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1787 ## ----------------- ##
1788 ## Output variables. ##
1789 ## ----------------- ##
1792 for ac_var in $ac_subst_vars
1794 eval ac_val=\$$ac_var
1796 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798 echo "$ac_var='\''$ac_val'\''"
1802 if test -n "$ac_subst_files"; then
1804 ## ------------------- ##
1805 ## File substitutions. ##
1806 ## ------------------- ##
1809 for ac_var in $ac_subst_files
1811 eval ac_val=\$$ac_var
1813 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 echo "$ac_var='\''$ac_val'\''"
1820 if test -s confdefs.h; then
1830 test "$ac_signal" != 0 &&
1831 echo "$as_me: caught signal $ac_signal"
1832 echo "$as_me: exit $exit_status"
1834 rm -f core *.core core.conftest.* &&
1835 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1838 for ac_signal in 1 2 13 15; do
1839 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1843 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1844 rm -f -r conftest* confdefs.h
1846 # Predefined preprocessor variables.
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_NAME "$PACKAGE_NAME"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_STRING "$PACKAGE_STRING"
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1873 # Let the site file select an alternate cache file if it wants to.
1874 # Prefer explicitly selected file to automatically selected ones.
1875 if test -n "$CONFIG_SITE"; then
1876 set x "$CONFIG_SITE"
1877 elif test "x$prefix" != xNONE; then
1878 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1880 set x "$ac_default_prefix/share/config.site" \
1881 "$ac_default_prefix/etc/config.site"
1886 if test -r "$ac_site_file"; then
1887 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1888 echo "$as_me: loading site script $ac_site_file" >&6;}
1889 sed 's/^/| /' "$ac_site_file" >&5
1894 if test -r "$cache_file"; then
1895 # Some versions of bash will fail to source /dev/null (special
1896 # files actually), so we avoid doing that.
1897 if test -f "$cache_file"; then
1898 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899 echo "$as_me: loading cache $cache_file" >&6;}
1901 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1902 *) . "./$cache_file";;
1906 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1907 echo "$as_me: creating cache $cache_file" >&6;}
1911 # Check that the precious variables saved in the cache have kept the same
1913 ac_cache_corrupted=false
1914 for ac_var in $ac_precious_vars; do
1915 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916 eval ac_new_set=\$ac_env_${ac_var}_set
1917 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1918 eval ac_new_val=\$ac_env_${ac_var}_value
1919 case $ac_old_set,$ac_new_set in
1921 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1922 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1923 ac_cache_corrupted=: ;;
1925 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1926 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1927 ac_cache_corrupted=: ;;
1930 if test "x$ac_old_val" != "x$ac_new_val"; then
1931 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1932 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1933 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1934 echo "$as_me: former value: $ac_old_val" >&2;}
1935 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1936 echo "$as_me: current value: $ac_new_val" >&2;}
1937 ac_cache_corrupted=:
1940 # Pass precious variables to config.status.
1941 if test "$ac_new_set" = set; then
1943 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1944 *) ac_arg=$ac_var=$ac_new_val ;;
1946 case " $ac_configure_args " in
1947 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1948 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1952 if $ac_cache_corrupted; then
1953 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1954 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1955 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1956 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1957 { (exit 1); exit 1; }; }
1985 ac_cpp='$CPP $CPPFLAGS'
1986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1992 ac_config_headers="$ac_config_headers src/gras_config.h"
1994 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1998 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1999 if test -f "$ac_dir/install-sh"; then
2001 ac_install_sh="$ac_aux_dir/install-sh -c"
2003 elif test -f "$ac_dir/install.sh"; then
2005 ac_install_sh="$ac_aux_dir/install.sh -c"
2007 elif test -f "$ac_dir/shtool"; then
2009 ac_install_sh="$ac_aux_dir/shtool install -c"
2013 if test -z "$ac_aux_dir"; then
2014 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2015 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2016 { (exit 1); exit 1; }; }
2019 # These three variables are undocumented and unsupported,
2020 # and are intended to be withdrawn in a future Autoconf release.
2021 # They can cause serious problems if a builder's source tree is in a directory
2022 # whose full name contains unusual characters.
2023 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2024 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2025 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2028 # Make sure we can run config.sub.
2029 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2030 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2031 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2032 { (exit 1); exit 1; }; }
2034 { echo "$as_me:$LINENO: checking build system type" >&5
2035 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2036 if test "${ac_cv_build+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 ac_build_alias=$build_alias
2040 test "x$ac_build_alias" = x &&
2041 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2042 test "x$ac_build_alias" = x &&
2043 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2044 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2045 { (exit 1); exit 1; }; }
2046 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2047 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2048 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2049 { (exit 1); exit 1; }; }
2052 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2053 echo "${ECHO_T}$ac_cv_build" >&6; }
2054 case $ac_cv_build in
2056 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2057 echo "$as_me: error: invalid value of canonical build" >&2;}
2058 { (exit 1); exit 1; }; };;
2061 ac_save_IFS=$IFS; IFS='-'
2067 # Remember, the first character of IFS is used to create $*,
2068 # except with old shells:
2071 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2074 { echo "$as_me:$LINENO: checking host system type" >&5
2075 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2076 if test "${ac_cv_host+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test "x$host_alias" = x; then
2080 ac_cv_host=$ac_cv_build
2082 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2083 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2084 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2085 { (exit 1); exit 1; }; }
2089 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2090 echo "${ECHO_T}$ac_cv_host" >&6; }
2093 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2094 echo "$as_me: error: invalid value of canonical host" >&2;}
2095 { (exit 1); exit 1; }; };;
2098 ac_save_IFS=$IFS; IFS='-'
2104 # Remember, the first character of IFS is used to create $*,
2105 # except with old shells:
2108 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2111 { echo "$as_me:$LINENO: checking target system type" >&5
2112 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2113 if test "${ac_cv_target+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test "x$target_alias" = x; then
2117 ac_cv_target=$ac_cv_host
2119 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2120 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2121 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2122 { (exit 1); exit 1; }; }
2126 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2127 echo "${ECHO_T}$ac_cv_target" >&6; }
2128 case $ac_cv_target in
2130 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2131 echo "$as_me: error: invalid value of canonical target" >&2;}
2132 { (exit 1); exit 1; }; };;
2134 target=$ac_cv_target
2135 ac_save_IFS=$IFS; IFS='-'
2141 # Remember, the first character of IFS is used to create $*,
2142 # except with old shells:
2145 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2148 # The aliases save the names the user supplied, while $host etc.
2149 # will get canonicalized.
2150 test -n "$target_alias" &&
2151 test "$program_prefix$program_suffix$program_transform_name" = \
2153 program_prefix=${target_alias}-
2155 ac_cpp='$CPP $CPPFLAGS'
2156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161 am__api_version="1.9"
2162 # Find a good install program. We prefer a C program (faster),
2163 # so one script is as good as another. But avoid the broken or
2164 # incompatible versions:
2165 # SysV /etc/install, /usr/sbin/install
2166 # SunOS /usr/etc/install
2167 # IRIX /sbin/install
2169 # AmigaOS /C/install, which installs bootblocks on floppy discs
2170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2173 # OS/2's system install, which has a completely different semantic
2174 # ./install, which can be erroneously created by make from ./install.sh.
2175 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2176 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2177 if test -z "$INSTALL"; then
2178 if test "${ac_cv_path_install+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 test -z "$as_dir" && as_dir=.
2186 # Account for people who put trailing slashes in PATH elements.
2188 ./ | .// | /cC/* | \
2189 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2190 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2193 # OSF1 and SCO ODT 3.0 have their own names for install.
2194 # Don't use installbsd from OSF since it installs stuff as root
2196 for ac_prog in ginstall scoinst install; do
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2199 if test $ac_prog = install &&
2200 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2201 # AIX install. It has an incompatible calling convention.
2203 elif test $ac_prog = install &&
2204 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2205 # program-specific install script used by HP pwplus--don't use.
2208 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2221 if test "${ac_cv_path_install+set}" = set; then
2222 INSTALL=$ac_cv_path_install
2224 # As a last resort, use the slow shell script. Don't cache a
2225 # value for INSTALL within a source directory, because that will
2226 # break other packages using the cache if that directory is
2227 # removed, or if the value is a relative name.
2228 INSTALL=$ac_install_sh
2231 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2232 echo "${ECHO_T}$INSTALL" >&6; }
2234 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2235 # It thinks the first close brace ends the variable substitution.
2236 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2238 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2240 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2242 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2243 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2246 echo timestamp > conftest.file
2247 # Do `set' in a subshell so we don't clobber the current shell's
2248 # arguments. Must try -L first in case configure is actually a
2249 # symlink; some systems play weird games with the mod time of symlinks
2250 # (eg FreeBSD returns the mod time of the symlink's containing
2253 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2254 if test "$*" = "X"; then
2256 set X `ls -t $srcdir/configure conftest.file`
2259 if test "$*" != "X $srcdir/configure conftest.file" \
2260 && test "$*" != "X conftest.file $srcdir/configure"; then
2262 # If neither matched, then we have a broken ls. This can happen
2263 # if, for instance, CONFIG_SHELL is bash and it inherits a
2264 # broken ls alias from the environment. This has actually
2265 # happened. Such a system could not be considered "sane".
2266 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2267 alias in your environment" >&5
2268 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2269 alias in your environment" >&2;}
2270 { (exit 1); exit 1; }; }
2273 test "$2" = conftest.file
2279 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2280 Check your system clock" >&5
2281 echo "$as_me: error: newly created file is older than distributed files!
2282 Check your system clock" >&2;}
2283 { (exit 1); exit 1; }; }
2285 { echo "$as_me:$LINENO: result: yes" >&5
2286 echo "${ECHO_T}yes" >&6; }
2287 test "$program_prefix" != NONE &&
2288 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2289 # Use a double $ so make ignores it.
2290 test "$program_suffix" != NONE &&
2291 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2292 # Double any \ or $. echo might interpret backslashes.
2293 # By default was `s,x,x', remove it if useless.
2294 cat <<\_ACEOF >conftest.sed
2295 s/[\\$]/&&/g;s/;s,x,x,$//
2297 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2300 # expand $ac_aux_dir to an absolute path
2301 am_aux_dir=`cd $ac_aux_dir && pwd`
2303 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2304 # Use eval to expand $SHELL
2305 if eval "$MISSING --run true"; then
2306 am_missing_run="$MISSING --run "
2309 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2310 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2313 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2314 # We used to keeping the `.' as first argument, in order to
2315 # allow $(mkdir_p) to be used without argument. As in
2316 # $(mkdir_p) $(somedir)
2317 # where $(somedir) is conditionally defined. However this is wrong
2319 # 1. if the package is installed by a user who cannot write `.'
2320 # make install will fail,
2321 # 2. the above comment should most certainly read
2322 # $(mkdir_p) $(DESTDIR)$(somedir)
2323 # so it does not work when $(somedir) is undefined and
2324 # $(DESTDIR) is not.
2325 # To support the latter case, we have to write
2326 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2327 # so the `.' trick is pointless.
2328 mkdir_p='mkdir -p --'
2330 # On NextStep and OpenStep, the `mkdir' command does not
2331 # recognize any option. It will interpret all options as
2332 # directories to create, and then abort because `.' already
2334 for d in ./-p ./--version;
2336 test -d $d && rmdir $d
2338 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2339 if test -f "$ac_aux_dir/mkinstalldirs"; then
2340 mkdir_p='$(mkinstalldirs)'
2342 mkdir_p='$(install_sh) -d'
2346 for ac_prog in gawk mawk nawk awk
2348 # Extract the first word of "$ac_prog", so it can be a program name with args.
2349 set dummy $ac_prog; ac_word=$2
2350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2352 if test "${ac_cv_prog_AWK+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 if test -n "$AWK"; then
2356 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_AWK="$ac_prog"
2366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$AWK"; then
2377 { echo "$as_me:$LINENO: result: $AWK" >&5
2378 echo "${ECHO_T}$AWK" >&6; }
2380 { echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6; }
2385 test -n "$AWK" && break
2388 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2389 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2390 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2391 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 cat >conftest.make <<\_ACEOF
2397 @echo '@@@%%%=$(MAKE)=@@@%%%'
2399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2400 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2402 eval ac_cv_prog_make_${ac_make}_set=yes;;
2404 eval ac_cv_prog_make_${ac_make}_set=no;;
2408 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2409 { echo "$as_me:$LINENO: result: yes" >&5
2410 echo "${ECHO_T}yes" >&6; }
2413 { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2415 SET_MAKE="MAKE=${MAKE-make}"
2418 rm -rf .tst 2>/dev/null
2419 mkdir .tst 2>/dev/null
2420 if test -d .tst; then
2425 rmdir .tst 2>/dev/null
2427 # test to see if srcdir already configured
2428 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2429 test -f $srcdir/config.status; then
2430 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2431 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2432 { (exit 1); exit 1; }; }
2435 # test whether we have cygpath
2436 if test -z "$CYGPATH_W"; then
2437 if (cygpath --version) >/dev/null 2>/dev/null; then
2438 CYGPATH_W='cygpath -w'
2445 # Define the identity of the package.
2450 cat >>confdefs.h <<_ACEOF
2451 #define PACKAGE "$PACKAGE"
2455 cat >>confdefs.h <<_ACEOF
2456 #define VERSION "$VERSION"
2459 # Some tools Automake needs.
2461 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2464 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2467 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2470 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2473 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2475 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2477 # Installed binaries are usually stripped using `strip' when the user
2478 # run `make install-strip'. However `strip' might not be the right
2479 # tool to use in cross-compilation environments, therefore Automake
2480 # will honor the `STRIP' environment variable to overrule this program.
2481 if test "$cross_compiling" != no; then
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2484 set dummy ${ac_tool_prefix}strip; ac_word=$2
2485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2487 if test "${ac_cv_prog_STRIP+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 if test -n "$STRIP"; then
2491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 STRIP=$ac_cv_prog_STRIP
2511 if test -n "$STRIP"; then
2512 { echo "$as_me:$LINENO: result: $STRIP" >&5
2513 echo "${ECHO_T}$STRIP" >&6; }
2515 { echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6; }
2521 if test -z "$ac_cv_prog_STRIP"; then
2523 # Extract the first word of "strip", so it can be a program name with args.
2524 set dummy strip; ac_word=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$ac_ct_STRIP"; then
2531 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_ac_ct_STRIP="strip"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2551 if test -n "$ac_ct_STRIP"; then
2552 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2553 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2559 if test "x$ac_ct_STRIP" = x; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&5
2567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2568 whose name does not start with the host triplet. If you think this
2569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2570 ac_tool_warned=yes ;;
2575 STRIP="$ac_cv_prog_STRIP"
2579 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2581 # We need awk for the "check" target. The system "awk" is bad on
2583 # Always define AMTAR for backward compatibility.
2585 AMTAR=${AMTAR-"${am_missing_run}tar"}
2587 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2594 ACLOCAL="$ACLOCAL -I acmacro"
2597 # Check whether --enable-shared was given.
2598 if test "${enable_shared+set}" = set; then
2599 enableval=$enable_shared; p=${PACKAGE-default}
2601 yes) enable_shared=yes ;;
2602 no) enable_shared=no ;;
2605 # Look at the argument we got. We use all the common list separators.
2606 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2607 for pkg in $enableval; do
2609 if test "X$pkg" = "X$p"; then
2621 # Check whether --enable-static was given.
2622 if test "${enable_static+set}" = set; then
2623 enableval=$enable_static; p=${PACKAGE-default}
2625 yes) enable_static=yes ;;
2626 no) enable_static=no ;;
2629 # Look at the argument we got. We use all the common list separators.
2630 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2631 for pkg in $enableval; do
2633 if test "X$pkg" = "X$p"; then
2645 # Check whether --enable-fast-install was given.
2646 if test "${enable_fast_install+set}" = set; then
2647 enableval=$enable_fast_install; p=${PACKAGE-default}
2649 yes) enable_fast_install=yes ;;
2650 no) enable_fast_install=no ;;
2652 enable_fast_install=no
2653 # Look at the argument we got. We use all the common list separators.
2654 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2655 for pkg in $enableval; do
2657 if test "X$pkg" = "X$p"; then
2658 enable_fast_install=yes
2665 enable_fast_install=yes
2669 DEPDIR="${am__leading_dot}deps"
2671 ac_config_commands="$ac_config_commands depfiles"
2674 am_make=${MAKE-make}
2675 cat > confinc << 'END'
2680 # If we don't find an include directive, just comment out the code.
2681 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2682 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2686 # First try GNU make style include.
2687 echo "include confinc" > confmf
2688 # We grep out `Entering directory' and `Leaving directory'
2689 # messages which can occur if `w' ends up in MAKEFLAGS.
2690 # In particular we don't look at `^make:' because GNU make might
2691 # be invoked under some other name (usually "gmake"), in which
2692 # case it prints its new name instead of `make'.
2693 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2698 # Now try BSD make style include.
2699 if test "$am__include" = "#"; then
2700 echo '.include "confinc"' > confmf
2701 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2702 am__include=.include
2709 { echo "$as_me:$LINENO: result: $_am_result" >&5
2710 echo "${ECHO_T}$_am_result" >&6; }
2711 rm -f confinc confmf
2713 # Check whether --enable-dependency-tracking was given.
2714 if test "${enable_dependency_tracking+set}" = set; then
2715 enableval=$enable_dependency_tracking;
2718 if test "x$enable_dependency_tracking" != xno; then
2719 am_depcomp="$ac_aux_dir/depcomp"
2724 if test "x$enable_dependency_tracking" != xno; then
2735 ac_cpp='$CPP $CPPFLAGS'
2736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2739 if test -n "$ac_tool_prefix"; then
2740 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2741 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2744 if test "${ac_cv_prog_CC+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 if test -n "$CC"; then
2748 ac_cv_prog_CC="$CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 if test -n "$CC"; then
2769 { echo "$as_me:$LINENO: result: $CC" >&5
2770 echo "${ECHO_T}$CC" >&6; }
2772 { echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6; }
2778 if test -z "$ac_cv_prog_CC"; then
2780 # Extract the first word of "gcc", so it can be a program name with args.
2781 set dummy gcc; ac_word=$2
2782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 if test -n "$ac_ct_CC"; then
2788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_ac_ct_CC="gcc"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6; }
2812 { echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6; }
2816 if test "x$ac_ct_CC" = x; then
2819 case $cross_compiling:$ac_tool_warned in
2821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2822 whose name does not start with the host triplet. If you think this
2823 configuration is useful to you, please write to autoconf@gnu.org." >&5
2824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2825 whose name does not start with the host triplet. If you think this
2826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2827 ac_tool_warned=yes ;;
2835 if test -z "$CC"; then
2836 if test -n "$ac_tool_prefix"; then
2837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2838 set dummy ${ac_tool_prefix}cc; ac_word=$2
2839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_CC+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC="$CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_CC="${ac_tool_prefix}cc"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { echo "$as_me:$LINENO: result: $CC" >&5
2867 echo "${ECHO_T}$CC" >&6; }
2869 { echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6; }
2876 if test -z "$CC"; then
2877 # Extract the first word of "cc", so it can be a program name with args.
2878 set dummy cc; ac_word=$2
2879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC="$CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2896 ac_prog_rejected=yes
2900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test $ac_prog_rejected = yes; then
2908 # We found a bogon in the path, so make sure we never use it.
2909 set dummy $ac_cv_prog_CC
2911 if test $# != 0; then
2912 # We chose a different compiler from the bogus one.
2913 # However, it has the same basename, so the bogon will be chosen
2914 # first if we set CC to just the basename; use the full file name.
2916 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2922 if test -n "$CC"; then
2923 { echo "$as_me:$LINENO: result: $CC" >&5
2924 echo "${ECHO_T}$CC" >&6; }
2926 { echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6; }
2932 if test -z "$CC"; then
2933 if test -n "$ac_tool_prefix"; then
2934 for ac_prog in cl.exe
2936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2940 if test "${ac_cv_prog_CC+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { echo "$as_me:$LINENO: result: $CC" >&5
2966 echo "${ECHO_T}$CC" >&6; }
2968 { echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6; }
2973 test -n "$CC" && break
2976 if test -z "$CC"; then
2978 for ac_prog in cl.exe
2980 # Extract the first word of "$ac_prog", so it can be a program name with args.
2981 set dummy $ac_prog; ac_word=$2
2982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2984 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -n "$ac_ct_CC"; then
2988 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997 ac_cv_prog_ac_ct_CC="$ac_prog"
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3008 if test -n "$ac_ct_CC"; then
3009 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3010 echo "${ECHO_T}$ac_ct_CC" >&6; }
3012 { echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6; }
3017 test -n "$ac_ct_CC" && break
3020 if test "x$ac_ct_CC" = x; then
3023 case $cross_compiling:$ac_tool_warned in
3025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3026 whose name does not start with the host triplet. If you think this
3027 configuration is useful to you, please write to autoconf@gnu.org." >&5
3028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3029 whose name does not start with the host triplet. If you think this
3030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3031 ac_tool_warned=yes ;;
3040 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3041 See \`config.log' for more details." >&5
3042 echo "$as_me: error: no acceptable C compiler found in \$PATH
3043 See \`config.log' for more details." >&2;}
3044 { (exit 1); exit 1; }; }
3046 # Provide some information about the compiler.
3047 echo "$as_me:$LINENO: checking for C compiler version" >&5
3048 ac_compiler=`set X $ac_compile; echo $2`
3049 { (ac_try="$ac_compiler --version >&5"
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3055 (eval "$ac_compiler --version >&5") 2>&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }
3059 { (ac_try="$ac_compiler -v >&5"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_compiler -v >&5") 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }
3069 { (ac_try="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }
3080 cat >conftest.$ac_ext <<_ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3095 ac_clean_files_save=$ac_clean_files
3096 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3097 # Try to create an executable without -o first, disregard a.out.
3098 # It will help us diagnose broken compilers, and finding out an intuition
3100 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3101 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3102 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3104 # List of possible output files, starting from the most likely.
3105 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3106 # only as a last resort. b.out is created by i960 compilers.
3107 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3109 # The IRIX 6 linker writes into existing files which may not be
3110 # executable, retaining their permissions. Remove them first so a
3111 # subsequent execution test works.
3113 for ac_file in $ac_files
3116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3117 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3122 if { (ac_try="$ac_link_default"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3128 (eval "$ac_link_default") 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3132 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3133 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3134 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3135 # so that the user can short-circuit this test for compilers unknown to
3137 for ac_file in $ac_files ''
3139 test -f "$ac_file" || continue
3141 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3144 # We found the default executable, but exeext='' is most
3148 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3150 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152 # We set ac_cv_exeext here because the later test for it is not
3153 # safe: cross compilers may not add the suffix if given an `-o'
3154 # argument, so we may need to know it at that point already.
3155 # Even if this section looks crufty: it has the advantage of
3162 test "$ac_cv_exeext" = no && ac_cv_exeext=
3168 { echo "$as_me:$LINENO: result: $ac_file" >&5
3169 echo "${ECHO_T}$ac_file" >&6; }
3170 if test -z "$ac_file"; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3174 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3175 See \`config.log' for more details." >&5
3176 echo "$as_me: error: C compiler cannot create executables
3177 See \`config.log' for more details." >&2;}
3178 { (exit 77); exit 77; }; }
3181 ac_exeext=$ac_cv_exeext
3183 # Check that the compiler produces executables we can run. If not, either
3184 # the compiler is broken, or we cross compile.
3185 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3186 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3187 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3188 # If not cross compiling, check that we can run a simple program.
3189 if test "$cross_compiling" != yes; then
3190 if { ac_try='./$ac_file'
3191 { (case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_try") 2>&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 if test "$cross_compiling" = maybe; then
3205 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3206 If you meant to cross compile, use \`--host'.
3207 See \`config.log' for more details." >&5
3208 echo "$as_me: error: cannot run C compiled programs.
3209 If you meant to cross compile, use \`--host'.
3210 See \`config.log' for more details." >&2;}
3211 { (exit 1); exit 1; }; }
3215 { echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6; }
3218 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3219 ac_clean_files=$ac_clean_files_save
3220 # Check that the compiler produces executables we can run. If not, either
3221 # the compiler is broken, or we cross compile.
3222 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3223 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3224 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3225 echo "${ECHO_T}$cross_compiling" >&6; }
3227 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3228 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3229 if { (ac_try="$ac_link"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_link") 2>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; then
3239 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3240 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3241 # work properly (i.e., refer to `conftest.exe'), while it won't with
3243 for ac_file in conftest.exe conftest conftest.*; do
3244 test -f "$ac_file" || continue
3246 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3247 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3253 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3254 See \`config.log' for more details." >&5
3255 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3256 See \`config.log' for more details." >&2;}
3257 { (exit 1); exit 1; }; }
3260 rm -f conftest$ac_cv_exeext
3261 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3262 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3264 rm -f conftest.$ac_ext
3265 EXEEXT=$ac_cv_exeext
3267 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3268 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3269 if test "${ac_cv_objext+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3287 rm -f conftest.o conftest.obj
3288 if { (ac_try="$ac_compile"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compile") 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; then
3298 for ac_file in conftest.o conftest.obj conftest.*; do
3299 test -f "$ac_file" || continue;
3301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3302 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3310 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3311 See \`config.log' for more details." >&5
3312 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3313 See \`config.log' for more details." >&2;}
3314 { (exit 1); exit 1; }; }
3317 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3319 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3320 echo "${ECHO_T}$ac_cv_objext" >&6; }
3321 OBJEXT=$ac_cv_objext
3323 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3324 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3325 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 cat >conftest.$ac_ext <<_ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3346 rm -f conftest.$ac_objext
3347 if { (ac_try="$ac_compile"
3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_compile") 2>conftest.er1
3355 grep -v '^ *+' conftest.er1 >conftest.err
3357 cat conftest.err >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } && {
3360 test -z "$ac_c_werror_flag" ||
3361 test ! -s conftest.err
3362 } && test -s conftest.$ac_objext; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3375 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3376 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3377 GCC=`test $ac_compiler_gnu = yes && echo yes`
3378 ac_test_CFLAGS=${CFLAGS+set}
3379 ac_save_CFLAGS=$CFLAGS
3380 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3381 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3382 if test "${ac_cv_prog_cc_g+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 ac_save_c_werror_flag=$ac_c_werror_flag
3386 ac_c_werror_flag=yes
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3404 rm -f conftest.$ac_objext
3405 if { (ac_try="$ac_compile"
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_compile") 2>conftest.er1
3413 grep -v '^ *+' conftest.er1 >conftest.err
3415 cat conftest.err >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } && {
3418 test -z "$ac_c_werror_flag" ||
3419 test ! -s conftest.err
3420 } && test -s conftest.$ac_objext; then
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3427 cat >conftest.$ac_ext <<_ACEOF
3430 cat confdefs.h >>conftest.$ac_ext
3431 cat >>conftest.$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3442 rm -f conftest.$ac_objext
3443 if { (ac_try="$ac_compile"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_compile") 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } && {
3456 test -z "$ac_c_werror_flag" ||
3457 test ! -s conftest.err
3458 } && test -s conftest.$ac_objext; then
3461 echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 ac_c_werror_flag=$ac_save_c_werror_flag
3466 cat >conftest.$ac_ext <<_ACEOF
3469 cat confdefs.h >>conftest.$ac_ext
3470 cat >>conftest.$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3481 rm -f conftest.$ac_objext
3482 if { (ac_try="$ac_compile"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_compile") 2>conftest.er1
3490 grep -v '^ *+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && {
3495 test -z "$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 } && test -s conftest.$ac_objext; then
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 ac_c_werror_flag=$ac_save_c_werror_flag
3515 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3516 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3517 if test "$ac_test_CFLAGS" = set; then
3518 CFLAGS=$ac_save_CFLAGS
3519 elif test $ac_cv_prog_cc_g = yes; then
3520 if test "$GCC" = yes; then
3526 if test "$GCC" = yes; then
3532 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3533 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3534 if test "${ac_cv_prog_cc_c89+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 ac_cv_prog_cc_c89=no
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3547 #include <sys/types.h>
3548 #include <sys/stat.h>
3549 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3550 struct buf { int x; };
3551 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3552 static char *e (p, i)
3558 static char *f (char * (*g) (char **, int), char **p, ...)
3563 s = g (p, va_arg (v,int));
3568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3569 function prototypes and stuff, but not '\xHH' hex character constants.
3570 These don't provoke an error unfortunately, instead are silently treated
3571 as 'x'. The following induces an error, until -std is added to get
3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3573 array size at least. It's necessary to write '\x00'==0 to get something
3574 that's true only with -std. */
3575 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3578 inside strings and character constants. */
3580 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3582 int test (int i, double x);
3583 struct s1 {int (*f) (int a);};
3584 struct s2 {int (*f) (double a);};
3585 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3591 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3597 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3599 CC="$ac_save_CC $ac_arg"
3600 rm -f conftest.$ac_objext
3601 if { (ac_try="$ac_compile"
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3607 (eval "$ac_compile") 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } && {
3614 test -z "$ac_c_werror_flag" ||
3615 test ! -s conftest.err
3616 } && test -s conftest.$ac_objext; then
3617 ac_cv_prog_cc_c89=$ac_arg
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3625 rm -f core conftest.err conftest.$ac_objext
3626 test "x$ac_cv_prog_cc_c89" != "xno" && break
3628 rm -f conftest.$ac_ext
3633 case "x$ac_cv_prog_cc_c89" in
3635 { echo "$as_me:$LINENO: result: none needed" >&5
3636 echo "${ECHO_T}none needed" >&6; } ;;
3638 { echo "$as_me:$LINENO: result: unsupported" >&5
3639 echo "${ECHO_T}unsupported" >&6; } ;;
3641 CC="$CC $ac_cv_prog_cc_c89"
3642 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3643 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653 depcc="$CC" am_compiler_list=
3655 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3656 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3657 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3661 # We make a subdir and do the tests there. Otherwise we can end up
3662 # making bogus files that we don't know about and never remove. For
3663 # instance it was reported that on HP-UX the gcc test will end up
3664 # making a dummy file named `D' -- because `-MD' means `put the output
3667 # Copy depcomp to subdir because otherwise we won't find it if we're
3668 # using a relative directory.
3669 cp "$am_depcomp" conftest.dir
3671 # We will build objects and dependencies in a subdirectory because
3672 # it helps to detect inapplicable dependency modes. For instance
3673 # both Tru64's cc and ICC support -MD to output dependencies as a
3674 # side effect of compilation, but ICC will put the dependencies in
3675 # the current directory while Tru64 will put them in the object
3679 am_cv_CC_dependencies_compiler_type=none
3680 if test "$am_compiler_list" = ""; then
3681 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3683 for depmode in $am_compiler_list; do
3684 # Setup a source with many dependencies, because some compilers
3685 # like to wrap large dependency lists on column 80 (with \), and
3686 # we should not choose a depcomp mode which is confused by this.
3688 # We need to recreate these files for each test, as the compiler may
3689 # overwrite some of them when testing with obscure command lines.
3690 # This happens at least with the AIX C compiler.
3692 for i in 1 2 3 4 5 6; do
3693 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3694 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3695 # Solaris 8's {/usr,}/bin/sh.
3696 touch sub/conftst$i.h
3698 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3702 # after this tag, mechanisms are not by side-effect, so they'll
3703 # only be used when explicitly requested
3704 if test "x$enable_dependency_tracking" = xyes; then
3712 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3713 # mode. It turns out that the SunPro C++ compiler does not properly
3714 # handle `-M -o', and we need to detect this.
3715 if depmode=$depmode \
3716 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3717 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3718 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3719 >/dev/null 2>conftest.err &&
3720 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3721 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3722 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3723 # icc doesn't choke on unknown options, it will just issue warnings
3724 # or remarks (even with -Werror). So we grep stderr for any message
3725 # that says an option was ignored or not supported.
3726 # When given -MP, icc 7.0 and 7.1 complain thusly:
3727 # icc: Command line warning: ignoring option '-M'; no argument required
3728 # The diagnosis changed in icc 8.0:
3729 # icc: Command line remark: option '-MP' not supported
3730 if (grep 'ignoring option' conftest.err ||
3731 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3732 am_cv_CC_dependencies_compiler_type=$depmode
3741 am_cv_CC_dependencies_compiler_type=none
3745 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3746 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3747 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3752 test "x$enable_dependency_tracking" != xno \
3753 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3755 am__fastdepCC_FALSE='#'
3757 am__fastdepCC_TRUE='#'
3758 am__fastdepCC_FALSE=
3762 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3763 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3764 if test "${lt_cv_path_SED+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 # Loop through the user's path and test for sed and gsed.
3768 # Then use that list of sed's as ones to test for truncation.
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir=.
3774 for lt_ac_prog in sed gsed; do
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3777 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3784 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3785 # along with /bin/sed that truncates output.
3786 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3787 test ! -f $lt_ac_sed && continue
3788 cat /dev/null > conftest.in
3790 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3791 # Check for GNU sed and select it if it is found.
3792 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3793 lt_cv_path_SED=$lt_ac_sed
3797 cat conftest.in conftest.in >conftest.tmp
3798 mv conftest.tmp conftest.in
3799 cp conftest.in conftest.nl
3801 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3802 cmp -s conftest.out conftest.nl || break
3803 # 10000 chars as input seems more than enough
3804 test $lt_ac_count -gt 10 && break
3805 lt_ac_count=`expr $lt_ac_count + 1`
3806 if test $lt_ac_count -gt $lt_ac_max; then
3807 lt_ac_max=$lt_ac_count
3808 lt_cv_path_SED=$lt_ac_sed
3816 { echo "$as_me:$LINENO: result: $SED" >&5
3817 echo "${ECHO_T}$SED" >&6; }
3819 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3820 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3821 if test "${ac_cv_path_GREP+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 # Extract the first word of "grep ggrep" to use in msg output
3825 if test -z "$GREP"; then
3826 set dummy grep ggrep; ac_prog_name=$2
3827 if test "${ac_cv_path_GREP+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 ac_path_GREP_found=false
3831 # Loop through the user's path and test for each of PROGNAME-LIST
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3836 test -z "$as_dir" && as_dir=.
3837 for ac_prog in grep ggrep; do
3838 for ac_exec_ext in '' $ac_executable_extensions; do
3839 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3840 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3841 # Check for GNU ac_path_GREP and select it if it is found.
3842 # Check for GNU $ac_path_GREP
3843 case `"$ac_path_GREP" --version 2>&1` in
3845 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3848 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3851 cat "conftest.in" "conftest.in" >"conftest.tmp"
3852 mv "conftest.tmp" "conftest.in"
3853 cp "conftest.in" "conftest.nl"
3854 echo 'GREP' >> "conftest.nl"
3855 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3857 ac_count=`expr $ac_count + 1`
3858 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3859 # Best one so far, save it but keep looking for a better one
3860 ac_cv_path_GREP="$ac_path_GREP"
3861 ac_path_GREP_max=$ac_count
3863 # 10*(2^10) chars as input seems more than enough
3864 test $ac_count -gt 10 && break
3866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3870 $ac_path_GREP_found && break 3
3880 GREP="$ac_cv_path_GREP"
3881 if test -z "$GREP"; then
3882 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3883 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3884 { (exit 1); exit 1; }; }
3888 ac_cv_path_GREP=$GREP
3893 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3894 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3895 GREP="$ac_cv_path_GREP"
3898 { echo "$as_me:$LINENO: checking for egrep" >&5
3899 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3900 if test "${ac_cv_path_EGREP+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3904 then ac_cv_path_EGREP="$GREP -E"
3906 # Extract the first word of "egrep" to use in msg output
3907 if test -z "$EGREP"; then
3908 set dummy egrep; ac_prog_name=$2
3909 if test "${ac_cv_path_EGREP+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 ac_path_EGREP_found=false
3913 # Loop through the user's path and test for each of PROGNAME-LIST
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3918 test -z "$as_dir" && as_dir=.
3919 for ac_prog in egrep; do
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3922 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3923 # Check for GNU ac_path_EGREP and select it if it is found.
3924 # Check for GNU $ac_path_EGREP
3925 case `"$ac_path_EGREP" --version 2>&1` in
3927 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3930 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3933 cat "conftest.in" "conftest.in" >"conftest.tmp"
3934 mv "conftest.tmp" "conftest.in"
3935 cp "conftest.in" "conftest.nl"
3936 echo 'EGREP' >> "conftest.nl"
3937 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3938 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3939 ac_count=`expr $ac_count + 1`
3940 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3941 # Best one so far, save it but keep looking for a better one
3942 ac_cv_path_EGREP="$ac_path_EGREP"
3943 ac_path_EGREP_max=$ac_count
3945 # 10*(2^10) chars as input seems more than enough
3946 test $ac_count -gt 10 && break
3948 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3952 $ac_path_EGREP_found && break 3
3962 EGREP="$ac_cv_path_EGREP"
3963 if test -z "$EGREP"; then
3964 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3965 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3966 { (exit 1); exit 1; }; }
3970 ac_cv_path_EGREP=$EGREP
3976 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3977 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3978 EGREP="$ac_cv_path_EGREP"
3982 # Check whether --with-gnu-ld was given.
3983 if test "${with_gnu_ld+set}" = set; then
3984 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3990 if test "$GCC" = yes; then
3991 # Check if gcc -print-prog-name=ld gives a path.
3992 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3993 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3996 # gcc leaves a trailing carriage return which upsets mingw
3997 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3999 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4002 # Accept absolute paths.
4004 re_direlt='/[^/][^/]*/\.\./'
4005 # Canonicalize the pathname of ld
4006 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4007 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4008 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4010 test -z "$LD" && LD="$ac_prog"
4013 # If it fails, then pretend we aren't using GCC.
4017 # If it is relative, then search for the first ld in PATH.
4021 elif test "$with_gnu_ld" = yes; then
4022 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4023 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4025 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4026 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4028 if test "${lt_cv_path_LD+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 if test -z "$LD"; then
4032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4033 for ac_dir in $PATH; do
4035 test -z "$ac_dir" && ac_dir=.
4036 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4037 lt_cv_path_LD="$ac_dir/$ac_prog"
4038 # Check to see if the program is GNU ld. I'd rather use --version,
4039 # but apparently some variants of GNU ld only accept -v.
4040 # Break only if it was the GNU/non-GNU ld that we prefer.
4041 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4042 *GNU* | *'with BFD'*)
4043 test "$with_gnu_ld" != no && break
4046 test "$with_gnu_ld" != yes && break
4053 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4058 if test -n "$LD"; then
4059 { echo "$as_me:$LINENO: result: $LD" >&5
4060 echo "${ECHO_T}$LD" >&6; }
4062 { echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6; }
4065 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4066 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4067 { (exit 1); exit 1; }; }
4068 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4069 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4070 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4074 case `$LD -v 2>&1 </dev/null` in
4075 *GNU* | *'with BFD'*)
4076 lt_cv_prog_gnu_ld=yes
4079 lt_cv_prog_gnu_ld=no
4083 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4084 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4085 with_gnu_ld=$lt_cv_prog_gnu_ld
4088 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4089 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4090 if test "${lt_cv_ld_reload_flag+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 lt_cv_ld_reload_flag='-r'
4095 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4096 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4097 reload_flag=$lt_cv_ld_reload_flag
4098 case $reload_flag in
4100 *) reload_flag=" $reload_flag" ;;
4102 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4105 if test "$GCC" = yes; then
4106 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4108 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4113 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4114 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4115 if test "${lt_cv_path_NM+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 if test -n "$NM"; then
4119 # Let the user override the test.
4122 lt_nm_to_check="${ac_tool_prefix}nm"
4123 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4124 lt_nm_to_check="$lt_nm_to_check nm"
4126 for lt_tmp_nm in $lt_nm_to_check; do
4127 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4128 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4130 test -z "$ac_dir" && ac_dir=.
4131 tmp_nm="$ac_dir/$lt_tmp_nm"
4132 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4133 # Check to see if the nm accepts a BSD-compat flag.
4134 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4135 # nm: unknown option "B" ignored
4136 # Tru64's nm complains that /dev/null is an invalid object file
4137 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4138 */dev/null* | *'Invalid file or object type'*)
4139 lt_cv_path_NM="$tmp_nm -B"
4143 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4145 lt_cv_path_NM="$tmp_nm -p"
4149 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4150 continue # so that we can try to find one that supports BSD flags
4159 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4162 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4163 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4166 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4167 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4169 if test "$LN_S" = "ln -s"; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4173 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4174 echo "${ECHO_T}no, using $LN_S" >&6; }
4177 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4178 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4179 if test "${lt_cv_deplibs_check_method+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 lt_cv_file_magic_cmd='$MAGIC_CMD'
4183 lt_cv_file_magic_test_file=
4184 lt_cv_deplibs_check_method='unknown'
4185 # Need to set the preceding variable on all platforms that support
4186 # interlibrary dependencies.
4187 # 'none' -- dependencies not supported.
4188 # `unknown' -- same as none, but documents that we really don't know.
4189 # 'pass_all' -- all dependencies passed with no checks.
4190 # 'test_compile' -- check by making test program.
4191 # 'file_magic [[regex]]' -- check by looking for files in library path
4192 # which responds to the $file_magic_cmd with a given extended regex.
4193 # If you have `file' or equivalent on your system and you're not sure
4194 # whether `pass_all' will *always* work, you probably want this one.
4198 lt_cv_deplibs_check_method=pass_all
4202 lt_cv_deplibs_check_method=pass_all
4206 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4207 lt_cv_file_magic_cmd='/usr/bin/file -L'
4208 lt_cv_file_magic_test_file=/shlib/libc.so
4212 # func_win32_libid is a shell function defined in ltmain.sh
4213 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4214 lt_cv_file_magic_cmd='func_win32_libid'
4218 # Base MSYS/MinGW do not provide the 'file' command needed by
4219 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4220 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4221 lt_cv_file_magic_cmd='$OBJDUMP -f'
4224 darwin* | rhapsody*)
4225 lt_cv_deplibs_check_method=pass_all
4228 freebsd* | dragonfly*)
4229 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4232 # Not sure whether the presence of OpenBSD here was a mistake.
4233 # Let's accept both of them until this is cleared up.
4234 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4235 lt_cv_file_magic_cmd=/usr/bin/file
4236 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4240 lt_cv_deplibs_check_method=pass_all
4245 lt_cv_deplibs_check_method=pass_all
4248 hpux10.20* | hpux11*)
4249 lt_cv_file_magic_cmd=/usr/bin/file
4252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4253 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4256 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]'
4257 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4261 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4267 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4271 irix5* | irix6* | nonstopux*)
4273 *-32|*"-32 ") libmagic=32-bit;;
4274 *-n32|*"-n32 ") libmagic=N32;;
4275 *-64|*"-64 ") libmagic=64-bit;;
4276 *) libmagic=never-match;;
4278 lt_cv_deplibs_check_method=pass_all
4281 # This must be Linux ELF.
4282 linux* | k*bsd*-gnu)
4283 lt_cv_deplibs_check_method=pass_all
4286 netbsd* | netbsdelf*-gnu)
4287 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4296 lt_cv_file_magic_cmd=/usr/bin/file
4297 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4301 lt_cv_deplibs_check_method=unknown
4305 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4312 osf3* | osf4* | osf5*)
4313 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_deplibs_check_method=pass_all
4321 case $host_vendor in
4323 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]'
4324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4327 lt_cv_deplibs_check_method=pass_all
4330 lt_cv_file_magic_cmd='/bin/file'
4331 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4334 lt_cv_file_magic_cmd='/bin/file'
4335 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4336 lt_cv_file_magic_test_file=/lib/libc.so
4339 lt_cv_deplibs_check_method=pass_all
4342 lt_cv_deplibs_check_method=pass_all
4347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4348 lt_cv_deplibs_check_method=pass_all
4353 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4354 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4355 file_magic_cmd=$lt_cv_file_magic_cmd
4356 deplibs_check_method=$lt_cv_deplibs_check_method
4357 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4362 # If no C compiler was specified, use CC.
4365 # If no C compiler flags were specified, use CFLAGS.
4366 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4368 # Allow CC to be a program name with arguments.
4372 # Check whether --enable-libtool-lock was given.
4373 if test "${enable_libtool_lock+set}" = set; then
4374 enableval=$enable_libtool_lock;
4377 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4379 # Some flags need to be propagated to the compiler or linker for good
4383 # Find out which ABI we are using.
4384 echo 'int i;' > conftest.$ac_ext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386 (eval $ac_compile) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; then
4390 case `/usr/bin/file conftest.$ac_objext` in
4402 # Find out which ABI we are using.
4403 echo '#line 4403 "configure"' > conftest.$ac_ext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4405 (eval $ac_compile) 2>&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); }; then
4409 if test "$lt_cv_prog_gnu_ld" = yes; then
4410 case `/usr/bin/file conftest.$ac_objext` in
4412 LD="${LD-ld} -melf32bsmip"
4415 LD="${LD-ld} -melf32bmipn32"
4418 LD="${LD-ld} -melf64bmip"
4422 case `/usr/bin/file conftest.$ac_objext` in
4438 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4439 # Find out which ABI we are using.
4440 echo 'int i;' > conftest.$ac_ext
4441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4442 (eval $ac_compile) 2>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); }; then
4446 case `/usr/bin/file conftest.o` in
4450 LD="${LD-ld} -m elf_i386"
4452 ppc64-*linux*|powerpc64-*linux*)
4453 LD="${LD-ld} -m elf32ppclinux"
4456 LD="${LD-ld} -m elf_s390"
4459 LD="${LD-ld} -m elf32_sparc"
4466 LD="${LD-ld} -m elf_x86_64"
4468 ppc*-*linux*|powerpc*-*linux*)
4469 LD="${LD-ld} -m elf64ppc"
4472 LD="${LD-ld} -m elf64_s390"
4475 LD="${LD-ld} -m elf64_sparc"
4485 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4486 SAVE_CFLAGS="$CFLAGS"
4487 CFLAGS="$CFLAGS -belf"
4488 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4489 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4490 if test "${lt_cv_cc_needs_belf+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 ac_cpp='$CPP $CPPFLAGS'
4495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4499 cat >conftest.$ac_ext <<_ACEOF
4502 cat confdefs.h >>conftest.$ac_ext
4503 cat >>conftest.$ac_ext <<_ACEOF
4504 /* end confdefs.h. */
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_link") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1 >conftest.err
4525 cat conftest.err >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest$ac_exeext &&
4531 $as_test_x conftest$ac_exeext; then
4532 lt_cv_cc_needs_belf=yes
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 lt_cv_cc_needs_belf=no
4540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4541 conftest$ac_exeext conftest.$ac_ext
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4549 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4550 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4551 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4553 CFLAGS="$SAVE_CFLAGS"
4557 # Find out which ABI we are using.
4558 echo 'int i;' > conftest.$ac_ext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; then
4564 case `/usr/bin/file conftest.o` in
4566 case $lt_cv_prog_gnu_ld in
4567 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4568 *) LD="${LD-ld} -64" ;;
4576 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4577 if test -n "$ac_tool_prefix"; then
4578 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4579 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4582 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 if test -n "$DLLTOOL"; then
4586 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 DLLTOOL=$ac_cv_prog_DLLTOOL
4606 if test -n "$DLLTOOL"; then
4607 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4608 echo "${ECHO_T}$DLLTOOL" >&6; }
4610 { echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6; }
4616 if test -z "$ac_cv_prog_DLLTOOL"; then
4617 ac_ct_DLLTOOL=$DLLTOOL
4618 # Extract the first word of "dlltool", so it can be a program name with args.
4619 set dummy dlltool; ac_word=$2
4620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4622 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$ac_ct_DLLTOOL"; then
4626 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4635 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4646 if test -n "$ac_ct_DLLTOOL"; then
4647 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4648 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4650 { echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6; }
4654 if test "x$ac_ct_DLLTOOL" = x; then
4657 case $cross_compiling:$ac_tool_warned in
4659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4660 whose name does not start with the host triplet. If you think this
4661 configuration is useful to you, please write to autoconf@gnu.org." >&5
4662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4663 whose name does not start with the host triplet. If you think this
4664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4665 ac_tool_warned=yes ;;
4667 DLLTOOL=$ac_ct_DLLTOOL
4670 DLLTOOL="$ac_cv_prog_DLLTOOL"
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4675 set dummy ${ac_tool_prefix}as; ac_word=$2
4676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4678 if test "${ac_cv_prog_AS+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 if test -n "$AS"; then
4682 ac_cv_prog_AS="$AS" # Let the user override the test.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4691 ac_cv_prog_AS="${ac_tool_prefix}as"
4692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 if test -n "$AS"; then
4703 { echo "$as_me:$LINENO: result: $AS" >&5
4704 echo "${ECHO_T}$AS" >&6; }
4706 { echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6; }
4712 if test -z "$ac_cv_prog_AS"; then
4714 # Extract the first word of "as", so it can be a program name with args.
4715 set dummy as; ac_word=$2
4716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4718 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 if test -n "$ac_ct_AS"; then
4722 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir=.
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731 ac_cv_prog_ac_ct_AS="as"
4732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4742 if test -n "$ac_ct_AS"; then
4743 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4744 echo "${ECHO_T}$ac_ct_AS" >&6; }
4746 { echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6; }
4750 if test "x$ac_ct_AS" = x; then
4753 case $cross_compiling:$ac_tool_warned in
4755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4756 whose name does not start with the host triplet. If you think this
4757 configuration is useful to you, please write to autoconf@gnu.org." >&5
4758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4759 whose name does not start with the host triplet. If you think this
4760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4761 ac_tool_warned=yes ;;
4769 if test -n "$ac_tool_prefix"; then
4770 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4771 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4774 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 if test -n "$OBJDUMP"; then
4778 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4787 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 OBJDUMP=$ac_cv_prog_OBJDUMP
4798 if test -n "$OBJDUMP"; then
4799 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4800 echo "${ECHO_T}$OBJDUMP" >&6; }
4802 { echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6; }
4808 if test -z "$ac_cv_prog_OBJDUMP"; then
4809 ac_ct_OBJDUMP=$OBJDUMP
4810 # Extract the first word of "objdump", so it can be a program name with args.
4811 set dummy objdump; ac_word=$2
4812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4814 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 if test -n "$ac_ct_OBJDUMP"; then
4818 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4827 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4838 if test -n "$ac_ct_OBJDUMP"; then
4839 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4840 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4842 { echo "$as_me:$LINENO: result: no" >&5
4843 echo "${ECHO_T}no" >&6; }
4846 if test "x$ac_ct_OBJDUMP" = x; then
4849 case $cross_compiling:$ac_tool_warned in
4851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4852 whose name does not start with the host triplet. If you think this
4853 configuration is useful to you, please write to autoconf@gnu.org." >&5
4854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4855 whose name does not start with the host triplet. If you think this
4856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4857 ac_tool_warned=yes ;;
4859 OBJDUMP=$ac_ct_OBJDUMP
4862 OBJDUMP="$ac_cv_prog_OBJDUMP"
4869 need_locks="$enable_libtool_lock"
4873 ac_cpp='$CPP $CPPFLAGS'
4874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4877 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4878 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4879 # On Suns, sometimes $CPP names a directory.
4880 if test -n "$CPP" && test -d "$CPP"; then
4883 if test -z "$CPP"; then
4884 if test "${ac_cv_prog_CPP+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 # Double quotes because CPP needs to be expanded
4888 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4891 for ac_c_preproc_warn_flag in '' yes
4893 # Use a header file that comes with gcc, so configuring glibc
4894 # with a fresh cross-compiler works.
4895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4896 # <limits.h> exists even on freestanding compilers.
4897 # On the NeXT, cc -E runs the code through the compiler's parser,
4898 # not just through cpp. "Syntax error" is here to catch this case.
4899 cat >conftest.$ac_ext <<_ACEOF
4902 cat confdefs.h >>conftest.$ac_ext
4903 cat >>conftest.$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4906 # include <limits.h>