2 # From configure.ac Revision: 1.140 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for simgrid 3.1.1-cvs.
6 # Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X--no-reexec; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X--fallback-echo; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X--fallback-echo; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
600 echo_test_string=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames=${tagnames+${tagnames},}CXX
707 tagnames=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev/null 6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix=/usr/local
721 ac_config_libobj_dir=.
727 SHELL=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
730 PACKAGE_NAME='simgrid'
731 PACKAGE_TARNAME='simgrid'
732 PACKAGE_VERSION='3.1.1-cvs'
733 PACKAGE_STRING='simgrid 3.1.1-cvs'
734 PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr'
736 ac_unique_file="include/gras.h"
737 # Factoring default headers for most tests.
738 ac_includes_default="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
835 INSTALL_STRIP_PROGRAM
882 pth_skaddr_makecontext
883 pth_sksize_makecontext
893 MAINTAINER_MODE_FALSE
915 ac_precious_vars='build_alias
932 # Initialize some variables set by options.
934 ac_init_version=false
935 # The variables have the same names as the options, with
936 # dashes changed to underlines.
944 program_transform_name=s,x,x,
952 # Installation directory options.
953 # These are left unexpanded so users can "make install exec_prefix=/foo"
954 # and all the variables that are supposed to be based on exec_prefix
955 # by default will actually change.
956 # Use braces instead of parens because sh, perl, etc. also accept them.
957 # (The list follows the same order as the GNU Coding Standards.)
958 bindir='${exec_prefix}/bin'
959 sbindir='${exec_prefix}/sbin'
960 libexecdir='${exec_prefix}/libexec'
961 datarootdir='${prefix}/share'
962 datadir='${datarootdir}'
963 sysconfdir='${prefix}/etc'
964 sharedstatedir='${prefix}/com'
965 localstatedir='${prefix}/var'
966 includedir='${prefix}/include'
967 oldincludedir='/usr/include'
968 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
969 infodir='${datarootdir}/info'
974 libdir='${exec_prefix}/lib'
975 localedir='${datarootdir}/locale'
976 mandir='${datarootdir}/man'
982 # If the previous option needs an argument, assign it.
983 if test -n "$ac_prev"; then
984 eval $ac_prev=\$ac_option
990 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
994 # Accept the important Cygnus configure options, so we can diagnose typos.
996 case $ac_dashdash$ac_option in
1000 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003 bindir=$ac_optarg ;;
1005 -build | --build | --buil | --bui | --bu)
1006 ac_prev=build_alias ;;
1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008 build_alias=$ac_optarg ;;
1010 -cache-file | --cache-file | --cache-fil | --cache-fi \
1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012 ac_prev=cache_file ;;
1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015 cache_file=$ac_optarg ;;
1017 --config-cache | -C)
1018 cache_file=config.cache ;;
1020 -datadir | --datadir | --datadi | --datad)
1022 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023 datadir=$ac_optarg ;;
1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026 | --dataroo | --dataro | --datar)
1027 ac_prev=datarootdir ;;
1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030 datarootdir=$ac_optarg ;;
1032 -disable-* | --disable-*)
1033 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1039 eval enable_$ac_feature=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1058 eval enable_$ac_feature=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1222 -site=* | --site=* | --sit=*)
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1249 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252 { echo "$as_me: error: invalid package name: $ac_package" >&2
1253 { (exit 1); exit 1; }; }
1254 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1255 eval with_$ac_package=\$ac_optarg ;;
1257 -without-* | --without-*)
1258 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261 { echo "$as_me: error: invalid package name: $ac_package" >&2
1262 { (exit 1); exit 1; }; }
1263 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1264 eval with_$ac_package=no ;;
1267 # Obsolete; use --with-x.
1270 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271 | --x-incl | --x-inc | --x-in | --x-i)
1272 ac_prev=x_includes ;;
1273 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275 x_includes=$ac_optarg ;;
1277 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279 ac_prev=x_libraries ;;
1280 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282 x_libraries=$ac_optarg ;;
1284 -*) { echo "$as_me: error: unrecognized option: $ac_option
1285 Try \`$0 --help' for more information." >&2
1286 { (exit 1); exit 1; }; }
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1293 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1294 { (exit 1); exit 1; }; }
1295 eval $ac_envvar=\$ac_optarg
1296 export $ac_envvar ;;
1299 # FIXME: should be removed in autoconf 3.0.
1300 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1309 if test -n "$ac_prev"; then
1310 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311 { echo "$as_me: error: missing argument to $ac_option" >&2
1312 { (exit 1); exit 1; }; }
1315 # Be sure to have absolute directory names.
1316 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val=\$$ac_var
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1326 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1327 { (exit 1); exit 1; }; }
1330 # There might be people who depend on the old broken behavior: `$host'
1331 # used to hold the argument of --host etc.
1332 # FIXME: To remove some day.
1335 target=$target_alias
1337 # FIXME: To remove some day.
1338 if test "x$host_alias" != x; then
1339 if test "x$build_alias" = x; then
1340 cross_compiling=maybe
1341 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1342 If a cross compiler is detected then cross compile mode will be used." >&2
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1351 test "$silent" = yes && exec 6>/dev/null
1354 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di=`ls -di .` &&
1356 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357 { echo "$as_me: error: Working directory cannot be determined" >&2
1358 { (exit 1); exit 1; }; }
1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360 { echo "$as_me: error: pwd does not report name of working directory" >&2
1361 { (exit 1); exit 1; }; }
1364 # Find the source files, if location was not specified.
1365 if test -z "$srcdir"; then
1366 ac_srcdir_defaulted=yes
1367 # Try the directory containing this script, then the parent directory.
1368 ac_confdir=`$as_dirname -- "$0" ||
1369 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1370 X"$0" : 'X\(//\)[^/]' \| \
1371 X"$0" : 'X\(//\)$' \| \
1372 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1396 ac_srcdir_defaulted=no
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1400 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1401 { (exit 1); exit 1; }; }
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1405 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1406 { (exit 1); exit 1; }; }
1408 # When building in place, set srcdir=.
1409 if test "$ac_abs_confdir" = "$ac_pwd"; then
1412 # Remove unnecessary trailing slashes from srcdir.
1413 # Double slashes in file names in object file debugging info
1414 # mess up M-x gdb in Emacs.
1416 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 for ac_var in $ac_precious_vars; do
1419 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1420 eval ac_env_${ac_var}_value=\$${ac_var}
1421 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1422 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1432 \`configure' configures simgrid 3.1.1-cvs to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1495 --build=BUILD configure for building on BUILD [guessed]
1496 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1497 --target=TARGET configure for building compilers for TARGET [HOST]
1501 if test -n "$ac_init_help"; then
1502 case $ac_init_help in
1503 short | recursive ) echo "Configuration of simgrid 3.1.1-cvs:";;
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-shared[=PKGS] build shared libraries [default=yes]
1511 --enable-static[=PKGS] build static libraries [default=yes]
1512 --enable-fast-install[=PKGS]
1513 optimize for fast installation [default=yes]
1514 --disable-dependency-tracking speeds up one-time build
1515 --enable-dependency-tracking do not reject slow dependency extractors
1516 --disable-libtool-lock avoid locking (might break parallel builds)
1517 --enable-simix Use the new SimIX module (default=no)
1518 --enable-maintainer-mode enable make rules and dependencies not useful
1519 (and sometimes confusing) to the casual installer
1520 --enable-compile-warnings
1521 use compiler warnings (default=no, unless in
1523 --disable-compile-optimizations
1524 use compiler optimizations (default=yes, unless if
1525 CFLAGS is explicitly set)
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1531 --with-pic try to use only PIC/non-PIC objects [default=use
1533 --with-tags[=TAGS] include additional configurations [automatic]
1534 --with-pthread Use pthread instead of ucontext.
1535 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1546 CXX C++ compiler command
1547 CXXFLAGS C++ compiler flags
1548 CXXCPP C++ preprocessor
1549 F77 Fortran 77 compiler command
1550 FFLAGS Fortran 77 compiler flags
1552 Use these variables to override the choices made by `configure' or to help
1553 it to find libraries and programs with nonstandard names/locations.
1555 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1560 if test "$ac_init_help" = "recursive"; then
1561 # If there are subdirs, report their specific --help.
1562 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1563 test -d "$ac_dir" || continue
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1583 .) # We are building in place.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1607 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1616 simgrid configure 3.1.1-cvs
1617 generated by GNU Autoconf 2.61
1619 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1620 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1621 This configure script is free software; the Free Software Foundation
1622 gives unlimited permission to copy, distribute and modify it.
1626 cat >config.log <<_ACEOF
1627 This file contains any messages produced by compilers while
1628 running configure, to aid debugging if configure makes a mistake.
1630 It was created by simgrid $as_me 3.1.1-cvs, which was
1631 generated by GNU Autoconf 2.61. Invocation command line was
1643 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1644 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1645 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1646 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1647 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1649 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1650 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1652 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1653 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1654 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1655 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1656 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1657 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1658 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 echo "PATH: $as_dir"
1683 # Keep a trace of the command line.
1684 # Strip out --no-create and --no-recursion so they do not pile up.
1685 # Strip out --silent because we don't want to record it for future runs.
1686 # Also quote any args containing shell meta-characters.
1687 # Make two passes to allow for proper duplicate-argument suppression.
1691 ac_must_keep_next=false
1697 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1698 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1699 | -silent | --silent | --silen | --sile | --sil)
1702 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1705 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1707 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1708 if test $ac_must_keep_next = true; then
1709 ac_must_keep_next=false # Got value, back to normal.
1712 *=* | --config-cache | -C | -disable-* | --disable-* \
1713 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1714 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1715 | -with-* | --with-* | -without-* | --without-* | --x)
1716 case "$ac_configure_args0 " in
1717 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1720 -* ) ac_must_keep_next=true ;;
1723 ac_configure_args="$ac_configure_args '$ac_arg'"
1728 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1729 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1731 # When interrupted or exit'd, cleanup temporary files, and complete
1732 # config.log. We remove comments because anyway the quotes in there
1733 # would cause problems or look ugly.
1734 # WARNING: Use '\'' to represent an apostrophe within the trap.
1735 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1736 trap 'exit_status=$?
1737 # Save into config.log some information that might help in debugging.
1742 ## ---------------- ##
1743 ## Cache variables. ##
1744 ## ---------------- ##
1747 # The following way of writing the cache mishandles newlines in values,
1749 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1750 eval ac_val=\$$ac_var
1754 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1755 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1758 _ | IFS | as_nl) ;; #(
1759 *) $as_unset $ac_var ;;
1764 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1765 *${as_nl}ac_space=\ *)
1767 "s/'\''/'\''\\\\'\'''\''/g;
1768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1779 ## ----------------- ##
1780 ## Output variables. ##
1781 ## ----------------- ##
1784 for ac_var in $ac_subst_vars
1786 eval ac_val=\$$ac_var
1788 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1790 echo "$ac_var='\''$ac_val'\''"
1794 if test -n "$ac_subst_files"; then
1796 ## ------------------- ##
1797 ## File substitutions. ##
1798 ## ------------------- ##
1801 for ac_var in $ac_subst_files
1803 eval ac_val=\$$ac_var
1805 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1807 echo "$ac_var='\''$ac_val'\''"
1812 if test -s confdefs.h; then
1822 test "$ac_signal" != 0 &&
1823 echo "$as_me: caught signal $ac_signal"
1824 echo "$as_me: exit $exit_status"
1826 rm -f core *.core core.conftest.* &&
1827 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1830 for ac_signal in 1 2 13 15; do
1831 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1835 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1836 rm -f -r conftest* confdefs.h
1838 # Predefined preprocessor variables.
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_NAME "$PACKAGE_NAME"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1865 # Let the site file select an alternate cache file if it wants to.
1866 # Prefer explicitly selected file to automatically selected ones.
1867 if test -n "$CONFIG_SITE"; then
1868 set x "$CONFIG_SITE"
1869 elif test "x$prefix" != xNONE; then
1870 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1872 set x "$ac_default_prefix/share/config.site" \
1873 "$ac_default_prefix/etc/config.site"
1878 if test -r "$ac_site_file"; then
1879 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1880 echo "$as_me: loading site script $ac_site_file" >&6;}
1881 sed 's/^/| /' "$ac_site_file" >&5
1886 if test -r "$cache_file"; then
1887 # Some versions of bash will fail to source /dev/null (special
1888 # files actually), so we avoid doing that.
1889 if test -f "$cache_file"; then
1890 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1891 echo "$as_me: loading cache $cache_file" >&6;}
1893 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1894 *) . "./$cache_file";;
1898 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1899 echo "$as_me: creating cache $cache_file" >&6;}
1903 # Check that the precious variables saved in the cache have kept the same
1905 ac_cache_corrupted=false
1906 for ac_var in $ac_precious_vars; do
1907 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1908 eval ac_new_set=\$ac_env_${ac_var}_set
1909 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1910 eval ac_new_val=\$ac_env_${ac_var}_value
1911 case $ac_old_set,$ac_new_set in
1913 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1914 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1915 ac_cache_corrupted=: ;;
1917 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1918 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1919 ac_cache_corrupted=: ;;
1922 if test "x$ac_old_val" != "x$ac_new_val"; then
1923 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1924 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1925 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1926 echo "$as_me: former value: $ac_old_val" >&2;}
1927 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1928 echo "$as_me: current value: $ac_new_val" >&2;}
1929 ac_cache_corrupted=:
1932 # Pass precious variables to config.status.
1933 if test "$ac_new_set" = set; then
1935 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1936 *) ac_arg=$ac_var=$ac_new_val ;;
1938 case " $ac_configure_args " in
1939 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1940 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1944 if $ac_cache_corrupted; then
1945 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1946 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1947 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1948 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1949 { (exit 1); exit 1; }; }
1977 ac_cpp='$CPP $CPPFLAGS'
1978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1984 ac_config_headers="$ac_config_headers src/gras_config.h"
1986 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1990 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1991 if test -f "$ac_dir/install-sh"; then
1993 ac_install_sh="$ac_aux_dir/install-sh -c"
1995 elif test -f "$ac_dir/install.sh"; then
1997 ac_install_sh="$ac_aux_dir/install.sh -c"
1999 elif test -f "$ac_dir/shtool"; then
2001 ac_install_sh="$ac_aux_dir/shtool install -c"
2005 if test -z "$ac_aux_dir"; then
2006 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2007 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2008 { (exit 1); exit 1; }; }
2011 # These three variables are undocumented and unsupported,
2012 # and are intended to be withdrawn in a future Autoconf release.
2013 # They can cause serious problems if a builder's source tree is in a directory
2014 # whose full name contains unusual characters.
2015 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2020 # Make sure we can run config.sub.
2021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2022 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2023 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2024 { (exit 1); exit 1; }; }
2026 { echo "$as_me:$LINENO: checking build system type" >&5
2027 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2028 if test "${ac_cv_build+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 ac_build_alias=$build_alias
2032 test "x$ac_build_alias" = x &&
2033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2034 test "x$ac_build_alias" = x &&
2035 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2036 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2037 { (exit 1); exit 1; }; }
2038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2039 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2040 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2041 { (exit 1); exit 1; }; }
2044 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2045 echo "${ECHO_T}$ac_cv_build" >&6; }
2046 case $ac_cv_build in
2048 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2049 echo "$as_me: error: invalid value of canonical build" >&2;}
2050 { (exit 1); exit 1; }; };;
2053 ac_save_IFS=$IFS; IFS='-'
2059 # Remember, the first character of IFS is used to create $*,
2060 # except with old shells:
2063 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2066 { echo "$as_me:$LINENO: checking host system type" >&5
2067 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2068 if test "${ac_cv_host+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test "x$host_alias" = x; then
2072 ac_cv_host=$ac_cv_build
2074 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2075 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2076 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2077 { (exit 1); exit 1; }; }
2081 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2082 echo "${ECHO_T}$ac_cv_host" >&6; }
2085 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2086 echo "$as_me: error: invalid value of canonical host" >&2;}
2087 { (exit 1); exit 1; }; };;
2090 ac_save_IFS=$IFS; IFS='-'
2096 # Remember, the first character of IFS is used to create $*,
2097 # except with old shells:
2100 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2103 { echo "$as_me:$LINENO: checking target system type" >&5
2104 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2105 if test "${ac_cv_target+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 if test "x$target_alias" = x; then
2109 ac_cv_target=$ac_cv_host
2111 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2112 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2113 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2114 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2119 echo "${ECHO_T}$ac_cv_target" >&6; }
2120 case $ac_cv_target in
2122 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2123 echo "$as_me: error: invalid value of canonical target" >&2;}
2124 { (exit 1); exit 1; }; };;
2126 target=$ac_cv_target
2127 ac_save_IFS=$IFS; IFS='-'
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2137 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2140 # The aliases save the names the user supplied, while $host etc.
2141 # will get canonicalized.
2142 test -n "$target_alias" &&
2143 test "$program_prefix$program_suffix$program_transform_name" = \
2145 program_prefix=${target_alias}-
2147 ac_cpp='$CPP $CPPFLAGS'
2148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 am__api_version="1.9"
2154 # Find a good install program. We prefer a C program (faster),
2155 # so one script is as good as another. But avoid the broken or
2156 # incompatible versions:
2157 # SysV /etc/install, /usr/sbin/install
2158 # SunOS /usr/etc/install
2159 # IRIX /sbin/install
2161 # AmigaOS /C/install, which installs bootblocks on floppy discs
2162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2165 # OS/2's system install, which has a completely different semantic
2166 # ./install, which can be erroneously created by make from ./install.sh.
2167 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2168 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2169 if test -z "$INSTALL"; then
2170 if test "${ac_cv_path_install+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 # Account for people who put trailing slashes in PATH elements.
2180 ./ | .// | /cC/* | \
2181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2182 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2185 # OSF1 and SCO ODT 3.0 have their own names for install.
2186 # Don't use installbsd from OSF since it installs stuff as root
2188 for ac_prog in ginstall scoinst install; do
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2191 if test $ac_prog = install &&
2192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2193 # AIX install. It has an incompatible calling convention.
2195 elif test $ac_prog = install &&
2196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2197 # program-specific install script used by HP pwplus--don't use.
2200 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2213 if test "${ac_cv_path_install+set}" = set; then
2214 INSTALL=$ac_cv_path_install
2216 # As a last resort, use the slow shell script. Don't cache a
2217 # value for INSTALL within a source directory, because that will
2218 # break other packages using the cache if that directory is
2219 # removed, or if the value is a relative name.
2220 INSTALL=$ac_install_sh
2223 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2224 echo "${ECHO_T}$INSTALL" >&6; }
2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2227 # It thinks the first close brace ends the variable substitution.
2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2234 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2235 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2238 echo timestamp > conftest.file
2239 # Do `set' in a subshell so we don't clobber the current shell's
2240 # arguments. Must try -L first in case configure is actually a
2241 # symlink; some systems play weird games with the mod time of symlinks
2242 # (eg FreeBSD returns the mod time of the symlink's containing
2245 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2246 if test "$*" = "X"; then
2248 set X `ls -t $srcdir/configure conftest.file`
2251 if test "$*" != "X $srcdir/configure conftest.file" \
2252 && test "$*" != "X conftest.file $srcdir/configure"; then
2254 # If neither matched, then we have a broken ls. This can happen
2255 # if, for instance, CONFIG_SHELL is bash and it inherits a
2256 # broken ls alias from the environment. This has actually
2257 # happened. Such a system could not be considered "sane".
2258 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2259 alias in your environment" >&5
2260 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2261 alias in your environment" >&2;}
2262 { (exit 1); exit 1; }; }
2265 test "$2" = conftest.file
2271 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2272 Check your system clock" >&5
2273 echo "$as_me: error: newly created file is older than distributed files!
2274 Check your system clock" >&2;}
2275 { (exit 1); exit 1; }; }
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2279 test "$program_prefix" != NONE &&
2280 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2281 # Use a double $ so make ignores it.
2282 test "$program_suffix" != NONE &&
2283 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2284 # Double any \ or $. echo might interpret backslashes.
2285 # By default was `s,x,x', remove it if useless.
2286 cat <<\_ACEOF >conftest.sed
2287 s/[\\$]/&&/g;s/;s,x,x,$//
2289 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2292 # expand $ac_aux_dir to an absolute path
2293 am_aux_dir=`cd $ac_aux_dir && pwd`
2295 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2296 # Use eval to expand $SHELL
2297 if eval "$MISSING --run true"; then
2298 am_missing_run="$MISSING --run "
2301 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2302 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2305 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2306 # We used to keeping the `.' as first argument, in order to
2307 # allow $(mkdir_p) to be used without argument. As in
2308 # $(mkdir_p) $(somedir)
2309 # where $(somedir) is conditionally defined. However this is wrong
2311 # 1. if the package is installed by a user who cannot write `.'
2312 # make install will fail,
2313 # 2. the above comment should most certainly read
2314 # $(mkdir_p) $(DESTDIR)$(somedir)
2315 # so it does not work when $(somedir) is undefined and
2316 # $(DESTDIR) is not.
2317 # To support the latter case, we have to write
2318 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2319 # so the `.' trick is pointless.
2320 mkdir_p='mkdir -p --'
2322 # On NextStep and OpenStep, the `mkdir' command does not
2323 # recognize any option. It will interpret all options as
2324 # directories to create, and then abort because `.' already
2326 for d in ./-p ./--version;
2328 test -d $d && rmdir $d
2330 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2331 if test -f "$ac_aux_dir/mkinstalldirs"; then
2332 mkdir_p='$(mkinstalldirs)'
2334 mkdir_p='$(install_sh) -d'
2338 for ac_prog in gawk mawk nawk awk
2340 # Extract the first word of "$ac_prog", so it can be a program name with args.
2341 set dummy $ac_prog; ac_word=$2
2342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2344 if test "${ac_cv_prog_AWK+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 if test -n "$AWK"; then
2348 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 ac_cv_prog_AWK="$ac_prog"
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 if test -n "$AWK"; then
2369 { echo "$as_me:$LINENO: result: $AWK" >&5
2370 echo "${ECHO_T}$AWK" >&6; }
2372 { echo "$as_me:$LINENO: result: no" >&5
2373 echo "${ECHO_T}no" >&6; }
2377 test -n "$AWK" && break
2380 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2381 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2382 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2383 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 cat >conftest.make <<\_ACEOF
2389 @echo '@@@%%%=$(MAKE)=@@@%%%'
2391 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2392 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2394 eval ac_cv_prog_make_${ac_make}_set=yes;;
2396 eval ac_cv_prog_make_${ac_make}_set=no;;
2400 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2401 { echo "$as_me:$LINENO: result: yes" >&5
2402 echo "${ECHO_T}yes" >&6; }
2405 { echo "$as_me:$LINENO: result: no" >&5
2406 echo "${ECHO_T}no" >&6; }
2407 SET_MAKE="MAKE=${MAKE-make}"
2410 rm -rf .tst 2>/dev/null
2411 mkdir .tst 2>/dev/null
2412 if test -d .tst; then
2417 rmdir .tst 2>/dev/null
2419 # test to see if srcdir already configured
2420 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2421 test -f $srcdir/config.status; then
2422 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2423 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2424 { (exit 1); exit 1; }; }
2427 # test whether we have cygpath
2428 if test -z "$CYGPATH_W"; then
2429 if (cygpath --version) >/dev/null 2>/dev/null; then
2430 CYGPATH_W='cygpath -w'
2437 # Define the identity of the package.
2442 cat >>confdefs.h <<_ACEOF
2443 #define PACKAGE "$PACKAGE"
2447 cat >>confdefs.h <<_ACEOF
2448 #define VERSION "$VERSION"
2451 # Some tools Automake needs.
2453 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2456 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2459 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2462 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2465 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2467 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2469 # Installed binaries are usually stripped using `strip' when the user
2470 # run `make install-strip'. However `strip' might not be the right
2471 # tool to use in cross-compilation environments, therefore Automake
2472 # will honor the `STRIP' environment variable to overrule this program.
2473 if test "$cross_compiling" != no; then
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476 set dummy ${ac_tool_prefix}strip; ac_word=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_STRIP+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$STRIP"; then
2483 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 STRIP=$ac_cv_prog_STRIP
2503 if test -n "$STRIP"; then
2504 { echo "$as_me:$LINENO: result: $STRIP" >&5
2505 echo "${ECHO_T}$STRIP" >&6; }
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2513 if test -z "$ac_cv_prog_STRIP"; then
2515 # Extract the first word of "strip", so it can be a program name with args.
2516 set dummy strip; ac_word=$2
2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 if test -n "$ac_ct_STRIP"; then
2523 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_STRIP="strip"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2543 if test -n "$ac_ct_STRIP"; then
2544 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2545 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2547 { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2551 if test "x$ac_ct_STRIP" = x; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2567 STRIP="$ac_cv_prog_STRIP"
2571 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2573 # We need awk for the "check" target. The system "awk" is bad on
2575 # Always define AMTAR for backward compatibility.
2577 AMTAR=${AMTAR-"${am_missing_run}tar"}
2579 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2586 ACLOCAL="$ACLOCAL -I acmacro"
2589 # Check whether --enable-shared was given.
2590 if test "${enable_shared+set}" = set; then
2591 enableval=$enable_shared; p=${PACKAGE-default}
2593 yes) enable_shared=yes ;;
2594 no) enable_shared=no ;;
2597 # Look at the argument we got. We use all the common list separators.
2598 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2599 for pkg in $enableval; do
2601 if test "X$pkg" = "X$p"; then
2613 # Check whether --enable-static was given.
2614 if test "${enable_static+set}" = set; then
2615 enableval=$enable_static; p=${PACKAGE-default}
2617 yes) enable_static=yes ;;
2618 no) enable_static=no ;;
2621 # Look at the argument we got. We use all the common list separators.
2622 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2623 for pkg in $enableval; do
2625 if test "X$pkg" = "X$p"; then
2637 # Check whether --enable-fast-install was given.
2638 if test "${enable_fast_install+set}" = set; then
2639 enableval=$enable_fast_install; p=${PACKAGE-default}
2641 yes) enable_fast_install=yes ;;
2642 no) enable_fast_install=no ;;
2644 enable_fast_install=no
2645 # Look at the argument we got. We use all the common list separators.
2646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2647 for pkg in $enableval; do
2649 if test "X$pkg" = "X$p"; then
2650 enable_fast_install=yes
2657 enable_fast_install=yes
2661 DEPDIR="${am__leading_dot}deps"
2663 ac_config_commands="$ac_config_commands depfiles"
2666 am_make=${MAKE-make}
2667 cat > confinc << 'END'
2672 # If we don't find an include directive, just comment out the code.
2673 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2674 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2678 # First try GNU make style include.
2679 echo "include confinc" > confmf
2680 # We grep out `Entering directory' and `Leaving directory'
2681 # messages which can occur if `w' ends up in MAKEFLAGS.
2682 # In particular we don't look at `^make:' because GNU make might
2683 # be invoked under some other name (usually "gmake"), in which
2684 # case it prints its new name instead of `make'.
2685 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2690 # Now try BSD make style include.
2691 if test "$am__include" = "#"; then
2692 echo '.include "confinc"' > confmf
2693 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2694 am__include=.include
2701 { echo "$as_me:$LINENO: result: $_am_result" >&5
2702 echo "${ECHO_T}$_am_result" >&6; }
2703 rm -f confinc confmf
2705 # Check whether --enable-dependency-tracking was given.
2706 if test "${enable_dependency_tracking+set}" = set; then
2707 enableval=$enable_dependency_tracking;
2710 if test "x$enable_dependency_tracking" != xno; then
2711 am_depcomp="$ac_aux_dir/depcomp"
2716 if test "x$enable_dependency_tracking" != xno; then
2727 ac_cpp='$CPP $CPPFLAGS'
2728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC="$CC" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test -n "$CC"; then
2761 { echo "$as_me:$LINENO: result: $CC" >&5
2762 echo "${ECHO_T}$CC" >&6; }
2764 { echo "$as_me:$LINENO: result: no" >&5
2765 echo "${ECHO_T}no" >&6; }
2770 if test -z "$ac_cv_prog_CC"; then
2772 # Extract the first word of "gcc", so it can be a program name with args.
2773 set dummy gcc; ac_word=$2
2774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 if test -n "$ac_ct_CC"; then
2780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_ac_ct_CC="gcc"
2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2800 if test -n "$ac_ct_CC"; then
2801 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2802 echo "${ECHO_T}$ac_ct_CC" >&6; }
2804 { echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6; }
2808 if test "x$ac_ct_CC" = x; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2814 whose name does not start with the host triplet. If you think this
2815 configuration is useful to you, please write to autoconf@gnu.org." >&5
2816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2817 whose name does not start with the host triplet. If you think this
2818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2819 ac_tool_warned=yes ;;
2827 if test -z "$CC"; then
2828 if test -n "$ac_tool_prefix"; then
2829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2830 set dummy ${ac_tool_prefix}cc; ac_word=$2
2831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2833 if test "${ac_cv_prog_CC+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 if test -n "$CC"; then
2837 ac_cv_prog_CC="$CC" # Let the user override the test.
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir=.
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 ac_cv_prog_CC="${ac_tool_prefix}cc"
2847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 { echo "$as_me:$LINENO: result: $CC" >&5
2859 echo "${ECHO_T}$CC" >&6; }
2861 { echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6; }
2868 if test -z "$CC"; then
2869 # Extract the first word of "cc", so it can be a program name with args.
2870 set dummy cc; ac_word=$2
2871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2873 if test "${ac_cv_prog_CC+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC="$CC" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2888 ac_prog_rejected=yes
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test $ac_prog_rejected = yes; then
2900 # We found a bogon in the path, so make sure we never use it.
2901 set dummy $ac_cv_prog_CC
2903 if test $# != 0; then
2904 # We chose a different compiler from the bogus one.
2905 # However, it has the same basename, so the bogon will be chosen
2906 # first if we set CC to just the basename; use the full file name.
2908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2914 if test -n "$CC"; then
2915 { echo "$as_me:$LINENO: result: $CC" >&5
2916 echo "${ECHO_T}$CC" >&6; }
2918 { echo "$as_me:$LINENO: result: no" >&5
2919 echo "${ECHO_T}no" >&6; }
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2926 for ac_prog in cl.exe
2928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2932 if test "${ac_cv_prog_CC+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { echo "$as_me:$LINENO: result: $CC" >&5
2958 echo "${ECHO_T}$CC" >&6; }
2960 { echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6; }
2965 test -n "$CC" && break
2968 if test -z "$CC"; then
2970 for ac_prog in cl.exe
2972 # Extract the first word of "$ac_prog", so it can be a program name with args.
2973 set dummy $ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$ac_ct_CC"; then
2980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_ac_ct_CC="$ac_prog"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3002 echo "${ECHO_T}$ac_ct_CC" >&6; }
3004 { echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6; }
3009 test -n "$ac_ct_CC" && break
3012 if test "x$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3018 whose name does not start with the host triplet. If you think this
3019 configuration is useful to you, please write to autoconf@gnu.org." >&5
3020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3021 whose name does not start with the host triplet. If you think this
3022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3023 ac_tool_warned=yes ;;
3032 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3033 See \`config.log' for more details." >&5
3034 echo "$as_me: error: no acceptable C compiler found in \$PATH
3035 See \`config.log' for more details." >&2;}
3036 { (exit 1); exit 1; }; }
3038 # Provide some information about the compiler.
3039 echo "$as_me:$LINENO: checking for C compiler version" >&5
3040 ac_compiler=`set X $ac_compile; echo $2`
3041 { (ac_try="$ac_compiler --version >&5"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_compiler --version >&5") 2>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }
3051 { (ac_try="$ac_compiler -v >&5"
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3057 (eval "$ac_compiler -v >&5") 2>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }
3061 { (ac_try="$ac_compiler -V >&5"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compiler -V >&5") 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 ac_clean_files_save=$ac_clean_files
3088 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3089 # Try to create an executable without -o first, disregard a.out.
3090 # It will help us diagnose broken compilers, and finding out an intuition
3092 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3093 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3094 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3096 # List of possible output files, starting from the most likely.
3097 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3098 # only as a last resort. b.out is created by i960 compilers.
3099 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3101 # The IRIX 6 linker writes into existing files which may not be
3102 # executable, retaining their permissions. Remove them first so a
3103 # subsequent execution test works.
3105 for ac_file in $ac_files
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3109 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3114 if { (ac_try="$ac_link_default"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_link_default") 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; then
3124 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3125 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3126 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3127 # so that the user can short-circuit this test for compilers unknown to
3129 for ac_file in $ac_files ''
3131 test -f "$ac_file" || continue
3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3136 # We found the default executable, but exeext='' is most
3140 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3142 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3144 # We set ac_cv_exeext here because the later test for it is not
3145 # safe: cross compilers may not add the suffix if given an `-o'
3146 # argument, so we may need to know it at that point already.
3147 # Even if this section looks crufty: it has the advantage of
3154 test "$ac_cv_exeext" = no && ac_cv_exeext=
3160 { echo "$as_me:$LINENO: result: $ac_file" >&5
3161 echo "${ECHO_T}$ac_file" >&6; }
3162 if test -z "$ac_file"; then
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3167 See \`config.log' for more details." >&5
3168 echo "$as_me: error: C compiler cannot create executables
3169 See \`config.log' for more details." >&2;}
3170 { (exit 77); exit 77; }; }
3173 ac_exeext=$ac_cv_exeext
3175 # Check that the compiler produces executables we can run. If not, either
3176 # the compiler is broken, or we cross compile.
3177 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3178 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3179 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3180 # If not cross compiling, check that we can run a simple program.
3181 if test "$cross_compiling" != yes; then
3182 if { ac_try='./$ac_file'
3183 { (case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_try") 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; }; then
3194 if test "$cross_compiling" = maybe; then
3197 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3198 If you meant to cross compile, use \`--host'.
3199 See \`config.log' for more details." >&5
3200 echo "$as_me: error: cannot run C compiled programs.
3201 If you meant to cross compile, use \`--host'.
3202 See \`config.log' for more details." >&2;}
3203 { (exit 1); exit 1; }; }
3207 { echo "$as_me:$LINENO: result: yes" >&5
3208 echo "${ECHO_T}yes" >&6; }
3210 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3211 ac_clean_files=$ac_clean_files_save
3212 # Check that the compiler produces executables we can run. If not, either
3213 # the compiler is broken, or we cross compile.
3214 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3215 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3216 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3217 echo "${ECHO_T}$cross_compiling" >&6; }
3219 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3220 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3221 if { (ac_try="$ac_link"
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3227 (eval "$ac_link") 2>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; then
3231 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3232 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3233 # work properly (i.e., refer to `conftest.exe'), while it won't with
3235 for ac_file in conftest.exe conftest conftest.*; do
3236 test -f "$ac_file" || continue
3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3239 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3246 See \`config.log' for more details." >&5
3247 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3248 See \`config.log' for more details." >&2;}
3249 { (exit 1); exit 1; }; }
3252 rm -f conftest$ac_cv_exeext
3253 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3254 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3256 rm -f conftest.$ac_ext
3257 EXEEXT=$ac_cv_exeext
3259 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3260 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3261 if test "${ac_cv_objext+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3279 rm -f conftest.o conftest.obj
3280 if { (ac_try="$ac_compile"
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286 (eval "$ac_compile") 2>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; then
3290 for ac_file in conftest.o conftest.obj conftest.*; do
3291 test -f "$ac_file" || continue;
3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3294 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3302 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3303 See \`config.log' for more details." >&5
3304 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3305 See \`config.log' for more details." >&2;}
3306 { (exit 1); exit 1; }; }
3309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3311 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3312 echo "${ECHO_T}$ac_cv_objext" >&6; }
3313 OBJEXT=$ac_cv_objext
3315 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3316 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3317 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 cat >conftest.$ac_ext <<_ACEOF
3323 cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3338 rm -f conftest.$ac_objext
3339 if { (ac_try="$ac_compile"
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_compile") 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } && {
3352 test -z "$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3354 } && test -s conftest.$ac_objext; then
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3367 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3369 GCC=`test $ac_compiler_gnu = yes && echo yes`
3370 ac_test_CFLAGS=${CFLAGS+set}
3371 ac_save_CFLAGS=$CFLAGS
3372 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3373 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3374 if test "${ac_cv_prog_cc_g+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 ac_save_c_werror_flag=$ac_c_werror_flag
3378 ac_c_werror_flag=yes
3381 cat >conftest.$ac_ext <<_ACEOF
3384 cat confdefs.h >>conftest.$ac_ext
3385 cat >>conftest.$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3415 echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3434 rm -f conftest.$ac_objext
3435 if { (ac_try="$ac_compile"
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_compile") 2>conftest.er1
3443 grep -v '^ *+' conftest.er1 >conftest.err
3445 cat conftest.err >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } && {
3448 test -z "$ac_c_werror_flag" ||
3449 test ! -s conftest.err
3450 } && test -s conftest.$ac_objext; then
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_c_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_c_werror_flag=$ac_save_c_werror_flag
3507 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3508 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3509 if test "$ac_test_CFLAGS" = set; then
3510 CFLAGS=$ac_save_CFLAGS
3511 elif test $ac_cv_prog_cc_g = yes; then
3512 if test "$GCC" = yes; then
3518 if test "$GCC" = yes; then
3524 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3525 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3526 if test "${ac_cv_prog_cc_c89+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 ac_cv_prog_cc_c89=no
3531 cat >conftest.$ac_ext <<_ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3539 #include <sys/types.h>
3540 #include <sys/stat.h>
3541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3542 struct buf { int x; };
3543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3544 static char *e (p, i)
3550 static char *f (char * (*g) (char **, int), char **p, ...)
3555 s = g (p, va_arg (v,int));
3560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3561 function prototypes and stuff, but not '\xHH' hex character constants.
3562 These don't provoke an error unfortunately, instead are silently treated
3563 as 'x'. The following induces an error, until -std is added to get
3564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3565 array size at least. It's necessary to write '\x00'==0 to get something
3566 that's true only with -std. */
3567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3570 inside strings and character constants. */
3572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3574 int test (int i, double x);
3575 struct s1 {int (*f) (int a);};
3576 struct s2 {int (*f) (double a);};
3577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3591 CC="$ac_save_CC $ac_arg"
3592 rm -f conftest.$ac_objext
3593 if { (ac_try="$ac_compile"
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_compile") 2>conftest.er1
3601 grep -v '^ *+' conftest.er1 >conftest.err
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } && {
3606 test -z "$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 } && test -s conftest.$ac_objext; then
3609 ac_cv_prog_cc_c89=$ac_arg
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3617 rm -f core conftest.err conftest.$ac_objext
3618 test "x$ac_cv_prog_cc_c89" != "xno" && break
3620 rm -f conftest.$ac_ext
3625 case "x$ac_cv_prog_cc_c89" in
3627 { echo "$as_me:$LINENO: result: none needed" >&5
3628 echo "${ECHO_T}none needed" >&6; } ;;
3630 { echo "$as_me:$LINENO: result: unsupported" >&5
3631 echo "${ECHO_T}unsupported" >&6; } ;;
3633 CC="$CC $ac_cv_prog_cc_c89"
3634 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3635 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 depcc="$CC" am_compiler_list=
3647 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3648 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3649 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3653 # We make a subdir and do the tests there. Otherwise we can end up
3654 # making bogus files that we don't know about and never remove. For
3655 # instance it was reported that on HP-UX the gcc test will end up
3656 # making a dummy file named `D' -- because `-MD' means `put the output
3659 # Copy depcomp to subdir because otherwise we won't find it if we're
3660 # using a relative directory.
3661 cp "$am_depcomp" conftest.dir
3663 # We will build objects and dependencies in a subdirectory because
3664 # it helps to detect inapplicable dependency modes. For instance
3665 # both Tru64's cc and ICC support -MD to output dependencies as a
3666 # side effect of compilation, but ICC will put the dependencies in
3667 # the current directory while Tru64 will put them in the object
3671 am_cv_CC_dependencies_compiler_type=none
3672 if test "$am_compiler_list" = ""; then
3673 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3675 for depmode in $am_compiler_list; do
3676 # Setup a source with many dependencies, because some compilers
3677 # like to wrap large dependency lists on column 80 (with \), and
3678 # we should not choose a depcomp mode which is confused by this.
3680 # We need to recreate these files for each test, as the compiler may
3681 # overwrite some of them when testing with obscure command lines.
3682 # This happens at least with the AIX C compiler.
3684 for i in 1 2 3 4 5 6; do
3685 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3686 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3687 # Solaris 8's {/usr,}/bin/sh.
3688 touch sub/conftst$i.h
3690 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3694 # after this tag, mechanisms are not by side-effect, so they'll
3695 # only be used when explicitly requested
3696 if test "x$enable_dependency_tracking" = xyes; then
3704 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3705 # mode. It turns out that the SunPro C++ compiler does not properly
3706 # handle `-M -o', and we need to detect this.
3707 if depmode=$depmode \
3708 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3709 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3710 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3711 >/dev/null 2>conftest.err &&
3712 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3713 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3714 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3715 # icc doesn't choke on unknown options, it will just issue warnings
3716 # or remarks (even with -Werror). So we grep stderr for any message
3717 # that says an option was ignored or not supported.
3718 # When given -MP, icc 7.0 and 7.1 complain thusly:
3719 # icc: Command line warning: ignoring option '-M'; no argument required
3720 # The diagnosis changed in icc 8.0:
3721 # icc: Command line remark: option '-MP' not supported
3722 if (grep 'ignoring option' conftest.err ||
3723 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3724 am_cv_CC_dependencies_compiler_type=$depmode
3733 am_cv_CC_dependencies_compiler_type=none
3737 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3738 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3739 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3744 test "x$enable_dependency_tracking" != xno \
3745 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3747 am__fastdepCC_FALSE='#'
3749 am__fastdepCC_TRUE='#'
3750 am__fastdepCC_FALSE=
3754 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3755 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3756 if test "${lt_cv_path_SED+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 # Loop through the user's path and test for sed and gsed.
3760 # Then use that list of sed's as ones to test for truncation.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for lt_ac_prog in sed gsed; do
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3769 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3776 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3777 # along with /bin/sed that truncates output.
3778 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3779 test ! -f $lt_ac_sed && continue
3780 cat /dev/null > conftest.in
3782 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3783 # Check for GNU sed and select it if it is found.
3784 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3785 lt_cv_path_SED=$lt_ac_sed
3789 cat conftest.in conftest.in >conftest.tmp
3790 mv conftest.tmp conftest.in
3791 cp conftest.in conftest.nl
3793 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3794 cmp -s conftest.out conftest.nl || break
3795 # 10000 chars as input seems more than enough
3796 test $lt_ac_count -gt 10 && break
3797 lt_ac_count=`expr $lt_ac_count + 1`
3798 if test $lt_ac_count -gt $lt_ac_max; then
3799 lt_ac_max=$lt_ac_count
3800 lt_cv_path_SED=$lt_ac_sed
3808 { echo "$as_me:$LINENO: result: $SED" >&5
3809 echo "${ECHO_T}$SED" >&6; }
3811 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3812 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3813 if test "${ac_cv_path_GREP+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 # Extract the first word of "grep ggrep" to use in msg output
3817 if test -z "$GREP"; then
3818 set dummy grep ggrep; ac_prog_name=$2
3819 if test "${ac_cv_path_GREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_path_GREP_found=false
3823 # Loop through the user's path and test for each of PROGNAME-LIST
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3828 test -z "$as_dir" && as_dir=.
3829 for ac_prog in grep ggrep; do
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3832 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3833 # Check for GNU ac_path_GREP and select it if it is found.
3834 # Check for GNU $ac_path_GREP
3835 case `"$ac_path_GREP" --version 2>&1` in
3837 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3840 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3843 cat "conftest.in" "conftest.in" >"conftest.tmp"
3844 mv "conftest.tmp" "conftest.in"
3845 cp "conftest.in" "conftest.nl"
3846 echo 'GREP' >> "conftest.nl"
3847 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3849 ac_count=`expr $ac_count + 1`
3850 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3851 # Best one so far, save it but keep looking for a better one
3852 ac_cv_path_GREP="$ac_path_GREP"
3853 ac_path_GREP_max=$ac_count
3855 # 10*(2^10) chars as input seems more than enough
3856 test $ac_count -gt 10 && break
3858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3862 $ac_path_GREP_found && break 3
3872 GREP="$ac_cv_path_GREP"
3873 if test -z "$GREP"; then
3874 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3875 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3876 { (exit 1); exit 1; }; }
3880 ac_cv_path_GREP=$GREP
3885 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3886 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3887 GREP="$ac_cv_path_GREP"
3890 { echo "$as_me:$LINENO: checking for egrep" >&5
3891 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3892 if test "${ac_cv_path_EGREP+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3896 then ac_cv_path_EGREP="$GREP -E"
3898 # Extract the first word of "egrep" to use in msg output
3899 if test -z "$EGREP"; then
3900 set dummy egrep; ac_prog_name=$2
3901 if test "${ac_cv_path_EGREP+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 ac_path_EGREP_found=false
3905 # Loop through the user's path and test for each of PROGNAME-LIST
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3910 test -z "$as_dir" && as_dir=.
3911 for ac_prog in egrep; do
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3914 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3915 # Check for GNU ac_path_EGREP and select it if it is found.
3916 # Check for GNU $ac_path_EGREP
3917 case `"$ac_path_EGREP" --version 2>&1` in
3919 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3922 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3925 cat "conftest.in" "conftest.in" >"conftest.tmp"
3926 mv "conftest.tmp" "conftest.in"
3927 cp "conftest.in" "conftest.nl"
3928 echo 'EGREP' >> "conftest.nl"
3929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3931 ac_count=`expr $ac_count + 1`
3932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3933 # Best one so far, save it but keep looking for a better one
3934 ac_cv_path_EGREP="$ac_path_EGREP"
3935 ac_path_EGREP_max=$ac_count
3937 # 10*(2^10) chars as input seems more than enough
3938 test $ac_count -gt 10 && break
3940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3944 $ac_path_EGREP_found && break 3
3954 EGREP="$ac_cv_path_EGREP"
3955 if test -z "$EGREP"; then
3956 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3957 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3958 { (exit 1); exit 1; }; }
3962 ac_cv_path_EGREP=$EGREP
3968 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3969 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3970 EGREP="$ac_cv_path_EGREP"
3974 # Check whether --with-gnu-ld was given.
3975 if test "${with_gnu_ld+set}" = set; then
3976 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3982 if test "$GCC" = yes; then
3983 # Check if gcc -print-prog-name=ld gives a path.
3984 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3988 # gcc leaves a trailing carriage return which upsets mingw
3989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3994 # Accept absolute paths.
3996 re_direlt='/[^/][^/]*/\.\./'
3997 # Canonicalize the pathname of ld
3998 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3999 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4000 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4002 test -z "$LD" && LD="$ac_prog"
4005 # If it fails, then pretend we aren't using GCC.
4009 # If it is relative, then search for the first ld in PATH.
4013 elif test "$with_gnu_ld" = yes; then
4014 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4017 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4020 if test "${lt_cv_path_LD+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -z "$LD"; then
4024 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4025 for ac_dir in $PATH; do
4027 test -z "$ac_dir" && ac_dir=.
4028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4029 lt_cv_path_LD="$ac_dir/$ac_prog"
4030 # Check to see if the program is GNU ld. I'd rather use --version,
4031 # but apparently some variants of GNU ld only accept -v.
4032 # Break only if it was the GNU/non-GNU ld that we prefer.
4033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4034 *GNU* | *'with BFD'*)
4035 test "$with_gnu_ld" != no && break
4038 test "$with_gnu_ld" != yes && break
4045 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4050 if test -n "$LD"; then
4051 { echo "$as_me:$LINENO: result: $LD" >&5
4052 echo "${ECHO_T}$LD" >&6; }
4054 { echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6; }
4057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4059 { (exit 1); exit 1; }; }
4060 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4066 case `$LD -v 2>&1 </dev/null` in
4067 *GNU* | *'with BFD'*)
4068 lt_cv_prog_gnu_ld=yes
4071 lt_cv_prog_gnu_ld=no
4075 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4077 with_gnu_ld=$lt_cv_prog_gnu_ld
4080 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4081 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4082 if test "${lt_cv_ld_reload_flag+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 lt_cv_ld_reload_flag='-r'
4087 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4088 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4089 reload_flag=$lt_cv_ld_reload_flag
4090 case $reload_flag in
4092 *) reload_flag=" $reload_flag" ;;
4094 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4097 if test "$GCC" = yes; then
4098 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4100 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4105 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4106 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4107 if test "${lt_cv_path_NM+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 if test -n "$NM"; then
4111 # Let the user override the test.
4114 lt_nm_to_check="${ac_tool_prefix}nm"
4115 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4116 lt_nm_to_check="$lt_nm_to_check nm"
4118 for lt_tmp_nm in $lt_nm_to_check; do
4119 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4120 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4122 test -z "$ac_dir" && ac_dir=.
4123 tmp_nm="$ac_dir/$lt_tmp_nm"
4124 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4125 # Check to see if the nm accepts a BSD-compat flag.
4126 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4127 # nm: unknown option "B" ignored
4128 # Tru64's nm complains that /dev/null is an invalid object file
4129 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4130 */dev/null* | *'Invalid file or object type'*)
4131 lt_cv_path_NM="$tmp_nm -B"
4135 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4137 lt_cv_path_NM="$tmp_nm -p"
4141 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4142 continue # so that we can try to find one that supports BSD flags
4151 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4154 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4155 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4158 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4159 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4161 if test "$LN_S" = "ln -s"; then
4162 { echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6; }
4165 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4166 echo "${ECHO_T}no, using $LN_S" >&6; }
4169 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4170 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4171 if test "${lt_cv_deplibs_check_method+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 lt_cv_file_magic_cmd='$MAGIC_CMD'
4175 lt_cv_file_magic_test_file=
4176 lt_cv_deplibs_check_method='unknown'
4177 # Need to set the preceding variable on all platforms that support
4178 # interlibrary dependencies.
4179 # 'none' -- dependencies not supported.
4180 # `unknown' -- same as none, but documents that we really don't know.
4181 # 'pass_all' -- all dependencies passed with no checks.
4182 # 'test_compile' -- check by making test program.
4183 # 'file_magic [[regex]]' -- check by looking for files in library path
4184 # which responds to the $file_magic_cmd with a given extended regex.
4185 # If you have `file' or equivalent on your system and you're not sure
4186 # whether `pass_all' will *always* work, you probably want this one.
4190 lt_cv_deplibs_check_method=pass_all
4194 lt_cv_deplibs_check_method=pass_all
4198 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4199 lt_cv_file_magic_cmd='/usr/bin/file -L'
4200 lt_cv_file_magic_test_file=/shlib/libc.so
4204 # func_win32_libid is a shell function defined in ltmain.sh
4205 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4206 lt_cv_file_magic_cmd='func_win32_libid'
4210 # Base MSYS/MinGW do not provide the 'file' command needed by
4211 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4212 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4213 lt_cv_file_magic_cmd='$OBJDUMP -f'
4216 darwin* | rhapsody*)
4217 lt_cv_deplibs_check_method=pass_all
4220 freebsd* | dragonfly*)
4221 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4224 # Not sure whether the presence of OpenBSD here was a mistake.
4225 # Let's accept both of them until this is cleared up.
4226 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4227 lt_cv_file_magic_cmd=/usr/bin/file
4228 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4232 lt_cv_deplibs_check_method=pass_all
4237 lt_cv_deplibs_check_method=pass_all
4240 hpux10.20* | hpux11*)
4241 lt_cv_file_magic_cmd=/usr/bin/file
4244 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4245 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4248 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]'
4249 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4259 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4263 irix5* | irix6* | nonstopux*)
4265 *-32|*"-32 ") libmagic=32-bit;;
4266 *-n32|*"-n32 ") libmagic=N32;;
4267 *-64|*"-64 ") libmagic=64-bit;;
4268 *) libmagic=never-match;;
4270 lt_cv_deplibs_check_method=pass_all
4273 # This must be Linux ELF.
4274 linux* | k*bsd*-gnu)
4275 lt_cv_deplibs_check_method=pass_all
4278 netbsd* | netbsdelf*-gnu)
4279 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4282 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4287 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4288 lt_cv_file_magic_cmd=/usr/bin/file
4289 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4293 lt_cv_deplibs_check_method=unknown
4297 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4300 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4304 osf3* | osf4* | osf5*)
4305 lt_cv_deplibs_check_method=pass_all
4309 lt_cv_deplibs_check_method=pass_all
4313 case $host_vendor in
4315 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]'
4316 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4319 lt_cv_deplibs_check_method=pass_all
4322 lt_cv_file_magic_cmd='/bin/file'
4323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4326 lt_cv_file_magic_cmd='/bin/file'
4327 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4328 lt_cv_file_magic_test_file=/lib/libc.so
4331 lt_cv_deplibs_check_method=pass_all
4334 lt_cv_deplibs_check_method=pass_all
4339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4340 lt_cv_deplibs_check_method=pass_all
4345 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4346 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4347 file_magic_cmd=$lt_cv_file_magic_cmd
4348 deplibs_check_method=$lt_cv_deplibs_check_method
4349 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4354 # If no C compiler was specified, use CC.
4357 # If no C compiler flags were specified, use CFLAGS.
4358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4360 # Allow CC to be a program name with arguments.
4364 # Check whether --enable-libtool-lock was given.
4365 if test "${enable_libtool_lock+set}" = set; then
4366 enableval=$enable_libtool_lock;
4369 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4371 # Some flags need to be propagated to the compiler or linker for good
4375 # Find out which ABI we are using.
4376 echo 'int i;' > conftest.$ac_ext
4377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4378 (eval $ac_compile) 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; then
4382 case `/usr/bin/file conftest.$ac_objext` in
4394 # Find out which ABI we are using.
4395 echo '#line 4395 "configure"' > conftest.$ac_ext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; then
4401 if test "$lt_cv_prog_gnu_ld" = yes; then
4402 case `/usr/bin/file conftest.$ac_objext` in
4404 LD="${LD-ld} -melf32bsmip"
4407 LD="${LD-ld} -melf32bmipn32"
4410 LD="${LD-ld} -melf64bmip"
4414 case `/usr/bin/file conftest.$ac_objext` in
4430 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4431 # Find out which ABI we are using.
4432 echo 'int i;' > conftest.$ac_ext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; then
4438 case `/usr/bin/file conftest.o` in
4442 LD="${LD-ld} -m elf_i386"
4444 ppc64-*linux*|powerpc64-*linux*)
4445 LD="${LD-ld} -m elf32ppclinux"
4448 LD="${LD-ld} -m elf_s390"
4451 LD="${LD-ld} -m elf32_sparc"
4458 LD="${LD-ld} -m elf_x86_64"
4460 ppc*-*linux*|powerpc*-*linux*)
4461 LD="${LD-ld} -m elf64ppc"
4464 LD="${LD-ld} -m elf64_s390"
4467 LD="${LD-ld} -m elf64_sparc"
4477 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4478 SAVE_CFLAGS="$CFLAGS"
4479 CFLAGS="$CFLAGS -belf"
4480 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4481 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4482 if test "${lt_cv_cc_needs_belf+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 ac_cpp='$CPP $CPPFLAGS'
4487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4491 cat >conftest.$ac_ext <<_ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4506 rm -f conftest.$ac_objext conftest$ac_exeext
4507 if { (ac_try="$ac_link"
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513 (eval "$ac_link") 2>conftest.er1
4515 grep -v '^ *+' conftest.er1 >conftest.err
4517 cat conftest.err >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } && {
4520 test -z "$ac_c_werror_flag" ||
4521 test ! -s conftest.err
4522 } && test -s conftest$ac_exeext &&
4523 $as_test_x conftest$ac_exeext; then
4524 lt_cv_cc_needs_belf=yes
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.$ac_ext >&5
4529 lt_cv_cc_needs_belf=no
4532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4533 conftest$ac_exeext conftest.$ac_ext
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4542 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4543 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4544 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4545 CFLAGS="$SAVE_CFLAGS"
4549 # Find out which ABI we are using.
4550 echo 'int i;' > conftest.$ac_ext
4551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4552 (eval $ac_compile) 2>&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; then
4556 case `/usr/bin/file conftest.o` in
4558 case $lt_cv_prog_gnu_ld in
4559 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4560 *) LD="${LD-ld} -64" ;;
4568 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4569 if test -n "$ac_tool_prefix"; then
4570 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4571 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4574 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test -n "$DLLTOOL"; then
4578 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 DLLTOOL=$ac_cv_prog_DLLTOOL
4598 if test -n "$DLLTOOL"; then
4599 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4600 echo "${ECHO_T}$DLLTOOL" >&6; }
4602 { echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6; }
4608 if test -z "$ac_cv_prog_DLLTOOL"; then
4609 ac_ct_DLLTOOL=$DLLTOOL
4610 # Extract the first word of "dlltool", so it can be a program name with args.
4611 set dummy dlltool; ac_word=$2
4612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4614 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 if test -n "$ac_ct_DLLTOOL"; then
4618 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4638 if test -n "$ac_ct_DLLTOOL"; then
4639 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4640 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4642 { echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6; }
4646 if test "x$ac_ct_DLLTOOL" = x; then
4649 case $cross_compiling:$ac_tool_warned in
4651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4652 whose name does not start with the host triplet. If you think this
4653 configuration is useful to you, please write to autoconf@gnu.org." >&5
4654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4655 whose name does not start with the host triplet. If you think this
4656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4657 ac_tool_warned=yes ;;
4659 DLLTOOL=$ac_ct_DLLTOOL
4662 DLLTOOL="$ac_cv_prog_DLLTOOL"
4665 if test -n "$ac_tool_prefix"; then
4666 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4667 set dummy ${ac_tool_prefix}as; ac_word=$2
4668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4670 if test "${ac_cv_prog_AS+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 if test -n "$AS"; then
4674 ac_cv_prog_AS="$AS" # Let the user override the test.
4676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 test -z "$as_dir" && as_dir=.
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683 ac_cv_prog_AS="${ac_tool_prefix}as"
4684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 if test -n "$AS"; then
4695 { echo "$as_me:$LINENO: result: $AS" >&5
4696 echo "${ECHO_T}$AS" >&6; }
4698 { echo "$as_me:$LINENO: result: no" >&5
4699 echo "${ECHO_T}no" >&6; }
4704 if test -z "$ac_cv_prog_AS"; then
4706 # Extract the first word of "as", so it can be a program name with args.
4707 set dummy as; ac_word=$2
4708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 if test -n "$ac_ct_AS"; then
4714 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_ac_ct_AS="as"
4724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4734 if test -n "$ac_ct_AS"; then
4735 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4736 echo "${ECHO_T}$ac_ct_AS" >&6; }
4738 { echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6; }
4742 if test "x$ac_ct_AS" = x; then
4745 case $cross_compiling:$ac_tool_warned in
4747 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4748 whose name does not start with the host triplet. If you think this
4749 configuration is useful to you, please write to autoconf@gnu.org." >&5
4750 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4751 whose name does not start with the host triplet. If you think this
4752 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4753 ac_tool_warned=yes ;;
4761 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4763 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4766 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 if test -n "$OBJDUMP"; then
4770 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir=.
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 OBJDUMP=$ac_cv_prog_OBJDUMP
4790 if test -n "$OBJDUMP"; then
4791 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4792 echo "${ECHO_T}$OBJDUMP" >&6; }
4794 { echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6; }
4800 if test -z "$ac_cv_prog_OBJDUMP"; then
4801 ac_ct_OBJDUMP=$OBJDUMP
4802 # Extract the first word of "objdump", so it can be a program name with args.
4803 set dummy objdump; ac_word=$2
4804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4806 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 if test -n "$ac_ct_OBJDUMP"; then
4810 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4830 if test -n "$ac_ct_OBJDUMP"; then
4831 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4832 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4834 { echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6; }
4838 if test "x$ac_ct_OBJDUMP" = x; then
4841 case $cross_compiling:$ac_tool_warned in
4843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4844 whose name does not start with the host triplet. If you think this
4845 configuration is useful to you, please write to autoconf@gnu.org." >&5
4846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4847 whose name does not start with the host triplet. If you think this
4848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4849 ac_tool_warned=yes ;;
4851 OBJDUMP=$ac_ct_OBJDUMP
4854 OBJDUMP="$ac_cv_prog_OBJDUMP"
4861 need_locks="$enable_libtool_lock"
4865 ac_cpp='$CPP $CPPFLAGS'
4866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4869 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4870 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4871 # On Suns, sometimes $CPP names a directory.
4872 if test -n "$CPP" && test -d "$CPP"; then
4875 if test -z "$CPP"; then
4876 if test "${ac_cv_prog_CPP+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 # Double quotes because CPP needs to be expanded
4880 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4883 for ac_c_preproc_warn_flag in '' yes
4885 # Use a header file that comes with gcc, so configuring glibc
4886 # with a fresh cross-compiler works.
4887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4888 # <limits.h> exists even on freestanding compilers.
4889 # On the NeXT, cc -E runs the code through the compiler's parser,
4890 # not just through cpp. "Syntax error" is here to catch this case.
4891 cat >conftest.$ac_ext <<_ACEOF
4894 cat confdefs.h >>conftest.$ac_ext
4895 cat >>conftest.$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4898 # include <limits.h>
4900 # include <assert.h>
4904 if { (ac_try="$ac_cpp conftest.$ac_ext"
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4912 grep -v '^ *+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } >/dev/null && {
4917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4918 test ! -s conftest.err
4922 echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.$ac_ext >&5
4925 # Broken: fails on valid input.