2 # From configure.ac Revision: 1.182 .
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
891 CONTEXT_THREADS_FALSE
893 pth_skaddr_makecontext
894 pth_sksize_makecontext
905 MAINTAINER_MODE_FALSE
933 ac_precious_vars='build_alias
948 # Initialize some variables set by options.
950 ac_init_version=false
951 # The variables have the same names as the options, with
952 # dashes changed to underlines.
960 program_transform_name=s,x,x,
968 # Installation directory options.
969 # These are left unexpanded so users can "make install exec_prefix=/foo"
970 # and all the variables that are supposed to be based on exec_prefix
971 # by default will actually change.
972 # Use braces instead of parens because sh, perl, etc. also accept them.
973 # (The list follows the same order as the GNU Coding Standards.)
974 bindir='${exec_prefix}/bin'
975 sbindir='${exec_prefix}/sbin'
976 libexecdir='${exec_prefix}/libexec'
977 datarootdir='${prefix}/share'
978 datadir='${datarootdir}'
979 sysconfdir='${prefix}/etc'
980 sharedstatedir='${prefix}/com'
981 localstatedir='${prefix}/var'
982 includedir='${prefix}/include'
983 oldincludedir='/usr/include'
984 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
985 infodir='${datarootdir}/info'
990 libdir='${exec_prefix}/lib'
991 localedir='${datarootdir}/locale'
992 mandir='${datarootdir}/man'
998 # If the previous option needs an argument, assign it.
999 if test -n "$ac_prev"; then
1000 eval $ac_prev=\$ac_option
1006 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1010 # Accept the important Cygnus configure options, so we can diagnose typos.
1012 case $ac_dashdash$ac_option in
1016 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1018 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1019 bindir=$ac_optarg ;;
1021 -build | --build | --buil | --bui | --bu)
1022 ac_prev=build_alias ;;
1023 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1024 build_alias=$ac_optarg ;;
1026 -cache-file | --cache-file | --cache-fil | --cache-fi \
1027 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1028 ac_prev=cache_file ;;
1029 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1030 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1031 cache_file=$ac_optarg ;;
1033 --config-cache | -C)
1034 cache_file=config.cache ;;
1036 -datadir | --datadir | --datadi | --datad)
1038 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1039 datadir=$ac_optarg ;;
1041 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1042 | --dataroo | --dataro | --datar)
1043 ac_prev=datarootdir ;;
1044 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1045 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1046 datarootdir=$ac_optarg ;;
1048 -disable-* | --disable-*)
1049 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1052 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1053 { (exit 1); exit 1; }; }
1054 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1055 eval enable_$ac_feature=no ;;
1057 -docdir | --docdir | --docdi | --doc | --do)
1059 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1060 docdir=$ac_optarg ;;
1062 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1065 dvidir=$ac_optarg ;;
1067 -enable-* | --enable-*)
1068 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1072 { (exit 1); exit 1; }; }
1073 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1074 eval enable_$ac_feature=\$ac_optarg ;;
1076 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1077 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1078 | --exec | --exe | --ex)
1079 ac_prev=exec_prefix ;;
1080 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1081 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1082 | --exec=* | --exe=* | --ex=*)
1083 exec_prefix=$ac_optarg ;;
1085 -gas | --gas | --ga | --g)
1086 # Obsolete; use --with-gas.
1089 -help | --help | --hel | --he | -h)
1090 ac_init_help=long ;;
1091 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1092 ac_init_help=recursive ;;
1093 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1094 ac_init_help=short ;;
1096 -host | --host | --hos | --ho)
1097 ac_prev=host_alias ;;
1098 -host=* | --host=* | --hos=* | --ho=*)
1099 host_alias=$ac_optarg ;;
1101 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1103 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1105 htmldir=$ac_optarg ;;
1107 -includedir | --includedir | --includedi | --included | --include \
1108 | --includ | --inclu | --incl | --inc)
1109 ac_prev=includedir ;;
1110 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1111 | --includ=* | --inclu=* | --incl=* | --inc=*)
1112 includedir=$ac_optarg ;;
1114 -infodir | --infodir | --infodi | --infod | --info | --inf)
1116 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1117 infodir=$ac_optarg ;;
1119 -libdir | --libdir | --libdi | --libd)
1121 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1122 libdir=$ac_optarg ;;
1124 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1125 | --libexe | --libex | --libe)
1126 ac_prev=libexecdir ;;
1127 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1128 | --libexe=* | --libex=* | --libe=*)
1129 libexecdir=$ac_optarg ;;
1131 -localedir | --localedir | --localedi | --localed | --locale)
1132 ac_prev=localedir ;;
1133 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1134 localedir=$ac_optarg ;;
1136 -localstatedir | --localstatedir | --localstatedi | --localstated \
1137 | --localstate | --localstat | --localsta | --localst | --locals)
1138 ac_prev=localstatedir ;;
1139 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1140 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1141 localstatedir=$ac_optarg ;;
1143 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1145 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1146 mandir=$ac_optarg ;;
1148 -nfp | --nfp | --nf)
1149 # Obsolete; use --without-fp.
1152 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1153 | --no-cr | --no-c | -n)
1156 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1157 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1160 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1161 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1162 | --oldin | --oldi | --old | --ol | --o)
1163 ac_prev=oldincludedir ;;
1164 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1165 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1166 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1167 oldincludedir=$ac_optarg ;;
1169 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1171 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1172 prefix=$ac_optarg ;;
1174 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1175 | --program-pre | --program-pr | --program-p)
1176 ac_prev=program_prefix ;;
1177 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1178 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1179 program_prefix=$ac_optarg ;;
1181 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1182 | --program-suf | --program-su | --program-s)
1183 ac_prev=program_suffix ;;
1184 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1185 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1186 program_suffix=$ac_optarg ;;
1188 -program-transform-name | --program-transform-name \
1189 | --program-transform-nam | --program-transform-na \
1190 | --program-transform-n | --program-transform- \
1191 | --program-transform | --program-transfor \
1192 | --program-transfo | --program-transf \
1193 | --program-trans | --program-tran \
1194 | --progr-tra | --program-tr | --program-t)
1195 ac_prev=program_transform_name ;;
1196 -program-transform-name=* | --program-transform-name=* \
1197 | --program-transform-nam=* | --program-transform-na=* \
1198 | --program-transform-n=* | --program-transform-=* \
1199 | --program-transform=* | --program-transfor=* \
1200 | --program-transfo=* | --program-transf=* \
1201 | --program-trans=* | --program-tran=* \
1202 | --progr-tra=* | --program-tr=* | --program-t=*)
1203 program_transform_name=$ac_optarg ;;
1205 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1207 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1208 pdfdir=$ac_optarg ;;
1210 -psdir | --psdir | --psdi | --psd | --ps)
1212 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216 | -silent | --silent | --silen | --sile | --sil)
1219 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1221 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1223 sbindir=$ac_optarg ;;
1225 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1226 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1227 | --sharedst | --shareds | --shared | --share | --shar \
1229 ac_prev=sharedstatedir ;;
1230 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1231 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1232 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1234 sharedstatedir=$ac_optarg ;;
1236 -site | --site | --sit)
1238 -site=* | --site=* | --sit=*)
1241 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1243 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1244 srcdir=$ac_optarg ;;
1246 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1247 | --syscon | --sysco | --sysc | --sys | --sy)
1248 ac_prev=sysconfdir ;;
1249 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1250 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1251 sysconfdir=$ac_optarg ;;
1253 -target | --target | --targe | --targ | --tar | --ta | --t)
1254 ac_prev=target_alias ;;
1255 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1256 target_alias=$ac_optarg ;;
1258 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1261 -version | --version | --versio | --versi | --vers | -V)
1262 ac_init_version=: ;;
1265 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 { echo "$as_me: error: invalid package name: $ac_package" >&2
1269 { (exit 1); exit 1; }; }
1270 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1271 eval with_$ac_package=\$ac_optarg ;;
1273 -without-* | --without-*)
1274 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1277 { echo "$as_me: error: invalid package name: $ac_package" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1280 eval with_$ac_package=no ;;
1283 # Obsolete; use --with-x.
1286 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287 | --x-incl | --x-inc | --x-in | --x-i)
1288 ac_prev=x_includes ;;
1289 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291 x_includes=$ac_optarg ;;
1293 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295 ac_prev=x_libraries ;;
1296 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298 x_libraries=$ac_optarg ;;
1300 -*) { echo "$as_me: error: unrecognized option: $ac_option
1301 Try \`$0 --help' for more information." >&2
1302 { (exit 1); exit 1; }; }
1306 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1309 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1310 { (exit 1); exit 1; }; }
1311 eval $ac_envvar=\$ac_optarg
1312 export $ac_envvar ;;
1315 # FIXME: should be removed in autoconf 3.0.
1316 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 if test -n "$ac_prev"; then
1326 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327 { echo "$as_me: error: missing argument to $ac_option" >&2
1328 { (exit 1); exit 1; }; }
1331 # Be sure to have absolute directory names.
1332 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1333 datadir sysconfdir sharedstatedir localstatedir includedir \
1334 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1335 libdir localedir mandir
1337 eval ac_val=\$$ac_var
1339 [\\/$]* | ?:[\\/]* ) continue;;
1340 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1342 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1343 { (exit 1); exit 1; }; }
1346 # There might be people who depend on the old broken behavior: `$host'
1347 # used to hold the argument of --host etc.
1348 # FIXME: To remove some day.
1351 target=$target_alias
1353 # FIXME: To remove some day.
1354 if test "x$host_alias" != x; then
1355 if test "x$build_alias" = x; then
1356 cross_compiling=maybe
1357 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1358 If a cross compiler is detected then cross compile mode will be used." >&2
1359 elif test "x$build_alias" != "x$host_alias"; then
1365 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1367 test "$silent" = yes && exec 6>/dev/null
1370 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1371 ac_ls_di=`ls -di .` &&
1372 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1373 { echo "$as_me: error: Working directory cannot be determined" >&2
1374 { (exit 1); exit 1; }; }
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 { echo "$as_me: error: pwd does not report name of working directory" >&2
1377 { (exit 1); exit 1; }; }
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir=`$as_dirname -- "$0" ||
1385 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$0" : 'X\(//\)[^/]' \| \
1387 X"$0" : 'X\(//\)$' \| \
1388 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1412 ac_srcdir_defaulted=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1416 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1417 { (exit 1); exit 1; }; }
1419 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1421 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1422 { (exit 1); exit 1; }; }
1424 # When building in place, set srcdir=.
1425 if test "$ac_abs_confdir" = "$ac_pwd"; then
1428 # Remove unnecessary trailing slashes from srcdir.
1429 # Double slashes in file names in object file debugging info
1430 # mess up M-x gdb in Emacs.
1432 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 for ac_var in $ac_precious_vars; do
1435 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_env_${ac_var}_value=\$${ac_var}
1437 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1438 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 # Report the --help message.
1444 if test "$ac_init_help" = "long"; then
1445 # Omit some internal or obsolete options to make the list less imposing.
1446 # This message is too long to be a string in the A/UX 3.1 sh.
1448 \`configure' configures simgrid 3.3-cvs to adapt to many kinds of systems.
1450 Usage: $0 [OPTION]... [VAR=VALUE]...
1452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1453 VAR=VALUE. See below for descriptions of some of the useful variables.
1455 Defaults for the options are specified in brackets.
1458 -h, --help display this help and exit
1459 --help=short display options specific to this package
1460 --help=recursive display the short help of all the included packages
1461 -V, --version display version information and exit
1462 -q, --quiet, --silent do not print \`checking...' messages
1463 --cache-file=FILE cache test results in FILE [disabled]
1464 -C, --config-cache alias for \`--cache-file=config.cache'
1465 -n, --no-create do not create output files
1466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1468 Installation directories:
1469 --prefix=PREFIX install architecture-independent files in PREFIX
1470 [$ac_default_prefix]
1471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1474 By default, \`make install' will install all the files in
1475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1477 for instance \`--prefix=\$HOME'.
1479 For better control, use the options below.
1481 Fine tuning of the installation directories:
1482 --bindir=DIR user executables [EPREFIX/bin]
1483 --sbindir=DIR system admin executables [EPREFIX/sbin]
1484 --libexecdir=DIR program executables [EPREFIX/libexec]
1485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1488 --libdir=DIR object code libraries [EPREFIX/lib]
1489 --includedir=DIR C header files [PREFIX/include]
1490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1493 --infodir=DIR info documentation [DATAROOTDIR/info]
1494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1495 --mandir=DIR man documentation [DATAROOTDIR/man]
1496 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1506 --program-prefix=PREFIX prepend PREFIX to installed program names
1507 --program-suffix=SUFFIX append SUFFIX to installed program names
1508 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1511 --build=BUILD configure for building on BUILD [guessed]
1512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1513 --target=TARGET configure for building compilers for TARGET [HOST]
1517 if test -n "$ac_init_help"; then
1518 case $ac_init_help in
1519 short | recursive ) echo "Configuration of simgrid 3.3-cvs:";;
1524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526 --disable-dependency-tracking speeds up one-time build
1527 --enable-dependency-tracking do not reject slow dependency extractors
1528 --enable-shared[=PKGS] build shared libraries [default=yes]
1529 --enable-static[=PKGS] build static libraries [default=yes]
1530 --enable-fast-install[=PKGS]
1531 optimize for fast installation [default=yes]
1532 --disable-libtool-lock avoid locking (might break parallel builds)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-compile-warnings
1536 use compiler warnings (default=no, unless in
1538 --disable-compile-optimizations
1539 use compiler optimizations (default=yes, unless if
1540 CFLAGS is explicitly set)
1541 --disable-java To not compile the Java bindings even if the tools
1545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1547 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1548 --with-pic try to use only PIC/non-PIC objects [default=use
1550 --with-tags[=TAGS] include additional configurations [automatic]
1551 --with-pthread Use pthread instead of ucontext.
1552 --with-pthreads Use pthread instead of ucontext.
1553 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1554 --with-gtnets Path to GTNetS installation (default to empty, ie
1556 --with-csdp Path to csdp installation (default to empty, i.e.
1559 Some influential environment variables:
1560 CC C compiler command
1561 CFLAGS C compiler flags
1562 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1563 nonstandard directory <lib dir>
1564 LIBS libraries to pass to the linker, e.g. -l<library>
1565 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1566 you have headers in a nonstandard directory <include dir>
1568 CXX C++ compiler command
1569 CXXFLAGS C++ compiler flags
1570 CXXCPP C++ preprocessor
1572 Use these variables to override the choices made by `configure' or to help
1573 it to find libraries and programs with nonstandard names/locations.
1575 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1580 if test "$ac_init_help" = "recursive"; then
1581 # If there are subdirs, report their specific --help.
1582 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1583 test -d "$ac_dir" || continue
1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1590 # A ".." for each directory in $ac_dir_suffix.
1591 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1592 case $ac_top_builddir_sub in
1593 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1597 ac_abs_top_builddir=$ac_pwd
1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1599 # for backward compatibility:
1600 ac_top_builddir=$ac_top_build_prefix
1603 .) # We are building in place.
1605 ac_top_srcdir=$ac_top_builddir_sub
1606 ac_abs_top_srcdir=$ac_pwd ;;
1607 [\\/]* | ?:[\\/]* ) # Absolute name.
1608 ac_srcdir=$srcdir$ac_dir_suffix;
1609 ac_top_srcdir=$srcdir
1610 ac_abs_top_srcdir=$srcdir ;;
1612 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1613 ac_top_srcdir=$ac_top_build_prefix$srcdir
1614 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1618 cd "$ac_dir" || { ac_status=$?; continue; }
1619 # Check for guested configure.
1620 if test -f "$ac_srcdir/configure.gnu"; then
1622 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1623 elif test -f "$ac_srcdir/configure"; then
1625 $SHELL "$ac_srcdir/configure" --help=recursive
1627 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629 cd "$ac_pwd" || { ac_status=$?; break; }
1633 test -n "$ac_init_help" && exit $ac_status
1634 if $ac_init_version; then
1636 simgrid configure 3.3-cvs
1637 generated by GNU Autoconf 2.61
1639 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1640 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1641 This configure script is free software; the Free Software Foundation
1642 gives unlimited permission to copy, distribute and modify it.
1646 cat >config.log <<_ACEOF
1647 This file contains any messages produced by compilers while
1648 running configure, to aid debugging if configure makes a mistake.
1650 It was created by simgrid $as_me 3.3-cvs, which was
1651 generated by GNU Autoconf 2.61. Invocation command line was
1663 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1664 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1665 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1666 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1667 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1669 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1670 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1672 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1673 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1674 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1675 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1676 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1677 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1678 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686 test -z "$as_dir" && as_dir=.
1687 echo "PATH: $as_dir"
1703 # Keep a trace of the command line.
1704 # Strip out --no-create and --no-recursion so they do not pile up.
1705 # Strip out --silent because we don't want to record it for future runs.
1706 # Also quote any args containing shell meta-characters.
1707 # Make two passes to allow for proper duplicate-argument suppression.
1711 ac_must_keep_next=false
1717 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1722 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1725 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1727 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1728 if test $ac_must_keep_next = true; then
1729 ac_must_keep_next=false # Got value, back to normal.
1732 *=* | --config-cache | -C | -disable-* | --disable-* \
1733 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1734 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1735 | -with-* | --with-* | -without-* | --without-* | --x)
1736 case "$ac_configure_args0 " in
1737 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1740 -* ) ac_must_keep_next=true ;;
1743 ac_configure_args="$ac_configure_args '$ac_arg'"
1748 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1749 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1751 # When interrupted or exit'd, cleanup temporary files, and complete
1752 # config.log. We remove comments because anyway the quotes in there
1753 # would cause problems or look ugly.
1754 # WARNING: Use '\'' to represent an apostrophe within the trap.
1755 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1756 trap 'exit_status=$?
1757 # Save into config.log some information that might help in debugging.
1762 ## ---------------- ##
1763 ## Cache variables. ##
1764 ## ---------------- ##
1767 # The following way of writing the cache mishandles newlines in values,
1769 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1770 eval ac_val=\$$ac_var
1774 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1775 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1778 _ | IFS | as_nl) ;; #(
1779 *) $as_unset $ac_var ;;
1784 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1785 *${as_nl}ac_space=\ *)
1787 "s/'\''/'\''\\\\'\'''\''/g;
1788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1799 ## ----------------- ##
1800 ## Output variables. ##
1801 ## ----------------- ##
1804 for ac_var in $ac_subst_vars
1806 eval ac_val=\$$ac_var
1808 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 echo "$ac_var='\''$ac_val'\''"
1814 if test -n "$ac_subst_files"; then
1816 ## ------------------- ##
1817 ## File substitutions. ##
1818 ## ------------------- ##
1821 for ac_var in $ac_subst_files
1823 eval ac_val=\$$ac_var
1825 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 echo "$ac_var='\''$ac_val'\''"
1832 if test -s confdefs.h; then
1842 test "$ac_signal" != 0 &&
1843 echo "$as_me: caught signal $ac_signal"
1844 echo "$as_me: exit $exit_status"
1846 rm -f core *.core core.conftest.* &&
1847 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1850 for ac_signal in 1 2 13 15; do
1851 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1855 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1856 rm -f -r conftest* confdefs.h
1858 # Predefined preprocessor variables.
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_NAME "$PACKAGE_NAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_STRING "$PACKAGE_STRING"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1885 # Let the site file select an alternate cache file if it wants to.
1886 # Prefer explicitly selected file to automatically selected ones.
1887 if test -n "$CONFIG_SITE"; then
1888 set x "$CONFIG_SITE"
1889 elif test "x$prefix" != xNONE; then
1890 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1892 set x "$ac_default_prefix/share/config.site" \
1893 "$ac_default_prefix/etc/config.site"
1898 if test -r "$ac_site_file"; then
1899 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1900 echo "$as_me: loading site script $ac_site_file" >&6;}
1901 sed 's/^/| /' "$ac_site_file" >&5
1906 if test -r "$cache_file"; then
1907 # Some versions of bash will fail to source /dev/null (special
1908 # files actually), so we avoid doing that.
1909 if test -f "$cache_file"; then
1910 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1911 echo "$as_me: loading cache $cache_file" >&6;}
1913 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1914 *) . "./$cache_file";;
1918 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1919 echo "$as_me: creating cache $cache_file" >&6;}
1923 # Check that the precious variables saved in the cache have kept the same
1925 ac_cache_corrupted=false
1926 for ac_var in $ac_precious_vars; do
1927 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1928 eval ac_new_set=\$ac_env_${ac_var}_set
1929 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1930 eval ac_new_val=\$ac_env_${ac_var}_value
1931 case $ac_old_set,$ac_new_set in
1933 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1934 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1935 ac_cache_corrupted=: ;;
1937 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1938 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1939 ac_cache_corrupted=: ;;
1942 if test "x$ac_old_val" != "x$ac_new_val"; then
1943 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1944 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1945 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1946 echo "$as_me: former value: $ac_old_val" >&2;}
1947 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1948 echo "$as_me: current value: $ac_new_val" >&2;}
1949 ac_cache_corrupted=:
1952 # Pass precious variables to config.status.
1953 if test "$ac_new_set" = set; then
1955 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1956 *) ac_arg=$ac_var=$ac_new_val ;;
1958 case " $ac_configure_args " in
1959 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1960 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1964 if $ac_cache_corrupted; then
1965 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1966 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1967 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1968 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1969 { (exit 1); exit 1; }; }
1997 ac_cpp='$CPP $CPPFLAGS'
1998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2004 ac_config_headers="$ac_config_headers src/gras_config.h"
2006 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
2010 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2011 if test -f "$ac_dir/install-sh"; then
2013 ac_install_sh="$ac_aux_dir/install-sh -c"
2015 elif test -f "$ac_dir/install.sh"; then
2017 ac_install_sh="$ac_aux_dir/install.sh -c"
2019 elif test -f "$ac_dir/shtool"; then
2021 ac_install_sh="$ac_aux_dir/shtool install -c"
2025 if test -z "$ac_aux_dir"; then
2026 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2027 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2028 { (exit 1); exit 1; }; }
2031 # These three variables are undocumented and unsupported,
2032 # and are intended to be withdrawn in a future Autoconf release.
2033 # They can cause serious problems if a builder's source tree is in a directory
2034 # whose full name contains unusual characters.
2035 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2036 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2037 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2040 # Make sure we can run config.sub.
2041 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2042 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2043 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2044 { (exit 1); exit 1; }; }
2046 { echo "$as_me:$LINENO: checking build system type" >&5
2047 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2048 if test "${ac_cv_build+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_build_alias=$build_alias
2052 test "x$ac_build_alias" = x &&
2053 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2054 test "x$ac_build_alias" = x &&
2055 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2056 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2057 { (exit 1); exit 1; }; }
2058 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2059 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2060 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2061 { (exit 1); exit 1; }; }
2064 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2065 echo "${ECHO_T}$ac_cv_build" >&6; }
2066 case $ac_cv_build in
2068 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2069 echo "$as_me: error: invalid value of canonical build" >&2;}
2070 { (exit 1); exit 1; }; };;
2073 ac_save_IFS=$IFS; IFS='-'
2079 # Remember, the first character of IFS is used to create $*,
2080 # except with old shells:
2083 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2086 { echo "$as_me:$LINENO: checking host system type" >&5
2087 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2088 if test "${ac_cv_host+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test "x$host_alias" = x; then
2092 ac_cv_host=$ac_cv_build
2094 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2095 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2096 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2097 { (exit 1); exit 1; }; }
2101 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2102 echo "${ECHO_T}$ac_cv_host" >&6; }
2105 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2106 echo "$as_me: error: invalid value of canonical host" >&2;}
2107 { (exit 1); exit 1; }; };;
2110 ac_save_IFS=$IFS; IFS='-'
2116 # Remember, the first character of IFS is used to create $*,
2117 # except with old shells:
2120 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2123 { echo "$as_me:$LINENO: checking target system type" >&5
2124 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2125 if test "${ac_cv_target+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test "x$target_alias" = x; then
2129 ac_cv_target=$ac_cv_host
2131 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2132 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2133 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2134 { (exit 1); exit 1; }; }
2138 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2139 echo "${ECHO_T}$ac_cv_target" >&6; }
2140 case $ac_cv_target in
2142 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2143 echo "$as_me: error: invalid value of canonical target" >&2;}
2144 { (exit 1); exit 1; }; };;
2146 target=$ac_cv_target
2147 ac_save_IFS=$IFS; IFS='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2160 # The aliases save the names the user supplied, while $host etc.
2161 # will get canonicalized.
2162 test -n "$target_alias" &&
2163 test "$program_prefix$program_suffix$program_transform_name" = \
2165 program_prefix=${target_alias}-
2167 ac_cpp='$CPP $CPPFLAGS'
2168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 rm -rf .tst 2>/dev/null
2173 mkdir .tst 2>/dev/null
2174 if test -d .tst; then
2179 rmdir .tst 2>/dev/null
2181 DEPDIR="${am__leading_dot}deps"
2183 ac_config_commands="$ac_config_commands depfiles"
2186 am_make=${MAKE-make}
2187 cat > confinc << 'END'
2192 # If we don't find an include directive, just comment out the code.
2193 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2194 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2198 # First try GNU make style include.
2199 echo "include confinc" > confmf
2200 # We grep out `Entering directory' and `Leaving directory'
2201 # messages which can occur if `w' ends up in MAKEFLAGS.
2202 # In particular we don't look at `^make:' because GNU make might
2203 # be invoked under some other name (usually "gmake"), in which
2204 # case it prints its new name instead of `make'.
2205 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2210 # Now try BSD make style include.
2211 if test "$am__include" = "#"; then
2212 echo '.include "confinc"' > confmf
2213 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2214 am__include=.include
2221 { echo "$as_me:$LINENO: result: $_am_result" >&5
2222 echo "${ECHO_T}$_am_result" >&6; }
2223 rm -f confinc confmf
2225 # Check whether --enable-dependency-tracking was given.
2226 if test "${enable_dependency_tracking+set}" = set; then
2227 enableval=$enable_dependency_tracking;
2230 if test "x$enable_dependency_tracking" != xno; then
2231 am_depcomp="$ac_aux_dir/depcomp"
2234 if test "x$enable_dependency_tracking" != xno; then
2244 for ac_prog in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
2246 # Extract the first word of "$ac_prog", so it can be a program name with args.
2247 set dummy $ac_prog; ac_word=$2
2248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2250 if test "${ac_cv_prog_GCJ+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 if test -n "$GCJ"; then
2254 ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir=.
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 ac_cv_prog_GCJ="$ac_prog"
2264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 if test -n "$GCJ"; then
2275 { echo "$as_me:$LINENO: result: $GCJ" >&5
2276 echo "${ECHO_T}$GCJ" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2283 test -n "$GCJ" && break
2285 test -n "$GCJ" || GCJ="gcj"
2287 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
2288 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
2289 { (exit 1); exit 1; }; }
2290 if test "x${GCJFLAGS-unset}" = xunset; then
2295 depcc="$GCJ" am_compiler_list='gcc3 gcc'
2297 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2298 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2299 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2303 # We make a subdir and do the tests there. Otherwise we can end up
2304 # making bogus files that we don't know about and never remove. For
2305 # instance it was reported that on HP-UX the gcc test will end up
2306 # making a dummy file named `D' -- because `-MD' means `put the output
2309 # Copy depcomp to subdir because otherwise we won't find it if we're
2310 # using a relative directory.
2311 cp "$am_depcomp" conftest.dir
2313 # We will build objects and dependencies in a subdirectory because
2314 # it helps to detect inapplicable dependency modes. For instance
2315 # both Tru64's cc and ICC support -MD to output dependencies as a
2316 # side effect of compilation, but ICC will put the dependencies in
2317 # the current directory while Tru64 will put them in the object
2321 am_cv_GCJ_dependencies_compiler_type=none
2322 if test "$am_compiler_list" = ""; then
2323 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2325 for depmode in $am_compiler_list; do
2326 # Setup a source with many dependencies, because some compilers
2327 # like to wrap large dependency lists on column 80 (with \), and
2328 # we should not choose a depcomp mode which is confused by this.
2330 # We need to recreate these files for each test, as the compiler may
2331 # overwrite some of them when testing with obscure command lines.
2332 # This happens at least with the AIX C compiler.
2334 for i in 1 2 3 4 5 6; do
2335 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2336 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2337 # Solaris 8's {/usr,}/bin/sh.
2338 touch sub/conftst$i.h
2340 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2344 # after this tag, mechanisms are not by side-effect, so they'll
2345 # only be used when explicitly requested
2346 if test "x$enable_dependency_tracking" = xyes; then
2354 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2355 # mode. It turns out that the SunPro C++ compiler does not properly
2356 # handle `-M -o', and we need to detect this.
2357 if depmode=$depmode \
2358 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2359 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2360 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2361 >/dev/null 2>conftest.err &&
2362 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2363 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2364 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2365 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2366 # icc doesn't choke on unknown options, it will just issue warnings
2367 # or remarks (even with -Werror). So we grep stderr for any message
2368 # that says an option was ignored or not supported.
2369 # When given -MP, icc 7.0 and 7.1 complain thusly:
2370 # icc: Command line warning: ignoring option '-M'; no argument required
2371 # The diagnosis changed in icc 8.0:
2372 # icc: Command line remark: option '-MP' not supported
2373 if (grep 'ignoring option' conftest.err ||
2374 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2375 am_cv_GCJ_dependencies_compiler_type=$depmode
2384 am_cv_GCJ_dependencies_compiler_type=none
2388 { echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
2389 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6; }
2390 GCJDEPMODE=depmode=$am_cv_GCJ_dependencies_compiler_type
2393 test "x$enable_dependency_tracking" != xno \
2394 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3; then
2395 am__fastdepGCJ_TRUE=
2396 am__fastdepGCJ_FALSE='#'
2398 am__fastdepGCJ_TRUE='#'
2399 am__fastdepGCJ_FALSE=
2405 am__api_version='1.10'
2407 # Find a good install program. We prefer a C program (faster),
2408 # so one script is as good as another. But avoid the broken or
2409 # incompatible versions:
2410 # SysV /etc/install, /usr/sbin/install
2411 # SunOS /usr/etc/install
2412 # IRIX /sbin/install
2414 # AmigaOS /C/install, which installs bootblocks on floppy discs
2415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2418 # OS/2's system install, which has a completely different semantic
2419 # ./install, which can be erroneously created by make from ./install.sh.
2420 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2421 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2422 if test -z "$INSTALL"; then
2423 if test "${ac_cv_path_install+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 # Account for people who put trailing slashes in PATH elements.
2433 ./ | .// | /cC/* | \
2434 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2435 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2438 # OSF1 and SCO ODT 3.0 have their own names for install.
2439 # Don't use installbsd from OSF since it installs stuff as root
2441 for ac_prog in ginstall scoinst install; do
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2444 if test $ac_prog = install &&
2445 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2446 # AIX install. It has an incompatible calling convention.
2448 elif test $ac_prog = install &&
2449 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2450 # program-specific install script used by HP pwplus--don't use.
2453 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2466 if test "${ac_cv_path_install+set}" = set; then
2467 INSTALL=$ac_cv_path_install
2469 # As a last resort, use the slow shell script. Don't cache a
2470 # value for INSTALL within a source directory, because that will
2471 # break other packages using the cache if that directory is
2472 # removed, or if the value is a relative name.
2473 INSTALL=$ac_install_sh
2476 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2477 echo "${ECHO_T}$INSTALL" >&6; }
2479 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2480 # It thinks the first close brace ends the variable substitution.
2481 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2483 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2485 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2487 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2488 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2491 echo timestamp > conftest.file
2492 # Do `set' in a subshell so we don't clobber the current shell's
2493 # arguments. Must try -L first in case configure is actually a
2494 # symlink; some systems play weird games with the mod time of symlinks
2495 # (eg FreeBSD returns the mod time of the symlink's containing
2498 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2499 if test "$*" = "X"; then
2501 set X `ls -t $srcdir/configure conftest.file`
2504 if test "$*" != "X $srcdir/configure conftest.file" \
2505 && test "$*" != "X conftest.file $srcdir/configure"; then
2507 # If neither matched, then we have a broken ls. This can happen
2508 # if, for instance, CONFIG_SHELL is bash and it inherits a
2509 # broken ls alias from the environment. This has actually
2510 # happened. Such a system could not be considered "sane".
2511 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2512 alias in your environment" >&5
2513 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2514 alias in your environment" >&2;}
2515 { (exit 1); exit 1; }; }
2518 test "$2" = conftest.file
2524 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2525 Check your system clock" >&5
2526 echo "$as_me: error: newly created file is older than distributed files!
2527 Check your system clock" >&2;}
2528 { (exit 1); exit 1; }; }
2530 { echo "$as_me:$LINENO: result: yes" >&5
2531 echo "${ECHO_T}yes" >&6; }
2532 test "$program_prefix" != NONE &&
2533 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2534 # Use a double $ so make ignores it.
2535 test "$program_suffix" != NONE &&
2536 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2537 # Double any \ or $. echo might interpret backslashes.
2538 # By default was `s,x,x', remove it if useless.
2539 cat <<\_ACEOF >conftest.sed
2540 s/[\\$]/&&/g;s/;s,x,x,$//
2542 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2545 # expand $ac_aux_dir to an absolute path
2546 am_aux_dir=`cd $ac_aux_dir && pwd`
2548 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2549 # Use eval to expand $SHELL
2550 if eval "$MISSING --run true"; then
2551 am_missing_run="$MISSING --run "
2554 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2555 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2558 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2559 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2560 if test -z "$MKDIR_P"; then
2561 if test "${ac_cv_path_mkdir+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2568 test -z "$as_dir" && as_dir=.
2569 for ac_prog in mkdir gmkdir; do
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2572 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2573 'mkdir (GNU coreutils) '* | \
2574 'mkdir (coreutils) '* | \
2575 'mkdir (fileutils) '4.1*)
2576 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2586 if test "${ac_cv_path_mkdir+set}" = set; then
2587 MKDIR_P="$ac_cv_path_mkdir -p"
2589 # As a last resort, use the slow shell script. Don't cache a
2590 # value for MKDIR_P within a source directory, because that will
2591 # break other packages using the cache if that directory is
2592 # removed, or if the value is a relative name.
2593 test -d ./--version && rmdir ./--version
2594 MKDIR_P="$ac_install_sh -d"
2597 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2598 echo "${ECHO_T}$MKDIR_P" >&6; }
2602 [\\/$]* | ?:[\\/]*) ;;
2603 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2606 for ac_prog in gawk mawk nawk awk
2608 # Extract the first word of "$ac_prog", so it can be a program name with args.
2609 set dummy $ac_prog; ac_word=$2
2610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_AWK+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 if test -n "$AWK"; then
2616 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_AWK="$ac_prog"
2626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$AWK"; then
2637 { echo "$as_me:$LINENO: result: $AWK" >&5
2638 echo "${ECHO_T}$AWK" >&6; }
2640 { echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6; }
2645 test -n "$AWK" && break
2648 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2649 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2650 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2651 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 cat >conftest.make <<\_ACEOF
2657 @echo '@@@%%%=$(MAKE)=@@@%%%'
2659 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2660 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2662 eval ac_cv_prog_make_${ac_make}_set=yes;;
2664 eval ac_cv_prog_make_${ac_make}_set=no;;
2668 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2669 { echo "$as_me:$LINENO: result: yes" >&5
2670 echo "${ECHO_T}yes" >&6; }
2673 { echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6; }
2675 SET_MAKE="MAKE=${MAKE-make}"
2678 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2679 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2680 # is not polluted with repeated "-I."
2681 am__isrc=' -I$(srcdir)'
2682 # test to see if srcdir already configured
2683 if test -f $srcdir/config.status; then
2684 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2685 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2686 { (exit 1); exit 1; }; }
2690 # test whether we have cygpath
2691 if test -z "$CYGPATH_W"; then
2692 if (cygpath --version) >/dev/null 2>/dev/null; then
2693 CYGPATH_W='cygpath -w'
2700 # Define the identity of the package.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE "$PACKAGE"
2710 cat >>confdefs.h <<_ACEOF
2711 #define VERSION "$VERSION"
2714 # Some tools Automake needs.
2716 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2719 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2722 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2725 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2728 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2730 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2732 # Installed binaries are usually stripped using `strip' when the user
2733 # run `make install-strip'. However `strip' might not be the right
2734 # tool to use in cross-compilation environments, therefore Automake
2735 # will honor the `STRIP' environment variable to overrule this program.
2736 if test "$cross_compiling" != no; then
2737 if test -n "$ac_tool_prefix"; then
2738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2739 set dummy ${ac_tool_prefix}strip; ac_word=$2
2740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2742 if test "${ac_cv_prog_STRIP+set}" = set; then
2743 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 if test -n "$STRIP"; then
2746 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 STRIP=$ac_cv_prog_STRIP
2766 if test -n "$STRIP"; then
2767 { echo "$as_me:$LINENO: result: $STRIP" >&5
2768 echo "${ECHO_T}$STRIP" >&6; }
2770 { echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6; }
2776 if test -z "$ac_cv_prog_STRIP"; then
2778 # Extract the first word of "strip", so it can be a program name with args.
2779 set dummy strip; ac_word=$2
2780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2782 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 if test -n "$ac_ct_STRIP"; then
2786 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_ac_ct_STRIP="strip"
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2806 if test -n "$ac_ct_STRIP"; then
2807 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2808 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2810 { echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6; }
2814 if test "x$ac_ct_STRIP" = x; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2820 whose name does not start with the host triplet. If you think this
2821 configuration is useful to you, please write to autoconf@gnu.org." >&5
2822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2823 whose name does not start with the host triplet. If you think this
2824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2825 ac_tool_warned=yes ;;
2830 STRIP="$ac_cv_prog_STRIP"
2834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2836 # We need awk for the "check" target. The system "awk" is bad on
2838 # Always define AMTAR for backward compatibility.
2840 AMTAR=${AMTAR-"${am_missing_run}tar"}
2842 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2849 ACLOCAL="$ACLOCAL -I acmacro"
2856 # Check whether --enable-shared was given.
2857 if test "${enable_shared+set}" = set; then
2858 enableval=$enable_shared; p=${PACKAGE-default}
2860 yes) enable_shared=yes ;;
2861 no) enable_shared=no ;;
2864 # Look at the argument we got. We use all the common list separators.
2865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2866 for pkg in $enableval; do
2868 if test "X$pkg" = "X$p"; then
2880 # Check whether --enable-static was given.
2881 if test "${enable_static+set}" = set; then
2882 enableval=$enable_static; p=${PACKAGE-default}
2884 yes) enable_static=yes ;;
2885 no) enable_static=no ;;
2888 # Look at the argument we got. We use all the common list separators.
2889 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2890 for pkg in $enableval; do
2892 if test "X$pkg" = "X$p"; then
2904 # Check whether --enable-fast-install was given.
2905 if test "${enable_fast_install+set}" = set; then
2906 enableval=$enable_fast_install; p=${PACKAGE-default}
2908 yes) enable_fast_install=yes ;;
2909 no) enable_fast_install=no ;;
2911 enable_fast_install=no
2912 # Look at the argument we got. We use all the common list separators.
2913 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2914 for pkg in $enableval; do
2916 if test "X$pkg" = "X$p"; then
2917 enable_fast_install=yes
2924 enable_fast_install=yes
2929 ac_cpp='$CPP $CPPFLAGS'
2930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2933 if test -n "$ac_tool_prefix"; then
2934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2935 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2938 if test "${ac_cv_prog_CC+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 if test -n "$CC"; then
2942 ac_cv_prog_CC="$CC" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test -n "$CC"; then
2963 { echo "$as_me:$LINENO: result: $CC" >&5
2964 echo "${ECHO_T}$CC" >&6; }
2966 { echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6; }
2972 if test -z "$ac_cv_prog_CC"; then
2974 # Extract the first word of "gcc", so it can be a program name with args.
2975 set dummy gcc; ac_word=$2
2976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 if test -n "$ac_ct_CC"; then
2982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 test -z "$as_dir" && as_dir=.
2989 for ac_exec_ext in '' $ac_executable_extensions; do
2990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991 ac_cv_prog_ac_ct_CC="gcc"
2992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3002 if test -n "$ac_ct_CC"; then
3003 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3004 echo "${ECHO_T}$ac_ct_CC" >&6; }
3006 { echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6; }
3010 if test "x$ac_ct_CC" = x; then
3013 case $cross_compiling:$ac_tool_warned in
3015 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3016 whose name does not start with the host triplet. If you think this
3017 configuration is useful to you, please write to autoconf@gnu.org." >&5
3018 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3019 whose name does not start with the host triplet. If you think this
3020 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3021 ac_tool_warned=yes ;;
3029 if test -z "$CC"; then
3030 if test -n "$ac_tool_prefix"; then
3031 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3032 set dummy ${ac_tool_prefix}cc; ac_word=$2
3033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3035 if test "${ac_cv_prog_CC+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 if test -n "$CC"; then
3039 ac_cv_prog_CC="$CC" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 ac_cv_prog_CC="${ac_tool_prefix}cc"
3049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test -n "$CC"; then
3060 { echo "$as_me:$LINENO: result: $CC" >&5
3061 echo "${ECHO_T}$CC" >&6; }
3063 { echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6; }
3070 if test -z "$CC"; then
3071 # Extract the first word of "cc", so it can be a program name with args.
3072 set dummy cc; ac_word=$2
3073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3075 if test "${ac_cv_prog_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$CC"; then
3079 ac_cv_prog_CC="$CC" # Let the user override the test.
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3090 ac_prog_rejected=yes
3094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 if test $ac_prog_rejected = yes; then
3102 # We found a bogon in the path, so make sure we never use it.
3103 set dummy $ac_cv_prog_CC
3105 if test $# != 0; then
3106 # We chose a different compiler from the bogus one.
3107 # However, it has the same basename, so the bogon will be chosen
3108 # first if we set CC to just the basename; use the full file name.
3110 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3116 if test -n "$CC"; then
3117 { echo "$as_me:$LINENO: result: $CC" >&5
3118 echo "${ECHO_T}$CC" >&6; }
3120 { echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6; }
3126 if test -z "$CC"; then
3127 if test -n "$ac_tool_prefix"; then
3128 for ac_prog in cl.exe
3130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3134 if test "${ac_cv_prog_CC+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 if test -n "$CC"; then
3138 ac_cv_prog_CC="$CC" # Let the user override the test.
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 if test -n "$CC"; then
3159 { echo "$as_me:$LINENO: result: $CC" >&5
3160 echo "${ECHO_T}$CC" >&6; }
3162 { echo "$as_me:$LINENO: result: no" >&5
3163 echo "${ECHO_T}no" >&6; }
3167 test -n "$CC" && break
3170 if test -z "$CC"; then
3172 for ac_prog in cl.exe
3174 # Extract the first word of "$ac_prog", so it can be a program name with args.
3175 set dummy $ac_prog; ac_word=$2
3176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3178 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if test -n "$ac_ct_CC"; then
3182 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_ac_ct_CC="$ac_prog"
3192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202 if test -n "$ac_ct_CC"; then
3203 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3204 echo "${ECHO_T}$ac_ct_CC" >&6; }
3206 { echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6; }
3211 test -n "$ac_ct_CC" && break
3214 if test "x$ac_ct_CC" = x; then
3217 case $cross_compiling:$ac_tool_warned in
3219 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3220 whose name does not start with the host triplet. If you think this
3221 configuration is useful to you, please write to autoconf@gnu.org." >&5
3222 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3223 whose name does not start with the host triplet. If you think this
3224 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3225 ac_tool_warned=yes ;;
3234 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3235 See \`config.log' for more details." >&5
3236 echo "$as_me: error: no acceptable C compiler found in \$PATH
3237 See \`config.log' for more details." >&2;}
3238 { (exit 1); exit 1; }; }
3240 # Provide some information about the compiler.
3241 echo "$as_me:$LINENO: checking for C compiler version" >&5
3242 ac_compiler=`set X $ac_compile; echo $2`
3243 { (ac_try="$ac_compiler --version >&5"
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_compiler --version >&5") 2>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }
3253 { (ac_try="$ac_compiler -v >&5"
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3259 (eval "$ac_compiler -v >&5") 2>&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }
3263 { (ac_try="$ac_compiler -V >&5"
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3269 (eval "$ac_compiler -V >&5") 2>&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3289 ac_clean_files_save=$ac_clean_files
3290 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3291 # Try to create an executable without -o first, disregard a.out.
3292 # It will help us diagnose broken compilers, and finding out an intuition
3294 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3295 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3296 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3298 # List of possible output files, starting from the most likely.
3299 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3300 # only as a last resort. b.out is created by i960 compilers.
3301 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3303 # The IRIX 6 linker writes into existing files which may not be
3304 # executable, retaining their permissions. Remove them first so a
3305 # subsequent execution test works.
3307 for ac_file in $ac_files
3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3311 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3316 if { (ac_try="$ac_link_default"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_link_default") 2>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }; then
3326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3328 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3329 # so that the user can short-circuit this test for compilers unknown to
3331 for ac_file in $ac_files ''
3333 test -f "$ac_file" || continue
3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3338 # We found the default executable, but exeext='' is most
3342 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3344 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346 # We set ac_cv_exeext here because the later test for it is not
3347 # safe: cross compilers may not add the suffix if given an `-o'
3348 # argument, so we may need to know it at that point already.
3349 # Even if this section looks crufty: it has the advantage of
3356 test "$ac_cv_exeext" = no && ac_cv_exeext=
3362 { echo "$as_me:$LINENO: result: $ac_file" >&5
3363 echo "${ECHO_T}$ac_file" >&6; }
3364 if test -z "$ac_file"; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3369 See \`config.log' for more details." >&5
3370 echo "$as_me: error: C compiler cannot create executables
3371 See \`config.log' for more details." >&2;}
3372 { (exit 77); exit 77; }; }
3375 ac_exeext=$ac_cv_exeext
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3382 # If not cross compiling, check that we can run a simple program.
3383 if test "$cross_compiling" != yes; then
3384 if { ac_try='./$ac_file'
3385 { (case "(($ac_try" in
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3390 (eval "$ac_try") 2>&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; }; then
3396 if test "$cross_compiling" = maybe; then
3399 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3400 If you meant to cross compile, use \`--host'.
3401 See \`config.log' for more details." >&5
3402 echo "$as_me: error: cannot run C compiled programs.
3403 If you meant to cross compile, use \`--host'.
3404 See \`config.log' for more details." >&2;}
3405 { (exit 1); exit 1; }; }
3409 { echo "$as_me:$LINENO: result: yes" >&5
3410 echo "${ECHO_T}yes" >&6; }
3412 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3413 ac_clean_files=$ac_clean_files_save
3414 # Check that the compiler produces executables we can run. If not, either
3415 # the compiler is broken, or we cross compile.
3416 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3417 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3418 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3419 echo "${ECHO_T}$cross_compiling" >&6; }
3421 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3422 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3423 if { (ac_try="$ac_link"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_link") 2>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; then
3433 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3434 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3435 # work properly (i.e., refer to `conftest.exe'), while it won't with
3437 for ac_file in conftest.exe conftest conftest.*; do
3438 test -f "$ac_file" || continue
3440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3441 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3447 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3448 See \`config.log' for more details." >&5
3449 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3450 See \`config.log' for more details." >&2;}
3451 { (exit 1); exit 1; }; }
3454 rm -f conftest$ac_cv_exeext
3455 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3456 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3458 rm -f conftest.$ac_ext
3459 EXEEXT=$ac_cv_exeext
3461 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3462 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3463 if test "${ac_cv_objext+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 cat >conftest.$ac_ext <<_ACEOF
3469 cat confdefs.h >>conftest.$ac_ext
3470 cat >>conftest.$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3481 rm -f conftest.o conftest.obj
3482 if { (ac_try="$ac_compile"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_compile") 2>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; then
3492 for ac_file in conftest.o conftest.obj conftest.*; do
3493 test -f "$ac_file" || continue;
3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3496 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3505 See \`config.log' for more details." >&5
3506 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3507 See \`config.log' for more details." >&2;}
3508 { (exit 1); exit 1; }; }
3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3513 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3514 echo "${ECHO_T}$ac_cv_objext" >&6; }
3515 OBJEXT=$ac_cv_objext
3517 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3518 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3519 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3540 rm -f conftest.$ac_objext
3541 if { (ac_try="$ac_compile"
3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3549 grep -v '^ *+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_c_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.$ac_objext; then
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3569 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3570 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3571 GCC=`test $ac_compiler_gnu = yes && echo yes`
3572 ac_test_CFLAGS=${CFLAGS+set}
3573 ac_save_CFLAGS=$CFLAGS
3574 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3576 if test "${ac_cv_prog_cc_g+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 ac_save_c_werror_flag=$ac_c_werror_flag
3580 ac_c_werror_flag=yes
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3598 rm -f conftest.$ac_objext
3599 if { (ac_try="$ac_compile"
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_compile") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } && {
3612 test -z "$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3614 } && test -s conftest.$ac_objext; then
3617 echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3621 cat >conftest.$ac_ext <<_ACEOF
3624 cat confdefs.h >>conftest.$ac_ext
3625 cat >>conftest.$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3636 rm -f conftest.$ac_objext
3637 if { (ac_try="$ac_compile"
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_compile") 2>conftest.er1
3645 grep -v '^ *+' conftest.er1 >conftest.err
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } && {
3650 test -z "$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3652 } && test -s conftest.$ac_objext; then
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 ac_c_werror_flag=$ac_save_c_werror_flag
3660 cat >conftest.$ac_ext <<_ACEOF
3663 cat confdefs.h >>conftest.$ac_ext
3664 cat >>conftest.$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3675 rm -f conftest.$ac_objext
3676 if { (ac_try="$ac_compile"
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3682 (eval "$ac_compile") 2>conftest.er1
3684 grep -v '^ *+' conftest.er1 >conftest.err
3686 cat conftest.err >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } && {
3689 test -z "$ac_c_werror_flag" ||
3690 test ! -s conftest.err
3691 } && test -s conftest.$ac_objext; then
3694 echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.$ac_ext >&5
3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 ac_c_werror_flag=$ac_save_c_werror_flag
3709 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3710 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3711 if test "$ac_test_CFLAGS" = set; then
3712 CFLAGS=$ac_save_CFLAGS
3713 elif test $ac_cv_prog_cc_g = yes; then
3714 if test "$GCC" = yes; then
3720 if test "$GCC" = yes; then
3726 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3727 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3728 if test "${ac_cv_prog_cc_c89+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 ac_cv_prog_cc_c89=no
3733 cat >conftest.$ac_ext <<_ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3741 #include <sys/types.h>
3742 #include <sys/stat.h>
3743 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3744 struct buf { int x; };
3745 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3746 static char *e (p, i)
3752 static char *f (char * (*g) (char **, int), char **p, ...)
3757 s = g (p, va_arg (v,int));
3762 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3763 function prototypes and stuff, but not '\xHH' hex character constants.
3764 These don't provoke an error unfortunately, instead are silently treated
3765 as 'x'. The following induces an error, until -std is added to get
3766 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3767 array size at least. It's necessary to write '\x00'==0 to get something
3768 that's true only with -std. */
3769 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3771 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3772 inside strings and character constants. */
3774 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3776 int test (int i, double x);
3777 struct s1 {int (*f) (int a);};
3778 struct s2 {int (*f) (double a);};
3779 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3785 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3790 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3791 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3793 CC="$ac_save_CC $ac_arg"
3794 rm -f conftest.$ac_objext
3795 if { (ac_try="$ac_compile"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_compile") 2>conftest.er1
3803 grep -v '^ *+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } && {
3808 test -z "$ac_c_werror_flag" ||
3809 test ! -s conftest.err
3810 } && test -s conftest.$ac_objext; then
3811 ac_cv_prog_cc_c89=$ac_arg
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.$ac_ext >&5
3819 rm -f core conftest.err conftest.$ac_objext
3820 test "x$ac_cv_prog_cc_c89" != "xno" && break
3822 rm -f conftest.$ac_ext
3827 case "x$ac_cv_prog_cc_c89" in
3829 { echo "$as_me:$LINENO: result: none needed" >&5
3830 echo "${ECHO_T}none needed" >&6; } ;;
3832 { echo "$as_me:$LINENO: result: unsupported" >&5
3833 echo "${ECHO_T}unsupported" >&6; } ;;
3835 CC="$CC $ac_cv_prog_cc_c89"
3836 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3837 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 depcc="$CC" am_compiler_list=
3849 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3850 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3851 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3855 # We make a subdir and do the tests there. Otherwise we can end up
3856 # making bogus files that we don't know about and never remove. For
3857 # instance it was reported that on HP-UX the gcc test will end up
3858 # making a dummy file named `D' -- because `-MD' means `put the output
3861 # Copy depcomp to subdir because otherwise we won't find it if we're
3862 # using a relative directory.
3863 cp "$am_depcomp" conftest.dir
3865 # We will build objects and dependencies in a subdirectory because
3866 # it helps to detect inapplicable dependency modes. For instance
3867 # both Tru64's cc and ICC support -MD to output dependencies as a
3868 # side effect of compilation, but ICC will put the dependencies in
3869 # the current directory while Tru64 will put them in the object
3873 am_cv_CC_dependencies_compiler_type=none
3874 if test "$am_compiler_list" = ""; then
3875 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3877 for depmode in $am_compiler_list; do
3878 # Setup a source with many dependencies, because some compilers
3879 # like to wrap large dependency lists on column 80 (with \), and
3880 # we should not choose a depcomp mode which is confused by this.
3882 # We need to recreate these files for each test, as the compiler may
3883 # overwrite some of them when testing with obscure command lines.
3884 # This happens at least with the AIX C compiler.
3886 for i in 1 2 3 4 5 6; do
3887 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3888 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3889 # Solaris 8's {/usr,}/bin/sh.
3890 touch sub/conftst$i.h
3892 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3896 # after this tag, mechanisms are not by side-effect, so they'll
3897 # only be used when explicitly requested
3898 if test "x$enable_dependency_tracking" = xyes; then
3906 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3907 # mode. It turns out that the SunPro C++ compiler does not properly
3908 # handle `-M -o', and we need to detect this.
3909 if depmode=$depmode \
3910 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3911 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3912 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3913 >/dev/null 2>conftest.err &&
3914 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3915 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3916 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3917 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3918 # icc doesn't choke on unknown options, it will just issue warnings
3919 # or remarks (even with -Werror). So we grep stderr for any message
3920 # that says an option was ignored or not supported.
3921 # When given -MP, icc 7.0 and 7.1 complain thusly:
3922 # icc: Command line warning: ignoring option '-M'; no argument required
3923 # The diagnosis changed in icc 8.0:
3924 # icc: Command line remark: option '-MP' not supported
3925 if (grep 'ignoring option' conftest.err ||
3926 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3927 am_cv_CC_dependencies_compiler_type=$depmode
3936 am_cv_CC_dependencies_compiler_type=none
3940 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3941 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3942 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3945 test "x$enable_dependency_tracking" != xno \
3946 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3948 am__fastdepCC_FALSE='#'
3950 am__fastdepCC_TRUE='#'
3951 am__fastdepCC_FALSE=
3955 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3956 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3957 if test "${lt_cv_path_SED+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 # Loop through the user's path and test for sed and gsed.
3961 # Then use that list of sed's as ones to test for truncation.
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir=.
3967 for lt_ac_prog in sed gsed; do
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3970 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3977 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3978 # along with /bin/sed that truncates output.
3979 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3980 test ! -f $lt_ac_sed && continue
3981 cat /dev/null > conftest.in
3983 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3984 # Check for GNU sed and select it if it is found.
3985 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3986 lt_cv_path_SED=$lt_ac_sed
3990 cat conftest.in conftest.in >conftest.tmp
3991 mv conftest.tmp conftest.in
3992 cp conftest.in conftest.nl
3994 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3995 cmp -s conftest.out conftest.nl || break
3996 # 10000 chars as input seems more than enough
3997 test $lt_ac_count -gt 10 && break
3998 lt_ac_count=`expr $lt_ac_count + 1`
3999 if test $lt_ac_count -gt $lt_ac_max; then
4000 lt_ac_max=$lt_ac_count
4001 lt_cv_path_SED=$lt_ac_sed
4009 { echo "$as_me:$LINENO: result: $SED" >&5
4010 echo "${ECHO_T}$SED" >&6; }
4012 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4013 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4014 if test "${ac_cv_path_GREP+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 # Extract the first word of "grep ggrep" to use in msg output
4018 if test -z "$GREP"; then
4019 set dummy grep ggrep; ac_prog_name=$2
4020 if test "${ac_cv_path_GREP+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 ac_path_GREP_found=false
4024 # Loop through the user's path and test for each of PROGNAME-LIST
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4029 test -z "$as_dir" && as_dir=.
4030 for ac_prog in grep ggrep; do
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4033 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4034 # Check for GNU ac_path_GREP and select it if it is found.
4035 # Check for GNU $ac_path_GREP
4036 case `"$ac_path_GREP" --version 2>&1` in
4038 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4041 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4044 cat "conftest.in" "conftest.in" >"conftest.tmp"
4045 mv "conftest.tmp" "conftest.in"
4046 cp "conftest.in" "conftest.nl"
4047 echo 'GREP' >> "conftest.nl"
4048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4049 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4050 ac_count=`expr $ac_count + 1`
4051 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4052 # Best one so far, save it but keep looking for a better one
4053 ac_cv_path_GREP="$ac_path_GREP"
4054 ac_path_GREP_max=$ac_count
4056 # 10*(2^10) chars as input seems more than enough
4057 test $ac_count -gt 10 && break
4059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4063 $ac_path_GREP_found && break 3
4073 GREP="$ac_cv_path_GREP"
4074 if test -z "$GREP"; then
4075 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4076 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4077 { (exit 1); exit 1; }; }
4081 ac_cv_path_GREP=$GREP
4086 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4087 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4088 GREP="$ac_cv_path_GREP"
4091 { echo "$as_me:$LINENO: checking for egrep" >&5
4092 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4093 if test "${ac_cv_path_EGREP+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4097 then ac_cv_path_EGREP="$GREP -E"
4099 # Extract the first word of "egrep" to use in msg output
4100 if test -z "$EGREP"; then
4101 set dummy egrep; ac_prog_name=$2
4102 if test "${ac_cv_path_EGREP+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 ac_path_EGREP_found=false
4106 # Loop through the user's path and test for each of PROGNAME-LIST
4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4111 test -z "$as_dir" && as_dir=.
4112 for ac_prog in egrep; do
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4115 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4116 # Check for GNU ac_path_EGREP and select it if it is found.
4117 # Check for GNU $ac_path_EGREP
4118 case `"$ac_path_EGREP" --version 2>&1` in
4120 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4123 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4126 cat "conftest.in" "conftest.in" >"conftest.tmp"
4127 mv "conftest.tmp" "conftest.in"
4128 cp "conftest.in" "conftest.nl"
4129 echo 'EGREP' >> "conftest.nl"
4130 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4132 ac_count=`expr $ac_count + 1`
4133 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4134 # Best one so far, save it but keep looking for a better one
4135 ac_cv_path_EGREP="$ac_path_EGREP"
4136 ac_path_EGREP_max=$ac_count
4138 # 10*(2^10) chars as input seems more than enough
4139 test $ac_count -gt 10 && break
4141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4145 $ac_path_EGREP_found && break 3
4155 EGREP="$ac_cv_path_EGREP"
4156 if test -z "$EGREP"; then
4157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4159 { (exit 1); exit 1; }; }
4163 ac_cv_path_EGREP=$EGREP
4169 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4170 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4171 EGREP="$ac_cv_path_EGREP"
4175 # Check whether --with-gnu-ld was given.
4176 if test "${with_gnu_ld+set}" = set; then
4177 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4183 if test "$GCC" = yes; then
4184 # Check if gcc -print-prog-name=ld gives a path.
4185 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4186 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4189 # gcc leaves a trailing carriage return which upsets mingw
4190 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4192 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4195 # Accept absolute paths.
4197 re_direlt='/[^/][^/]*/\.\./'
4198 # Canonicalize the pathname of ld
4199 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4200 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4201 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4203 test -z "$LD" && LD="$ac_prog"
4206 # If it fails, then pretend we aren't using GCC.
4210 # If it is relative, then search for the first ld in PATH.
4214 elif test "$with_gnu_ld" = yes; then
4215 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4216 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4218 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4219 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4221 if test "${lt_cv_path_LD+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 if test -z "$LD"; then
4225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4226 for ac_dir in $PATH; do
4228 test -z "$ac_dir" && ac_dir=.
4229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4230 lt_cv_path_LD="$ac_dir/$ac_prog"
4231 # Check to see if the program is GNU ld. I'd rather use --version,
4232 # but apparently some variants of GNU ld only accept -v.
4233 # Break only if it was the GNU/non-GNU ld that we prefer.
4234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4235 *GNU* | *'with BFD'*)
4236 test "$with_gnu_ld" != no && break
4239 test "$with_gnu_ld" != yes && break
4246 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4251 if test -n "$LD"; then
4252 { echo "$as_me:$LINENO: result: $LD" >&5
4253 echo "${ECHO_T}$LD" >&6; }
4255 { echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6; }
4258 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4259 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4260 { (exit 1); exit 1; }; }
4261 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4262 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4263 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4267 case `$LD -v 2>&1 </dev/null` in
4268 *GNU* | *'with BFD'*)
4269 lt_cv_prog_gnu_ld=yes
4272 lt_cv_prog_gnu_ld=no
4276 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4277 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4278 with_gnu_ld=$lt_cv_prog_gnu_ld
4281 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4282 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4283 if test "${lt_cv_ld_reload_flag+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 lt_cv_ld_reload_flag='-r'
4288 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4289 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4290 reload_flag=$lt_cv_ld_reload_flag
4291 case $reload_flag in
4293 *) reload_flag=" $reload_flag" ;;
4295 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4298 if test "$GCC" = yes; then
4299 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4301 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4306 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4307 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4308 if test "${lt_cv_path_NM+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 if test -n "$NM"; then
4312 # Let the user override the test.
4315 lt_nm_to_check="${ac_tool_prefix}nm"
4316 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4317 lt_nm_to_check="$lt_nm_to_check nm"
4319 for lt_tmp_nm in $lt_nm_to_check; do
4320 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4321 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4323 test -z "$ac_dir" && ac_dir=.
4324 tmp_nm="$ac_dir/$lt_tmp_nm"
4325 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4326 # Check to see if the nm accepts a BSD-compat flag.
4327 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4328 # nm: unknown option "B" ignored
4329 # Tru64's nm complains that /dev/null is an invalid object file
4330 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4331 */dev/null* | *'Invalid file or object type'*)
4332 lt_cv_path_NM="$tmp_nm -B"
4336 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4338 lt_cv_path_NM="$tmp_nm -p"
4342 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4343 continue # so that we can try to find one that supports BSD flags
4352 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4355 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4356 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4359 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4360 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4362 if test "$LN_S" = "ln -s"; then
4363 { echo "$as_me:$LINENO: result: yes" >&5
4364 echo "${ECHO_T}yes" >&6; }
4366 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4367 echo "${ECHO_T}no, using $LN_S" >&6; }
4370 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4371 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4372 if test "${lt_cv_deplibs_check_method+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 lt_cv_file_magic_cmd='$MAGIC_CMD'
4376 lt_cv_file_magic_test_file=
4377 lt_cv_deplibs_check_method='unknown'
4378 # Need to set the preceding variable on all platforms that support
4379 # interlibrary dependencies.
4380 # 'none' -- dependencies not supported.
4381 # `unknown' -- same as none, but documents that we really don't know.
4382 # 'pass_all' -- all dependencies passed with no checks.
4383 # 'test_compile' -- check by making test program.
4384 # 'file_magic [[regex]]' -- check by looking for files in library path
4385 # which responds to the $file_magic_cmd with a given extended regex.
4386 # If you have `file' or equivalent on your system and you're not sure
4387 # whether `pass_all' will *always* work, you probably want this one.
4391 lt_cv_deplibs_check_method=pass_all
4395 lt_cv_deplibs_check_method=pass_all
4399 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4400 lt_cv_file_magic_cmd='/usr/bin/file -L'
4401 lt_cv_file_magic_test_file=/shlib/libc.so
4405 # func_win32_libid is a shell function defined in ltmain.sh
4406 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4407 lt_cv_file_magic_cmd='func_win32_libid'
4411 # Base MSYS/MinGW do not provide the 'file' command needed by
4412 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4413 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4414 lt_cv_file_magic_cmd='$OBJDUMP -f'
4417 darwin* | rhapsody*)
4418 lt_cv_deplibs_check_method=pass_all
4421 freebsd* | dragonfly*)
4422 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4425 # Not sure whether the presence of OpenBSD here was a mistake.
4426 # Let's accept both of them until this is cleared up.
4427 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4428 lt_cv_file_magic_cmd=/usr/bin/file
4429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4433 lt_cv_deplibs_check_method=pass_all
4438 lt_cv_deplibs_check_method=pass_all
4441 hpux10.20* | hpux11*)
4442 lt_cv_file_magic_cmd=/usr/bin/file
4445 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4446 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4449 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]'
4450 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4453 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4454 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4460 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4464 irix5* | irix6* | nonstopux*)
4466 *-32|*"-32 ") libmagic=32-bit;;
4467 *-n32|*"-n32 ") libmagic=N32;;
4468 *-64|*"-64 ") libmagic=64-bit;;
4469 *) libmagic=never-match;;
4471 lt_cv_deplibs_check_method=pass_all
4474 # This must be Linux ELF.
4475 linux* | k*bsd*-gnu)
4476 lt_cv_deplibs_check_method=pass_all
4479 netbsd* | netbsdelf*-gnu)
4480 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4483 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4488 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4489 lt_cv_file_magic_cmd=/usr/bin/file
4490 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4494 lt_cv_deplibs_check_method=unknown
4498 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4505 osf3* | osf4* | osf5*)
4506 lt_cv_deplibs_check_method=pass_all
4510 lt_cv_deplibs_check_method=pass_all
4514 case $host_vendor in
4516 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]'
4517 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4520 lt_cv_deplibs_check_method=pass_all
4523 lt_cv_file_magic_cmd='/bin/file'
4524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4527 lt_cv_file_magic_cmd='/bin/file'
4528 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4529 lt_cv_file_magic_test_file=/lib/libc.so
4532 lt_cv_deplibs_check_method=pass_all
4535 lt_cv_deplibs_check_method=pass_all
4540 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4541 lt_cv_deplibs_check_method=pass_all
4546 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4547 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4548 file_magic_cmd=$lt_cv_file_magic_cmd
4549 deplibs_check_method=$lt_cv_deplibs_check_method
4550 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4555 # If no C compiler was specified, use CC.
4558 # If no C compiler flags were specified, use CFLAGS.
4559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4561 # Allow CC to be a program name with arguments.
4565 # Check whether --enable-libtool-lock was given.
4566 if test "${enable_libtool_lock+set}" = set; then
4567 enableval=$enable_libtool_lock;
4570 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4572 # Some flags need to be propagated to the compiler or linker for good
4576 # Find out which ABI we are using.
4577 echo 'int i;' > conftest.$ac_ext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; then
4583 case `/usr/bin/file conftest.$ac_objext` in
4595 # Find out which ABI we are using.
4596 echo '#line 4596 "configure"' > conftest.$ac_ext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4598 (eval $ac_compile) 2>&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; then
4602 if test "$lt_cv_prog_gnu_ld" = yes; then
4603 case `/usr/bin/file conftest.$ac_objext` in
4605 LD="${LD-ld} -melf32bsmip"
4608 LD="${LD-ld} -melf32bmipn32"
4611 LD="${LD-ld} -melf64bmip"
4615 case `/usr/bin/file conftest.$ac_objext` in
4631 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4632 # Find out which ABI we are using.
4633 echo 'int i;' > conftest.$ac_ext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; then
4639 case `/usr/bin/file conftest.o` in
4643 LD="${LD-ld} -m elf_i386"
4645 ppc64-*linux*|powerpc64-*linux*)
4646 LD="${LD-ld} -m elf32ppclinux"
4649 LD="${LD-ld} -m elf_s390"
4652 LD="${LD-ld} -m elf32_sparc"
4659 LD="${LD-ld} -m elf_x86_64"
4661 ppc*-*linux*|powerpc*-*linux*)
4662 LD="${LD-ld} -m elf64ppc"
4665 LD="${LD-ld} -m elf64_s390"
4668 LD="${LD-ld} -m elf64_sparc"
4678 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4679 SAVE_CFLAGS="$CFLAGS"
4680 CFLAGS="$CFLAGS -belf"
4681 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4682 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4683 if test "${lt_cv_cc_needs_belf+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 ac_cpp='$CPP $CPPFLAGS'
4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4692 cat >conftest.$ac_ext <<_ACEOF
4695 cat confdefs.h >>conftest.$ac_ext
4696 cat >>conftest.$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4707 rm -f conftest.$ac_objext conftest$ac_exeext
4708 if { (ac_try="$ac_link"
4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711 *) ac_try_echo=$ac_try;;
4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4714 (eval "$ac_link") 2>conftest.er1
4716 grep -v '^ *+' conftest.er1 >conftest.err
4718 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } && {
4721 test -z "$ac_c_werror_flag" ||
4722 test ! -s conftest.err
4723 } && test -s conftest$ac_exeext &&
4724 $as_test_x conftest$ac_exeext; then
4725 lt_cv_cc_needs_belf=yes
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 lt_cv_cc_needs_belf=no
4733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4734 conftest$ac_exeext conftest.$ac_ext
4736 ac_cpp='$CPP $CPPFLAGS'
4737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4743 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4744 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4745 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4746 CFLAGS="$SAVE_CFLAGS"
4750 # Find out which ABI we are using.
4751 echo 'int i;' > conftest.$ac_ext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4753 (eval $ac_compile) 2>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; then
4757 case `/usr/bin/file conftest.o` in
4759 case $lt_cv_prog_gnu_ld in
4760 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4761 *) LD="${LD-ld} -64" ;;
4769 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4772 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4775 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4776 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 if test -n "$DLLTOOL"; then
4779 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 DLLTOOL=$ac_cv_prog_DLLTOOL
4799 if test -n "$DLLTOOL"; then
4800 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4801 echo "${ECHO_T}$DLLTOOL" >&6; }
4803 { echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6; }
4809 if test -z "$ac_cv_prog_DLLTOOL"; then
4810 ac_ct_DLLTOOL=$DLLTOOL
4811 # Extract the first word of "dlltool", so it can be a program name with args.
4812 set dummy dlltool; ac_word=$2
4813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4815 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 if test -n "$ac_ct_DLLTOOL"; then
4819 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4839 if test -n "$ac_ct_DLLTOOL"; then
4840 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4841 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4843 { echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6; }
4847 if test "x$ac_ct_DLLTOOL" = x; then
4850 case $cross_compiling:$ac_tool_warned in
4852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4853 whose name does not start with the host triplet. If you think this
4854 configuration is useful to you, please write to autoconf@gnu.org." >&5
4855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4856 whose name does not start with the host triplet. If you think this
4857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4858 ac_tool_warned=yes ;;
4860 DLLTOOL=$ac_ct_DLLTOOL
4863 DLLTOOL="$ac_cv_prog_DLLTOOL"
4866 if test -n "$ac_tool_prefix"; then
4867 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4868 set dummy ${ac_tool_prefix}as; ac_word=$2
4869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4871 if test "${ac_cv_prog_AS+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 if test -n "$AS"; then
4875 ac_cv_prog_AS="$AS" # Let the user override the test.
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 test -z "$as_dir" && as_dir=.
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884 ac_cv_prog_AS="${ac_tool_prefix}as"
4885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 if test -n "$AS"; then
4896 { echo "$as_me:$LINENO: result: $AS" >&5
4897 echo "${ECHO_T}$AS" >&6; }
4899 { echo "$as_me:$LINENO: result: no" >&5
4900 echo "${ECHO_T}no" >&6; }
4905 if test -z "$ac_cv_prog_AS"; then
4907 # Extract the first word of "as", so it can be a program name with args.
4908 set dummy as; ac_word=$2
4909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4911 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6