2 # From configure.ac Revision: 1.149 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for simgrid 3.3-cvs.
6 # Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25 DUALCASE=1; export DUALCASE # for MKS sh
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197 if expr a : '\(a\)' >/dev/null 2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.file conf$$ 2>/dev/null; then
219 rm -f conf$$ conf$$.exe conf$$.file
221 if mkdir -p . 2>/dev/null; then
224 test -d ./-p && rmdir ./-p
228 as_executable_p="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # Check that we are running under the correct shell.
249 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Remove one level of quotation (which was required for Make).
254 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
259 if test "X$1" = X--no-reexec; then
260 # Discard the --no-reexec flag, and continue.
262 elif test "X$1" = X--fallback-echo; then
263 # Avoid inline document here, it may be left over
265 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
266 # Yippee, $echo works!
269 # Restart under the correct shell.
270 exec $SHELL "$0" --no-reexec ${1+"$@"}
273 if test "X$1" = X--fallback-echo; then
274 # used as fallback echo
282 # The HP-UX ksh and POSIX shell print the target directory to stdout
284 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
286 if test -z "$ECHO"; then
287 if test "X${echo_test_string+set}" != Xset; then
288 # find a string as large as possible, as long as the shell can cope with it
289 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
292 echo_test_string=`eval $cmd` &&
293 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
300 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
301 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
302 test "X$echo_testing_string" = "X$echo_test_string"; then
305 # The Solaris, AIX, and Digital Unix default echo programs unquote
306 # backslashes. This makes it impossible to quote backslashes using
307 # echo "$something" | sed 's/\\/\\\\/g'
309 # So, first we look for a working echo in the user's PATH.
311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
312 for dir in $PATH /usr/ucb; do
314 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
315 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
316 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
317 test "X$echo_testing_string" = "X$echo_test_string"; then
324 if test "X$echo" = Xecho; then
325 # We didn't find a better echo, so look for alternatives.
326 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
327 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
328 test "X$echo_testing_string" = "X$echo_test_string"; then
329 # This shell has a builtin print -r that does the trick.
331 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
332 test "X$CONFIG_SHELL" != X/bin/ksh; then
333 # If we have ksh, try running configure again with it.
334 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
335 export ORIGINAL_CONFIG_SHELL
336 CONFIG_SHELL=/bin/ksh
338 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
342 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
343 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
344 test "X$echo_testing_string" = "X$echo_test_string"; then
347 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
348 test "X$echo_testing_string" = 'X\t' &&
349 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
351 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
353 SHELL="$CONFIG_SHELL"
355 echo="$CONFIG_SHELL $0 --fallback-echo"
356 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 echo="$CONFIG_SHELL $0 --fallback-echo"
362 # maybe with a smaller string...
365 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
366 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
373 if test "$prev" != 'sed 50q "$0"'; then
374 echo_test_string=`eval $prev`
375 export echo_test_string
376 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
378 # Oops. We lost completely, so just stick with echo.
387 # Copy echo and quote the copy suitably for passing to libtool from
388 # the Makefile, instead of quoting the original, which is used later.
390 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
391 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397 tagnames=${tagnames+${tagnames},}CXX
399 tagnames=${tagnames+${tagnames},}F77
402 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
403 # so uname gets run too.
404 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
411 ac_default_prefix=/usr/local
412 ac_config_libobj_dir=.
417 SHELL=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 # This variable seems obsolete. It should probably be removed, and
421 # only ac_max_sed_lines should be used.
422 : ${ac_max_here_lines=38}
424 # Identity of this package.
425 PACKAGE_NAME='simgrid'
426 PACKAGE_TARNAME='simgrid'
427 PACKAGE_VERSION='3.3-cvs'
428 PACKAGE_STRING='simgrid 3.3-cvs'
429 PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr'
431 ac_unique_file="include/gras.h"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS PTH_STACK_GROWTH pth_skaddr_makecontext pth_sksize_makecontext USE_SIMIX_TRUE USE_SIMIX_FALSE HAVE_SDP_TRUE HAVE_SDP_FALSE SIMGRID_DEP AM_CFLAGS GRAS_DEP GRAMINE_MODE_TRUE GRAMINE_MODE_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LD_DYNAMIC_FLAGS abs_builddir abs_srcdir abs_top_builddir abs_top_srcdir BASH WARNING LEX LEXLIB LEX_OUTPUT_ROOT FLEXML HAVE_FLEXML_TRUE HAVE_FLEXML_FALSE DOXYGEN ADDR2LINE ac_configure_args MD5SUM build_id LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CC_set=${CC+set}
912 ac_cv_env_CC_set=${CC+set}
913 ac_cv_env_CC_value=$CC
914 ac_env_CFLAGS_set=${CFLAGS+set}
915 ac_env_CFLAGS_value=$CFLAGS
916 ac_cv_env_CFLAGS_set=${CFLAGS+set}
917 ac_cv_env_CFLAGS_value=$CFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CPP_set=${CPP+set}
927 ac_env_CPP_value=$CPP
928 ac_cv_env_CPP_set=${CPP+set}
929 ac_cv_env_CPP_value=$CPP
930 ac_env_CXX_set=${CXX+set}
931 ac_env_CXX_value=$CXX
932 ac_cv_env_CXX_set=${CXX+set}
933 ac_cv_env_CXX_value=$CXX
934 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
935 ac_env_CXXFLAGS_value=$CXXFLAGS
936 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
937 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures simgrid 3.3-cvs to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1017 --build=BUILD configure for building on BUILD [guessed]
1018 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1019 --target=TARGET configure for building compilers for TARGET [HOST]
1023 if test -n "$ac_init_help"; then
1024 case $ac_init_help in
1025 short | recursive ) echo "Configuration of simgrid 3.3-cvs:";;
1030 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1031 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1032 --enable-shared[=PKGS]
1033 build shared libraries [default=yes]
1034 --enable-static[=PKGS]
1035 build static libraries [default=yes]
1036 --enable-fast-install[=PKGS]
1037 optimize for fast installation [default=yes]
1038 --disable-dependency-tracking speeds up one-time build
1039 --enable-dependency-tracking do not reject slow dependency extractors
1040 --disable-libtool-lock avoid locking (might break parallel builds)
1041 --enable-simix Use the new SimIX module (default=no)
1042 --enable-maintainer-mode enable make rules and dependencies not useful
1043 (and sometimes confusing) to the casual installer
1044 --enable-compile-warnings
1045 use compiler warnings (default=no, unless in
1047 --disable-compile-optimizations
1048 use compiler optimizations (default=yes, unless if
1049 CFLAGS is explicitly set)
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1055 --with-pic try to use only PIC/non-PIC objects [default=use
1058 include additional configurations [automatic]
1059 --with-pthread Use pthread instead of ucontext.
1060 --with-pthreads Use pthread instead of ucontext.
1061 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1063 Some influential environment variables:
1064 CC C compiler command
1065 CFLAGS C compiler flags
1066 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1067 nonstandard directory <lib dir>
1068 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1069 headers in a nonstandard directory <include dir>
1071 CXX C++ compiler command
1072 CXXFLAGS C++ compiler flags
1073 CXXCPP C++ preprocessor
1074 F77 Fortran 77 compiler command
1075 FFLAGS Fortran 77 compiler flags
1077 Use these variables to override the choices made by `configure' or to help
1078 it to find libraries and programs with nonstandard names/locations.
1080 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1084 if test "$ac_init_help" = "recursive"; then
1085 # If there are subdirs, report their specific --help.
1087 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1088 test -d $ac_dir || continue
1091 if test "$ac_dir" != .; then
1092 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1093 # A "../" for each directory in $ac_dir_suffix.
1094 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1096 ac_dir_suffix= ac_top_builddir=
1100 .) # No --srcdir option. We are building in place.
1102 if test -z "$ac_top_builddir"; then
1105 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1107 [\\/]* | ?:[\\/]* ) # Absolute path.
1108 ac_srcdir=$srcdir$ac_dir_suffix;
1109 ac_top_srcdir=$srcdir ;;
1111 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1112 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1115 # Do not use `cd foo && pwd` to compute absolute paths, because
1116 # the directories may not exist.
1118 .) ac_abs_builddir="$ac_dir";;
1121 .) ac_abs_builddir=`pwd`;;
1122 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1123 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1126 case $ac_abs_builddir in
1127 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 case ${ac_top_builddir}. in
1130 .) ac_abs_top_builddir=$ac_abs_builddir;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1132 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1135 case $ac_abs_builddir in
1136 .) ac_abs_srcdir=$ac_srcdir;;
1139 .) ac_abs_srcdir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1141 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 case $ac_top_srcdir in
1148 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1150 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1155 # Check for guested configure; otherwise get Cygnus style configure.
1156 if test -f $ac_srcdir/configure.gnu; then
1158 $SHELL $ac_srcdir/configure.gnu --help=recursive
1159 elif test -f $ac_srcdir/configure; then
1161 $SHELL $ac_srcdir/configure --help=recursive
1162 elif test -f $ac_srcdir/configure.ac ||
1163 test -f $ac_srcdir/configure.in; then
1165 $ac_configure --help
1167 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1173 test -n "$ac_init_help" && exit 0
1174 if $ac_init_version; then
1176 simgrid configure 3.3-cvs
1177 generated by GNU Autoconf 2.59
1179 Copyright (C) 2003 Free Software Foundation, Inc.
1180 This configure script is free software; the Free Software Foundation
1181 gives unlimited permission to copy, distribute and modify it.
1187 This file contains any messages produced by compilers while
1188 running configure, to aid debugging if configure makes a mistake.
1190 It was created by simgrid $as_me 3.3-cvs, which was
1191 generated by GNU Autoconf 2.59. Invocation command line was
1202 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1203 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1204 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1205 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1206 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1208 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1209 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1211 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1212 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1213 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1214 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1215 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1216 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1217 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1225 test -z "$as_dir" && as_dir=.
1226 echo "PATH: $as_dir"
1241 # Keep a trace of the command line.
1242 # Strip out --no-create and --no-recursion so they do not pile up.
1243 # Strip out --silent because we don't want to record it for future runs.
1244 # Also quote any args containing shell meta-characters.
1245 # Make two passes to allow for proper duplicate-argument suppression.
1250 ac_must_keep_next=false
1256 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258 | -silent | --silent | --silen | --sile | --sil)
1260 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1261 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1264 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1266 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1267 if test $ac_must_keep_next = true; then
1268 ac_must_keep_next=false # Got value, back to normal.
1271 *=* | --config-cache | -C | -disable-* | --disable-* \
1272 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1273 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1274 | -with-* | --with-* | -without-* | --without-* | --x)
1275 case "$ac_configure_args0 " in
1276 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1279 -* ) ac_must_keep_next=true ;;
1282 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1283 # Get rid of the leading space.
1289 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1290 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1292 # When interrupted or exit'd, cleanup temporary files, and complete
1293 # config.log. We remove comments because anyway the quotes in there
1294 # would cause problems or look ugly.
1295 # WARNING: Be sure not to use single quotes in there, as some shells,
1296 # such as our DU 5.0 friend, will then `close' the trap.
1297 trap 'exit_status=$?
1298 # Save into config.log some information that might help in debugging.
1303 ## ---------------- ##
1304 ## Cache variables. ##
1305 ## ---------------- ##
1308 # The following way of writing the cache mishandles newlines in values,
1311 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1314 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1319 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1326 ## ----------------- ##
1327 ## Output variables. ##
1328 ## ----------------- ##
1331 for ac_var in $ac_subst_vars
1333 eval ac_val=$`echo $ac_var`
1334 echo "$ac_var='"'"'$ac_val'"'"'"
1338 if test -n "$ac_subst_files"; then
1345 for ac_var in $ac_subst_files
1347 eval ac_val=$`echo $ac_var`
1348 echo "$ac_var='"'"'$ac_val'"'"'"
1353 if test -s confdefs.h; then
1360 sed "/^$/d" confdefs.h | sort
1363 test "$ac_signal" != 0 &&
1364 echo "$as_me: caught signal $ac_signal"
1365 echo "$as_me: exit $exit_status"
1367 rm -f core *.core &&
1368 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1371 for ac_signal in 1 2 13 15; do
1372 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1377 rm -rf conftest* confdefs.h
1378 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1381 # Predefined preprocessor variables.
1383 cat >>confdefs.h <<_ACEOF
1384 #define PACKAGE_NAME "$PACKAGE_NAME"
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_STRING "$PACKAGE_STRING"
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1408 # Let the site file select an alternate cache file if it wants to.
1409 # Prefer explicitly selected file to automatically selected ones.
1410 if test -z "$CONFIG_SITE"; then
1411 if test "x$prefix" != xNONE; then
1412 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1414 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1417 for ac_site_file in $CONFIG_SITE; do
1418 if test -r "$ac_site_file"; then
1419 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1420 echo "$as_me: loading site script $ac_site_file" >&6;}
1421 sed 's/^/| /' "$ac_site_file" >&5
1426 if test -r "$cache_file"; then
1427 # Some versions of bash will fail to source /dev/null (special
1428 # files actually), so we avoid doing that.
1429 if test -f "$cache_file"; then
1430 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1431 echo "$as_me: loading cache $cache_file" >&6;}
1433 [\\/]* | ?:[\\/]* ) . $cache_file;;
1434 *) . ./$cache_file;;
1438 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1439 echo "$as_me: creating cache $cache_file" >&6;}
1443 # Check that the precious variables saved in the cache have kept the same
1445 ac_cache_corrupted=false
1446 for ac_var in `(set) 2>&1 |
1447 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1448 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1449 eval ac_new_set=\$ac_env_${ac_var}_set
1450 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1451 eval ac_new_val="\$ac_env_${ac_var}_value"
1452 case $ac_old_set,$ac_new_set in
1454 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1455 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1456 ac_cache_corrupted=: ;;
1458 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1459 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1460 ac_cache_corrupted=: ;;
1463 if test "x$ac_old_val" != "x$ac_new_val"; then
1464 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1465 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1466 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1467 echo "$as_me: former value: $ac_old_val" >&2;}
1468 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1469 echo "$as_me: current value: $ac_new_val" >&2;}
1470 ac_cache_corrupted=:
1473 # Pass precious variables to config.status.
1474 if test "$ac_new_set" = set; then
1476 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1477 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1478 *) ac_arg=$ac_var=$ac_new_val ;;
1480 case " $ac_configure_args " in
1481 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1482 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1486 if $ac_cache_corrupted; then
1487 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1488 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1489 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1490 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1491 { (exit 1); exit 1; }; }
1495 ac_cpp='$CPP $CPPFLAGS'
1496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1527 ac_config_headers="$ac_config_headers src/gras_config.h"
1529 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1533 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1534 if test -f $ac_dir/install-sh; then
1536 ac_install_sh="$ac_aux_dir/install-sh -c"
1538 elif test -f $ac_dir/install.sh; then
1540 ac_install_sh="$ac_aux_dir/install.sh -c"
1542 elif test -f $ac_dir/shtool; then
1544 ac_install_sh="$ac_aux_dir/shtool install -c"
1548 if test -z "$ac_aux_dir"; then
1549 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1550 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1551 { (exit 1); exit 1; }; }
1553 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1554 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1555 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1557 # Make sure we can run config.sub.
1558 $ac_config_sub sun4 >/dev/null 2>&1 ||
1559 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: checking build system type" >&5
1564 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565 if test "${ac_cv_build+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_build_alias=$build_alias
1569 test -z "$ac_cv_build_alias" &&
1570 ac_cv_build_alias=`$ac_config_guess`
1571 test -z "$ac_cv_build_alias" &&
1572 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574 { (exit 1); exit 1; }; }
1575 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582 echo "${ECHO_T}$ac_cv_build" >&6
1584 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 echo "$as_me:$LINENO: checking host system type" >&5
1590 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1591 if test "${ac_cv_host+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 ac_cv_host_alias=$host_alias
1595 test -z "$ac_cv_host_alias" &&
1596 ac_cv_host_alias=$ac_cv_build_alias
1597 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1604 echo "${ECHO_T}$ac_cv_host" >&6
1606 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking target system type" >&5
1612 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1613 if test "${ac_cv_target+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_target_alias=$target_alias
1617 test "x$ac_cv_target_alias" = "x" &&
1618 ac_cv_target_alias=$ac_cv_host_alias
1619 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1626 echo "${ECHO_T}$ac_cv_target" >&6
1627 target=$ac_cv_target
1628 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 # The aliases save the names the user supplied, while $host etc.
1634 # will get canonicalized.
1635 test -n "$target_alias" &&
1636 test "$program_prefix$program_suffix$program_transform_name" = \
1638 program_prefix=${target_alias}-
1640 ac_cpp='$CPP $CPPFLAGS'
1641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646 am__api_version="1.9"
1647 # Find a good install program. We prefer a C program (faster),
1648 # so one script is as good as another. But avoid the broken or
1649 # incompatible versions:
1650 # SysV /etc/install, /usr/sbin/install
1651 # SunOS /usr/etc/install
1652 # IRIX /sbin/install
1654 # AmigaOS /C/install, which installs bootblocks on floppy discs
1655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1658 # OS/2's system install, which has a completely different semantic
1659 # ./install, which can be erroneously created by make from ./install.sh.
1660 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1661 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1662 if test -z "$INSTALL"; then
1663 if test "${ac_cv_path_install+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 # Account for people who put trailing slashes in PATH elements.
1673 ./ | .// | /cC/* | \
1674 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1675 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1678 # OSF1 and SCO ODT 3.0 have their own names for install.
1679 # Don't use installbsd from OSF since it installs stuff as root
1681 for ac_prog in ginstall scoinst install; do
1682 for ac_exec_ext in '' $ac_executable_extensions; do
1683 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1684 if test $ac_prog = install &&
1685 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1686 # AIX install. It has an incompatible calling convention.
1688 elif test $ac_prog = install &&
1689 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1690 # program-specific install script used by HP pwplus--don't use.
1693 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1705 if test "${ac_cv_path_install+set}" = set; then
1706 INSTALL=$ac_cv_path_install
1708 # As a last resort, use the slow shell script. We don't cache a
1709 # path for INSTALL within a source directory, because that will
1710 # break other packages using the cache if that directory is
1711 # removed, or if the path is relative.
1712 INSTALL=$ac_install_sh
1715 echo "$as_me:$LINENO: result: $INSTALL" >&5
1716 echo "${ECHO_T}$INSTALL" >&6
1718 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1719 # It thinks the first close brace ends the variable substitution.
1720 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1722 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1724 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1726 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1727 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1730 echo timestamp > conftest.file
1731 # Do `set' in a subshell so we don't clobber the current shell's
1732 # arguments. Must try -L first in case configure is actually a
1733 # symlink; some systems play weird games with the mod time of symlinks
1734 # (eg FreeBSD returns the mod time of the symlink's containing
1737 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1738 if test "$*" = "X"; then
1740 set X `ls -t $srcdir/configure conftest.file`
1743 if test "$*" != "X $srcdir/configure conftest.file" \
1744 && test "$*" != "X conftest.file $srcdir/configure"; then
1746 # If neither matched, then we have a broken ls. This can happen
1747 # if, for instance, CONFIG_SHELL is bash and it inherits a
1748 # broken ls alias from the environment. This has actually
1749 # happened. Such a system could not be considered "sane".
1750 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1751 alias in your environment" >&5
1752 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1753 alias in your environment" >&2;}
1754 { (exit 1); exit 1; }; }
1757 test "$2" = conftest.file
1763 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1764 Check your system clock" >&5
1765 echo "$as_me: error: newly created file is older than distributed files!
1766 Check your system clock" >&2;}
1767 { (exit 1); exit 1; }; }
1769 echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6
1771 test "$program_prefix" != NONE &&
1772 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1773 # Use a double $ so make ignores it.
1774 test "$program_suffix" != NONE &&
1775 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1776 # Double any \ or $. echo might interpret backslashes.
1777 # By default was `s,x,x', remove it if useless.
1778 cat <<\_ACEOF >conftest.sed
1779 s/[\\$]/&&/g;s/;s,x,x,$//
1781 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1784 # expand $ac_aux_dir to an absolute path
1785 am_aux_dir=`cd $ac_aux_dir && pwd`
1787 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1788 # Use eval to expand $SHELL
1789 if eval "$MISSING --run true"; then
1790 am_missing_run="$MISSING --run "
1793 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1794 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1797 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1798 # We used to keeping the `.' as first argument, in order to
1799 # allow $(mkdir_p) to be used without argument. As in
1800 # $(mkdir_p) $(somedir)
1801 # where $(somedir) is conditionally defined. However this is wrong
1803 # 1. if the package is installed by a user who cannot write `.'
1804 # make install will fail,
1805 # 2. the above comment should most certainly read
1806 # $(mkdir_p) $(DESTDIR)$(somedir)
1807 # so it does not work when $(somedir) is undefined and
1808 # $(DESTDIR) is not.
1809 # To support the latter case, we have to write
1810 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1811 # so the `.' trick is pointless.
1812 mkdir_p='mkdir -p --'
1814 # On NextStep and OpenStep, the `mkdir' command does not
1815 # recognize any option. It will interpret all options as
1816 # directories to create, and then abort because `.' already
1818 for d in ./-p ./--version;
1820 test -d $d && rmdir $d
1822 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1823 if test -f "$ac_aux_dir/mkinstalldirs"; then
1824 mkdir_p='$(mkinstalldirs)'
1826 mkdir_p='$(install_sh) -d'
1830 for ac_prog in gawk mawk nawk awk
1832 # Extract the first word of "$ac_prog", so it can be a program name with args.
1833 set dummy $ac_prog; ac_word=$2
1834 echo "$as_me:$LINENO: checking for $ac_word" >&5
1835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836 if test "${ac_cv_prog_AWK+set}" = set; then
1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 if test -n "$AWK"; then
1840 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 for ac_exec_ext in '' $ac_executable_extensions; do
1848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849 ac_cv_prog_AWK="$ac_prog"
1850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 if test -n "$AWK"; then
1860 echo "$as_me:$LINENO: result: $AWK" >&5
1861 echo "${ECHO_T}$AWK" >&6
1863 echo "$as_me:$LINENO: result: no" >&5
1864 echo "${ECHO_T}no" >&6
1867 test -n "$AWK" && break
1870 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1871 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1872 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1873 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 cat >conftest.make <<\_ACEOF
1878 @echo 'ac_maketemp="$(MAKE)"'
1880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1881 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1882 if test -n "$ac_maketemp"; then
1883 eval ac_cv_prog_make_${ac_make}_set=yes
1885 eval ac_cv_prog_make_${ac_make}_set=no
1889 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1890 echo "$as_me:$LINENO: result: yes" >&5
1891 echo "${ECHO_T}yes" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1896 SET_MAKE="MAKE=${MAKE-make}"
1899 rm -rf .tst 2>/dev/null
1900 mkdir .tst 2>/dev/null
1901 if test -d .tst; then
1906 rmdir .tst 2>/dev/null
1908 # test to see if srcdir already configured
1909 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1910 test -f $srcdir/config.status; then
1911 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1912 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1913 { (exit 1); exit 1; }; }
1916 # test whether we have cygpath
1917 if test -z "$CYGPATH_W"; then
1918 if (cygpath --version) >/dev/null 2>/dev/null; then
1919 CYGPATH_W='cygpath -w'
1926 # Define the identity of the package.
1931 cat >>confdefs.h <<_ACEOF
1932 #define PACKAGE "$PACKAGE"
1936 cat >>confdefs.h <<_ACEOF
1937 #define VERSION "$VERSION"
1940 # Some tools Automake needs.
1942 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1945 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1948 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1951 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1954 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1956 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1958 # Installed binaries are usually stripped using `strip' when the user
1959 # run `make install-strip'. However `strip' might not be the right
1960 # tool to use in cross-compilation environments, therefore Automake
1961 # will honor the `STRIP' environment variable to overrule this program.
1962 if test "$cross_compiling" != no; then
1963 if test -n "$ac_tool_prefix"; then
1964 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1965 set dummy ${ac_tool_prefix}strip; ac_word=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_STRIP+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 if test -n "$STRIP"; then
1972 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 STRIP=$ac_cv_prog_STRIP
1991 if test -n "$STRIP"; then
1992 echo "$as_me:$LINENO: result: $STRIP" >&5
1993 echo "${ECHO_T}$STRIP" >&6
1995 echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
2000 if test -z "$ac_cv_prog_STRIP"; then
2002 # Extract the first word of "strip", so it can be a program name with args.
2003 set dummy strip; ac_word=$2
2004 echo "$as_me:$LINENO: checking for $ac_word" >&5
2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$ac_ct_STRIP"; then
2010 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019 ac_cv_prog_ac_ct_STRIP="strip"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2029 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2030 if test -n "$ac_ct_STRIP"; then
2031 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2032 echo "${ECHO_T}$ac_ct_STRIP" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2040 STRIP="$ac_cv_prog_STRIP"
2044 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2046 # We need awk for the "check" target. The system "awk" is bad on
2048 # Always define AMTAR for backward compatibility.
2050 AMTAR=${AMTAR-"${am_missing_run}tar"}
2052 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2059 [\\/]* | ?:[\\/]* ) ac_macro_dir=acmacro ;;
2060 *) ac_macro_dir=$srcdir/acmacro ;;
2062 if test -d "$ac_macro_dir"; then :
2064 { { echo "$as_me:$LINENO: error: cannot find macro directory \`acmacro'" >&5
2065 echo "$as_me: error: cannot find macro directory \`acmacro'" >&2;}
2066 { (exit 1); exit 1; }; }
2069 ACLOCAL="$ACLOCAL -I acmacro"
2072 # Check whether --enable-shared or --disable-shared was given.
2073 if test "${enable_shared+set}" = set; then
2074 enableval="$enable_shared"
2075 p=${PACKAGE-default}
2077 yes) enable_shared=yes ;;
2078 no) enable_shared=no ;;
2081 # Look at the argument we got. We use all the common list separators.
2082 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2083 for pkg in $enableval; do
2085 if test "X$pkg" = "X$p"; then
2096 # Check whether --enable-static or --disable-static was given.
2097 if test "${enable_static+set}" = set; then
2098 enableval="$enable_static"
2099 p=${PACKAGE-default}
2101 yes) enable_static=yes ;;
2102 no) enable_static=no ;;
2105 # Look at the argument we got. We use all the common list separators.
2106 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2107 for pkg in $enableval; do
2109 if test "X$pkg" = "X$p"; then
2120 # Check whether --enable-fast-install or --disable-fast-install was given.
2121 if test "${enable_fast_install+set}" = set; then
2122 enableval="$enable_fast_install"
2123 p=${PACKAGE-default}
2125 yes) enable_fast_install=yes ;;
2126 no) enable_fast_install=no ;;
2128 enable_fast_install=no
2129 # Look at the argument we got. We use all the common list separators.
2130 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2131 for pkg in $enableval; do
2133 if test "X$pkg" = "X$p"; then
2134 enable_fast_install=yes
2141 enable_fast_install=yes
2144 DEPDIR="${am__leading_dot}deps"
2146 ac_config_commands="$ac_config_commands depfiles"
2149 am_make=${MAKE-make}
2150 cat > confinc << 'END'
2155 # If we don't find an include directive, just comment out the code.
2156 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2157 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2161 # First try GNU make style include.
2162 echo "include confinc" > confmf
2163 # We grep out `Entering directory' and `Leaving directory'
2164 # messages which can occur if `w' ends up in MAKEFLAGS.
2165 # In particular we don't look at `^make:' because GNU make might
2166 # be invoked under some other name (usually "gmake"), in which
2167 # case it prints its new name instead of `make'.
2168 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2173 # Now try BSD make style include.
2174 if test "$am__include" = "#"; then
2175 echo '.include "confinc"' > confmf
2176 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2177 am__include=.include
2184 echo "$as_me:$LINENO: result: $_am_result" >&5
2185 echo "${ECHO_T}$_am_result" >&6
2186 rm -f confinc confmf
2188 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2189 if test "${enable_dependency_tracking+set}" = set; then
2190 enableval="$enable_dependency_tracking"
2193 if test "x$enable_dependency_tracking" != xno; then
2194 am_depcomp="$ac_aux_dir/depcomp"
2199 if test "x$enable_dependency_tracking" != xno; then
2210 ac_cpp='$CPP $CPPFLAGS'
2211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2216 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$ac_cv_prog_CC"; then
2253 # Extract the first word of "gcc", so it can be a program name with args.
2254 set dummy gcc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$ac_ct_CC"; then
2261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_ac_ct_CC="gcc"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 echo "${ECHO_T}$ac_ct_CC" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$ac_cv_prog_CC"; then
2333 # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$ac_ct_CC"; then
2341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_ac_ct_CC="cc"
2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6
2364 echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2374 if test -z "$CC"; then
2375 # Extract the first word of "cc", so it can be a program name with args.
2376 set dummy cc; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2394 ac_prog_rejected=yes
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test $ac_prog_rejected = yes; then
2405 # We found a bogon in the path, so make sure we never use it.
2406 set dummy $ac_cv_prog_CC
2408 if test $# != 0; then
2409 # We chose a different compiler from the bogus one.
2410 # However, it has the same basename, so the bogon will be chosen
2411 # first if we set CC to just the basename; use the full file name.
2413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC="$CC" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test -n "$CC"; then
2460 echo "$as_me:$LINENO: result: $CC" >&5
2461 echo "${ECHO_T}$CC" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2467 test -n "$CC" && break
2470 if test -z "$CC"; then
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491 ac_cv_prog_ac_ct_CC="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2509 test -n "$ac_ct_CC" && break
2518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2524 # Provide some information about the compiler.
2525 echo "$as_me:$LINENO:" \
2526 "checking for C compiler version" >&5
2527 ac_compiler=`set X $ac_compile; echo $2`
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2529 (eval $ac_compiler --version </dev/null >&5) 2>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2534 (eval $ac_compiler -v </dev/null >&5) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2539 (eval $ac_compiler -V </dev/null >&5) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2559 ac_clean_files_save=$ac_clean_files
2560 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2561 # Try to create an executable without -o first, disregard a.out.
2562 # It will help us diagnose broken compilers, and finding out an intuition
2564 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2565 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2566 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2567 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2568 (eval $ac_link_default) 2>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; then
2572 # Find the output, starting from the most likely. This scheme is
2573 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2576 # Be careful to initialize this variable, since it used to be cached.
2577 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2579 # b.out is created by i960 compilers.
2580 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2582 test -f "$ac_file" || continue
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2587 # This is the source file.
2590 # We found the default executable, but exeext='' is most
2594 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2595 # FIXME: I believe we export ac_cv_exeext for Libtool,
2596 # but it would be cool to find out if it's true. Does anybody
2597 # maintain Libtool? --akim.
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: C compiler cannot create executables
2611 See \`config.log' for more details." >&2;}
2612 { (exit 77); exit 77; }; }
2615 ac_exeext=$ac_cv_exeext
2616 echo "$as_me:$LINENO: result: $ac_file" >&5
2617 echo "${ECHO_T}$ac_file" >&6
2619 # Check the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2622 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2623 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2624 # If not cross compiling, check that we can run a simple program.
2625 if test "$cross_compiling" != yes; then
2626 if { ac_try='./$ac_file'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2634 if test "$cross_compiling" = maybe; then
2637 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2638 If you meant to cross compile, use \`--host'.
2639 See \`config.log' for more details." >&5
2640 echo "$as_me: error: cannot run C compiled programs.
2641 If you meant to cross compile, use \`--host'.
2642 See \`config.log' for more details." >&2;}
2643 { (exit 1); exit 1; }; }
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2650 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2651 ac_clean_files=$ac_clean_files_save
2652 # Check the compiler produces executables we can run. If not, either
2653 # the compiler is broken, or we cross compile.
2654 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2655 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2656 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2657 echo "${ECHO_T}$cross_compiling" >&6
2659 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2660 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2662 (eval $ac_link) 2>&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; then
2666 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2667 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2668 # work properly (i.e., refer to `conftest.exe'), while it won't with
2670 for ac_file in conftest.exe conftest conftest.*; do
2671 test -f "$ac_file" || continue
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2674 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2681 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2682 See \`config.log' for more details." >&5
2683 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2684 See \`config.log' for more details." >&2;}
2685 { (exit 1); exit 1; }; }
2688 rm -f conftest$ac_cv_exeext
2689 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2690 echo "${ECHO_T}$ac_cv_exeext" >&6
2692 rm -f conftest.$ac_ext
2693 EXEEXT=$ac_cv_exeext
2695 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2696 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2697 if test "${ac_cv_objext+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2715 rm -f conftest.o conftest.obj
2716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; then
2721 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2724 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2733 See \`config.log' for more details." >&5
2734 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2735 See \`config.log' for more details." >&2;}
2736 { (exit 1); exit 1; }; }
2739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2741 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2742 echo "${ECHO_T}$ac_cv_objext" >&6
2743 OBJEXT=$ac_cv_objext
2745 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2746 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2747 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1 >conftest.err
2774 cat conftest.err >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }; } &&
2783 { ac_try='test -s conftest.$ac_objext'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; }; then
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2797 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2800 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2801 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2802 GCC=`test $ac_compiler_gnu = yes && echo yes`
2803 ac_test_CFLAGS=${CFLAGS+set}
2804 ac_save_CFLAGS=$CFLAGS
2806 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2807 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2808 if test "${ac_cv_prog_cc_g+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 cat >conftest.$ac_ext <<_ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2856 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2857 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2858 if test "$ac_test_CFLAGS" = set; then
2859 CFLAGS=$ac_save_CFLAGS
2860 elif test $ac_cv_prog_cc_g = yes; then
2861 if test "$GCC" = yes; then
2867 if test "$GCC" = yes; then
2873 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2874 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2875 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 ac_cv_prog_cc_stdc=no
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2888 #include <sys/types.h>
2889 #include <sys/stat.h>
2890 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2891 struct buf { int x; };
2892 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2893 static char *e (p, i)
2899 static char *f (char * (*g) (char **, int), char **p, ...)
2904 s = g (p, va_arg (v,int));
2909 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2910 function prototypes and stuff, but not '\xHH' hex character constants.
2911 These don't provoke an error unfortunately, instead are silently treated
2912 as 'x'. The following induces an error, until -std1 is added to get
2913 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2914 array size at least. It's necessary to write '\x00'==0 to get something
2915 that's true only with -std1. */
2916 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2918 int test (int i, double x);
2919 struct s1 {int (*f) (int a);};
2920 struct s2 {int (*f) (double a);};
2921 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2927 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2932 # Don't try gcc -ansi; that turns off useful extensions and
2933 # breaks some systems' header files.
2934 # AIX -qlanglvl=ansi
2935 # Ultrix and OSF/1 -std1
2936 # HP-UX 10.20 and later -Ae
2937 # HP-UX older versions -Aa -D_HPUX_SOURCE
2938 # SVR4 -Xc -D__EXTENSIONS__
2939 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2941 CC="$ac_save_CC $ac_arg"
2942 rm -f conftest.$ac_objext
2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2944 (eval $ac_compile) 2>conftest.er1
2946 grep -v '^ *+' conftest.er1 >conftest.err
2948 cat conftest.err >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } &&
2951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; } &&
2957 { ac_try='test -s conftest.$ac_objext'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; }; then
2963 ac_cv_prog_cc_stdc=$ac_arg
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2970 rm -f conftest.err conftest.$ac_objext
2972 rm -f conftest.$ac_ext conftest.$ac_objext
2977 case "x$ac_cv_prog_cc_stdc" in
2979 echo "$as_me:$LINENO: result: none needed" >&5
2980 echo "${ECHO_T}none needed" >&6 ;;
2982 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2983 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2984 CC="$CC $ac_cv_prog_cc_stdc" ;;
2987 # Some people use a C++ compiler to compile C. Since we use `exit',
2988 # in C++ we need to declare it. In case someone uses the same compiler
2989 # for both compiling C and C++ we need to have the C++ compiler decide
2990 # the declaration of exit, since it's the most demanding environment.
2991 cat >conftest.$ac_ext <<_ACEOF
2996 rm -f conftest.$ac_objext
2997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2998 (eval $ac_compile) 2>conftest.er1
3000 grep -v '^ *+' conftest.er1 >conftest.err
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } &&
3005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 for ac_declaration in \
3019 'extern "C" void std::exit (int) throw (); using std::exit;' \
3020 'extern "C" void std::exit (int); using std::exit;' \
3021 'extern "C" void exit (int) throw ();' \
3022 'extern "C" void exit (int);' \
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3041 rm -f conftest.$ac_objext
3042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3043 (eval $ac_compile) 2>conftest.er1
3045 grep -v '^ *+' conftest.er1 >conftest.err
3047 cat conftest.err >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } &&
3050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; } &&
3056 { ac_try='test -s conftest.$ac_objext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; }; then
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; } &&
3100 { ac_try='test -s conftest.$ac_objext'
3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3115 if test -n "$ac_declaration"; then
3116 echo '#ifdef __cplusplus' >>confdefs.h
3117 echo $ac_declaration >>confdefs.h
3118 echo '#endif' >>confdefs.h
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 depcc="$CC" am_compiler_list=
3135 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3136 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3137 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3141 # We make a subdir and do the tests there. Otherwise we can end up
3142 # making bogus files that we don't know about and never remove. For
3143 # instance it was reported that on HP-UX the gcc test will end up
3144 # making a dummy file named `D' -- because `-MD' means `put the output
3147 # Copy depcomp to subdir because otherwise we won't find it if we're
3148 # using a relative directory.
3149 cp "$am_depcomp" conftest.dir
3151 # We will build objects and dependencies in a subdirectory because
3152 # it helps to detect inapplicable dependency modes. For instance
3153 # both Tru64's cc and ICC support -MD to output dependencies as a
3154 # side effect of compilation, but ICC will put the dependencies in
3155 # the current directory while Tru64 will put them in the object
3159 am_cv_CC_dependencies_compiler_type=none
3160 if test "$am_compiler_list" = ""; then
3161 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3163 for depmode in $am_compiler_list; do
3164 # Setup a source with many dependencies, because some compilers
3165 # like to wrap large dependency lists on column 80 (with \), and
3166 # we should not choose a depcomp mode which is confused by this.
3168 # We need to recreate these files for each test, as the compiler may
3169 # overwrite some of them when testing with obscure command lines.
3170 # This happens at least with the AIX C compiler.
3172 for i in 1 2 3 4 5 6; do
3173 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3174 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3175 # Solaris 8's {/usr,}/bin/sh.
3176 touch sub/conftst$i.h
3178 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3182 # after this tag, mechanisms are not by side-effect, so they'll
3183 # only be used when explicitly requested
3184 if test "x$enable_dependency_tracking" = xyes; then
3192 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3193 # mode. It turns out that the SunPro C++ compiler does not properly
3194 # handle `-M -o', and we need to detect this.
3195 if depmode=$depmode \
3196 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3197 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3198 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3199 >/dev/null 2>conftest.err &&
3200 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3201 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3202 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3203 # icc doesn't choke on unknown options, it will just issue warnings
3204 # or remarks (even with -Werror). So we grep stderr for any message
3205 # that says an option was ignored or not supported.
3206 # When given -MP, icc 7.0 and 7.1 complain thusly:
3207 # icc: Command line warning: ignoring option '-M'; no argument required
3208 # The diagnosis changed in icc 8.0:
3209 # icc: Command line remark: option '-MP' not supported
3210 if (grep 'ignoring option' conftest.err ||
3211 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3212 am_cv_CC_dependencies_compiler_type=$depmode
3221 am_cv_CC_dependencies_compiler_type=none
3225 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3226 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3227 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3232 test "x$enable_dependency_tracking" != xno \
3233 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3235 am__fastdepCC_FALSE='#'
3237 am__fastdepCC_TRUE='#'
3238 am__fastdepCC_FALSE=
3242 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3243 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3244 if test "${lt_cv_path_SED+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 # Loop through the user's path and test for sed and gsed.
3248 # Then use that list of sed's as ones to test for truncation.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for lt_ac_prog in sed gsed; do
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3257 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3264 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3265 # along with /bin/sed that truncates output.
3266 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3267 test ! -f $lt_ac_sed && continue
3268 cat /dev/null > conftest.in
3270 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3271 # Check for GNU sed and select it if it is found.
3272 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3273 lt_cv_path_SED=$lt_ac_sed
3277 cat conftest.in conftest.in >conftest.tmp
3278 mv conftest.tmp conftest.in
3279 cp conftest.in conftest.nl
3281 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3282 cmp -s conftest.out conftest.nl || break
3283 # 10000 chars as input seems more than enough
3284 test $lt_ac_count -gt 10 && break
3285 lt_ac_count=`expr $lt_ac_count + 1`
3286 if test $lt_ac_count -gt $lt_ac_max; then
3287 lt_ac_max=$lt_ac_count
3288 lt_cv_path_SED=$lt_ac_sed
3296 echo "$as_me:$LINENO: result: $SED" >&5
3297 echo "${ECHO_T}$SED" >&6
3299 echo "$as_me:$LINENO: checking for egrep" >&5
3300 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3301 if test "${ac_cv_prog_egrep+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3305 then ac_cv_prog_egrep='grep -E'
3306 else ac_cv_prog_egrep='egrep'
3309 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3310 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3311 EGREP=$ac_cv_prog_egrep
3315 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3316 if test "${with_gnu_ld+set}" = set; then
3317 withval="$with_gnu_ld"
3318 test "$withval" = no || with_gnu_ld=yes
3323 if test "$GCC" = yes; then
3324 # Check if gcc -print-prog-name=ld gives a path.
3325 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3326 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3329 # gcc leaves a trailing carriage return which upsets mingw
3330 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3332 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3335 # Accept absolute paths.
3337 re_direlt='/[^/][^/]*/\.\./'
3338 # Canonicalize the pathname of ld
3339 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3340 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3341 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3343 test -z "$LD" && LD="$ac_prog"
3346 # If it fails, then pretend we aren't using GCC.
3350 # If it is relative, then search for the first ld in PATH.
3354 elif test "$with_gnu_ld" = yes; then
3355 echo "$as_me:$LINENO: checking for GNU ld" >&5
3356 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3358 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3359 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3361 if test "${lt_cv_path_LD+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 if test -z "$LD"; then
3365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3366 for ac_dir in $PATH; do
3368 test -z "$ac_dir" && ac_dir=.
3369 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3370 lt_cv_path_LD="$ac_dir/$ac_prog"
3371 # Check to see if the program is GNU ld. I'd rather use --version,
3372 # but apparently some variants of GNU ld only accept -v.
3373 # Break only if it was the GNU/non-GNU ld that we prefer.
3374 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3375 *GNU* | *'with BFD'*)
3376 test "$with_gnu_ld" != no && break
3379 test "$with_gnu_ld" != yes && break
3386 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3391 if test -n "$LD"; then
3392 echo "$as_me:$LINENO: result: $LD" >&5
3393 echo "${ECHO_T}$LD" >&6
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3398 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3399 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3400 { (exit 1); exit 1; }; }
3401 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3402 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3403 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3407 case `$LD -v 2>&1 </dev/null` in
3408 *GNU* | *'with BFD'*)
3409 lt_cv_prog_gnu_ld=yes
3412 lt_cv_prog_gnu_ld=no
3416 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3417 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3418 with_gnu_ld=$lt_cv_prog_gnu_ld
3421 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3422 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3423 if test "${lt_cv_ld_reload_flag+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 lt_cv_ld_reload_flag='-r'
3428 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3429 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3430 reload_flag=$lt_cv_ld_reload_flag
3431 case $reload_flag in
3433 *) reload_flag=" $reload_flag" ;;
3435 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3438 if test "$GCC" = yes; then
3439 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3441 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3446 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3447 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3448 if test "${lt_cv_path_NM+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 if test -n "$NM"; then
3452 # Let the user override the test.
3455 lt_nm_to_check="${ac_tool_prefix}nm"
3456 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3457 lt_nm_to_check="$lt_nm_to_check nm"
3459 for lt_tmp_nm in $lt_nm_to_check; do
3460 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3461 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3463 test -z "$ac_dir" && ac_dir=.
3464 tmp_nm="$ac_dir/$lt_tmp_nm"
3465 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3466 # Check to see if the nm accepts a BSD-compat flag.
3467 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3468 # nm: unknown option "B" ignored
3469 # Tru64's nm complains that /dev/null is an invalid object file
3470 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3471 */dev/null* | *'Invalid file or object type'*)
3472 lt_cv_path_NM="$tmp_nm -B"
3476 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3478 lt_cv_path_NM="$tmp_nm -p"
3482 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3483 continue # so that we can try to find one that supports BSD flags
3492 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3495 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3496 echo "${ECHO_T}$lt_cv_path_NM" >&6
3499 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3500 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3502 if test "$LN_S" = "ln -s"; then
3503 echo "$as_me:$LINENO: result: yes" >&5
3504 echo "${ECHO_T}yes" >&6
3506 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3507 echo "${ECHO_T}no, using $LN_S" >&6
3510 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3511 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3512 if test "${lt_cv_deplibs_check_method+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 lt_cv_file_magic_cmd='$MAGIC_CMD'
3516 lt_cv_file_magic_test_file=
3517 lt_cv_deplibs_check_method='unknown'
3518 # Need to set the preceding variable on all platforms that support
3519 # interlibrary dependencies.
3520 # 'none' -- dependencies not supported.
3521 # `unknown' -- same as none, but documents that we really don't know.
3522 # 'pass_all' -- all dependencies passed with no checks.
3523 # 'test_compile' -- check by making test program.
3524 # 'file_magic [[regex]]' -- check by looking for files in library path
3525 # which responds to the $file_magic_cmd with a given extended regex.
3526 # If you have `file' or equivalent on your system and you're not sure
3527 # whether `pass_all' will *always* work, you probably want this one.
3531 lt_cv_deplibs_check_method=pass_all
3535 lt_cv_deplibs_check_method=pass_all
3539 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3540 lt_cv_file_magic_cmd='/usr/bin/file -L'
3541 lt_cv_file_magic_test_file=/shlib/libc.so
3545 # func_win32_libid is a shell function defined in ltmain.sh
3546 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3547 lt_cv_file_magic_cmd='func_win32_libid'
3551 # Base MSYS/MinGW do not provide the 'file' command needed by
3552 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3553 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3554 lt_cv_file_magic_cmd='$OBJDUMP -f'
3557 darwin* | rhapsody*)
3558 lt_cv_deplibs_check_method=pass_all
3561 freebsd* | kfreebsd*-gnu | dragonfly*)
3562 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3565 # Not sure whether the presence of OpenBSD here was a mistake.
3566 # Let's accept both of them until this is cleared up.
3567 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3568 lt_cv_file_magic_cmd=/usr/bin/file
3569 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3573 lt_cv_deplibs_check_method=pass_all
3578 lt_cv_deplibs_check_method=pass_all
3581 hpux10.20* | hpux11*)
3582 lt_cv_file_magic_cmd=/usr/bin/file
3585 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3586 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3589 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]'
3590 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3593 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3594 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3600 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3601 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3604 irix5* | irix6* | nonstopux*)
3606 *-32|*"-32 ") libmagic=32-bit;;
3607 *-n32|*"-n32 ") libmagic=N32;;
3608 *-64|*"-64 ") libmagic=64-bit;;
3609 *) libmagic=never-match;;
3611 lt_cv_deplibs_check_method=pass_all
3614 # This must be Linux ELF.
3616 lt_cv_deplibs_check_method=pass_all
3619 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3620 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3628 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3629 lt_cv_file_magic_cmd=/usr/bin/file
3630 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3634 lt_cv_deplibs_check_method=unknown
3638 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3639 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3645 osf3* | osf4* | osf5*)
3646 lt_cv_deplibs_check_method=pass_all
3650 lt_cv_deplibs_check_method=pass_all
3654 case $host_vendor in
3656 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]'
3657 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3660 lt_cv_deplibs_check_method=pass_all
3663 lt_cv_file_magic_cmd='/bin/file'
3664 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3667 lt_cv_file_magic_cmd='/bin/file'
3668 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3669 lt_cv_file_magic_test_file=/lib/libc.so
3672 lt_cv_deplibs_check_method=pass_all
3675 lt_cv_deplibs_check_method=pass_all
3680 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3681 lt_cv_deplibs_check_method=pass_all
3686 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3687 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3688 file_magic_cmd=$lt_cv_file_magic_cmd
3689 deplibs_check_method=$lt_cv_deplibs_check_method
3690 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3695 # If no C compiler was specified, use CC.
3698 # If no C compiler flags were specified, use CFLAGS.
3699 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3701 # Allow CC to be a program name with arguments.
3705 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3706 if test "${enable_libtool_lock+set}" = set; then
3707 enableval="$enable_libtool_lock"
3710 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3712 # Some flags need to be propagated to the compiler or linker for good
3716 # Find out which ABI we are using.
3717 echo 'int i;' > conftest.$ac_ext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3719 (eval $ac_compile) 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; then
3723 case `/usr/bin/file conftest.$ac_objext` in
3735 # Find out which ABI we are using.
3736 echo '#line 3736 "configure"' > conftest.$ac_ext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3738 (eval $ac_compile) 2>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; then
3742 if test "$lt_cv_prog_gnu_ld" = yes; then
3743 case `/usr/bin/file conftest.$ac_objext` in
3745 LD="${LD-ld} -melf32bsmip"
3748 LD="${LD-ld} -melf32bmipn32"
3751 LD="${LD-ld} -melf64bmip"
3755 case `/usr/bin/file conftest.$ac_objext` in
3771 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3772 # Find out which ABI we are using.
3773 echo 'int i;' > conftest.$ac_ext
3774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3775 (eval $ac_compile) 2>&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; then
3779 case `/usr/bin/file conftest.o` in
3783 LD="${LD-ld} -m elf_i386"
3785 ppc64-*linux*|powerpc64-*linux*)
3786 LD="${LD-ld} -m elf32ppclinux"
3789 LD="${LD-ld} -m elf_s390"
3792 LD="${LD-ld} -m elf32_sparc"
3799 LD="${LD-ld} -m elf_x86_64"
3801 ppc*-*linux*|powerpc*-*linux*)
3802 LD="${LD-ld} -m elf64ppc"
3805 LD="${LD-ld} -m elf64_s390"
3808 LD="${LD-ld} -m elf64_sparc"
3818 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3819 SAVE_CFLAGS="$CFLAGS"
3820 CFLAGS="$CFLAGS -belf"
3821 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3822 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3823 if test "${lt_cv_cc_needs_belf+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 ac_cpp='$CPP $CPPFLAGS'
3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 cat >conftest.$ac_ext <<_ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3847 rm -f conftest.$ac_objext conftest$ac_exeext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3849 (eval $ac_link) 2>conftest.er1
3851 grep -v '^ *+' conftest.er1 >conftest.err
3853 cat conftest.err >&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } &&
3856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try='test -s conftest$ac_exeext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3868 lt_cv_cc_needs_belf=yes
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.$ac_ext >&5
3873 lt_cv_cc_needs_belf=no
3875 rm -f conftest.err conftest.$ac_objext \
3876 conftest$ac_exeext conftest.$ac_ext
3878 ac_cpp='$CPP $CPPFLAGS'
3879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3885 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3888 CFLAGS="$SAVE_CFLAGS"
3892 # Find out which ABI we are using.
3893 echo 'int i;' > conftest.$ac_ext
3894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3895 (eval $ac_compile) 2>&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; then
3899 case `/usr/bin/file conftest.o` in
3901 case $lt_cv_prog_gnu_ld in
3902 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3903 *) LD="${LD-ld} -64" ;;
3911 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3912 if test -n "$ac_tool_prefix"; then
3913 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3914 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3915 echo "$as_me:$LINENO: checking for $ac_word" >&5
3916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3917 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 if test -n "$DLLTOOL"; then
3921 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 DLLTOOL=$ac_cv_prog_DLLTOOL
3940 if test -n "$DLLTOOL"; then
3941 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3942 echo "${ECHO_T}$DLLTOOL" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3949 if test -z "$ac_cv_prog_DLLTOOL"; then
3950 ac_ct_DLLTOOL=$DLLTOOL
3951 # Extract the first word of "dlltool", so it can be a program name with args.
3952 set dummy dlltool; ac_word=$2
3953 echo "$as_me:$LINENO: checking for $ac_word" >&5
3954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3955 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 if test -n "$ac_ct_DLLTOOL"; then
3959 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3978 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3979 if test -n "$ac_ct_DLLTOOL"; then
3980 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3981 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3987 DLLTOOL=$ac_ct_DLLTOOL
3989 DLLTOOL="$ac_cv_prog_DLLTOOL"
3992 if test -n "$ac_tool_prefix"; then
3993 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3994 set dummy ${ac_tool_prefix}as; ac_word=$2
3995 echo "$as_me:$LINENO: checking for $ac_word" >&5
3996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3997 if test "${ac_cv_prog_AS+set}" = set; then
3998 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 if test -n "$AS"; then
4001 ac_cv_prog_AS="$AS" # Let the user override the test.
4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4007 test -z "$as_dir" && as_dir=.
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010 ac_cv_prog_AS="${ac_tool_prefix}as"
4011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 if test -n "$AS"; then
4021 echo "$as_me:$LINENO: result: $AS" >&5
4022 echo "${ECHO_T}$AS" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4029 if test -z "$ac_cv_prog_AS"; then
4031 # Extract the first word of "as", so it can be a program name with args.
4032 set dummy as; ac_word=$2
4033 echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4035 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 if test -n "$ac_ct_AS"; then
4039 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4048 ac_cv_prog_ac_ct_AS="as"
4049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4058 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4059 if test -n "$ac_ct_AS"; then
4060 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4061 echo "${ECHO_T}$ac_ct_AS" >&6
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4072 if test -n "$ac_tool_prefix"; then
4073 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4074 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4075 echo "$as_me:$LINENO: checking for $ac_word" >&5
4076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4077 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 if test -n "$OBJDUMP"; then
4081 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir=.
4088 for ac_exec_ext in '' $ac_executable_extensions; do
4089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4090 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 OBJDUMP=$ac_cv_prog_OBJDUMP
4100 if test -n "$OBJDUMP"; then
4101 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4102 echo "${ECHO_T}$OBJDUMP" >&6
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4109 if test -z "$ac_cv_prog_OBJDUMP"; then
4110 ac_ct_OBJDUMP=$OBJDUMP
4111 # Extract the first word of "objdump", so it can be a program name with args.
4112 set dummy objdump; ac_word=$2
4113 echo "$as_me:$LINENO: checking for $ac_word" >&5
4114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4115 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 if test -n "$ac_ct_OBJDUMP"; then
4119 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4138 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4139 if test -n "$ac_ct_OBJDUMP"; then
4140 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4141 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4147 OBJDUMP=$ac_ct_OBJDUMP
4149 OBJDUMP="$ac_cv_prog_OBJDUMP"
4156 need_locks="$enable_libtool_lock"
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4165 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4166 # On Suns, sometimes $CPP names a directory.
4167 if test -n "$CPP" && test -d "$CPP"; then
4170 if test -z "$CPP"; then
4171 if test "${ac_cv_prog_CPP+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 # Double quotes because CPP needs to be expanded
4175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4178 for ac_c_preproc_warn_flag in '' yes
4180 # Use a header file that comes with gcc, so configuring glibc
4181 # with a fresh cross-compiler works.
4182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4183 # <limits.h> exists even on freestanding compilers.
4184 # On the NeXT, cc -E runs the code through the compiler's parser,
4185 # not just through cpp. "Syntax error" is here to catch this case.
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 # include <limits.h>
4195 # include <assert.h>
4199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4200 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4202 grep -v '^ *+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } >/dev/null; then
4207 if test -s conftest.err; then
4208 ac_cpp_err=$ac_c_preproc_warn_flag
4209 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4216 if test -z "$ac_cpp_err"; then
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 # Broken: fails on valid input.
4225 rm -f conftest.err conftest.$ac_ext
4227 # OK, works on sane cases. Now check whether non-existent headers
4228 # can be detected and how.
4229 cat >conftest.$ac_ext <<_ACEOF
4232 cat confdefs.h >>conftest.$ac_ext
4233 cat >>conftest.$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4235 #include <ac_nonexistent.h>
4237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4240 grep -v '^ *+' conftest.er1 >conftest.err
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } >/dev/null; then
4245 if test -s conftest.err; then
4246 ac_cpp_err=$ac_c_preproc_warn_flag
4247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4254 if test -z "$ac_cpp_err"; then
4255 # Broken: success on invalid input.
4258 echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 # Passes both tests.
4265 rm -f conftest.err conftest.$ac_ext
4268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4269 rm -f conftest.err conftest.$ac_ext
4270 if $ac_preproc_ok; then
4282 echo "$as_me:$LINENO: result: $CPP" >&5
4283 echo "${ECHO_T}$CPP" >&6
4285 for ac_c_preproc_warn_flag in '' yes
4287 # Use a header file that comes with gcc, so configuring glibc
4288 # with a fresh cross-compiler works.
4289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4290 # <limits.h> exists even on freestanding compilers.
4291 # On the NeXT, cc -E runs the code through the compiler's parser,
4292 # not just through cpp. "Syntax error" is here to catch this case.
4293 cat >conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 # include <limits.h>
4302 # include <assert.h>
4306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4309 grep -v '^ *+' conftest.er1 >conftest.err
4311 cat conftest.err >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } >/dev/null; then
4314 if test -s conftest.err; then
4315 ac_cpp_err=$ac_c_preproc_warn_flag
4316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4323 if test -z "$ac_cpp_err"; then
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 # Broken: fails on valid input.
4332 rm -f conftest.err conftest.$ac_ext
4334 # OK, works on sane cases. Now check whether non-existent headers
4335 # can be detected and how.
4336 cat >conftest.$ac_ext <<_ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 #include <ac_nonexistent.h>
4344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4347 grep -v '^ *+' conftest.er1 >conftest.err
4349 cat conftest.err >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } >/dev/null; then
4352 if test -s conftest.err; then
4353 ac_cpp_err=$ac_c_preproc_warn_flag
4354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4361 if test -z "$ac_cpp_err"; then
4362 # Broken: success on invalid input.
4365 echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 # Passes both tests.
4372 rm -f conftest.err conftest.$ac_ext
4375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4376 rm -f conftest.err conftest.$ac_ext
4377 if $ac_preproc_ok; then
4380 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4381 See \`config.log' for more details." >&5
4382 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4383 See \`config.log' for more details." >&2;}
4384 { (exit 1); exit 1; }; }
4388 ac_cpp='$CPP $CPPFLAGS'
4389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4395 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4396 if test "${ac_cv_header_stdc+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4418 rm -f conftest.$ac_objext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>conftest.er1
4422 grep -v '^ *+' conftest.er1 >conftest.err
4424 cat conftest.err >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } &&
4427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; } &&
4433 { ac_try='test -s conftest.$ac_objext'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 ac_cv_header_stdc=yes
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.$ac_ext >&5
4444 ac_cv_header_stdc=no
4446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4448 if test $ac_cv_header_stdc = yes; then
4449 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4450 cat >conftest.$ac_ext <<_ACEOF
4453 cat confdefs.h >>conftest.$ac_ext
4454 cat >>conftest.$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4460 $EGREP "memchr" >/dev/null 2>&1; then
4463 ac_cv_header_stdc=no
4469 if test $ac_cv_header_stdc = yes; then
4470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4481 $EGREP "free" >/dev/null 2>&1; then
4484 ac_cv_header_stdc=no
4490 if test $ac_cv_header_stdc = yes; then
4491 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4492 if test "$cross_compiling" = yes; then
4495 cat >conftest.$ac_ext <<_ACEOF
4498 cat confdefs.h >>conftest.$ac_ext
4499 cat >>conftest.$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4502 #if ((' ' & 0x0FF) == 0x020)
4503 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4504 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4506 # define ISLOWER(c) \
4507 (('a' <= (c) && (c) <= 'i') \
4508 || ('j' <= (c) && (c) <= 'r') \
4509 || ('s' <= (c) && (c) <= 'z'))
4510 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4518 for (i = 0; i < 256; i++)
4519 if (XOR (islower (i), ISLOWER (i))
4520 || toupper (i) != TOUPPER (i))
4525 rm -f conftest$ac_exeext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4527 (eval $ac_link) 2>&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); }; }; then
4538 echo "$as_me: program exited with status $ac_status" >&5
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4543 ac_cv_header_stdc=no
4545 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4549 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4550 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4551 if test $ac_cv_header_stdc = yes; then
4553 cat >>confdefs.h <<\_ACEOF
4554 #define STDC_HEADERS 1
4559 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4569 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4570 inttypes.h stdint.h unistd.h
4572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4573 echo "$as_me:$LINENO: checking for $ac_header" >&5
4574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 cat >conftest.$ac_ext <<_ACEOF
4581 cat confdefs.h >>conftest.$ac_ext
4582 cat >>conftest.$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 $ac_includes_default
4586 #include <$ac_header>
4588 rm -f conftest.$ac_objext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4590 (eval $ac_compile) 2>conftest.er1
4592 grep -v '^ *+' conftest.er1 >conftest.err
4594 cat conftest.err >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; } &&
4603 { ac_try='test -s conftest.$ac_objext'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 eval "$as_ac_Header=yes"
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 eval "$as_ac_Header=no"
4616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4621 cat >>confdefs.h <<_ACEOF
4622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4631 for ac_header in dlfcn.h
4633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4635 echo "$as_me:$LINENO: checking for $ac_header" >&5
4636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4643 # Is the header compilable?
4644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653 #include <$ac_header>
4655 rm -f conftest.$ac_objext
4656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4657 (eval $ac_compile) 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try='test -s conftest.$ac_objext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 ac_header_compiler=yes
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.$ac_ext >&5
4681 ac_header_compiler=no
4683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4685 echo "${ECHO_T}$ac_header_compiler" >&6
4687 # Is the header present?
4688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4690 cat >conftest.$ac_ext <<_ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4696 #include <$ac_header>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev/null; then
4706 if test -s conftest.err; then
4707 ac_cpp_err=$ac_c_preproc_warn_flag
4708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4715 if test -z "$ac_cpp_err"; then
4716 ac_header_preproc=yes
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.$ac_ext >&5
4721 ac_header_preproc=no
4723 rm -f conftest.err conftest.$ac_ext
4724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4725 echo "${ECHO_T}$ac_header_preproc" >&6
4727 # So? What about this header?
4728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4734 ac_header_preproc=yes
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4751 ## -------------------------------------------------- ##
4752 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
4753 ## -------------------------------------------------- ##
4756 sed "s/^/$as_me: WARNING: /" >&2
4759 echo "$as_me:$LINENO: checking for $ac_header" >&5
4760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 eval "$as_ac_Header=\$ac_header_preproc"
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4771 cat >>confdefs.h <<_ACEOF
4772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4780 ac_cpp='$CXXCPP $CPPFLAGS'
4781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4784 if test -n "$ac_tool_prefix"; then
4785 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4789 echo "$as_me:$LINENO: checking for $ac_word" >&5
4790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4791 if test "${ac_cv_prog_CXX+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 if test -n "$CXX"; then
4795 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4804 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 if test -n "$CXX"; then
4815 echo "$as_me:$LINENO: result: $CXX" >&5
4816 echo "${ECHO_T}$CXX" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4822 test -n "$CXX" && break
4825 if test -z "$CXX"; then
4827 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4829 # Extract the first word of "$ac_prog", so it can be a program name with args.
4830 set dummy $ac_prog; ac_word=$2
4831 echo "$as_me:$LINENO: checking for $ac_word" >&5
4832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4833 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 if test -n "$ac_ct_CXX"; then
4837 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir=.
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_ac_ct_CXX="$ac_prog"
4847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4856 if test -n "$ac_ct_CXX"; then
4857 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4858 echo "${ECHO_T}$ac_ct_CXX" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4864 test -n "$ac_ct_CXX" && break
4866 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4872 # Provide some information about the compiler.
4873 echo "$as_me:$LINENO:" \
4874 "checking for C++ compiler version" >&5