2 # From configure.ac Revision: 1.137 .
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
891 MAINTAINER_MODE_FALSE
913 ac_precious_vars='build_alias
930 # Initialize some variables set by options.
932 ac_init_version=false
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name=s,x,x,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir='${exec_prefix}/bin'
957 sbindir='${exec_prefix}/sbin'
958 libexecdir='${exec_prefix}/libexec'
959 datarootdir='${prefix}/share'
960 datadir='${datarootdir}'
961 sysconfdir='${prefix}/etc'
962 sharedstatedir='${prefix}/com'
963 localstatedir='${prefix}/var'
964 includedir='${prefix}/include'
965 oldincludedir='/usr/include'
966 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
967 infodir='${datarootdir}/info'
972 libdir='${exec_prefix}/lib'
973 localedir='${datarootdir}/locale'
974 mandir='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\$ac_option
988 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1000 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1001 bindir=$ac_optarg ;;
1003 -build | --build | --buil | --bui | --bu)
1004 ac_prev=build_alias ;;
1005 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1006 build_alias=$ac_optarg ;;
1008 -cache-file | --cache-file | --cache-fil | --cache-fi \
1009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1010 ac_prev=cache_file ;;
1011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1013 cache_file=$ac_optarg ;;
1015 --config-cache | -C)
1016 cache_file=config.cache ;;
1018 -datadir | --datadir | --datadi | --datad)
1020 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1021 datadir=$ac_optarg ;;
1023 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1024 | --dataroo | --dataro | --datar)
1025 ac_prev=datarootdir ;;
1026 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1027 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1028 datarootdir=$ac_optarg ;;
1030 -disable-* | --disable-*)
1031 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1037 eval enable_$ac_feature=no ;;
1039 -docdir | --docdir | --docdi | --doc | --do)
1041 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1042 docdir=$ac_optarg ;;
1044 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1046 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1047 dvidir=$ac_optarg ;;
1049 -enable-* | --enable-*)
1050 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1056 eval enable_$ac_feature=\$ac_optarg ;;
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1087 htmldir=$ac_optarg ;;
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1101 -libdir | --libdir | --libdi | --libd)
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1192 -psdir | --psdir | --psdi | --psd | --ps)
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1205 sbindir=$ac_optarg ;;
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1216 sharedstatedir=$ac_optarg ;;
1218 -site | --site | --sit)
1220 -site=* | --site=* | --sit=*)
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1247 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250 { echo "$as_me: error: invalid package name: $ac_package" >&2
1251 { (exit 1); exit 1; }; }
1252 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1253 eval with_$ac_package=\$ac_optarg ;;
1255 -without-* | --without-*)
1256 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1259 { echo "$as_me: error: invalid package name: $ac_package" >&2
1260 { (exit 1); exit 1; }; }
1261 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1262 eval with_$ac_package=no ;;
1265 # Obsolete; use --with-x.
1268 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1269 | --x-incl | --x-inc | --x-in | --x-i)
1270 ac_prev=x_includes ;;
1271 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1272 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1273 x_includes=$ac_optarg ;;
1275 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1276 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1277 ac_prev=x_libraries ;;
1278 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1279 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1280 x_libraries=$ac_optarg ;;
1282 -*) { echo "$as_me: error: unrecognized option: $ac_option
1283 Try \`$0 --help' for more information." >&2
1284 { (exit 1); exit 1; }; }
1288 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1291 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1292 { (exit 1); exit 1; }; }
1293 eval $ac_envvar=\$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 if test -n "$ac_prev"; then
1308 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1309 { echo "$as_me: error: missing argument to $ac_option" >&2
1310 { (exit 1); exit 1; }; }
1313 # Be sure to have absolute directory names.
1314 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1315 datadir sysconfdir sharedstatedir localstatedir includedir \
1316 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1317 libdir localedir mandir
1319 eval ac_val=\$$ac_var
1321 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1325 { (exit 1); exit 1; }; }
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1340 If a cross compiler is detected then cross compile mode will be used." >&2
1341 elif test "x$build_alias" != "x$host_alias"; then
1347 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349 test "$silent" = yes && exec 6>/dev/null
1352 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di=`ls -di .` &&
1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355 { echo "$as_me: error: Working directory cannot be determined" >&2
1356 { (exit 1); exit 1; }; }
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 { echo "$as_me: error: pwd does not report name of working directory" >&2
1359 { (exit 1); exit 1; }; }
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir=`$as_dirname -- "$0" ||
1367 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$0" : 'X\(//\)[^/]' \| \
1369 X"$0" : 'X\(//\)$' \| \
1370 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1399 { (exit 1); exit 1; }; }
1401 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1403 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1404 { (exit 1); exit 1; }; }
1406 # When building in place, set srcdir=.
1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
1410 # Remove unnecessary trailing slashes from srcdir.
1411 # Double slashes in file names in object file debugging info
1412 # mess up M-x gdb in Emacs.
1414 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 for ac_var in $ac_precious_vars; do
1417 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1418 eval ac_env_${ac_var}_value=\$${ac_var}
1419 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1420 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 # Report the --help message.
1426 if test "$ac_init_help" = "long"; then
1427 # Omit some internal or obsolete options to make the list less imposing.
1428 # This message is too long to be a string in the A/UX 3.1 sh.
1430 \`configure' configures simgrid 3.1.1-cvs to adapt to many kinds of systems.
1432 Usage: $0 [OPTION]... [VAR=VALUE]...
1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1435 VAR=VALUE. See below for descriptions of some of the useful variables.
1437 Defaults for the options are specified in brackets.
1440 -h, --help display this help and exit
1441 --help=short display options specific to this package
1442 --help=recursive display the short help of all the included packages
1443 -V, --version display version information and exit
1444 -q, --quiet, --silent do not print \`checking...' messages
1445 --cache-file=FILE cache test results in FILE [disabled]
1446 -C, --config-cache alias for \`--cache-file=config.cache'
1447 -n, --no-create do not create output files
1448 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450 Installation directories:
1451 --prefix=PREFIX install architecture-independent files in PREFIX
1452 [$ac_default_prefix]
1453 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1456 By default, \`make install' will install all the files in
1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1459 for instance \`--prefix=\$HOME'.
1461 For better control, use the options below.
1463 Fine tuning of the installation directories:
1464 --bindir=DIR user executables [EPREFIX/bin]
1465 --sbindir=DIR system admin executables [EPREFIX/sbin]
1466 --libexecdir=DIR program executables [EPREFIX/libexec]
1467 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1468 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1469 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1470 --libdir=DIR object code libraries [EPREFIX/lib]
1471 --includedir=DIR C header files [PREFIX/include]
1472 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1473 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1474 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1475 --infodir=DIR info documentation [DATAROOTDIR/info]
1476 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1477 --mandir=DIR man documentation [DATAROOTDIR/man]
1478 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1479 --htmldir=DIR html documentation [DOCDIR]
1480 --dvidir=DIR dvi documentation [DOCDIR]
1481 --pdfdir=DIR pdf documentation [DOCDIR]
1482 --psdir=DIR ps documentation [DOCDIR]
1488 --program-prefix=PREFIX prepend PREFIX to installed program names
1489 --program-suffix=SUFFIX append SUFFIX to installed program names
1490 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1493 --build=BUILD configure for building on BUILD [guessed]
1494 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1495 --target=TARGET configure for building compilers for TARGET [HOST]
1499 if test -n "$ac_init_help"; then
1500 case $ac_init_help in
1501 short | recursive ) echo "Configuration of simgrid 3.1.1-cvs:";;
1506 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1507 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1508 --enable-shared[=PKGS] build shared libraries [default=yes]
1509 --enable-static[=PKGS] build static libraries [default=yes]
1510 --enable-fast-install[=PKGS]
1511 optimize for fast installation [default=yes]
1512 --disable-dependency-tracking speeds up one-time build
1513 --enable-dependency-tracking do not reject slow dependency extractors
1514 --disable-libtool-lock avoid locking (might break parallel builds)
1515 --enable-maintainer-mode enable make rules and dependencies not useful
1516 (and sometimes confusing) to the casual installer
1517 --enable-compile-warnings
1518 use compiler warnings (default=no, unless in
1520 --disable-compile-optimizations
1521 use compiler optimizations (default=yes, unless if
1522 CFLAGS is explicitly set)
1525 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1526 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1527 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1528 --with-pic try to use only PIC/non-PIC objects [default=use
1530 --with-tags[=TAGS] include additional configurations [automatic]
1531 --with-pthread Use pthread instead of ucontext.
1532 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1534 Some influential environment variables:
1535 CC C compiler command
1536 CFLAGS C compiler flags
1537 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1538 nonstandard directory <lib dir>
1539 LIBS libraries to pass to the linker, e.g. -l<library>
1540 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1541 you have headers in a nonstandard directory <include dir>
1543 CXX C++ compiler command
1544 CXXFLAGS C++ compiler flags
1545 CXXCPP C++ preprocessor
1546 F77 Fortran 77 compiler command
1547 FFLAGS Fortran 77 compiler flags
1549 Use these variables to override the choices made by `configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1552 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1557 if test "$ac_init_help" = "recursive"; then
1558 # If there are subdirs, report their specific --help.
1559 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560 test -d "$ac_dir" || continue
1564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1567 # A ".." for each directory in $ac_dir_suffix.
1568 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1569 case $ac_top_builddir_sub in
1570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1574 ac_abs_top_builddir=$ac_pwd
1575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1576 # for backward compatibility:
1577 ac_top_builddir=$ac_top_build_prefix
1580 .) # We are building in place.
1582 ac_top_srcdir=$ac_top_builddir_sub
1583 ac_abs_top_srcdir=$ac_pwd ;;
1584 [\\/]* | ?:[\\/]* ) # Absolute name.
1585 ac_srcdir=$srcdir$ac_dir_suffix;
1586 ac_top_srcdir=$srcdir
1587 ac_abs_top_srcdir=$srcdir ;;
1589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1590 ac_top_srcdir=$ac_top_build_prefix$srcdir
1591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1595 cd "$ac_dir" || { ac_status=$?; continue; }
1596 # Check for guested configure.
1597 if test -f "$ac_srcdir/configure.gnu"; then
1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1600 elif test -f "$ac_srcdir/configure"; then
1602 $SHELL "$ac_srcdir/configure" --help=recursive
1604 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606 cd "$ac_pwd" || { ac_status=$?; break; }
1610 test -n "$ac_init_help" && exit $ac_status
1611 if $ac_init_version; then
1613 simgrid configure 3.1.1-cvs
1614 generated by GNU Autoconf 2.61
1616 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1617 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1618 This configure script is free software; the Free Software Foundation
1619 gives unlimited permission to copy, distribute and modify it.
1623 cat >config.log <<_ACEOF
1624 This file contains any messages produced by compilers while
1625 running configure, to aid debugging if configure makes a mistake.
1627 It was created by simgrid $as_me 3.1.1-cvs, which was
1628 generated by GNU Autoconf 2.61. Invocation command line was
1640 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1641 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1642 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1643 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1644 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1646 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1647 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1649 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1650 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1651 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1652 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1653 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1654 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1655 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 test -z "$as_dir" && as_dir=.
1664 echo "PATH: $as_dir"
1680 # Keep a trace of the command line.
1681 # Strip out --no-create and --no-recursion so they do not pile up.
1682 # Strip out --silent because we don't want to record it for future runs.
1683 # Also quote any args containing shell meta-characters.
1684 # Make two passes to allow for proper duplicate-argument suppression.
1688 ac_must_keep_next=false
1694 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1696 | -silent | --silent | --silen | --sile | --sil)
1699 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1702 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1704 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1705 if test $ac_must_keep_next = true; then
1706 ac_must_keep_next=false # Got value, back to normal.
1709 *=* | --config-cache | -C | -disable-* | --disable-* \
1710 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1711 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1712 | -with-* | --with-* | -without-* | --without-* | --x)
1713 case "$ac_configure_args0 " in
1714 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1717 -* ) ac_must_keep_next=true ;;
1720 ac_configure_args="$ac_configure_args '$ac_arg'"
1725 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1726 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1728 # When interrupted or exit'd, cleanup temporary files, and complete
1729 # config.log. We remove comments because anyway the quotes in there
1730 # would cause problems or look ugly.
1731 # WARNING: Use '\'' to represent an apostrophe within the trap.
1732 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1733 trap 'exit_status=$?
1734 # Save into config.log some information that might help in debugging.
1739 ## ---------------- ##
1740 ## Cache variables. ##
1741 ## ---------------- ##
1744 # The following way of writing the cache mishandles newlines in values,
1746 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1747 eval ac_val=\$$ac_var
1751 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1752 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1755 _ | IFS | as_nl) ;; #(
1756 *) $as_unset $ac_var ;;
1761 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1762 *${as_nl}ac_space=\ *)
1764 "s/'\''/'\''\\\\'\'''\''/g;
1765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1776 ## ----------------- ##
1777 ## Output variables. ##
1778 ## ----------------- ##
1781 for ac_var in $ac_subst_vars
1783 eval ac_val=\$$ac_var
1785 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787 echo "$ac_var='\''$ac_val'\''"
1791 if test -n "$ac_subst_files"; then
1793 ## ------------------- ##
1794 ## File substitutions. ##
1795 ## ------------------- ##
1798 for ac_var in $ac_subst_files
1800 eval ac_val=\$$ac_var
1802 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1804 echo "$ac_var='\''$ac_val'\''"
1809 if test -s confdefs.h; then
1819 test "$ac_signal" != 0 &&
1820 echo "$as_me: caught signal $ac_signal"
1821 echo "$as_me: exit $exit_status"
1823 rm -f core *.core core.conftest.* &&
1824 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1827 for ac_signal in 1 2 13 15; do
1828 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1832 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1833 rm -f -r conftest* confdefs.h
1835 # Predefined preprocessor variables.
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_NAME "$PACKAGE_NAME"
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_STRING "$PACKAGE_STRING"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1862 # Let the site file select an alternate cache file if it wants to.
1863 # Prefer explicitly selected file to automatically selected ones.
1864 if test -n "$CONFIG_SITE"; then
1865 set x "$CONFIG_SITE"
1866 elif test "x$prefix" != xNONE; then
1867 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1869 set x "$ac_default_prefix/share/config.site" \
1870 "$ac_default_prefix/etc/config.site"
1875 if test -r "$ac_site_file"; then
1876 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1877 echo "$as_me: loading site script $ac_site_file" >&6;}
1878 sed 's/^/| /' "$ac_site_file" >&5
1883 if test -r "$cache_file"; then
1884 # Some versions of bash will fail to source /dev/null (special
1885 # files actually), so we avoid doing that.
1886 if test -f "$cache_file"; then
1887 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1888 echo "$as_me: loading cache $cache_file" >&6;}
1890 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1891 *) . "./$cache_file";;
1895 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1896 echo "$as_me: creating cache $cache_file" >&6;}
1900 # Check that the precious variables saved in the cache have kept the same
1902 ac_cache_corrupted=false
1903 for ac_var in $ac_precious_vars; do
1904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1905 eval ac_new_set=\$ac_env_${ac_var}_set
1906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1907 eval ac_new_val=\$ac_env_${ac_var}_value
1908 case $ac_old_set,$ac_new_set in
1910 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1911 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1914 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1915 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1916 ac_cache_corrupted=: ;;
1919 if test "x$ac_old_val" != "x$ac_new_val"; then
1920 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1921 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1922 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1923 echo "$as_me: former value: $ac_old_val" >&2;}
1924 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1925 echo "$as_me: current value: $ac_new_val" >&2;}
1926 ac_cache_corrupted=:
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1932 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 *) ac_arg=$ac_var=$ac_new_val ;;
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1941 if $ac_cache_corrupted; then
1942 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1943 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1944 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1945 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1946 { (exit 1); exit 1; }; }
1974 ac_cpp='$CPP $CPPFLAGS'
1975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1981 ac_config_headers="$ac_config_headers src/gras_config.h"
1983 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1988 if test -f "$ac_dir/install-sh"; then
1990 ac_install_sh="$ac_aux_dir/install-sh -c"
1992 elif test -f "$ac_dir/install.sh"; then
1994 ac_install_sh="$ac_aux_dir/install.sh -c"
1996 elif test -f "$ac_dir/shtool"; then
1998 ac_install_sh="$ac_aux_dir/shtool install -c"
2002 if test -z "$ac_aux_dir"; then
2003 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2004 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2005 { (exit 1); exit 1; }; }
2008 # These three variables are undocumented and unsupported,
2009 # and are intended to be withdrawn in a future Autoconf release.
2010 # They can cause serious problems if a builder's source tree is in a directory
2011 # whose full name contains unusual characters.
2012 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2013 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2014 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 # Make sure we can run config.sub.
2018 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2019 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2020 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2021 { (exit 1); exit 1; }; }
2023 { echo "$as_me:$LINENO: checking build system type" >&5
2024 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2025 if test "${ac_cv_build+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 ac_build_alias=$build_alias
2029 test "x$ac_build_alias" = x &&
2030 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2031 test "x$ac_build_alias" = x &&
2032 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2033 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2034 { (exit 1); exit 1; }; }
2035 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2036 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2037 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2038 { (exit 1); exit 1; }; }
2041 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2042 echo "${ECHO_T}$ac_cv_build" >&6; }
2043 case $ac_cv_build in
2045 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2046 echo "$as_me: error: invalid value of canonical build" >&2;}
2047 { (exit 1); exit 1; }; };;
2050 ac_save_IFS=$IFS; IFS='-'
2056 # Remember, the first character of IFS is used to create $*,
2057 # except with old shells:
2060 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2063 { echo "$as_me:$LINENO: checking host system type" >&5
2064 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2065 if test "${ac_cv_host+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 if test "x$host_alias" = x; then
2069 ac_cv_host=$ac_cv_build
2071 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2072 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2073 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2074 { (exit 1); exit 1; }; }
2078 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2079 echo "${ECHO_T}$ac_cv_host" >&6; }
2082 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2083 echo "$as_me: error: invalid value of canonical host" >&2;}
2084 { (exit 1); exit 1; }; };;
2087 ac_save_IFS=$IFS; IFS='-'
2093 # Remember, the first character of IFS is used to create $*,
2094 # except with old shells:
2097 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2100 { echo "$as_me:$LINENO: checking target system type" >&5
2101 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2102 if test "${ac_cv_target+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test "x$target_alias" = x; then
2106 ac_cv_target=$ac_cv_host
2108 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2109 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2110 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2111 { (exit 1); exit 1; }; }
2115 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2116 echo "${ECHO_T}$ac_cv_target" >&6; }
2117 case $ac_cv_target in
2119 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2120 echo "$as_me: error: invalid value of canonical target" >&2;}
2121 { (exit 1); exit 1; }; };;
2123 target=$ac_cv_target
2124 ac_save_IFS=$IFS; IFS='-'
2130 # Remember, the first character of IFS is used to create $*,
2131 # except with old shells:
2134 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2137 # The aliases save the names the user supplied, while $host etc.
2138 # will get canonicalized.
2139 test -n "$target_alias" &&
2140 test "$program_prefix$program_suffix$program_transform_name" = \
2142 program_prefix=${target_alias}-
2144 ac_cpp='$CPP $CPPFLAGS'
2145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2150 am__api_version="1.9"
2151 # Find a good install program. We prefer a C program (faster),
2152 # so one script is as good as another. But avoid the broken or
2153 # incompatible versions:
2154 # SysV /etc/install, /usr/sbin/install
2155 # SunOS /usr/etc/install
2156 # IRIX /sbin/install
2158 # AmigaOS /C/install, which installs bootblocks on floppy discs
2159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2162 # OS/2's system install, which has a completely different semantic
2163 # ./install, which can be erroneously created by make from ./install.sh.
2164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2166 if test -z "$INSTALL"; then
2167 if test "${ac_cv_path_install+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir=.
2175 # Account for people who put trailing slashes in PATH elements.
2177 ./ | .// | /cC/* | \
2178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2179 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2182 # OSF1 and SCO ODT 3.0 have their own names for install.
2183 # Don't use installbsd from OSF since it installs stuff as root
2185 for ac_prog in ginstall scoinst install; do
2186 for ac_exec_ext in '' $ac_executable_extensions; do
2187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2188 if test $ac_prog = install &&
2189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2190 # AIX install. It has an incompatible calling convention.
2192 elif test $ac_prog = install &&
2193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2194 # program-specific install script used by HP pwplus--don't use.
2197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2210 if test "${ac_cv_path_install+set}" = set; then
2211 INSTALL=$ac_cv_path_install
2213 # As a last resort, use the slow shell script. Don't cache a
2214 # value for INSTALL within a source directory, because that will
2215 # break other packages using the cache if that directory is
2216 # removed, or if the value is a relative name.
2217 INSTALL=$ac_install_sh
2220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2221 echo "${ECHO_T}$INSTALL" >&6; }
2223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2224 # It thinks the first close brace ends the variable substitution.
2225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2231 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2232 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2235 echo timestamp > conftest.file
2236 # Do `set' in a subshell so we don't clobber the current shell's
2237 # arguments. Must try -L first in case configure is actually a
2238 # symlink; some systems play weird games with the mod time of symlinks
2239 # (eg FreeBSD returns the mod time of the symlink's containing
2242 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2243 if test "$*" = "X"; then
2245 set X `ls -t $srcdir/configure conftest.file`
2248 if test "$*" != "X $srcdir/configure conftest.file" \
2249 && test "$*" != "X conftest.file $srcdir/configure"; then
2251 # If neither matched, then we have a broken ls. This can happen
2252 # if, for instance, CONFIG_SHELL is bash and it inherits a
2253 # broken ls alias from the environment. This has actually
2254 # happened. Such a system could not be considered "sane".
2255 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2256 alias in your environment" >&5
2257 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2258 alias in your environment" >&2;}
2259 { (exit 1); exit 1; }; }
2262 test "$2" = conftest.file
2268 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2269 Check your system clock" >&5
2270 echo "$as_me: error: newly created file is older than distributed files!
2271 Check your system clock" >&2;}
2272 { (exit 1); exit 1; }; }
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2276 test "$program_prefix" != NONE &&
2277 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2278 # Use a double $ so make ignores it.
2279 test "$program_suffix" != NONE &&
2280 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2281 # Double any \ or $. echo might interpret backslashes.
2282 # By default was `s,x,x', remove it if useless.
2283 cat <<\_ACEOF >conftest.sed
2284 s/[\\$]/&&/g;s/;s,x,x,$//
2286 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2289 # expand $ac_aux_dir to an absolute path
2290 am_aux_dir=`cd $ac_aux_dir && pwd`
2292 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2293 # Use eval to expand $SHELL
2294 if eval "$MISSING --run true"; then
2295 am_missing_run="$MISSING --run "
2298 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2299 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2302 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2303 # We used to keeping the `.' as first argument, in order to
2304 # allow $(mkdir_p) to be used without argument. As in
2305 # $(mkdir_p) $(somedir)
2306 # where $(somedir) is conditionally defined. However this is wrong
2308 # 1. if the package is installed by a user who cannot write `.'
2309 # make install will fail,
2310 # 2. the above comment should most certainly read
2311 # $(mkdir_p) $(DESTDIR)$(somedir)
2312 # so it does not work when $(somedir) is undefined and
2313 # $(DESTDIR) is not.
2314 # To support the latter case, we have to write
2315 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2316 # so the `.' trick is pointless.
2317 mkdir_p='mkdir -p --'
2319 # On NextStep and OpenStep, the `mkdir' command does not
2320 # recognize any option. It will interpret all options as
2321 # directories to create, and then abort because `.' already
2323 for d in ./-p ./--version;
2325 test -d $d && rmdir $d
2327 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2328 if test -f "$ac_aux_dir/mkinstalldirs"; then
2329 mkdir_p='$(mkinstalldirs)'
2331 mkdir_p='$(install_sh) -d'
2335 for ac_prog in gawk mawk nawk awk
2337 # Extract the first word of "$ac_prog", so it can be a program name with args.
2338 set dummy $ac_prog; ac_word=$2
2339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2341 if test "${ac_cv_prog_AWK+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$AWK"; then
2345 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_AWK="$ac_prog"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test -n "$AWK"; then
2366 { echo "$as_me:$LINENO: result: $AWK" >&5
2367 echo "${ECHO_T}$AWK" >&6; }
2369 { echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6; }
2374 test -n "$AWK" && break
2377 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2378 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2379 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2380 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 cat >conftest.make <<\_ACEOF
2386 @echo '@@@%%%=$(MAKE)=@@@%%%'
2388 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2389 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2391 eval ac_cv_prog_make_${ac_make}_set=yes;;
2393 eval ac_cv_prog_make_${ac_make}_set=no;;
2397 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2398 { echo "$as_me:$LINENO: result: yes" >&5
2399 echo "${ECHO_T}yes" >&6; }
2402 { echo "$as_me:$LINENO: result: no" >&5
2403 echo "${ECHO_T}no" >&6; }
2404 SET_MAKE="MAKE=${MAKE-make}"
2407 rm -rf .tst 2>/dev/null
2408 mkdir .tst 2>/dev/null
2409 if test -d .tst; then
2414 rmdir .tst 2>/dev/null
2416 # test to see if srcdir already configured
2417 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2418 test -f $srcdir/config.status; then
2419 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2420 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2421 { (exit 1); exit 1; }; }
2424 # test whether we have cygpath
2425 if test -z "$CYGPATH_W"; then
2426 if (cygpath --version) >/dev/null 2>/dev/null; then
2427 CYGPATH_W='cygpath -w'
2434 # Define the identity of the package.
2439 cat >>confdefs.h <<_ACEOF
2440 #define PACKAGE "$PACKAGE"
2444 cat >>confdefs.h <<_ACEOF
2445 #define VERSION "$VERSION"
2448 # Some tools Automake needs.
2450 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2453 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2456 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2459 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2462 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2464 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2466 # Installed binaries are usually stripped using `strip' when the user
2467 # run `make install-strip'. However `strip' might not be the right
2468 # tool to use in cross-compilation environments, therefore Automake
2469 # will honor the `STRIP' environment variable to overrule this program.
2470 if test "$cross_compiling" != no; then
2471 if test -n "$ac_tool_prefix"; then
2472 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2473 set dummy ${ac_tool_prefix}strip; ac_word=$2
2474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2476 if test "${ac_cv_prog_STRIP+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test -n "$STRIP"; then
2480 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 STRIP=$ac_cv_prog_STRIP
2500 if test -n "$STRIP"; then
2501 { echo "$as_me:$LINENO: result: $STRIP" >&5
2502 echo "${ECHO_T}$STRIP" >&6; }
2504 { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2510 if test -z "$ac_cv_prog_STRIP"; then
2512 # Extract the first word of "strip", so it can be a program name with args.
2513 set dummy strip; ac_word=$2
2514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test -n "$ac_ct_STRIP"; then
2520 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529 ac_cv_prog_ac_ct_STRIP="strip"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2540 if test -n "$ac_ct_STRIP"; then
2541 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2542 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2544 { echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6; }
2548 if test "x$ac_ct_STRIP" = x; then
2551 case $cross_compiling:$ac_tool_warned in
2553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2554 whose name does not start with the host triplet. If you think this
2555 configuration is useful to you, please write to autoconf@gnu.org." >&5
2556 echo "$as_me: 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." >&2;}
2559 ac_tool_warned=yes ;;
2564 STRIP="$ac_cv_prog_STRIP"
2568 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2570 # We need awk for the "check" target. The system "awk" is bad on
2572 # Always define AMTAR for backward compatibility.
2574 AMTAR=${AMTAR-"${am_missing_run}tar"}
2576 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2583 ACLOCAL="$ACLOCAL -I acmacro"
2586 # Check whether --enable-shared was given.
2587 if test "${enable_shared+set}" = set; then
2588 enableval=$enable_shared; p=${PACKAGE-default}
2590 yes) enable_shared=yes ;;
2591 no) enable_shared=no ;;
2594 # Look at the argument we got. We use all the common list separators.
2595 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2596 for pkg in $enableval; do
2598 if test "X$pkg" = "X$p"; then
2610 # Check whether --enable-static was given.
2611 if test "${enable_static+set}" = set; then
2612 enableval=$enable_static; p=${PACKAGE-default}
2614 yes) enable_static=yes ;;
2615 no) enable_static=no ;;
2618 # Look at the argument we got. We use all the common list separators.
2619 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2620 for pkg in $enableval; do
2622 if test "X$pkg" = "X$p"; then
2634 # Check whether --enable-fast-install was given.
2635 if test "${enable_fast_install+set}" = set; then
2636 enableval=$enable_fast_install; p=${PACKAGE-default}
2638 yes) enable_fast_install=yes ;;
2639 no) enable_fast_install=no ;;
2641 enable_fast_install=no
2642 # Look at the argument we got. We use all the common list separators.
2643 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2644 for pkg in $enableval; do
2646 if test "X$pkg" = "X$p"; then
2647 enable_fast_install=yes
2654 enable_fast_install=yes
2658 DEPDIR="${am__leading_dot}deps"
2660 ac_config_commands="$ac_config_commands depfiles"
2663 am_make=${MAKE-make}
2664 cat > confinc << 'END'
2669 # If we don't find an include directive, just comment out the code.
2670 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2671 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2675 # First try GNU make style include.
2676 echo "include confinc" > confmf
2677 # We grep out `Entering directory' and `Leaving directory'
2678 # messages which can occur if `w' ends up in MAKEFLAGS.
2679 # In particular we don't look at `^make:' because GNU make might
2680 # be invoked under some other name (usually "gmake"), in which
2681 # case it prints its new name instead of `make'.
2682 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2687 # Now try BSD make style include.
2688 if test "$am__include" = "#"; then
2689 echo '.include "confinc"' > confmf
2690 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2691 am__include=.include
2698 { echo "$as_me:$LINENO: result: $_am_result" >&5
2699 echo "${ECHO_T}$_am_result" >&6; }
2700 rm -f confinc confmf
2702 # Check whether --enable-dependency-tracking was given.
2703 if test "${enable_dependency_tracking+set}" = set; then
2704 enableval=$enable_dependency_tracking;
2707 if test "x$enable_dependency_tracking" != xno; then
2708 am_depcomp="$ac_aux_dir/depcomp"
2713 if test "x$enable_dependency_tracking" != xno; then
2724 ac_cpp='$CPP $CPPFLAGS'
2725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728 if test -n "$ac_tool_prefix"; then
2729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2730 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC="$CC" # Let the user override the test.
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$CC"; then
2758 { echo "$as_me:$LINENO: result: $CC" >&5
2759 echo "${ECHO_T}$CC" >&6; }
2761 { echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6; }
2767 if test -z "$ac_cv_prog_CC"; then
2769 # Extract the first word of "gcc", so it can be a program name with args.
2770 set dummy gcc; ac_word=$2
2771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 if test -n "$ac_ct_CC"; then
2777 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir=.
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786 ac_cv_prog_ac_ct_CC="gcc"
2787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6; }
2801 { echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6; }
2805 if test "x$ac_ct_CC" = x; then
2808 case $cross_compiling:$ac_tool_warned in
2810 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2811 whose name does not start with the host triplet. If you think this
2812 configuration is useful to you, please write to autoconf@gnu.org." >&5
2813 echo "$as_me: 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." >&2;}
2816 ac_tool_warned=yes ;;
2824 if test -z "$CC"; then
2825 if test -n "$ac_tool_prefix"; then
2826 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2827 set dummy ${ac_tool_prefix}cc; ac_word=$2
2828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2830 if test "${ac_cv_prog_CC+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$CC"; then
2834 ac_cv_prog_CC="$CC" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_CC="${ac_tool_prefix}cc"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test -n "$CC"; then
2855 { echo "$as_me:$LINENO: result: $CC" >&5
2856 echo "${ECHO_T}$CC" >&6; }
2858 { echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6; }
2865 if test -z "$CC"; then
2866 # Extract the first word of "cc", so it can be a program name with args.
2867 set dummy cc; ac_word=$2
2868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2870 if test "${ac_cv_prog_CC+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 if test -n "$CC"; then
2874 ac_cv_prog_CC="$CC" # Let the user override the test.
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2885 ac_prog_rejected=yes
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test $ac_prog_rejected = yes; then
2897 # We found a bogon in the path, so make sure we never use it.
2898 set dummy $ac_cv_prog_CC
2900 if test $# != 0; then
2901 # We chose a different compiler from the bogus one.
2902 # However, it has the same basename, so the bogon will be chosen
2903 # first if we set CC to just the basename; use the full file name.
2905 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2911 if test -n "$CC"; then
2912 { echo "$as_me:$LINENO: result: $CC" >&5
2913 echo "${ECHO_T}$CC" >&6; }
2915 { echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6; }
2921 if test -z "$CC"; then
2922 if test -n "$ac_tool_prefix"; then
2923 for ac_prog in cl.exe
2925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2926 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2929 if test "${ac_cv_prog_CC+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC="$CC" # Let the user override the test.
2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir=.
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 if test -n "$CC"; then
2954 { echo "$as_me:$LINENO: result: $CC" >&5
2955 echo "${ECHO_T}$CC" >&6; }
2957 { echo "$as_me:$LINENO: result: no" >&5
2958 echo "${ECHO_T}no" >&6; }
2962 test -n "$CC" && break
2965 if test -z "$CC"; then
2967 for ac_prog in cl.exe
2969 # Extract the first word of "$ac_prog", so it can be a program name with args.
2970 set dummy $ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -n "$ac_ct_CC"; then
2977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_ac_ct_CC="$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2999 echo "${ECHO_T}$ac_ct_CC" >&6; }
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$ac_ct_CC" && break
3009 if test "x$ac_ct_CC" = x; then
3012 case $cross_compiling:$ac_tool_warned in
3014 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3015 whose name does not start with the host triplet. If you think this
3016 configuration is useful to you, please write to autoconf@gnu.org." >&5
3017 echo "$as_me: 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." >&2;}
3020 ac_tool_warned=yes ;;
3029 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: no acceptable C compiler found in \$PATH
3032 See \`config.log' for more details." >&2;}
3033 { (exit 1); exit 1; }; }
3035 # Provide some information about the compiler.
3036 echo "$as_me:$LINENO: checking for C compiler version" >&5
3037 ac_compiler=`set X $ac_compile; echo $2`
3038 { (ac_try="$ac_compiler --version >&5"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044 (eval "$ac_compiler --version >&5") 2>&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }
3048 { (ac_try="$ac_compiler -v >&5"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_compiler -v >&5") 2>&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }
3058 { (ac_try="$ac_compiler -V >&5"
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3064 (eval "$ac_compiler -V >&5") 2>&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }
3069 cat >conftest.$ac_ext <<_ACEOF
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3084 ac_clean_files_save=$ac_clean_files
3085 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3086 # Try to create an executable without -o first, disregard a.out.
3087 # It will help us diagnose broken compilers, and finding out an intuition
3089 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3090 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3091 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3093 # List of possible output files, starting from the most likely.
3094 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3095 # only as a last resort. b.out is created by i960 compilers.
3096 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3098 # The IRIX 6 linker writes into existing files which may not be
3099 # executable, retaining their permissions. Remove them first so a
3100 # subsequent execution test works.
3102 for ac_file in $ac_files
3105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3111 if { (ac_try="$ac_link_default"
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117 (eval "$ac_link_default") 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; then
3121 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3122 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3123 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3124 # so that the user can short-circuit this test for compilers unknown to
3126 for ac_file in $ac_files ''
3128 test -f "$ac_file" || continue
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3133 # We found the default executable, but exeext='' is most
3137 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3139 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3141 # We set ac_cv_exeext here because the later test for it is not
3142 # safe: cross compilers may not add the suffix if given an `-o'
3143 # argument, so we may need to know it at that point already.
3144 # Even if this section looks crufty: it has the advantage of
3151 test "$ac_cv_exeext" = no && ac_cv_exeext=
3157 { echo "$as_me:$LINENO: result: $ac_file" >&5
3158 echo "${ECHO_T}$ac_file" >&6; }
3159 if test -z "$ac_file"; then
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3164 See \`config.log' for more details." >&5
3165 echo "$as_me: error: C compiler cannot create executables
3166 See \`config.log' for more details." >&2;}
3167 { (exit 77); exit 77; }; }
3170 ac_exeext=$ac_cv_exeext
3172 # Check that the compiler produces executables we can run. If not, either
3173 # the compiler is broken, or we cross compile.
3174 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3175 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3176 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3177 # If not cross compiling, check that we can run a simple program.
3178 if test "$cross_compiling" != yes; then
3179 if { ac_try='./$ac_file'
3180 { (case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3185 (eval "$ac_try") 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3191 if test "$cross_compiling" = maybe; then
3194 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3195 If you meant to cross compile, use \`--host'.
3196 See \`config.log' for more details." >&5
3197 echo "$as_me: error: cannot run C compiled programs.
3198 If you meant to cross compile, use \`--host'.
3199 See \`config.log' for more details." >&2;}
3200 { (exit 1); exit 1; }; }
3204 { echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6; }
3207 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3208 ac_clean_files=$ac_clean_files_save
3209 # Check that the compiler produces executables we can run. If not, either
3210 # the compiler is broken, or we cross compile.
3211 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3212 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3213 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3214 echo "${ECHO_T}$cross_compiling" >&6; }
3216 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3217 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3218 if { (ac_try="$ac_link"
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_link") 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; then
3228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3230 # work properly (i.e., refer to `conftest.exe'), while it won't with
3232 for ac_file in conftest.exe conftest conftest.*; do
3233 test -f "$ac_file" || continue
3235 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3236 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3242 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3243 See \`config.log' for more details." >&5
3244 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3245 See \`config.log' for more details." >&2;}
3246 { (exit 1); exit 1; }; }
3249 rm -f conftest$ac_cv_exeext
3250 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3251 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3253 rm -f conftest.$ac_ext
3254 EXEEXT=$ac_cv_exeext
3256 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3257 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3258 if test "${ac_cv_objext+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3276 rm -f conftest.o conftest.obj
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; then
3287 for ac_file in conftest.o conftest.obj conftest.*; do
3288 test -f "$ac_file" || continue;
3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3291 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3296 echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3299 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3300 See \`config.log' for more details." >&5
3301 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3302 See \`config.log' for more details." >&2;}
3303 { (exit 1); exit 1; }; }
3306 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3308 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3309 echo "${ECHO_T}$ac_cv_objext" >&6; }
3310 OBJEXT=$ac_cv_objext
3312 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3313 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3314 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 cat >conftest.$ac_ext <<_ACEOF
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3335 rm -f conftest.$ac_objext
3336 if { (ac_try="$ac_compile"
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compile") 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } && {
3349 test -z "$ac_c_werror_flag" ||
3350 test ! -s conftest.err
3351 } && test -s conftest.$ac_objext; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3364 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3365 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3366 GCC=`test $ac_compiler_gnu = yes && echo yes`
3367 ac_test_CFLAGS=${CFLAGS+set}
3368 ac_save_CFLAGS=$CFLAGS
3369 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3371 if test "${ac_cv_prog_cc_g+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 ac_save_c_werror_flag=$ac_c_werror_flag
3375 ac_c_werror_flag=yes
3378 cat >conftest.$ac_ext <<_ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3393 rm -f conftest.$ac_objext
3394 if { (ac_try="$ac_compile"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_compile") 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } && {
3407 test -z "$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3409 } && test -s conftest.$ac_objext; then
3412 echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3416 cat >conftest.$ac_ext <<_ACEOF
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3431 rm -f conftest.$ac_objext
3432 if { (ac_try="$ac_compile"
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3438 (eval "$ac_compile") 2>conftest.er1
3440 grep -v '^ *+' conftest.er1 >conftest.err
3442 cat conftest.err >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } && {
3445 test -z "$ac_c_werror_flag" ||
3446 test ! -s conftest.err
3447 } && test -s conftest.$ac_objext; then
3450 echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 ac_c_werror_flag=$ac_save_c_werror_flag
3455 cat >conftest.$ac_ext <<_ACEOF
3458 cat confdefs.h >>conftest.$ac_ext
3459 cat >>conftest.$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_compile") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } && {
3484 test -z "$ac_c_werror_flag" ||
3485 test ! -s conftest.err
3486 } && test -s conftest.$ac_objext; then
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 ac_c_werror_flag=$ac_save_c_werror_flag
3504 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3505 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3506 if test "$ac_test_CFLAGS" = set; then
3507 CFLAGS=$ac_save_CFLAGS
3508 elif test $ac_cv_prog_cc_g = yes; then
3509 if test "$GCC" = yes; then
3515 if test "$GCC" = yes; then
3521 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3522 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3523 if test "${ac_cv_prog_cc_c89+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 ac_cv_prog_cc_c89=no
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3536 #include <sys/types.h>
3537 #include <sys/stat.h>
3538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3539 struct buf { int x; };
3540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3541 static char *e (p, i)
3547 static char *f (char * (*g) (char **, int), char **p, ...)
3552 s = g (p, va_arg (v,int));
3557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3558 function prototypes and stuff, but not '\xHH' hex character constants.
3559 These don't provoke an error unfortunately, instead are silently treated
3560 as 'x'. The following induces an error, until -std is added to get
3561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3562 array size at least. It's necessary to write '\x00'==0 to get something
3563 that's true only with -std. */
3564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3567 inside strings and character constants. */
3569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3571 int test (int i, double x);
3572 struct s1 {int (*f) (int a);};
3573 struct s2 {int (*f) (double a);};
3574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3588 CC="$ac_save_CC $ac_arg"
3589 rm -f conftest.$ac_objext
3590 if { (ac_try="$ac_compile"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_compile") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } && {
3603 test -z "$ac_c_werror_flag" ||
3604 test ! -s conftest.err
3605 } && test -s conftest.$ac_objext; then
3606 ac_cv_prog_cc_c89=$ac_arg
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3614 rm -f core conftest.err conftest.$ac_objext
3615 test "x$ac_cv_prog_cc_c89" != "xno" && break
3617 rm -f conftest.$ac_ext
3622 case "x$ac_cv_prog_cc_c89" in
3624 { echo "$as_me:$LINENO: result: none needed" >&5
3625 echo "${ECHO_T}none needed" >&6; } ;;
3627 { echo "$as_me:$LINENO: result: unsupported" >&5
3628 echo "${ECHO_T}unsupported" >&6; } ;;
3630 CC="$CC $ac_cv_prog_cc_c89"
3631 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3632 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3637 ac_cpp='$CPP $CPPFLAGS'
3638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 depcc="$CC" am_compiler_list=
3644 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3645 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3646 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3650 # We make a subdir and do the tests there. Otherwise we can end up
3651 # making bogus files that we don't know about and never remove. For
3652 # instance it was reported that on HP-UX the gcc test will end up
3653 # making a dummy file named `D' -- because `-MD' means `put the output
3656 # Copy depcomp to subdir because otherwise we won't find it if we're
3657 # using a relative directory.
3658 cp "$am_depcomp" conftest.dir
3660 # We will build objects and dependencies in a subdirectory because
3661 # it helps to detect inapplicable dependency modes. For instance
3662 # both Tru64's cc and ICC support -MD to output dependencies as a
3663 # side effect of compilation, but ICC will put the dependencies in
3664 # the current directory while Tru64 will put them in the object
3668 am_cv_CC_dependencies_compiler_type=none
3669 if test "$am_compiler_list" = ""; then
3670 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3672 for depmode in $am_compiler_list; do
3673 # Setup a source with many dependencies, because some compilers
3674 # like to wrap large dependency lists on column 80 (with \), and
3675 # we should not choose a depcomp mode which is confused by this.
3677 # We need to recreate these files for each test, as the compiler may
3678 # overwrite some of them when testing with obscure command lines.
3679 # This happens at least with the AIX C compiler.
3681 for i in 1 2 3 4 5 6; do
3682 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3683 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3684 # Solaris 8's {/usr,}/bin/sh.
3685 touch sub/conftst$i.h
3687 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3691 # after this tag, mechanisms are not by side-effect, so they'll
3692 # only be used when explicitly requested
3693 if test "x$enable_dependency_tracking" = xyes; then
3701 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3702 # mode. It turns out that the SunPro C++ compiler does not properly
3703 # handle `-M -o', and we need to detect this.
3704 if depmode=$depmode \
3705 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3706 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3707 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3708 >/dev/null 2>conftest.err &&
3709 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3710 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3711 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3712 # icc doesn't choke on unknown options, it will just issue warnings
3713 # or remarks (even with -Werror). So we grep stderr for any message
3714 # that says an option was ignored or not supported.
3715 # When given -MP, icc 7.0 and 7.1 complain thusly:
3716 # icc: Command line warning: ignoring option '-M'; no argument required
3717 # The diagnosis changed in icc 8.0:
3718 # icc: Command line remark: option '-MP' not supported
3719 if (grep 'ignoring option' conftest.err ||
3720 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3721 am_cv_CC_dependencies_compiler_type=$depmode
3730 am_cv_CC_dependencies_compiler_type=none
3734 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3735 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3736 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3741 test "x$enable_dependency_tracking" != xno \
3742 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3744 am__fastdepCC_FALSE='#'
3746 am__fastdepCC_TRUE='#'
3747 am__fastdepCC_FALSE=
3751 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3752 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3753 if test "${lt_cv_path_SED+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 # Loop through the user's path and test for sed and gsed.
3757 # Then use that list of sed's as ones to test for truncation.
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 for lt_ac_prog in sed gsed; do
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3766 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3773 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3774 # along with /bin/sed that truncates output.
3775 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3776 test ! -f $lt_ac_sed && continue
3777 cat /dev/null > conftest.in
3779 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3780 # Check for GNU sed and select it if it is found.
3781 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3782 lt_cv_path_SED=$lt_ac_sed
3786 cat conftest.in conftest.in >conftest.tmp
3787 mv conftest.tmp conftest.in
3788 cp conftest.in conftest.nl
3790 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3791 cmp -s conftest.out conftest.nl || break
3792 # 10000 chars as input seems more than enough
3793 test $lt_ac_count -gt 10 && break
3794 lt_ac_count=`expr $lt_ac_count + 1`
3795 if test $lt_ac_count -gt $lt_ac_max; then
3796 lt_ac_max=$lt_ac_count
3797 lt_cv_path_SED=$lt_ac_sed
3805 { echo "$as_me:$LINENO: result: $SED" >&5
3806 echo "${ECHO_T}$SED" >&6; }
3808 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3809 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3810 if test "${ac_cv_path_GREP+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 # Extract the first word of "grep ggrep" to use in msg output
3814 if test -z "$GREP"; then
3815 set dummy grep ggrep; ac_prog_name=$2
3816 if test "${ac_cv_path_GREP+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 ac_path_GREP_found=false
3820 # Loop through the user's path and test for each of PROGNAME-LIST
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3825 test -z "$as_dir" && as_dir=.
3826 for ac_prog in grep ggrep; do
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3829 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3830 # Check for GNU ac_path_GREP and select it if it is found.
3831 # Check for GNU $ac_path_GREP
3832 case `"$ac_path_GREP" --version 2>&1` in
3834 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3840 cat "conftest.in" "conftest.in" >"conftest.tmp"
3841 mv "conftest.tmp" "conftest.in"
3842 cp "conftest.in" "conftest.nl"
3843 echo 'GREP' >> "conftest.nl"
3844 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3846 ac_count=`expr $ac_count + 1`
3847 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3848 # Best one so far, save it but keep looking for a better one
3849 ac_cv_path_GREP="$ac_path_GREP"
3850 ac_path_GREP_max=$ac_count
3852 # 10*(2^10) chars as input seems more than enough
3853 test $ac_count -gt 10 && break
3855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3859 $ac_path_GREP_found && break 3
3869 GREP="$ac_cv_path_GREP"
3870 if test -z "$GREP"; then
3871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3873 { (exit 1); exit 1; }; }
3877 ac_cv_path_GREP=$GREP
3882 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3883 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3884 GREP="$ac_cv_path_GREP"
3887 { echo "$as_me:$LINENO: checking for egrep" >&5
3888 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3889 if test "${ac_cv_path_EGREP+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3893 then ac_cv_path_EGREP="$GREP -E"
3895 # Extract the first word of "egrep" to use in msg output
3896 if test -z "$EGREP"; then
3897 set dummy egrep; ac_prog_name=$2
3898 if test "${ac_cv_path_EGREP+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 ac_path_EGREP_found=false
3902 # Loop through the user's path and test for each of PROGNAME-LIST
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3907 test -z "$as_dir" && as_dir=.
3908 for ac_prog in egrep; do
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3911 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3912 # Check for GNU ac_path_EGREP and select it if it is found.
3913 # Check for GNU $ac_path_EGREP
3914 case `"$ac_path_EGREP" --version 2>&1` in
3916 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3919 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3922 cat "conftest.in" "conftest.in" >"conftest.tmp"
3923 mv "conftest.tmp" "conftest.in"
3924 cp "conftest.in" "conftest.nl"
3925 echo 'EGREP' >> "conftest.nl"
3926 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3927 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3928 ac_count=`expr $ac_count + 1`
3929 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3930 # Best one so far, save it but keep looking for a better one
3931 ac_cv_path_EGREP="$ac_path_EGREP"
3932 ac_path_EGREP_max=$ac_count
3934 # 10*(2^10) chars as input seems more than enough
3935 test $ac_count -gt 10 && break
3937 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3941 $ac_path_EGREP_found && break 3
3951 EGREP="$ac_cv_path_EGREP"
3952 if test -z "$EGREP"; then
3953 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3954 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3955 { (exit 1); exit 1; }; }
3959 ac_cv_path_EGREP=$EGREP
3965 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3966 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3967 EGREP="$ac_cv_path_EGREP"
3971 # Check whether --with-gnu-ld was given.
3972 if test "${with_gnu_ld+set}" = set; then
3973 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3979 if test "$GCC" = yes; then
3980 # Check if gcc -print-prog-name=ld gives a path.
3981 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3982 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3985 # gcc leaves a trailing carriage return which upsets mingw
3986 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3988 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3991 # Accept absolute paths.
3993 re_direlt='/[^/][^/]*/\.\./'
3994 # Canonicalize the pathname of ld
3995 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3996 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3997 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3999 test -z "$LD" && LD="$ac_prog"
4002 # If it fails, then pretend we aren't using GCC.
4006 # If it is relative, then search for the first ld in PATH.
4010 elif test "$with_gnu_ld" = yes; then
4011 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4012 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4014 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4015 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4017 if test "${lt_cv_path_LD+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -z "$LD"; then
4021 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4022 for ac_dir in $PATH; do
4024 test -z "$ac_dir" && ac_dir=.
4025 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4026 lt_cv_path_LD="$ac_dir/$ac_prog"
4027 # Check to see if the program is GNU ld. I'd rather use --version,
4028 # but apparently some variants of GNU ld only accept -v.
4029 # Break only if it was the GNU/non-GNU ld that we prefer.
4030 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4031 *GNU* | *'with BFD'*)
4032 test "$with_gnu_ld" != no && break
4035 test "$with_gnu_ld" != yes && break
4042 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4047 if test -n "$LD"; then
4048 { echo "$as_me:$LINENO: result: $LD" >&5
4049 echo "${ECHO_T}$LD" >&6; }
4051 { echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6; }
4054 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4055 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4056 { (exit 1); exit 1; }; }
4057 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4058 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4059 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4063 case `$LD -v 2>&1 </dev/null` in
4064 *GNU* | *'with BFD'*)
4065 lt_cv_prog_gnu_ld=yes
4068 lt_cv_prog_gnu_ld=no
4072 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4073 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4074 with_gnu_ld=$lt_cv_prog_gnu_ld
4077 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4078 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4079 if test "${lt_cv_ld_reload_flag+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 lt_cv_ld_reload_flag='-r'
4084 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4085 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4086 reload_flag=$lt_cv_ld_reload_flag
4087 case $reload_flag in
4089 *) reload_flag=" $reload_flag" ;;
4091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4094 if test "$GCC" = yes; then
4095 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4102 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4103 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4104 if test "${lt_cv_path_NM+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -n "$NM"; then
4108 # Let the user override the test.
4111 lt_nm_to_check="${ac_tool_prefix}nm"
4112 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4113 lt_nm_to_check="$lt_nm_to_check nm"
4115 for lt_tmp_nm in $lt_nm_to_check; do
4116 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4117 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4119 test -z "$ac_dir" && ac_dir=.
4120 tmp_nm="$ac_dir/$lt_tmp_nm"
4121 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4122 # Check to see if the nm accepts a BSD-compat flag.
4123 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4124 # nm: unknown option "B" ignored
4125 # Tru64's nm complains that /dev/null is an invalid object file
4126 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4127 */dev/null* | *'Invalid file or object type'*)
4128 lt_cv_path_NM="$tmp_nm -B"
4132 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4134 lt_cv_path_NM="$tmp_nm -p"
4138 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4139 continue # so that we can try to find one that supports BSD flags
4148 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4151 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4152 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4155 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4156 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4158 if test "$LN_S" = "ln -s"; then
4159 { echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6; }
4162 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4163 echo "${ECHO_T}no, using $LN_S" >&6; }
4166 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4167 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4168 if test "${lt_cv_deplibs_check_method+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 lt_cv_file_magic_cmd='$MAGIC_CMD'
4172 lt_cv_file_magic_test_file=
4173 lt_cv_deplibs_check_method='unknown'
4174 # Need to set the preceding variable on all platforms that support
4175 # interlibrary dependencies.
4176 # 'none' -- dependencies not supported.
4177 # `unknown' -- same as none, but documents that we really don't know.
4178 # 'pass_all' -- all dependencies passed with no checks.
4179 # 'test_compile' -- check by making test program.
4180 # 'file_magic [[regex]]' -- check by looking for files in library path
4181 # which responds to the $file_magic_cmd with a given extended regex.
4182 # If you have `file' or equivalent on your system and you're not sure
4183 # whether `pass_all' will *always* work, you probably want this one.
4187 lt_cv_deplibs_check_method=pass_all
4191 lt_cv_deplibs_check_method=pass_all
4195 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4196 lt_cv_file_magic_cmd='/usr/bin/file -L'
4197 lt_cv_file_magic_test_file=/shlib/libc.so
4201 # func_win32_libid is a shell function defined in ltmain.sh
4202 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4203 lt_cv_file_magic_cmd='func_win32_libid'
4207 # Base MSYS/MinGW do not provide the 'file' command needed by
4208 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4209 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4210 lt_cv_file_magic_cmd='$OBJDUMP -f'
4213 darwin* | rhapsody*)
4214 lt_cv_deplibs_check_method=pass_all
4217 freebsd* | dragonfly*)
4218 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4221 # Not sure whether the presence of OpenBSD here was a mistake.
4222 # Let's accept both of them until this is cleared up.
4223 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4224 lt_cv_file_magic_cmd=/usr/bin/file
4225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4229 lt_cv_deplibs_check_method=pass_all
4234 lt_cv_deplibs_check_method=pass_all
4237 hpux10.20* | hpux11*)
4238 lt_cv_file_magic_cmd=/usr/bin/file
4241 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4242 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4245 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]'
4246 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4249 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4250 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4256 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4260 irix5* | irix6* | nonstopux*)
4262 *-32|*"-32 ") libmagic=32-bit;;
4263 *-n32|*"-n32 ") libmagic=N32;;
4264 *-64|*"-64 ") libmagic=64-bit;;
4265 *) libmagic=never-match;;
4267 lt_cv_deplibs_check_method=pass_all
4270 # This must be Linux ELF.
4271 linux* | k*bsd*-gnu)
4272 lt_cv_deplibs_check_method=pass_all
4275 netbsd* | netbsdelf*-gnu)
4276 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4284 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4285 lt_cv_file_magic_cmd=/usr/bin/file
4286 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4290 lt_cv_deplibs_check_method=unknown
4294 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4301 osf3* | osf4* | osf5*)
4302 lt_cv_deplibs_check_method=pass_all
4306 lt_cv_deplibs_check_method=pass_all
4310 case $host_vendor in
4312 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]'
4313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4316 lt_cv_deplibs_check_method=pass_all
4319 lt_cv_file_magic_cmd='/bin/file'
4320 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4323 lt_cv_file_magic_cmd='/bin/file'
4324 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4325 lt_cv_file_magic_test_file=/lib/libc.so
4328 lt_cv_deplibs_check_method=pass_all
4331 lt_cv_deplibs_check_method=pass_all
4336 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4337 lt_cv_deplibs_check_method=pass_all
4342 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4343 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4344 file_magic_cmd=$lt_cv_file_magic_cmd
4345 deplibs_check_method=$lt_cv_deplibs_check_method
4346 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4351 # If no C compiler was specified, use CC.
4354 # If no C compiler flags were specified, use CFLAGS.
4355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4357 # Allow CC to be a program name with arguments.
4361 # Check whether --enable-libtool-lock was given.
4362 if test "${enable_libtool_lock+set}" = set; then
4363 enableval=$enable_libtool_lock;
4366 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4368 # Some flags need to be propagated to the compiler or linker for good
4372 # Find out which ABI we are using.
4373 echo 'int i;' > conftest.$ac_ext
4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375 (eval $ac_compile) 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; then
4379 case `/usr/bin/file conftest.$ac_objext` in
4391 # Find out which ABI we are using.
4392 echo '#line 4392 "configure"' > conftest.$ac_ext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4394 (eval $ac_compile) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; then
4398 if test "$lt_cv_prog_gnu_ld" = yes; then
4399 case `/usr/bin/file conftest.$ac_objext` in
4401 LD="${LD-ld} -melf32bsmip"
4404 LD="${LD-ld} -melf32bmipn32"
4407 LD="${LD-ld} -melf64bmip"
4411 case `/usr/bin/file conftest.$ac_objext` in
4427 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4428 # Find out which ABI we are using.
4429 echo 'int i;' > conftest.$ac_ext
4430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4431 (eval $ac_compile) 2>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; then
4435 case `/usr/bin/file conftest.o` in
4439 LD="${LD-ld} -m elf_i386"
4441 ppc64-*linux*|powerpc64-*linux*)
4442 LD="${LD-ld} -m elf32ppclinux"
4445 LD="${LD-ld} -m elf_s390"
4448 LD="${LD-ld} -m elf32_sparc"
4455 LD="${LD-ld} -m elf_x86_64"
4457 ppc*-*linux*|powerpc*-*linux*)
4458 LD="${LD-ld} -m elf64ppc"
4461 LD="${LD-ld} -m elf64_s390"
4464 LD="${LD-ld} -m elf64_sparc"
4474 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4475 SAVE_CFLAGS="$CFLAGS"
4476 CFLAGS="$CFLAGS -belf"
4477 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4478 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4479 if test "${lt_cv_cc_needs_belf+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 ac_cpp='$CPP $CPPFLAGS'
4484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4503 rm -f conftest.$ac_objext conftest$ac_exeext
4504 if { (ac_try="$ac_link"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4510 (eval "$ac_link") 2>conftest.er1
4512 grep -v '^ *+' conftest.er1 >conftest.err
4514 cat conftest.err >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } && {
4517 test -z "$ac_c_werror_flag" ||
4518 test ! -s conftest.err
4519 } && test -s conftest$ac_exeext &&
4520 $as_test_x conftest$ac_exeext; then
4521 lt_cv_cc_needs_belf=yes
4523 echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4526 lt_cv_cc_needs_belf=no
4529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4530 conftest$ac_exeext conftest.$ac_ext
4532 ac_cpp='$CPP $CPPFLAGS'
4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4538 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4539 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4540 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4541 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4542 CFLAGS="$SAVE_CFLAGS"
4546 # Find out which ABI we are using.
4547 echo 'int i;' > conftest.$ac_ext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549 (eval $ac_compile) 2>&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; then
4553 case `/usr/bin/file conftest.o` in
4555 case $lt_cv_prog_gnu_ld in
4556 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4557 *) LD="${LD-ld} -64" ;;
4565 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4566 if test -n "$ac_tool_prefix"; then
4567 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4568 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4571 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 if test -n "$DLLTOOL"; then
4575 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 DLLTOOL=$ac_cv_prog_DLLTOOL
4595 if test -n "$DLLTOOL"; then
4596 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4597 echo "${ECHO_T}$DLLTOOL" >&6; }
4599 { echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6; }
4605 if test -z "$ac_cv_prog_DLLTOOL"; then
4606 ac_ct_DLLTOOL=$DLLTOOL
4607 # Extract the first word of "dlltool", so it can be a program name with args.
4608 set dummy dlltool; ac_word=$2
4609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$ac_ct_DLLTOOL"; then
4615 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4635 if test -n "$ac_ct_DLLTOOL"; then
4636 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4637 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4643 if test "x$ac_ct_DLLTOOL" = x; then
4646 case $cross_compiling:$ac_tool_warned in
4648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4649 whose name does not start with the host triplet. If you think this
4650 configuration is useful to you, please write to autoconf@gnu.org." >&5
4651 echo "$as_me: 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." >&2;}
4654 ac_tool_warned=yes ;;
4656 DLLTOOL=$ac_ct_DLLTOOL
4659 DLLTOOL="$ac_cv_prog_DLLTOOL"
4662 if test -n "$ac_tool_prefix"; then
4663 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4664 set dummy ${ac_tool_prefix}as; ac_word=$2
4665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4667 if test "${ac_cv_prog_AS+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 if test -n "$AS"; then
4671 ac_cv_prog_AS="$AS" # Let the user override the test.
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680 ac_cv_prog_AS="${ac_tool_prefix}as"
4681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 if test -n "$AS"; then
4692 { echo "$as_me:$LINENO: result: $AS" >&5
4693 echo "${ECHO_T}$AS" >&6; }
4695 { echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6; }
4701 if test -z "$ac_cv_prog_AS"; then
4703 # Extract the first word of "as", so it can be a program name with args.
4704 set dummy as; ac_word=$2
4705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4707 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$ac_ct_AS"; then
4711 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 ac_cv_prog_ac_ct_AS="as"
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4731 if test -n "$ac_ct_AS"; then
4732 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4733 echo "${ECHO_T}$ac_ct_AS" >&6; }
4735 { echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6; }
4739 if test "x$ac_ct_AS" = x; then
4742 case $cross_compiling:$ac_tool_warned in
4744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4745 whose name does not start with the host triplet. If you think this
4746 configuration is useful to you, please write to autoconf@gnu.org." >&5
4747 echo "$as_me: 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." >&2;}
4750 ac_tool_warned=yes ;;
4758 if test -n "$ac_tool_prefix"; then
4759 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4760 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4763 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 if test -n "$OBJDUMP"; then
4767 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 OBJDUMP=$ac_cv_prog_OBJDUMP
4787 if test -n "$OBJDUMP"; then
4788 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4789 echo "${ECHO_T}$OBJDUMP" >&6; }
4791 { echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6; }
4797 if test -z "$ac_cv_prog_OBJDUMP"; then
4798 ac_ct_OBJDUMP=$OBJDUMP
4799 # Extract the first word of "objdump", so it can be a program name with args.
4800 set dummy objdump; ac_word=$2
4801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4803 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 if test -n "$ac_ct_OBJDUMP"; then
4807 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir=.
4814 for ac_exec_ext in '' $ac_executable_extensions; do
4815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4816 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4826 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4827 if test -n "$ac_ct_OBJDUMP"; then
4828 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4829 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4831 { echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6; }
4835 if test "x$ac_ct_OBJDUMP" = x; then
4838 case $cross_compiling:$ac_tool_warned in
4840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4841 whose name does not start with the host triplet. If you think this
4842 configuration is useful to you, please write to autoconf@gnu.org." >&5
4843 echo "$as_me: 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." >&2;}
4846 ac_tool_warned=yes ;;
4848 OBJDUMP=$ac_ct_OBJDUMP
4851 OBJDUMP="$ac_cv_prog_OBJDUMP"
4858 need_locks="$enable_libtool_lock"
4862 ac_cpp='$CPP $CPPFLAGS'
4863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4866 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4867 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4868 # On Suns, sometimes $CPP names a directory.
4869 if test -n "$CPP" && test -d "$CPP"; then
4872 if test -z "$CPP"; then
4873 if test "${ac_cv_prog_CPP+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 # Double quotes because CPP needs to be expanded
4877 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4880 for ac_c_preproc_warn_flag in '' yes
4882 # Use a header file that comes with gcc, so configuring glibc
4883 # with a fresh cross-compiler works.
4884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4885 # <limits.h> exists even on freestanding compilers.
4886 # On the NeXT, cc -E runs the code through the compiler's parser,
4887 # not just through cpp. "Syntax error" is here to catch this case.
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4895 # include <limits.h>
4897 # include <assert.h>
4901 if { (ac_try="$ac_cpp conftest.$ac_ext"
4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4909 grep -v '^ *+' conftest.er1 >conftest.err
4911 cat conftest.err >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } >/dev/null && {
4914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 # Broken: fails on valid input.
4926 rm -f conftest.err conftest.$ac_ext