2 # From configure.ac Revision: 1.172 .
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 tagnames=${tagnames+${tagnames},}GCJ
711 exec 7<&0 </dev/null 6>&1
714 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
715 # so uname gets run too.
716 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
721 ac_default_prefix=/usr/local
723 ac_config_libobj_dir=.
729 SHELL=${CONFIG_SHELL-/bin/sh}
731 # Identity of this package.
732 PACKAGE_NAME='simgrid'
733 PACKAGE_TARNAME='simgrid'
734 PACKAGE_VERSION='3.3-cvs'
735 PACKAGE_STRING='simgrid 3.3-cvs'
736 PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr'
738 ac_unique_file="include/gras.h"
739 # Factoring default headers for most tests.
740 ac_includes_default="\
742 #ifdef HAVE_SYS_TYPES_H
743 # include <sys/types.h>
745 #ifdef HAVE_SYS_STAT_H
746 # include <sys/stat.h>
752 # ifdef HAVE_STDLIB_H
757 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
762 #ifdef HAVE_STRINGS_H
763 # include <strings.h>
765 #ifdef HAVE_INTTYPES_H
766 # include <inttypes.h>
784 program_transform_name
850 INSTALL_STRIP_PROGRAM
886 GRAS_ARCH_32_BITS_TRUE
887 GRAS_ARCH_32_BITS_FALSE
889 pth_skaddr_makecontext
890 pth_sksize_makecontext
903 MAINTAINER_MODE_FALSE
930 ac_precious_vars='build_alias
945 # Initialize some variables set by options.
947 ac_init_version=false
948 # The variables have the same names as the options, with
949 # dashes changed to underlines.
957 program_transform_name=s,x,x,
965 # Installation directory options.
966 # These are left unexpanded so users can "make install exec_prefix=/foo"
967 # and all the variables that are supposed to be based on exec_prefix
968 # by default will actually change.
969 # Use braces instead of parens because sh, perl, etc. also accept them.
970 # (The list follows the same order as the GNU Coding Standards.)
971 bindir='${exec_prefix}/bin'
972 sbindir='${exec_prefix}/sbin'
973 libexecdir='${exec_prefix}/libexec'
974 datarootdir='${prefix}/share'
975 datadir='${datarootdir}'
976 sysconfdir='${prefix}/etc'
977 sharedstatedir='${prefix}/com'
978 localstatedir='${prefix}/var'
979 includedir='${prefix}/include'
980 oldincludedir='/usr/include'
981 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
982 infodir='${datarootdir}/info'
987 libdir='${exec_prefix}/lib'
988 localedir='${datarootdir}/locale'
989 mandir='${datarootdir}/man'
995 # If the previous option needs an argument, assign it.
996 if test -n "$ac_prev"; then
997 eval $ac_prev=\$ac_option
1003 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007 # Accept the important Cygnus configure options, so we can diagnose typos.
1009 case $ac_dashdash$ac_option in
1013 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1015 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1016 bindir=$ac_optarg ;;
1018 -build | --build | --buil | --bui | --bu)
1019 ac_prev=build_alias ;;
1020 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1021 build_alias=$ac_optarg ;;
1023 -cache-file | --cache-file | --cache-fil | --cache-fi \
1024 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1025 ac_prev=cache_file ;;
1026 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1027 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1028 cache_file=$ac_optarg ;;
1030 --config-cache | -C)
1031 cache_file=config.cache ;;
1033 -datadir | --datadir | --datadi | --datad)
1035 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1036 datadir=$ac_optarg ;;
1038 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1039 | --dataroo | --dataro | --datar)
1040 ac_prev=datarootdir ;;
1041 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1042 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1043 datarootdir=$ac_optarg ;;
1045 -disable-* | --disable-*)
1046 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1050 { (exit 1); exit 1; }; }
1051 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1052 eval enable_$ac_feature=no ;;
1054 -docdir | --docdir | --docdi | --doc | --do)
1056 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057 docdir=$ac_optarg ;;
1059 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1061 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062 dvidir=$ac_optarg ;;
1064 -enable-* | --enable-*)
1065 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1071 eval enable_$ac_feature=\$ac_optarg ;;
1073 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075 | --exec | --exe | --ex)
1076 ac_prev=exec_prefix ;;
1077 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079 | --exec=* | --exe=* | --ex=*)
1080 exec_prefix=$ac_optarg ;;
1082 -gas | --gas | --ga | --g)
1083 # Obsolete; use --with-gas.
1086 -help | --help | --hel | --he | -h)
1087 ac_init_help=long ;;
1088 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089 ac_init_help=recursive ;;
1090 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091 ac_init_help=short ;;
1093 -host | --host | --hos | --ho)
1094 ac_prev=host_alias ;;
1095 -host=* | --host=* | --hos=* | --ho=*)
1096 host_alias=$ac_optarg ;;
1098 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102 htmldir=$ac_optarg ;;
1104 -includedir | --includedir | --includedi | --included | --include \
1105 | --includ | --inclu | --incl | --inc)
1106 ac_prev=includedir ;;
1107 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108 | --includ=* | --inclu=* | --incl=* | --inc=*)
1109 includedir=$ac_optarg ;;
1111 -infodir | --infodir | --infodi | --infod | --info | --inf)
1113 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114 infodir=$ac_optarg ;;
1116 -libdir | --libdir | --libdi | --libd)
1118 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1119 libdir=$ac_optarg ;;
1121 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122 | --libexe | --libex | --libe)
1123 ac_prev=libexecdir ;;
1124 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125 | --libexe=* | --libex=* | --libe=*)
1126 libexecdir=$ac_optarg ;;
1128 -localedir | --localedir | --localedi | --localed | --locale)
1129 ac_prev=localedir ;;
1130 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131 localedir=$ac_optarg ;;
1133 -localstatedir | --localstatedir | --localstatedi | --localstated \
1134 | --localstate | --localstat | --localsta | --localst | --locals)
1135 ac_prev=localstatedir ;;
1136 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138 localstatedir=$ac_optarg ;;
1140 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143 mandir=$ac_optarg ;;
1145 -nfp | --nfp | --nf)
1146 # Obsolete; use --without-fp.
1149 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150 | --no-cr | --no-c | -n)
1153 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1157 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159 | --oldin | --oldi | --old | --ol | --o)
1160 ac_prev=oldincludedir ;;
1161 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164 oldincludedir=$ac_optarg ;;
1166 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169 prefix=$ac_optarg ;;
1171 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1172 | --program-pre | --program-pr | --program-p)
1173 ac_prev=program_prefix ;;
1174 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1175 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176 program_prefix=$ac_optarg ;;
1178 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1179 | --program-suf | --program-su | --program-s)
1180 ac_prev=program_suffix ;;
1181 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1182 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1193 -program-transform-name=* | --program-transform-name=* \
1194 | --program-transform-nam=* | --program-transform-na=* \
1195 | --program-transform-n=* | --program-transform-=* \
1196 | --program-transform=* | --program-transfor=* \
1197 | --program-transfo=* | --program-transf=* \
1198 | --program-trans=* | --program-tran=* \
1199 | --progr-tra=* | --program-tr=* | --program-t=*)
1200 program_transform_name=$ac_optarg ;;
1202 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205 pdfdir=$ac_optarg ;;
1207 -psdir | --psdir | --psdi | --psd | --ps)
1209 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213 | -silent | --silent | --silen | --sile | --sil)
1216 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220 sbindir=$ac_optarg ;;
1222 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1223 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224 | --sharedst | --shareds | --shared | --share | --shar \
1226 ac_prev=sharedstatedir ;;
1227 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231 sharedstatedir=$ac_optarg ;;
1233 -site | --site | --sit)
1235 -site=* | --site=* | --sit=*)
1238 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241 srcdir=$ac_optarg ;;
1243 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244 | --syscon | --sysco | --sysc | --sys | --sy)
1245 ac_prev=sysconfdir ;;
1246 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248 sysconfdir=$ac_optarg ;;
1250 -target | --target | --targe | --targ | --tar | --ta | --t)
1251 ac_prev=target_alias ;;
1252 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253 target_alias=$ac_optarg ;;
1255 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1258 -version | --version | --versio | --versi | --vers | -V)
1259 ac_init_version=: ;;
1262 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265 { echo "$as_me: error: invalid package name: $ac_package" >&2
1266 { (exit 1); exit 1; }; }
1267 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1268 eval with_$ac_package=\$ac_optarg ;;
1270 -without-* | --without-*)
1271 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 { echo "$as_me: error: invalid package name: $ac_package" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1277 eval with_$ac_package=no ;;
1280 # Obsolete; use --with-x.
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev=x_includes ;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes=$ac_optarg ;;
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev=x_libraries ;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries=$ac_optarg ;;
1297 -*) { echo "$as_me: error: unrecognized option: $ac_option
1298 Try \`$0 --help' for more information." >&2
1299 { (exit 1); exit 1; }; }
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1306 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1307 { (exit 1); exit 1; }; }
1308 eval $ac_envvar=\$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1322 if test -n "$ac_prev"; then
1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324 { echo "$as_me: error: missing argument to $ac_option" >&2
1325 { (exit 1); exit 1; }; }
1328 # Be sure to have absolute directory names.
1329 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1330 datadir sysconfdir sharedstatedir localstatedir includedir \
1331 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1332 libdir localedir mandir
1334 eval ac_val=\$$ac_var
1336 [\\/$]* | ?:[\\/]* ) continue;;
1337 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1340 { (exit 1); exit 1; }; }
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1348 target=$target_alias
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x; then
1352 if test "x$build_alias" = x; then
1353 cross_compiling=maybe
1354 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1355 If a cross compiler is detected then cross compile mode will be used." >&2
1356 elif test "x$build_alias" != "x$host_alias"; then
1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364 test "$silent" = yes && exec 6>/dev/null
1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di=`ls -di .` &&
1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370 { echo "$as_me: error: Working directory cannot be determined" >&2
1371 { (exit 1); exit 1; }; }
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 { echo "$as_me: error: pwd does not report name of working directory" >&2
1374 { (exit 1); exit 1; }; }
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir=`$as_dirname -- "$0" ||
1382 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$0" : 'X\(//\)[^/]' \| \
1384 X"$0" : 'X\(//\)$' \| \
1385 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1409 ac_srcdir_defaulted=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1413 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1414 { (exit 1); exit 1; }; }
1416 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1419 { (exit 1); exit 1; }; }
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 for ac_var in $ac_precious_vars; do
1432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_${ac_var}_value=\$${ac_var}
1434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1439 # Report the --help message.
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1445 \`configure' configures simgrid 3.3-cvs to adapt to many kinds of systems.
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1452 Defaults for the options are specified in brackets.
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1476 For better control, use the options below.
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 --target=TARGET configure for building compilers for TARGET [HOST]
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of simgrid 3.3-cvs:";;
1521 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1522 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1523 --disable-dependency-tracking speeds up one-time build
1524 --enable-dependency-tracking do not reject slow dependency extractors
1525 --enable-shared[=PKGS] build shared libraries [default=yes]
1526 --enable-static[=PKGS] build static libraries [default=yes]
1527 --enable-fast-install[=PKGS]
1528 optimize for fast installation [default=yes]
1529 --disable-libtool-lock avoid locking (might break parallel builds)
1530 --enable-maintainer-mode enable make rules and dependencies not useful
1531 (and sometimes confusing) to the casual installer
1532 --enable-compile-warnings
1533 use compiler warnings (default=no, unless in
1535 --disable-compile-optimizations
1536 use compiler optimizations (default=yes, unless if
1537 CFLAGS is explicitly set)
1538 --disable-java To not compile the Java bindings even if the tools
1542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1544 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1545 --with-pic try to use only PIC/non-PIC objects [default=use
1547 --with-tags[=TAGS] include additional configurations [automatic]
1548 --with-pthread Use pthread instead of ucontext.
1549 --with-pthreads Use pthread instead of ucontext.
1550 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1551 --with-gtnets Path to GTNetS installation (default to empty, ie
1554 Some influential environment variables:
1555 CC C compiler command
1556 CFLAGS C compiler flags
1557 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1558 nonstandard directory <lib dir>
1559 LIBS libraries to pass to the linker, e.g. -l<library>
1560 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1561 you have headers in a nonstandard directory <include dir>
1563 CXX C++ compiler command
1564 CXXFLAGS C++ compiler flags
1565 CXXCPP C++ preprocessor
1567 Use these variables to override the choices made by `configure' or to help
1568 it to find libraries and programs with nonstandard names/locations.
1570 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1578 test -d "$ac_dir" || continue
1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1585 # A ".." for each directory in $ac_dir_suffix.
1586 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1587 case $ac_top_builddir_sub in
1588 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1592 ac_abs_top_builddir=$ac_pwd
1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594 # for backward compatibility:
1595 ac_top_builddir=$ac_top_build_prefix
1598 .) # We are building in place.
1600 ac_top_srcdir=$ac_top_builddir_sub
1601 ac_abs_top_srcdir=$ac_pwd ;;
1602 [\\/]* | ?:[\\/]* ) # Absolute name.
1603 ac_srcdir=$srcdir$ac_dir_suffix;
1604 ac_top_srcdir=$srcdir
1605 ac_abs_top_srcdir=$srcdir ;;
1607 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608 ac_top_srcdir=$ac_top_build_prefix$srcdir
1609 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613 cd "$ac_dir" || { ac_status=$?; continue; }
1614 # Check for guested configure.
1615 if test -f "$ac_srcdir/configure.gnu"; then
1617 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618 elif test -f "$ac_srcdir/configure"; then
1620 $SHELL "$ac_srcdir/configure" --help=recursive
1622 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624 cd "$ac_pwd" || { ac_status=$?; break; }
1628 test -n "$ac_init_help" && exit $ac_status
1629 if $ac_init_version; then
1631 simgrid configure 3.3-cvs
1632 generated by GNU Autoconf 2.61
1634 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1635 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1641 cat >config.log <<_ACEOF
1642 This file contains any messages produced by compilers while
1643 running configure, to aid debugging if configure makes a mistake.
1645 It was created by simgrid $as_me 3.3-cvs, which was
1646 generated by GNU Autoconf 2.61. Invocation command line was
1658 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1659 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1660 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1661 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1662 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1664 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1665 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1667 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1668 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1669 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1670 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1671 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1672 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1673 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir=.
1682 echo "PATH: $as_dir"
1698 # Keep a trace of the command line.
1699 # Strip out --no-create and --no-recursion so they do not pile up.
1700 # Strip out --silent because we don't want to record it for future runs.
1701 # Also quote any args containing shell meta-characters.
1702 # Make two passes to allow for proper duplicate-argument suppression.
1706 ac_must_keep_next=false
1712 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714 | -silent | --silent | --silen | --sile | --sil)
1717 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1722 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1723 if test $ac_must_keep_next = true; then
1724 ac_must_keep_next=false # Got value, back to normal.
1727 *=* | --config-cache | -C | -disable-* | --disable-* \
1728 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1729 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1730 | -with-* | --with-* | -without-* | --without-* | --x)
1731 case "$ac_configure_args0 " in
1732 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1735 -* ) ac_must_keep_next=true ;;
1738 ac_configure_args="$ac_configure_args '$ac_arg'"
1743 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1744 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1746 # When interrupted or exit'd, cleanup temporary files, and complete
1747 # config.log. We remove comments because anyway the quotes in there
1748 # would cause problems or look ugly.
1749 # WARNING: Use '\'' to represent an apostrophe within the trap.
1750 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1751 trap 'exit_status=$?
1752 # Save into config.log some information that might help in debugging.
1757 ## ---------------- ##
1758 ## Cache variables. ##
1759 ## ---------------- ##
1762 # The following way of writing the cache mishandles newlines in values,
1764 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1765 eval ac_val=\$$ac_var
1769 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1770 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1773 _ | IFS | as_nl) ;; #(
1774 *) $as_unset $ac_var ;;
1779 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1780 *${as_nl}ac_space=\ *)
1782 "s/'\''/'\''\\\\'\'''\''/g;
1783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1786 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1794 ## ----------------- ##
1795 ## Output variables. ##
1796 ## ----------------- ##
1799 for ac_var in $ac_subst_vars
1801 eval ac_val=\$$ac_var
1803 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805 echo "$ac_var='\''$ac_val'\''"
1809 if test -n "$ac_subst_files"; then
1811 ## ------------------- ##
1812 ## File substitutions. ##
1813 ## ------------------- ##
1816 for ac_var in $ac_subst_files
1818 eval ac_val=\$$ac_var
1820 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822 echo "$ac_var='\''$ac_val'\''"
1827 if test -s confdefs.h; then
1837 test "$ac_signal" != 0 &&
1838 echo "$as_me: caught signal $ac_signal"
1839 echo "$as_me: exit $exit_status"
1841 rm -f core *.core core.conftest.* &&
1842 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1845 for ac_signal in 1 2 13 15; do
1846 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1851 rm -f -r conftest* confdefs.h
1853 # Predefined preprocessor variables.
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_NAME "$PACKAGE_NAME"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_STRING "$PACKAGE_STRING"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1880 # Let the site file select an alternate cache file if it wants to.
1881 # Prefer explicitly selected file to automatically selected ones.
1882 if test -n "$CONFIG_SITE"; then
1883 set x "$CONFIG_SITE"
1884 elif test "x$prefix" != xNONE; then
1885 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1887 set x "$ac_default_prefix/share/config.site" \
1888 "$ac_default_prefix/etc/config.site"
1893 if test -r "$ac_site_file"; then
1894 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1895 echo "$as_me: loading site script $ac_site_file" >&6;}
1896 sed 's/^/| /' "$ac_site_file" >&5
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special
1903 # files actually), so we avoid doing that.
1904 if test -f "$cache_file"; then
1905 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1906 echo "$as_me: loading cache $cache_file" >&6;}
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1913 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1914 echo "$as_me: creating cache $cache_file" >&6;}
1918 # Check that the precious variables saved in the cache have kept the same
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1928 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1929 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1932 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1933 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1939 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1940 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1941 echo "$as_me: former value: $ac_old_val" >&2;}
1942 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1943 echo "$as_me: current value: $ac_new_val" >&2;}
1944 ac_cache_corrupted=:
1947 # Pass precious variables to config.status.
1948 if test "$ac_new_set" = set; then
1950 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1951 *) ac_arg=$ac_var=$ac_new_val ;;
1953 case " $ac_configure_args " in
1954 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1955 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1959 if $ac_cache_corrupted; then
1960 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1961 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1962 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1963 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1964 { (exit 1); exit 1; }; }
1992 ac_cpp='$CPP $CPPFLAGS'
1993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1999 ac_config_headers="$ac_config_headers src/gras_config.h"
2001 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
2005 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2006 if test -f "$ac_dir/install-sh"; then
2008 ac_install_sh="$ac_aux_dir/install-sh -c"
2010 elif test -f "$ac_dir/install.sh"; then
2012 ac_install_sh="$ac_aux_dir/install.sh -c"
2014 elif test -f "$ac_dir/shtool"; then
2016 ac_install_sh="$ac_aux_dir/shtool install -c"
2020 if test -z "$ac_aux_dir"; then
2021 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2022 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2023 { (exit 1); exit 1; }; }
2026 # These three variables are undocumented and unsupported,
2027 # and are intended to be withdrawn in a future Autoconf release.
2028 # They can cause serious problems if a builder's source tree is in a directory
2029 # whose full name contains unusual characters.
2030 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2031 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2032 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2035 # Make sure we can run config.sub.
2036 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2037 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2038 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2039 { (exit 1); exit 1; }; }
2041 { echo "$as_me:$LINENO: checking build system type" >&5
2042 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2043 if test "${ac_cv_build+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 ac_build_alias=$build_alias
2047 test "x$ac_build_alias" = x &&
2048 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2049 test "x$ac_build_alias" = x &&
2050 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2051 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2052 { (exit 1); exit 1; }; }
2053 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2054 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2055 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2056 { (exit 1); exit 1; }; }
2059 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2060 echo "${ECHO_T}$ac_cv_build" >&6; }
2061 case $ac_cv_build in
2063 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2064 echo "$as_me: error: invalid value of canonical build" >&2;}
2065 { (exit 1); exit 1; }; };;
2068 ac_save_IFS=$IFS; IFS='-'
2074 # Remember, the first character of IFS is used to create $*,
2075 # except with old shells:
2078 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2081 { echo "$as_me:$LINENO: checking host system type" >&5
2082 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2083 if test "${ac_cv_host+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 if test "x$host_alias" = x; then
2087 ac_cv_host=$ac_cv_build
2089 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2090 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2091 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2092 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2097 echo "${ECHO_T}$ac_cv_host" >&6; }
2100 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2101 echo "$as_me: error: invalid value of canonical host" >&2;}
2102 { (exit 1); exit 1; }; };;
2105 ac_save_IFS=$IFS; IFS='-'
2111 # Remember, the first character of IFS is used to create $*,
2112 # except with old shells:
2115 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2118 { echo "$as_me:$LINENO: checking target system type" >&5
2119 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2120 if test "${ac_cv_target+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 if test "x$target_alias" = x; then
2124 ac_cv_target=$ac_cv_host
2126 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2133 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2134 echo "${ECHO_T}$ac_cv_target" >&6; }
2135 case $ac_cv_target in
2137 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2138 echo "$as_me: error: invalid value of canonical target" >&2;}
2139 { (exit 1); exit 1; }; };;
2141 target=$ac_cv_target
2142 ac_save_IFS=$IFS; IFS='-'
2148 # Remember, the first character of IFS is used to create $*,
2149 # except with old shells:
2152 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2155 # The aliases save the names the user supplied, while $host etc.
2156 # will get canonicalized.
2157 test -n "$target_alias" &&
2158 test "$program_prefix$program_suffix$program_transform_name" = \
2160 program_prefix=${target_alias}-
2162 ac_cpp='$CPP $CPPFLAGS'
2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 rm -rf .tst 2>/dev/null
2168 mkdir .tst 2>/dev/null
2169 if test -d .tst; then
2174 rmdir .tst 2>/dev/null
2176 DEPDIR="${am__leading_dot}deps"
2178 ac_config_commands="$ac_config_commands depfiles"
2181 am_make=${MAKE-make}
2182 cat > confinc << 'END'
2187 # If we don't find an include directive, just comment out the code.
2188 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2189 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2193 # First try GNU make style include.
2194 echo "include confinc" > confmf
2195 # We grep out `Entering directory' and `Leaving directory'
2196 # messages which can occur if `w' ends up in MAKEFLAGS.
2197 # In particular we don't look at `^make:' because GNU make might
2198 # be invoked under some other name (usually "gmake"), in which
2199 # case it prints its new name instead of `make'.
2200 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2205 # Now try BSD make style include.
2206 if test "$am__include" = "#"; then
2207 echo '.include "confinc"' > confmf
2208 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2209 am__include=.include
2216 { echo "$as_me:$LINENO: result: $_am_result" >&5
2217 echo "${ECHO_T}$_am_result" >&6; }
2218 rm -f confinc confmf
2220 # Check whether --enable-dependency-tracking was given.
2221 if test "${enable_dependency_tracking+set}" = set; then
2222 enableval=$enable_dependency_tracking;
2225 if test "x$enable_dependency_tracking" != xno; then
2226 am_depcomp="$ac_aux_dir/depcomp"
2229 if test "x$enable_dependency_tracking" != xno; then
2239 for ac_prog in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
2241 # Extract the first word of "$ac_prog", so it can be a program name with args.
2242 set dummy $ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_GCJ+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$GCJ"; then
2249 ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_GCJ="$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$GCJ"; then
2270 { echo "$as_me:$LINENO: result: $GCJ" >&5
2271 echo "${ECHO_T}$GCJ" >&6; }
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$GCJ" && break
2280 test -n "$GCJ" || GCJ="gcj"
2282 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
2283 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
2284 { (exit 1); exit 1; }; }
2285 if test "x${GCJFLAGS-unset}" = xunset; then
2290 depcc="$GCJ" am_compiler_list='gcc3 gcc'
2292 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2293 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2294 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2298 # We make a subdir and do the tests there. Otherwise we can end up
2299 # making bogus files that we don't know about and never remove. For
2300 # instance it was reported that on HP-UX the gcc test will end up
2301 # making a dummy file named `D' -- because `-MD' means `put the output
2304 # Copy depcomp to subdir because otherwise we won't find it if we're
2305 # using a relative directory.
2306 cp "$am_depcomp" conftest.dir
2308 # We will build objects and dependencies in a subdirectory because
2309 # it helps to detect inapplicable dependency modes. For instance
2310 # both Tru64's cc and ICC support -MD to output dependencies as a
2311 # side effect of compilation, but ICC will put the dependencies in
2312 # the current directory while Tru64 will put them in the object
2316 am_cv_GCJ_dependencies_compiler_type=none
2317 if test "$am_compiler_list" = ""; then
2318 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2320 for depmode in $am_compiler_list; do
2321 # Setup a source with many dependencies, because some compilers
2322 # like to wrap large dependency lists on column 80 (with \), and
2323 # we should not choose a depcomp mode which is confused by this.
2325 # We need to recreate these files for each test, as the compiler may
2326 # overwrite some of them when testing with obscure command lines.
2327 # This happens at least with the AIX C compiler.
2329 for i in 1 2 3 4 5 6; do
2330 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2331 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2332 # Solaris 8's {/usr,}/bin/sh.
2333 touch sub/conftst$i.h
2335 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2339 # after this tag, mechanisms are not by side-effect, so they'll
2340 # only be used when explicitly requested
2341 if test "x$enable_dependency_tracking" = xyes; then
2349 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2350 # mode. It turns out that the SunPro C++ compiler does not properly
2351 # handle `-M -o', and we need to detect this.
2352 if depmode=$depmode \
2353 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2355 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2356 >/dev/null 2>conftest.err &&
2357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2359 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2361 # icc doesn't choke on unknown options, it will just issue warnings
2362 # or remarks (even with -Werror). So we grep stderr for any message
2363 # that says an option was ignored or not supported.
2364 # When given -MP, icc 7.0 and 7.1 complain thusly:
2365 # icc: Command line warning: ignoring option '-M'; no argument required
2366 # The diagnosis changed in icc 8.0:
2367 # icc: Command line remark: option '-MP' not supported
2368 if (grep 'ignoring option' conftest.err ||
2369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2370 am_cv_GCJ_dependencies_compiler_type=$depmode
2379 am_cv_GCJ_dependencies_compiler_type=none
2383 { echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
2384 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6; }
2385 GCJDEPMODE=depmode=$am_cv_GCJ_dependencies_compiler_type
2388 test "x$enable_dependency_tracking" != xno \
2389 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3; then
2390 am__fastdepGCJ_TRUE=
2391 am__fastdepGCJ_FALSE='#'
2393 am__fastdepGCJ_TRUE='#'
2394 am__fastdepGCJ_FALSE=
2400 am__api_version='1.10'
2402 # Find a good install program. We prefer a C program (faster),
2403 # so one script is as good as another. But avoid the broken or
2404 # incompatible versions:
2405 # SysV /etc/install, /usr/sbin/install
2406 # SunOS /usr/etc/install
2407 # IRIX /sbin/install
2409 # AmigaOS /C/install, which installs bootblocks on floppy discs
2410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2413 # OS/2's system install, which has a completely different semantic
2414 # ./install, which can be erroneously created by make from ./install.sh.
2415 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2416 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2417 if test -z "$INSTALL"; then
2418 if test "${ac_cv_path_install+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 # Account for people who put trailing slashes in PATH elements.
2428 ./ | .// | /cC/* | \
2429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2430 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2433 # OSF1 and SCO ODT 3.0 have their own names for install.
2434 # Don't use installbsd from OSF since it installs stuff as root
2436 for ac_prog in ginstall scoinst install; do
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2439 if test $ac_prog = install &&
2440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2441 # AIX install. It has an incompatible calling convention.
2443 elif test $ac_prog = install &&
2444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2445 # program-specific install script used by HP pwplus--don't use.
2448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2461 if test "${ac_cv_path_install+set}" = set; then
2462 INSTALL=$ac_cv_path_install
2464 # As a last resort, use the slow shell script. Don't cache a
2465 # value for INSTALL within a source directory, because that will
2466 # break other packages using the cache if that directory is
2467 # removed, or if the value is a relative name.
2468 INSTALL=$ac_install_sh
2471 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2472 echo "${ECHO_T}$INSTALL" >&6; }
2474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2475 # It thinks the first close brace ends the variable substitution.
2476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2480 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2482 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2483 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2486 echo timestamp > conftest.file
2487 # Do `set' in a subshell so we don't clobber the current shell's
2488 # arguments. Must try -L first in case configure is actually a
2489 # symlink; some systems play weird games with the mod time of symlinks
2490 # (eg FreeBSD returns the mod time of the symlink's containing
2493 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2494 if test "$*" = "X"; then
2496 set X `ls -t $srcdir/configure conftest.file`
2499 if test "$*" != "X $srcdir/configure conftest.file" \
2500 && test "$*" != "X conftest.file $srcdir/configure"; then
2502 # If neither matched, then we have a broken ls. This can happen
2503 # if, for instance, CONFIG_SHELL is bash and it inherits a
2504 # broken ls alias from the environment. This has actually
2505 # happened. Such a system could not be considered "sane".
2506 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2507 alias in your environment" >&5
2508 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2509 alias in your environment" >&2;}
2510 { (exit 1); exit 1; }; }
2513 test "$2" = conftest.file
2519 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2520 Check your system clock" >&5
2521 echo "$as_me: error: newly created file is older than distributed files!
2522 Check your system clock" >&2;}
2523 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6; }
2527 test "$program_prefix" != NONE &&
2528 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2529 # Use a double $ so make ignores it.
2530 test "$program_suffix" != NONE &&
2531 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2532 # Double any \ or $. echo might interpret backslashes.
2533 # By default was `s,x,x', remove it if useless.
2534 cat <<\_ACEOF >conftest.sed
2535 s/[\\$]/&&/g;s/;s,x,x,$//
2537 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2540 # expand $ac_aux_dir to an absolute path
2541 am_aux_dir=`cd $ac_aux_dir && pwd`
2543 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2544 # Use eval to expand $SHELL
2545 if eval "$MISSING --run true"; then
2546 am_missing_run="$MISSING --run "
2549 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2550 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2553 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2554 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2555 if test -z "$MKDIR_P"; then
2556 if test "${ac_cv_path_mkdir+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2563 test -z "$as_dir" && as_dir=.
2564 for ac_prog in mkdir gmkdir; do
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2567 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2568 'mkdir (GNU coreutils) '* | \
2569 'mkdir (coreutils) '* | \
2570 'mkdir (fileutils) '4.1*)
2571 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2581 if test "${ac_cv_path_mkdir+set}" = set; then
2582 MKDIR_P="$ac_cv_path_mkdir -p"
2584 # As a last resort, use the slow shell script. Don't cache a
2585 # value for MKDIR_P within a source directory, because that will
2586 # break other packages using the cache if that directory is
2587 # removed, or if the value is a relative name.
2588 test -d ./--version && rmdir ./--version
2589 MKDIR_P="$ac_install_sh -d"
2592 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2593 echo "${ECHO_T}$MKDIR_P" >&6; }
2597 [\\/$]* | ?:[\\/]*) ;;
2598 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2601 for ac_prog in gawk mawk nawk awk
2603 # Extract the first word of "$ac_prog", so it can be a program name with args.
2604 set dummy $ac_prog; ac_word=$2
2605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2607 if test "${ac_cv_prog_AWK+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 if test -n "$AWK"; then
2611 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 ac_cv_prog_AWK="$ac_prog"
2621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 if test -n "$AWK"; then
2632 { echo "$as_me:$LINENO: result: $AWK" >&5
2633 echo "${ECHO_T}$AWK" >&6; }
2635 { echo "$as_me:$LINENO: result: no" >&5
2636 echo "${ECHO_T}no" >&6; }
2640 test -n "$AWK" && break
2643 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2644 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2645 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2646 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 cat >conftest.make <<\_ACEOF
2652 @echo '@@@%%%=$(MAKE)=@@@%%%'
2654 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2657 eval ac_cv_prog_make_${ac_make}_set=yes;;
2659 eval ac_cv_prog_make_${ac_make}_set=no;;
2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2664 { echo "$as_me:$LINENO: result: yes" >&5
2665 echo "${ECHO_T}yes" >&6; }
2668 { echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6; }
2670 SET_MAKE="MAKE=${MAKE-make}"
2673 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2674 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2675 # is not polluted with repeated "-I."
2676 am__isrc=' -I$(srcdir)'
2677 # test to see if srcdir already configured
2678 if test -f $srcdir/config.status; then
2679 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2680 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2681 { (exit 1); exit 1; }; }
2685 # test whether we have cygpath
2686 if test -z "$CYGPATH_W"; then
2687 if (cygpath --version) >/dev/null 2>/dev/null; then
2688 CYGPATH_W='cygpath -w'
2695 # Define the identity of the package.
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE "$PACKAGE"
2705 cat >>confdefs.h <<_ACEOF
2706 #define VERSION "$VERSION"
2709 # Some tools Automake needs.
2711 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2714 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2717 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2720 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2723 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2725 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2727 # Installed binaries are usually stripped using `strip' when the user
2728 # run `make install-strip'. However `strip' might not be the right
2729 # tool to use in cross-compilation environments, therefore Automake
2730 # will honor the `STRIP' environment variable to overrule this program.
2731 if test "$cross_compiling" != no; then
2732 if test -n "$ac_tool_prefix"; then
2733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2734 set dummy ${ac_tool_prefix}strip; ac_word=$2
2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737 if test "${ac_cv_prog_STRIP+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -n "$STRIP"; then
2741 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 STRIP=$ac_cv_prog_STRIP
2761 if test -n "$STRIP"; then
2762 { echo "$as_me:$LINENO: result: $STRIP" >&5
2763 echo "${ECHO_T}$STRIP" >&6; }
2765 { echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6; }
2771 if test -z "$ac_cv_prog_STRIP"; then
2773 # Extract the first word of "strip", so it can be a program name with args.
2774 set dummy strip; ac_word=$2
2775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2777 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$ac_ct_STRIP"; then
2781 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_ac_ct_STRIP="strip"
2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2801 if test -n "$ac_ct_STRIP"; then
2802 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2803 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2805 { echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6; }
2809 if test "x$ac_ct_STRIP" = x; then
2812 case $cross_compiling:$ac_tool_warned in
2814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815 whose name does not start with the host triplet. If you think this
2816 configuration is useful to you, please write to autoconf@gnu.org." >&5
2817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818 whose name does not start with the host triplet. If you think this
2819 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2820 ac_tool_warned=yes ;;
2825 STRIP="$ac_cv_prog_STRIP"
2829 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2831 # We need awk for the "check" target. The system "awk" is bad on
2833 # Always define AMTAR for backward compatibility.
2835 AMTAR=${AMTAR-"${am_missing_run}tar"}
2837 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2844 ACLOCAL="$ACLOCAL -I acmacro"
2851 # Check whether --enable-shared was given.
2852 if test "${enable_shared+set}" = set; then
2853 enableval=$enable_shared; p=${PACKAGE-default}
2855 yes) enable_shared=yes ;;
2856 no) enable_shared=no ;;
2859 # Look at the argument we got. We use all the common list separators.
2860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2861 for pkg in $enableval; do
2863 if test "X$pkg" = "X$p"; then
2875 # Check whether --enable-static was given.
2876 if test "${enable_static+set}" = set; then
2877 enableval=$enable_static; p=${PACKAGE-default}
2879 yes) enable_static=yes ;;
2880 no) enable_static=no ;;
2883 # Look at the argument we got. We use all the common list separators.
2884 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2885 for pkg in $enableval; do
2887 if test "X$pkg" = "X$p"; then
2899 # Check whether --enable-fast-install was given.
2900 if test "${enable_fast_install+set}" = set; then
2901 enableval=$enable_fast_install; p=${PACKAGE-default}
2903 yes) enable_fast_install=yes ;;
2904 no) enable_fast_install=no ;;
2906 enable_fast_install=no
2907 # Look at the argument we got. We use all the common list separators.
2908 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2909 for pkg in $enableval; do
2911 if test "X$pkg" = "X$p"; then
2912 enable_fast_install=yes
2919 enable_fast_install=yes
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928 if test -n "$ac_tool_prefix"; then
2929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2933 if test "${ac_cv_prog_CC+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC="$CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 if test -n "$CC"; then
2958 { echo "$as_me:$LINENO: result: $CC" >&5
2959 echo "${ECHO_T}$CC" >&6; }
2961 { echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6; }
2967 if test -z "$ac_cv_prog_CC"; then
2969 # Extract the first word of "gcc", so it can be a program name with args.
2970 set dummy gcc; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -n "$ac_ct_CC"; then
2977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_ac_ct_CC="gcc"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2999 echo "${ECHO_T}$ac_ct_CC" >&6; }
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3005 if test "x$ac_ct_CC" = x; then
3008 case $cross_compiling:$ac_tool_warned in
3010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3011 whose name does not start with the host triplet. If you think this
3012 configuration is useful to you, please write to autoconf@gnu.org." >&5
3013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3014 whose name does not start with the host triplet. If you think this
3015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3016 ac_tool_warned=yes ;;
3024 if test -z "$CC"; then
3025 if test -n "$ac_tool_prefix"; then
3026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3027 set dummy ${ac_tool_prefix}cc; ac_word=$2
3028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3030 if test "${ac_cv_prog_CC+set}" = set; then
3031 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC="$CC" # Let the user override the test.
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_CC="${ac_tool_prefix}cc"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test -n "$CC"; then
3055 { echo "$as_me:$LINENO: result: $CC" >&5
3056 echo "${ECHO_T}$CC" >&6; }
3058 { echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6; }
3065 if test -z "$CC"; then
3066 # Extract the first word of "cc", so it can be a program name with args.
3067 set dummy cc; ac_word=$2
3068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3070 if test "${ac_cv_prog_CC+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 if test -n "$CC"; then
3074 ac_cv_prog_CC="$CC" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3085 ac_prog_rejected=yes
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test $ac_prog_rejected = yes; then
3097 # We found a bogon in the path, so make sure we never use it.
3098 set dummy $ac_cv_prog_CC
3100 if test $# != 0; then
3101 # We chose a different compiler from the bogus one.
3102 # However, it has the same basename, so the bogon will be chosen
3103 # first if we set CC to just the basename; use the full file name.
3105 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3111 if test -n "$CC"; then
3112 { echo "$as_me:$LINENO: result: $CC" >&5
3113 echo "${ECHO_T}$CC" >&6; }
3115 { echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6; }
3121 if test -z "$CC"; then
3122 if test -n "$ac_tool_prefix"; then
3123 for ac_prog in cl.exe
3125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3129 if test "${ac_cv_prog_CC+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC="$CC" # Let the user override the test.
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test -n "$CC"; then
3154 { echo "$as_me:$LINENO: result: $CC" >&5
3155 echo "${ECHO_T}$CC" >&6; }
3157 { echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6; }
3162 test -n "$CC" && break
3165 if test -z "$CC"; then
3167 for ac_prog in cl.exe
3169 # Extract the first word of "$ac_prog", so it can be a program name with args.
3170 set dummy $ac_prog; ac_word=$2
3171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3173 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 if test -n "$ac_ct_CC"; then
3177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186 ac_cv_prog_ac_ct_CC="$ac_prog"
3187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3197 if test -n "$ac_ct_CC"; then
3198 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3199 echo "${ECHO_T}$ac_ct_CC" >&6; }
3201 { echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6; }
3206 test -n "$ac_ct_CC" && break
3209 if test "x$ac_ct_CC" = x; then
3212 case $cross_compiling:$ac_tool_warned in
3214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3215 whose name does not start with the host triplet. If you think this
3216 configuration is useful to you, please write to autoconf@gnu.org." >&5
3217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3218 whose name does not start with the host triplet. If you think this
3219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3220 ac_tool_warned=yes ;;
3229 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3230 See \`config.log' for more details." >&5
3231 echo "$as_me: error: no acceptable C compiler found in \$PATH
3232 See \`config.log' for more details." >&2;}
3233 { (exit 1); exit 1; }; }
3235 # Provide some information about the compiler.
3236 echo "$as_me:$LINENO: checking for C compiler version" >&5
3237 ac_compiler=`set X $ac_compile; echo $2`
3238 { (ac_try="$ac_compiler --version >&5"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_compiler --version >&5") 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }
3248 { (ac_try="$ac_compiler -v >&5"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compiler -v >&5") 2>&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }
3258 { (ac_try="$ac_compiler -V >&5"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3264 (eval "$ac_compiler -V >&5") 2>&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }
3269 cat >conftest.$ac_ext <<_ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3284 ac_clean_files_save=$ac_clean_files
3285 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3286 # Try to create an executable without -o first, disregard a.out.
3287 # It will help us diagnose broken compilers, and finding out an intuition
3289 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3290 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3291 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3293 # List of possible output files, starting from the most likely.
3294 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3295 # only as a last resort. b.out is created by i960 compilers.
3296 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3298 # The IRIX 6 linker writes into existing files which may not be
3299 # executable, retaining their permissions. Remove them first so a
3300 # subsequent execution test works.
3302 for ac_file in $ac_files
3305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3306 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3311 if { (ac_try="$ac_link_default"
3313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3317 (eval "$ac_link_default") 2>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; then
3321 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3322 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3323 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3324 # so that the user can short-circuit this test for compilers unknown to
3326 for ac_file in $ac_files ''
3328 test -f "$ac_file" || continue
3330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3333 # We found the default executable, but exeext='' is most
3337 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3341 # We set ac_cv_exeext here because the later test for it is not
3342 # safe: cross compilers may not add the suffix if given an `-o'
3343 # argument, so we may need to know it at that point already.
3344 # Even if this section looks crufty: it has the advantage of
3351 test "$ac_cv_exeext" = no && ac_cv_exeext=
3357 { echo "$as_me:$LINENO: result: $ac_file" >&5
3358 echo "${ECHO_T}$ac_file" >&6; }
3359 if test -z "$ac_file"; then
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3364 See \`config.log' for more details." >&5
3365 echo "$as_me: error: C compiler cannot create executables
3366 See \`config.log' for more details." >&2;}
3367 { (exit 77); exit 77; }; }
3370 ac_exeext=$ac_cv_exeext
3372 # Check that the compiler produces executables we can run. If not, either
3373 # the compiler is broken, or we cross compile.
3374 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3375 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3376 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3377 # If not cross compiling, check that we can run a simple program.
3378 if test "$cross_compiling" != yes; then
3379 if { ac_try='./$ac_file'
3380 { (case "(($ac_try" in
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3385 (eval "$ac_try") 2>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; }; then
3391 if test "$cross_compiling" = maybe; then
3394 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3395 If you meant to cross compile, use \`--host'.
3396 See \`config.log' for more details." >&5
3397 echo "$as_me: error: cannot run C compiled programs.
3398 If you meant to cross compile, use \`--host'.
3399 See \`config.log' for more details." >&2;}
3400 { (exit 1); exit 1; }; }
3404 { echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6; }
3407 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3408 ac_clean_files=$ac_clean_files_save
3409 # Check that the compiler produces executables we can run. If not, either
3410 # the compiler is broken, or we cross compile.
3411 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3412 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3413 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3414 echo "${ECHO_T}$cross_compiling" >&6; }
3416 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3417 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3418 if { (ac_try="$ac_link"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3424 (eval "$ac_link") 2>&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; then
3428 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3429 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3430 # work properly (i.e., refer to `conftest.exe'), while it won't with
3432 for ac_file in conftest.exe conftest conftest.*; do
3433 test -f "$ac_file" || continue
3435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3436 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3443 See \`config.log' for more details." >&5
3444 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3445 See \`config.log' for more details." >&2;}
3446 { (exit 1); exit 1; }; }
3449 rm -f conftest$ac_cv_exeext
3450 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3451 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3453 rm -f conftest.$ac_ext
3454 EXEEXT=$ac_cv_exeext
3456 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3457 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3458 if test "${ac_cv_objext+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3476 rm -f conftest.o conftest.obj
3477 if { (ac_try="$ac_compile"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3483 (eval "$ac_compile") 2>&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; then
3487 for ac_file in conftest.o conftest.obj conftest.*; do
3488 test -f "$ac_file" || continue;
3490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3491 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details." >&5
3501 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3502 See \`config.log' for more details." >&2;}
3503 { (exit 1); exit 1; }; }
3506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3508 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3509 echo "${ECHO_T}$ac_cv_objext" >&6; }
3510 OBJEXT=$ac_cv_objext
3512 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3513 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3514 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3535 rm -f conftest.$ac_objext
3536 if { (ac_try="$ac_compile"
3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3542 (eval "$ac_compile") 2>conftest.er1
3544 grep -v '^ *+' conftest.er1 >conftest.err
3546 cat conftest.err >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); } && {
3549 test -z "$ac_c_werror_flag" ||
3550 test ! -s conftest.err
3551 } && test -s conftest.$ac_objext; then
3554 echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3564 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3565 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3566 GCC=`test $ac_compiler_gnu = yes && echo yes`
3567 ac_test_CFLAGS=${CFLAGS+set}
3568 ac_save_CFLAGS=$CFLAGS
3569 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3570 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3571 if test "${ac_cv_prog_cc_g+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 ac_save_c_werror_flag=$ac_c_werror_flag
3575 ac_c_werror_flag=yes
3578 cat >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3593 rm -f conftest.$ac_objext
3594 if { (ac_try="$ac_compile"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_compile") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } && {
3607 test -z "$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 } && test -s conftest.$ac_objext; then
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3616 cat >conftest.$ac_ext <<_ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3631 rm -f conftest.$ac_objext
3632 if { (ac_try="$ac_compile"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_compile") 2>conftest.er1
3640 grep -v '^ *+' conftest.er1 >conftest.err
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } && {
3645 test -z "$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 } && test -s conftest.$ac_objext; then
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_c_werror_flag=$ac_save_c_werror_flag
3655 cat >conftest.$ac_ext <<_ACEOF
3658 cat confdefs.h >>conftest.$ac_ext
3659 cat >>conftest.$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3670 rm -f conftest.$ac_objext
3671 if { (ac_try="$ac_compile"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3677 (eval "$ac_compile") 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } && {
3684 test -z "$ac_c_werror_flag" ||
3685 test ! -s conftest.err
3686 } && test -s conftest.$ac_objext; then
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 ac_c_werror_flag=$ac_save_c_werror_flag
3704 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3705 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3706 if test "$ac_test_CFLAGS" = set; then
3707 CFLAGS=$ac_save_CFLAGS
3708 elif test $ac_cv_prog_cc_g = yes; then
3709 if test "$GCC" = yes; then
3715 if test "$GCC" = yes; then
3721 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3722 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3723 if test "${ac_cv_prog_cc_c89+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 ac_cv_prog_cc_c89=no
3728 cat >conftest.$ac_ext <<_ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3736 #include <sys/types.h>
3737 #include <sys/stat.h>
3738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3739 struct buf { int x; };
3740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3741 static char *e (p, i)
3747 static char *f (char * (*g) (char **, int), char **p, ...)
3752 s = g (p, va_arg (v,int));
3757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3758 function prototypes and stuff, but not '\xHH' hex character constants.
3759 These don't provoke an error unfortunately, instead are silently treated
3760 as 'x'. The following induces an error, until -std is added to get
3761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3762 array size at least. It's necessary to write '\x00'==0 to get something
3763 that's true only with -std. */
3764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3767 inside strings and character constants. */
3769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3771 int test (int i, double x);
3772 struct s1 {int (*f) (int a);};
3773 struct s2 {int (*f) (double a);};
3774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3788 CC="$ac_save_CC $ac_arg"
3789 rm -f conftest.$ac_objext
3790 if { (ac_try="$ac_compile"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_compile") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } && {
3803 test -z "$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 } && test -s conftest.$ac_objext; then
3806 ac_cv_prog_cc_c89=$ac_arg
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3814 rm -f core conftest.err conftest.$ac_objext
3815 test "x$ac_cv_prog_cc_c89" != "xno" && break
3817 rm -f conftest.$ac_ext
3822 case "x$ac_cv_prog_cc_c89" in
3824 { echo "$as_me:$LINENO: result: none needed" >&5
3825 echo "${ECHO_T}none needed" >&6; } ;;
3827 { echo "$as_me:$LINENO: result: unsupported" >&5
3828 echo "${ECHO_T}unsupported" >&6; } ;;
3830 CC="$CC $ac_cv_prog_cc_c89"
3831 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3832 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 depcc="$CC" am_compiler_list=
3844 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3845 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3846 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3850 # We make a subdir and do the tests there. Otherwise we can end up
3851 # making bogus files that we don't know about and never remove. For
3852 # instance it was reported that on HP-UX the gcc test will end up
3853 # making a dummy file named `D' -- because `-MD' means `put the output
3856 # Copy depcomp to subdir because otherwise we won't find it if we're
3857 # using a relative directory.
3858 cp "$am_depcomp" conftest.dir
3860 # We will build objects and dependencies in a subdirectory because
3861 # it helps to detect inapplicable dependency modes. For instance
3862 # both Tru64's cc and ICC support -MD to output dependencies as a
3863 # side effect of compilation, but ICC will put the dependencies in
3864 # the current directory while Tru64 will put them in the object
3868 am_cv_CC_dependencies_compiler_type=none
3869 if test "$am_compiler_list" = ""; then
3870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3872 for depmode in $am_compiler_list; do
3873 # Setup a source with many dependencies, because some compilers
3874 # like to wrap large dependency lists on column 80 (with \), and
3875 # we should not choose a depcomp mode which is confused by this.
3877 # We need to recreate these files for each test, as the compiler may
3878 # overwrite some of them when testing with obscure command lines.
3879 # This happens at least with the AIX C compiler.
3881 for i in 1 2 3 4 5 6; do
3882 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3883 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3884 # Solaris 8's {/usr,}/bin/sh.
3885 touch sub/conftst$i.h
3887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3891 # after this tag, mechanisms are not by side-effect, so they'll
3892 # only be used when explicitly requested
3893 if test "x$enable_dependency_tracking" = xyes; then
3901 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3902 # mode. It turns out that the SunPro C++ compiler does not properly
3903 # handle `-M -o', and we need to detect this.
3904 if depmode=$depmode \
3905 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3907 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3908 >/dev/null 2>conftest.err &&
3909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3911 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3913 # icc doesn't choke on unknown options, it will just issue warnings
3914 # or remarks (even with -Werror). So we grep stderr for any message
3915 # that says an option was ignored or not supported.
3916 # When given -MP, icc 7.0 and 7.1 complain thusly:
3917 # icc: Command line warning: ignoring option '-M'; no argument required
3918 # The diagnosis changed in icc 8.0:
3919 # icc: Command line remark: option '-MP' not supported
3920 if (grep 'ignoring option' conftest.err ||
3921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3922 am_cv_CC_dependencies_compiler_type=$depmode
3931 am_cv_CC_dependencies_compiler_type=none
3935 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3940 test "x$enable_dependency_tracking" != xno \
3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3943 am__fastdepCC_FALSE='#'
3945 am__fastdepCC_TRUE='#'
3946 am__fastdepCC_FALSE=
3950 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3951 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3952 if test "${lt_cv_path_SED+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 # Loop through the user's path and test for sed and gsed.
3956 # Then use that list of sed's as ones to test for truncation.
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 test -z "$as_dir" && as_dir=.
3962 for lt_ac_prog in sed gsed; do
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3965 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3972 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3973 # along with /bin/sed that truncates output.
3974 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3975 test ! -f $lt_ac_sed && continue
3976 cat /dev/null > conftest.in
3978 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3979 # Check for GNU sed and select it if it is found.
3980 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3981 lt_cv_path_SED=$lt_ac_sed
3985 cat conftest.in conftest.in >conftest.tmp
3986 mv conftest.tmp conftest.in
3987 cp conftest.in conftest.nl
3989 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3990 cmp -s conftest.out conftest.nl || break
3991 # 10000 chars as input seems more than enough
3992 test $lt_ac_count -gt 10 && break
3993 lt_ac_count=`expr $lt_ac_count + 1`
3994 if test $lt_ac_count -gt $lt_ac_max; then
3995 lt_ac_max=$lt_ac_count
3996 lt_cv_path_SED=$lt_ac_sed
4004 { echo "$as_me:$LINENO: result: $SED" >&5
4005 echo "${ECHO_T}$SED" >&6; }
4007 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4008 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4009 if test "${ac_cv_path_GREP+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 # Extract the first word of "grep ggrep" to use in msg output
4013 if test -z "$GREP"; then
4014 set dummy grep ggrep; ac_prog_name=$2
4015 if test "${ac_cv_path_GREP+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 ac_path_GREP_found=false
4019 # Loop through the user's path and test for each of PROGNAME-LIST
4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4024 test -z "$as_dir" && as_dir=.
4025 for ac_prog in grep ggrep; do
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4029 # Check for GNU ac_path_GREP and select it if it is found.
4030 # Check for GNU $ac_path_GREP
4031 case `"$ac_path_GREP" --version 2>&1` in
4033 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4036 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4039 cat "conftest.in" "conftest.in" >"conftest.tmp"
4040 mv "conftest.tmp" "conftest.in"
4041 cp "conftest.in" "conftest.nl"
4042 echo 'GREP' >> "conftest.nl"
4043 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4045 ac_count=`expr $ac_count + 1`
4046 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4047 # Best one so far, save it but keep looking for a better one
4048 ac_cv_path_GREP="$ac_path_GREP"
4049 ac_path_GREP_max=$ac_count
4051 # 10*(2^10) chars as input seems more than enough
4052 test $ac_count -gt 10 && break
4054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4058 $ac_path_GREP_found && break 3
4068 GREP="$ac_cv_path_GREP"
4069 if test -z "$GREP"; then
4070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4072 { (exit 1); exit 1; }; }
4076 ac_cv_path_GREP=$GREP
4081 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4082 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4083 GREP="$ac_cv_path_GREP"
4086 { echo "$as_me:$LINENO: checking for egrep" >&5
4087 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4088 if test "${ac_cv_path_EGREP+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4092 then ac_cv_path_EGREP="$GREP -E"
4094 # Extract the first word of "egrep" to use in msg output
4095 if test -z "$EGREP"; then
4096 set dummy egrep; ac_prog_name=$2
4097 if test "${ac_cv_path_EGREP+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 ac_path_EGREP_found=false
4101 # Loop through the user's path and test for each of PROGNAME-LIST
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4106 test -z "$as_dir" && as_dir=.
4107 for ac_prog in egrep; do
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4111 # Check for GNU ac_path_EGREP and select it if it is found.
4112 # Check for GNU $ac_path_EGREP
4113 case `"$ac_path_EGREP" --version 2>&1` in
4115 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4118 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4121 cat "conftest.in" "conftest.in" >"conftest.tmp"
4122 mv "conftest.tmp" "conftest.in"
4123 cp "conftest.in" "conftest.nl"
4124 echo 'EGREP' >> "conftest.nl"
4125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4126 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4127 ac_count=`expr $ac_count + 1`
4128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4129 # Best one so far, save it but keep looking for a better one
4130 ac_cv_path_EGREP="$ac_path_EGREP"
4131 ac_path_EGREP_max=$ac_count
4133 # 10*(2^10) chars as input seems more than enough
4134 test $ac_count -gt 10 && break
4136 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4140 $ac_path_EGREP_found && break 3
4150 EGREP="$ac_cv_path_EGREP"
4151 if test -z "$EGREP"; then
4152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4154 { (exit 1); exit 1; }; }
4158 ac_cv_path_EGREP=$EGREP
4164 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4165 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4166 EGREP="$ac_cv_path_EGREP"
4170 # Check whether --with-gnu-ld was given.
4171 if test "${with_gnu_ld+set}" = set; then
4172 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4178 if test "$GCC" = yes; then
4179 # Check if gcc -print-prog-name=ld gives a path.
4180 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4181 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4184 # gcc leaves a trailing carriage return which upsets mingw
4185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4190 # Accept absolute paths.
4192 re_direlt='/[^/][^/]*/\.\./'
4193 # Canonicalize the pathname of ld
4194 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4195 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4196 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4198 test -z "$LD" && LD="$ac_prog"
4201 # If it fails, then pretend we aren't using GCC.
4205 # If it is relative, then search for the first ld in PATH.
4209 elif test "$with_gnu_ld" = yes; then
4210 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4211 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4213 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4214 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4216 if test "${lt_cv_path_LD+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 if test -z "$LD"; then
4220 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4221 for ac_dir in $PATH; do
4223 test -z "$ac_dir" && ac_dir=.
4224 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4225 lt_cv_path_LD="$ac_dir/$ac_prog"
4226 # Check to see if the program is GNU ld. I'd rather use --version,
4227 # but apparently some variants of GNU ld only accept -v.
4228 # Break only if it was the GNU/non-GNU ld that we prefer.
4229 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4230 *GNU* | *'with BFD'*)
4231 test "$with_gnu_ld" != no && break
4234 test "$with_gnu_ld" != yes && break
4241 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4246 if test -n "$LD"; then
4247 { echo "$as_me:$LINENO: result: $LD" >&5
4248 echo "${ECHO_T}$LD" >&6; }
4250 { echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6; }
4253 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4254 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4255 { (exit 1); exit 1; }; }
4256 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4257 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4258 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4262 case `$LD -v 2>&1 </dev/null` in
4263 *GNU* | *'with BFD'*)
4264 lt_cv_prog_gnu_ld=yes
4267 lt_cv_prog_gnu_ld=no
4271 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4272 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4273 with_gnu_ld=$lt_cv_prog_gnu_ld
4276 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4277 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4278 if test "${lt_cv_ld_reload_flag+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 lt_cv_ld_reload_flag='-r'
4283 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4284 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4285 reload_flag=$lt_cv_ld_reload_flag
4286 case $reload_flag in
4288 *) reload_flag=" $reload_flag" ;;
4290 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4293 if test "$GCC" = yes; then
4294 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4296 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4301 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4302 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4303 if test "${lt_cv_path_NM+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 if test -n "$NM"; then
4307 # Let the user override the test.
4310 lt_nm_to_check="${ac_tool_prefix}nm"
4311 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4312 lt_nm_to_check="$lt_nm_to_check nm"
4314 for lt_tmp_nm in $lt_nm_to_check; do
4315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4316 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4318 test -z "$ac_dir" && ac_dir=.
4319 tmp_nm="$ac_dir/$lt_tmp_nm"
4320 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4321 # Check to see if the nm accepts a BSD-compat flag.
4322 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4323 # nm: unknown option "B" ignored
4324 # Tru64's nm complains that /dev/null is an invalid object file
4325 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4326 */dev/null* | *'Invalid file or object type'*)
4327 lt_cv_path_NM="$tmp_nm -B"
4331 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4333 lt_cv_path_NM="$tmp_nm -p"
4337 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4338 continue # so that we can try to find one that supports BSD flags
4347 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4350 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4351 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4354 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4355 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4357 if test "$LN_S" = "ln -s"; then
4358 { echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6; }
4361 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4362 echo "${ECHO_T}no, using $LN_S" >&6; }
4365 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4366 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4367 if test "${lt_cv_deplibs_check_method+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 lt_cv_file_magic_cmd='$MAGIC_CMD'
4371 lt_cv_file_magic_test_file=
4372 lt_cv_deplibs_check_method='unknown'
4373 # Need to set the preceding variable on all platforms that support
4374 # interlibrary dependencies.
4375 # 'none' -- dependencies not supported.
4376 # `unknown' -- same as none, but documents that we really don't know.
4377 # 'pass_all' -- all dependencies passed with no checks.
4378 # 'test_compile' -- check by making test program.
4379 # 'file_magic [[regex]]' -- check by looking for files in library path
4380 # which responds to the $file_magic_cmd with a given extended regex.
4381 # If you have `file' or equivalent on your system and you're not sure
4382 # whether `pass_all' will *always* work, you probably want this one.
4386 lt_cv_deplibs_check_method=pass_all
4390 lt_cv_deplibs_check_method=pass_all
4394 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4395 lt_cv_file_magic_cmd='/usr/bin/file -L'
4396 lt_cv_file_magic_test_file=/shlib/libc.so
4400 # func_win32_libid is a shell function defined in ltmain.sh
4401 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4402 lt_cv_file_magic_cmd='func_win32_libid'
4406 # Base MSYS/MinGW do not provide the 'file' command needed by
4407 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4408 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4409 lt_cv_file_magic_cmd='$OBJDUMP -f'
4412 darwin* | rhapsody*)
4413 lt_cv_deplibs_check_method=pass_all
4416 freebsd* | dragonfly*)
4417 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4420 # Not sure whether the presence of OpenBSD here was a mistake.
4421 # Let's accept both of them until this is cleared up.
4422 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4423 lt_cv_file_magic_cmd=/usr/bin/file
4424 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4428 lt_cv_deplibs_check_method=pass_all
4433 lt_cv_deplibs_check_method=pass_all
4436 hpux10.20* | hpux11*)
4437 lt_cv_file_magic_cmd=/usr/bin/file
4440 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4441 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4444 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]'
4445 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4448 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4449 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4455 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4459 irix5* | irix6* | nonstopux*)
4461 *-32|*"-32 ") libmagic=32-bit;;
4462 *-n32|*"-n32 ") libmagic=N32;;
4463 *-64|*"-64 ") libmagic=64-bit;;
4464 *) libmagic=never-match;;
4466 lt_cv_deplibs_check_method=pass_all
4469 # This must be Linux ELF.
4470 linux* | k*bsd*-gnu)
4471 lt_cv_deplibs_check_method=pass_all
4474 netbsd* | netbsdelf*-gnu)
4475 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4483 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4484 lt_cv_file_magic_cmd=/usr/bin/file
4485 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4489 lt_cv_deplibs_check_method=unknown
4493 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4496 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4500 osf3* | osf4* | osf5*)
4501 lt_cv_deplibs_check_method=pass_all
4505 lt_cv_deplibs_check_method=pass_all
4509 case $host_vendor in
4511 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]'
4512 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4515 lt_cv_deplibs_check_method=pass_all
4518 lt_cv_file_magic_cmd='/bin/file'
4519 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4522 lt_cv_file_magic_cmd='/bin/file'
4523 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4524 lt_cv_file_magic_test_file=/lib/libc.so
4527 lt_cv_deplibs_check_method=pass_all
4530 lt_cv_deplibs_check_method=pass_all
4535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4536 lt_cv_deplibs_check_method=pass_all
4541 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4542 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4543 file_magic_cmd=$lt_cv_file_magic_cmd
4544 deplibs_check_method=$lt_cv_deplibs_check_method
4545 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4550 # If no C compiler was specified, use CC.
4553 # If no C compiler flags were specified, use CFLAGS.
4554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4556 # Allow CC to be a program name with arguments.
4560 # Check whether --enable-libtool-lock was given.
4561 if test "${enable_libtool_lock+set}" = set; then
4562 enableval=$enable_libtool_lock;
4565 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4567 # Some flags need to be propagated to the compiler or linker for good
4571 # Find out which ABI we are using.
4572 echo 'int i;' > conftest.$ac_ext
4573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 (eval $ac_compile) 2>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }; then
4578 case `/usr/bin/file conftest.$ac_objext` in
4590 # Find out which ABI we are using.
4591 echo '#line 4591 "configure"' > conftest.$ac_ext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; then
4597 if test "$lt_cv_prog_gnu_ld" = yes; then
4598 case `/usr/bin/file conftest.$ac_objext` in
4600 LD="${LD-ld} -melf32bsmip"
4603 LD="${LD-ld} -melf32bmipn32"
4606 LD="${LD-ld} -melf64bmip"
4610 case `/usr/bin/file conftest.$ac_objext` in
4626 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4627 # Find out which ABI we are using.
4628 echo 'int i;' > conftest.$ac_ext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 (eval $ac_compile) 2>&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; then
4634 case `/usr/bin/file conftest.o` in
4638 LD="${LD-ld} -m elf_i386"
4640 ppc64-*linux*|powerpc64-*linux*)
4641 LD="${LD-ld} -m elf32ppclinux"
4644 LD="${LD-ld} -m elf_s390"
4647 LD="${LD-ld} -m elf32_sparc"
4654 LD="${LD-ld} -m elf_x86_64"
4656 ppc*-*linux*|powerpc*-*linux*)
4657 LD="${LD-ld} -m elf64ppc"
4660 LD="${LD-ld} -m elf64_s390"
4663 LD="${LD-ld} -m elf64_sparc"
4673 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4674 SAVE_CFLAGS="$CFLAGS"
4675 CFLAGS="$CFLAGS -belf"
4676 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4677 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4678 if test "${lt_cv_cc_needs_belf+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4702 rm -f conftest.$ac_objext conftest$ac_exeext
4703 if { (ac_try="$ac_link"
4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4709 (eval "$ac_link") 2>conftest.er1
4711 grep -v '^ *+' conftest.er1 >conftest.err
4713 cat conftest.err >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } && {
4716 test -z "$ac_c_werror_flag" ||
4717 test ! -s conftest.err
4718 } && test -s conftest$ac_exeext &&
4719 $as_test_x conftest$ac_exeext; then
4720 lt_cv_cc_needs_belf=yes
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4725 lt_cv_cc_needs_belf=no
4728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4729 conftest$ac_exeext conftest.$ac_ext
4731 ac_cpp='$CPP $CPPFLAGS'
4732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4737 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4738 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4739 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4740 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4741 CFLAGS="$SAVE_CFLAGS"
4745 # Find out which ABI we are using.
4746 echo 'int i;' > conftest.$ac_ext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4748 (eval $ac_compile) 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; then
4752 case `/usr/bin/file conftest.o` in
4754 case $lt_cv_prog_gnu_ld in
4755 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4756 *) LD="${LD-ld} -64" ;;
4764 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4770 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 if test -n "$DLLTOOL"; then
4774 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 DLLTOOL=$ac_cv_prog_DLLTOOL
4794 if test -n "$DLLTOOL"; then
4795 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4796 echo "${ECHO_T}$DLLTOOL" >&6; }
4798 { echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6; }
4804 if test -z "$ac_cv_prog_DLLTOOL"; then
4805 ac_ct_DLLTOOL=$DLLTOOL
4806 # Extract the first word of "dlltool", so it can be a program name with args.
4807 set dummy dlltool; ac_word=$2
4808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4810 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 if test -n "$ac_ct_DLLTOOL"; then
4814 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4834 if test -n "$ac_ct_DLLTOOL"; then
4835 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4836 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4838 { echo "$as_me:$LINENO: result: no" >&5
4839 echo "${ECHO_T}no" >&6; }
4842 if test "x$ac_ct_DLLTOOL" = x; then
4845 case $cross_compiling:$ac_tool_warned in
4847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4848 whose name does not start with the host triplet. If you think this
4849 configuration is useful to you, please write to autoconf@gnu.org." >&5
4850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4851 whose name does not start with the host triplet. If you think this
4852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4853 ac_tool_warned=yes ;;
4855 DLLTOOL=$ac_ct_DLLTOOL
4858 DLLTOOL="$ac_cv_prog_DLLTOOL"
4861 if test -n "$ac_tool_prefix"; then
4862 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4863 set dummy ${ac_tool_prefix}as; ac_word=$2
4864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4866 if test "${ac_cv_prog_AS+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 if test -n "$AS"; then
4870 ac_cv_prog_AS="$AS" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_AS="${ac_tool_prefix}as"
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 if test -n "$AS"; then
4891 { echo "$as_me:$LINENO: result: $AS" >&5
4892 echo "${ECHO_T}$AS" >&6; }
4894 { echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6; }
4900 if test -z "$ac_cv_prog_AS"; then
4902 # Extract the first word of "as", so it can be a program name with args.
4903 set dummy as; ac_word=$2
4904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4906 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 if test -n "$ac_ct_AS"; then
4910 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
<