2 # From configure.ac Revision: 1.144 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for simgrid 3.2-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.2-cvs'
428 PACKAGE_STRING='simgrid 3.2-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.2-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.2-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-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1062 Some influential environment variables:
1063 CC C compiler command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1066 nonstandard directory <lib dir>
1067 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068 headers in a nonstandard directory <include dir>
1070 CXX C++ compiler command
1071 CXXFLAGS C++ compiler flags
1072 CXXCPP C++ preprocessor
1073 F77 Fortran 77 compiler command
1074 FFLAGS Fortran 77 compiler flags
1076 Use these variables to override the choices made by `configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1079 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 ac_dir_suffix= ac_top_builddir=
1099 .) # No --srcdir option. We are building in place.
1101 if test -z "$ac_top_builddir"; then
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1114 # Do not use `cd foo && pwd` to compute absolute paths, because
1115 # the directories may not exist.
1117 .) ac_abs_builddir="$ac_dir";;
1120 .) ac_abs_builddir=`pwd`;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1122 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1125 case $ac_abs_builddir in
1126 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1128 case ${ac_top_builddir}. in
1129 .) ac_abs_top_builddir=$ac_abs_builddir;;
1130 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1131 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1134 case $ac_abs_builddir in
1135 .) ac_abs_srcdir=$ac_srcdir;;
1138 .) ac_abs_srcdir=$ac_abs_builddir;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1140 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1143 case $ac_abs_builddir in
1144 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1146 case $ac_top_srcdir in
1147 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1149 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1154 # Check for guested configure; otherwise get Cygnus style configure.
1155 if test -f $ac_srcdir/configure.gnu; then
1157 $SHELL $ac_srcdir/configure.gnu --help=recursive
1158 elif test -f $ac_srcdir/configure; then
1160 $SHELL $ac_srcdir/configure --help=recursive
1161 elif test -f $ac_srcdir/configure.ac ||
1162 test -f $ac_srcdir/configure.in; then
1164 $ac_configure --help
1166 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1172 test -n "$ac_init_help" && exit 0
1173 if $ac_init_version; then
1175 simgrid configure 3.2-cvs
1176 generated by GNU Autoconf 2.59
1178 Copyright (C) 2003 Free Software Foundation, Inc.
1179 This configure script is free software; the Free Software Foundation
1180 gives unlimited permission to copy, distribute and modify it.
1186 This file contains any messages produced by compilers while
1187 running configure, to aid debugging if configure makes a mistake.
1189 It was created by simgrid $as_me 3.2-cvs, which was
1190 generated by GNU Autoconf 2.59. Invocation command line was
1201 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1202 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1203 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1204 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1205 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1207 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1208 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1210 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1211 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1212 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1213 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1214 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1215 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1216 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1224 test -z "$as_dir" && as_dir=.
1225 echo "PATH: $as_dir"
1240 # Keep a trace of the command line.
1241 # Strip out --no-create and --no-recursion so they do not pile up.
1242 # Strip out --silent because we don't want to record it for future runs.
1243 # Also quote any args containing shell meta-characters.
1244 # Make two passes to allow for proper duplicate-argument suppression.
1249 ac_must_keep_next=false
1255 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1259 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1260 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1263 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1265 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1266 if test $ac_must_keep_next = true; then
1267 ac_must_keep_next=false # Got value, back to normal.
1270 *=* | --config-cache | -C | -disable-* | --disable-* \
1271 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1272 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1273 | -with-* | --with-* | -without-* | --without-* | --x)
1274 case "$ac_configure_args0 " in
1275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1278 -* ) ac_must_keep_next=true ;;
1281 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282 # Get rid of the leading space.
1288 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1289 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1291 # When interrupted or exit'd, cleanup temporary files, and complete
1292 # config.log. We remove comments because anyway the quotes in there
1293 # would cause problems or look ugly.
1294 # WARNING: Be sure not to use single quotes in there, as some shells,
1295 # such as our DU 5.0 friend, will then `close' the trap.
1296 trap 'exit_status=$?
1297 # Save into config.log some information that might help in debugging.
1302 ## ---------------- ##
1303 ## Cache variables. ##
1304 ## ---------------- ##
1307 # The following way of writing the cache mishandles newlines in values,
1310 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1313 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1318 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1325 ## ----------------- ##
1326 ## Output variables. ##
1327 ## ----------------- ##
1330 for ac_var in $ac_subst_vars
1332 eval ac_val=$`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1337 if test -n "$ac_subst_files"; then
1344 for ac_var in $ac_subst_files
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1352 if test -s confdefs.h; then
1359 sed "/^$/d" confdefs.h | sort
1362 test "$ac_signal" != 0 &&
1363 echo "$as_me: caught signal $ac_signal"
1364 echo "$as_me: exit $exit_status"
1366 rm -f core *.core &&
1367 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1370 for ac_signal in 1 2 13 15; do
1371 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1376 rm -rf conftest* confdefs.h
1377 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1380 # Predefined preprocessor variables.
1382 cat >>confdefs.h <<_ACEOF
1383 #define PACKAGE_NAME "$PACKAGE_NAME"
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_STRING "$PACKAGE_STRING"
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1407 # Let the site file select an alternate cache file if it wants to.
1408 # Prefer explicitly selected file to automatically selected ones.
1409 if test -z "$CONFIG_SITE"; then
1410 if test "x$prefix" != xNONE; then
1411 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1413 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1416 for ac_site_file in $CONFIG_SITE; do
1417 if test -r "$ac_site_file"; then
1418 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419 echo "$as_me: loading site script $ac_site_file" >&6;}
1420 sed 's/^/| /' "$ac_site_file" >&5
1425 if test -r "$cache_file"; then
1426 # Some versions of bash will fail to source /dev/null (special
1427 # files actually), so we avoid doing that.
1428 if test -f "$cache_file"; then
1429 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430 echo "$as_me: loading cache $cache_file" >&6;}
1432 [\\/]* | ?:[\\/]* ) . $cache_file;;
1433 *) . ./$cache_file;;
1437 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1438 echo "$as_me: creating cache $cache_file" >&6;}
1442 # Check that the precious variables saved in the cache have kept the same
1444 ac_cache_corrupted=false
1445 for ac_var in `(set) 2>&1 |
1446 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1447 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448 eval ac_new_set=\$ac_env_${ac_var}_set
1449 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450 eval ac_new_val="\$ac_env_${ac_var}_value"
1451 case $ac_old_set,$ac_new_set in
1453 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1454 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1455 ac_cache_corrupted=: ;;
1457 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1458 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1459 ac_cache_corrupted=: ;;
1462 if test "x$ac_old_val" != "x$ac_new_val"; then
1463 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1464 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1465 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1466 echo "$as_me: former value: $ac_old_val" >&2;}
1467 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1468 echo "$as_me: current value: $ac_new_val" >&2;}
1469 ac_cache_corrupted=:
1472 # Pass precious variables to config.status.
1473 if test "$ac_new_set" = set; then
1475 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1477 *) ac_arg=$ac_var=$ac_new_val ;;
1479 case " $ac_configure_args " in
1480 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1481 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1485 if $ac_cache_corrupted; then
1486 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1487 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1488 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1489 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1490 { (exit 1); exit 1; }; }
1494 ac_cpp='$CPP $CPPFLAGS'
1495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1526 ac_config_headers="$ac_config_headers src/gras_config.h"
1528 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1532 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1533 if test -f $ac_dir/install-sh; then
1535 ac_install_sh="$ac_aux_dir/install-sh -c"
1537 elif test -f $ac_dir/install.sh; then
1539 ac_install_sh="$ac_aux_dir/install.sh -c"
1541 elif test -f $ac_dir/shtool; then
1543 ac_install_sh="$ac_aux_dir/shtool install -c"
1547 if test -z "$ac_aux_dir"; then
1548 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1549 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1550 { (exit 1); exit 1; }; }
1552 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1553 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1554 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556 # Make sure we can run config.sub.
1557 $ac_config_sub sun4 >/dev/null 2>&1 ||
1558 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1559 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1560 { (exit 1); exit 1; }; }
1562 echo "$as_me:$LINENO: checking build system type" >&5
1563 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1564 if test "${ac_cv_build+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 ac_cv_build_alias=$build_alias
1568 test -z "$ac_cv_build_alias" &&
1569 ac_cv_build_alias=`$ac_config_guess`
1570 test -z "$ac_cv_build_alias" &&
1571 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1572 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1573 { (exit 1); exit 1; }; }
1574 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1581 echo "${ECHO_T}$ac_cv_build" >&6
1583 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 echo "$as_me:$LINENO: checking host system type" >&5
1589 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1590 if test "${ac_cv_host+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 ac_cv_host_alias=$host_alias
1594 test -z "$ac_cv_host_alias" &&
1595 ac_cv_host_alias=$ac_cv_build_alias
1596 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1603 echo "${ECHO_T}$ac_cv_host" >&6
1605 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking target system type" >&5
1611 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1612 if test "${ac_cv_target+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_target_alias=$target_alias
1616 test "x$ac_cv_target_alias" = "x" &&
1617 ac_cv_target_alias=$ac_cv_host_alias
1618 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1625 echo "${ECHO_T}$ac_cv_target" >&6
1626 target=$ac_cv_target
1627 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 # The aliases save the names the user supplied, while $host etc.
1633 # will get canonicalized.
1634 test -n "$target_alias" &&
1635 test "$program_prefix$program_suffix$program_transform_name" = \
1637 program_prefix=${target_alias}-
1639 ac_cpp='$CPP $CPPFLAGS'
1640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1645 am__api_version="1.9"
1646 # Find a good install program. We prefer a C program (faster),
1647 # so one script is as good as another. But avoid the broken or
1648 # incompatible versions:
1649 # SysV /etc/install, /usr/sbin/install
1650 # SunOS /usr/etc/install
1651 # IRIX /sbin/install
1653 # AmigaOS /C/install, which installs bootblocks on floppy discs
1654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1657 # OS/2's system install, which has a completely different semantic
1658 # ./install, which can be erroneously created by make from ./install.sh.
1659 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1660 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1661 if test -z "$INSTALL"; then
1662 if test "${ac_cv_path_install+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 # Account for people who put trailing slashes in PATH elements.
1672 ./ | .// | /cC/* | \
1673 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1674 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1677 # OSF1 and SCO ODT 3.0 have their own names for install.
1678 # Don't use installbsd from OSF since it installs stuff as root
1680 for ac_prog in ginstall scoinst install; do
1681 for ac_exec_ext in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1683 if test $ac_prog = install &&
1684 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1685 # AIX install. It has an incompatible calling convention.
1687 elif test $ac_prog = install &&
1688 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1689 # program-specific install script used by HP pwplus--don't use.
1692 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1704 if test "${ac_cv_path_install+set}" = set; then
1705 INSTALL=$ac_cv_path_install
1707 # As a last resort, use the slow shell script. We don't cache a
1708 # path for INSTALL within a source directory, because that will
1709 # break other packages using the cache if that directory is
1710 # removed, or if the path is relative.
1711 INSTALL=$ac_install_sh
1714 echo "$as_me:$LINENO: result: $INSTALL" >&5
1715 echo "${ECHO_T}$INSTALL" >&6
1717 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1718 # It thinks the first close brace ends the variable substitution.
1719 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1721 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1723 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1725 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1726 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1729 echo timestamp > conftest.file
1730 # Do `set' in a subshell so we don't clobber the current shell's
1731 # arguments. Must try -L first in case configure is actually a
1732 # symlink; some systems play weird games with the mod time of symlinks
1733 # (eg FreeBSD returns the mod time of the symlink's containing
1736 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1737 if test "$*" = "X"; then
1739 set X `ls -t $srcdir/configure conftest.file`
1742 if test "$*" != "X $srcdir/configure conftest.file" \
1743 && test "$*" != "X conftest.file $srcdir/configure"; then
1745 # If neither matched, then we have a broken ls. This can happen
1746 # if, for instance, CONFIG_SHELL is bash and it inherits a
1747 # broken ls alias from the environment. This has actually
1748 # happened. Such a system could not be considered "sane".
1749 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1750 alias in your environment" >&5
1751 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1752 alias in your environment" >&2;}
1753 { (exit 1); exit 1; }; }
1756 test "$2" = conftest.file
1762 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1763 Check your system clock" >&5
1764 echo "$as_me: error: newly created file is older than distributed files!
1765 Check your system clock" >&2;}
1766 { (exit 1); exit 1; }; }
1768 echo "$as_me:$LINENO: result: yes" >&5
1769 echo "${ECHO_T}yes" >&6
1770 test "$program_prefix" != NONE &&
1771 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1772 # Use a double $ so make ignores it.
1773 test "$program_suffix" != NONE &&
1774 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1775 # Double any \ or $. echo might interpret backslashes.
1776 # By default was `s,x,x', remove it if useless.
1777 cat <<\_ACEOF >conftest.sed
1778 s/[\\$]/&&/g;s/;s,x,x,$//
1780 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1783 # expand $ac_aux_dir to an absolute path
1784 am_aux_dir=`cd $ac_aux_dir && pwd`
1786 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1787 # Use eval to expand $SHELL
1788 if eval "$MISSING --run true"; then
1789 am_missing_run="$MISSING --run "
1792 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1793 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1796 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1797 # We used to keeping the `.' as first argument, in order to
1798 # allow $(mkdir_p) to be used without argument. As in
1799 # $(mkdir_p) $(somedir)
1800 # where $(somedir) is conditionally defined. However this is wrong
1802 # 1. if the package is installed by a user who cannot write `.'
1803 # make install will fail,
1804 # 2. the above comment should most certainly read
1805 # $(mkdir_p) $(DESTDIR)$(somedir)
1806 # so it does not work when $(somedir) is undefined and
1807 # $(DESTDIR) is not.
1808 # To support the latter case, we have to write
1809 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1810 # so the `.' trick is pointless.
1811 mkdir_p='mkdir -p --'
1813 # On NextStep and OpenStep, the `mkdir' command does not
1814 # recognize any option. It will interpret all options as
1815 # directories to create, and then abort because `.' already
1817 for d in ./-p ./--version;
1819 test -d $d && rmdir $d
1821 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1822 if test -f "$ac_aux_dir/mkinstalldirs"; then
1823 mkdir_p='$(mkinstalldirs)'
1825 mkdir_p='$(install_sh) -d'
1829 for ac_prog in gawk mawk nawk awk
1831 # Extract the first word of "$ac_prog", so it can be a program name with args.
1832 set dummy $ac_prog; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_AWK+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$AWK"; then
1839 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_AWK="$ac_prog"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 if test -n "$AWK"; then
1859 echo "$as_me:$LINENO: result: $AWK" >&5
1860 echo "${ECHO_T}$AWK" >&6
1862 echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1866 test -n "$AWK" && break
1869 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1870 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1871 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1872 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 cat >conftest.make <<\_ACEOF
1877 @echo 'ac_maketemp="$(MAKE)"'
1879 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1880 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1881 if test -n "$ac_maketemp"; then
1882 eval ac_cv_prog_make_${ac_make}_set=yes
1884 eval ac_cv_prog_make_${ac_make}_set=no
1888 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1889 echo "$as_me:$LINENO: result: yes" >&5
1890 echo "${ECHO_T}yes" >&6
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1895 SET_MAKE="MAKE=${MAKE-make}"
1898 rm -rf .tst 2>/dev/null
1899 mkdir .tst 2>/dev/null
1900 if test -d .tst; then
1905 rmdir .tst 2>/dev/null
1907 # test to see if srcdir already configured
1908 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1909 test -f $srcdir/config.status; then
1910 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1911 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1912 { (exit 1); exit 1; }; }
1915 # test whether we have cygpath
1916 if test -z "$CYGPATH_W"; then
1917 if (cygpath --version) >/dev/null 2>/dev/null; then
1918 CYGPATH_W='cygpath -w'
1925 # Define the identity of the package.
1930 cat >>confdefs.h <<_ACEOF
1931 #define PACKAGE "$PACKAGE"
1935 cat >>confdefs.h <<_ACEOF
1936 #define VERSION "$VERSION"
1939 # Some tools Automake needs.
1941 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1944 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1947 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1950 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1953 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1955 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1957 # Installed binaries are usually stripped using `strip' when the user
1958 # run `make install-strip'. However `strip' might not be the right
1959 # tool to use in cross-compilation environments, therefore Automake
1960 # will honor the `STRIP' environment variable to overrule this program.
1961 if test "$cross_compiling" != no; then
1962 if test -n "$ac_tool_prefix"; then
1963 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1964 set dummy ${ac_tool_prefix}strip; ac_word=$2
1965 echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 if test "${ac_cv_prog_STRIP+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 if test -n "$STRIP"; then
1971 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 STRIP=$ac_cv_prog_STRIP
1990 if test -n "$STRIP"; then
1991 echo "$as_me:$LINENO: result: $STRIP" >&5
1992 echo "${ECHO_T}$STRIP" >&6
1994 echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6
1999 if test -z "$ac_cv_prog_STRIP"; then
2001 # Extract the first word of "strip", so it can be a program name with args.
2002 set dummy strip; ac_word=$2
2003 echo "$as_me:$LINENO: checking for $ac_word" >&5
2004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2005 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 if test -n "$ac_ct_STRIP"; then
2009 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 test -z "$as_dir" && as_dir=.
2016 for ac_exec_ext in '' $ac_executable_extensions; do
2017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2018 ac_cv_prog_ac_ct_STRIP="strip"
2019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2028 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2029 if test -n "$ac_ct_STRIP"; then
2030 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2031 echo "${ECHO_T}$ac_ct_STRIP" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2039 STRIP="$ac_cv_prog_STRIP"
2043 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2045 # We need awk for the "check" target. The system "awk" is bad on
2047 # Always define AMTAR for backward compatibility.
2049 AMTAR=${AMTAR-"${am_missing_run}tar"}
2051 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2058 [\\/]* | ?:[\\/]* ) ac_macro_dir=acmacro ;;
2059 *) ac_macro_dir=$srcdir/acmacro ;;
2061 if test -d "$ac_macro_dir"; then :
2063 { { echo "$as_me:$LINENO: error: cannot find macro directory \`acmacro'" >&5
2064 echo "$as_me: error: cannot find macro directory \`acmacro'" >&2;}
2065 { (exit 1); exit 1; }; }
2068 ACLOCAL="$ACLOCAL -I acmacro"
2071 # Check whether --enable-shared or --disable-shared was given.
2072 if test "${enable_shared+set}" = set; then
2073 enableval="$enable_shared"
2074 p=${PACKAGE-default}
2076 yes) enable_shared=yes ;;
2077 no) enable_shared=no ;;
2080 # Look at the argument we got. We use all the common list separators.
2081 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2082 for pkg in $enableval; do
2084 if test "X$pkg" = "X$p"; then
2095 # Check whether --enable-static or --disable-static was given.
2096 if test "${enable_static+set}" = set; then
2097 enableval="$enable_static"
2098 p=${PACKAGE-default}
2100 yes) enable_static=yes ;;
2101 no) enable_static=no ;;
2104 # Look at the argument we got. We use all the common list separators.
2105 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2106 for pkg in $enableval; do
2108 if test "X$pkg" = "X$p"; then
2119 # Check whether --enable-fast-install or --disable-fast-install was given.
2120 if test "${enable_fast_install+set}" = set; then
2121 enableval="$enable_fast_install"
2122 p=${PACKAGE-default}
2124 yes) enable_fast_install=yes ;;
2125 no) enable_fast_install=no ;;
2127 enable_fast_install=no
2128 # Look at the argument we got. We use all the common list separators.
2129 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2130 for pkg in $enableval; do
2132 if test "X$pkg" = "X$p"; then
2133 enable_fast_install=yes
2140 enable_fast_install=yes
2143 DEPDIR="${am__leading_dot}deps"
2145 ac_config_commands="$ac_config_commands depfiles"
2148 am_make=${MAKE-make}
2149 cat > confinc << 'END'
2154 # If we don't find an include directive, just comment out the code.
2155 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2156 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2160 # First try GNU make style include.
2161 echo "include confinc" > confmf
2162 # We grep out `Entering directory' and `Leaving directory'
2163 # messages which can occur if `w' ends up in MAKEFLAGS.
2164 # In particular we don't look at `^make:' because GNU make might
2165 # be invoked under some other name (usually "gmake"), in which
2166 # case it prints its new name instead of `make'.
2167 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2172 # Now try BSD make style include.
2173 if test "$am__include" = "#"; then
2174 echo '.include "confinc"' > confmf
2175 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2176 am__include=.include
2183 echo "$as_me:$LINENO: result: $_am_result" >&5
2184 echo "${ECHO_T}$_am_result" >&6
2185 rm -f confinc confmf
2187 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2188 if test "${enable_dependency_tracking+set}" = set; then
2189 enableval="$enable_dependency_tracking"
2192 if test "x$enable_dependency_tracking" != xno; then
2193 am_depcomp="$ac_aux_dir/depcomp"
2198 if test "x$enable_dependency_tracking" != xno; then
2209 ac_cpp='$CPP $CPPFLAGS'
2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2213 if test -n "$ac_tool_prefix"; then
2214 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2215 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2231 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$CC"; then
2242 echo "$as_me:$LINENO: result: $CC" >&5
2243 echo "${ECHO_T}$CC" >&6
2245 echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6
2250 if test -z "$ac_cv_prog_CC"; then
2252 # Extract the first word of "gcc", so it can be a program name with args.
2253 set dummy gcc; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_ac_ct_CC="gcc"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2279 if test -n "$ac_ct_CC"; then
2280 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2281 echo "${ECHO_T}$ac_ct_CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2292 if test -z "$CC"; then
2293 if test -n "$ac_tool_prefix"; then
2294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}cc; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_CC="${ac_tool_prefix}cc"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 if test -n "$CC"; then
2322 echo "$as_me:$LINENO: result: $CC" >&5
2323 echo "${ECHO_T}$CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2330 if test -z "$ac_cv_prog_CC"; then
2332 # Extract the first word of "cc", so it can be a program name with args.
2333 set dummy cc; ac_word=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_ac_ct_CC="cc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2359 if test -n "$ac_ct_CC"; then
2360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2361 echo "${ECHO_T}$ac_ct_CC" >&6
2363 echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6
2373 if test -z "$CC"; then
2374 # Extract the first word of "cc", so it can be a program name with args.
2375 set dummy cc; ac_word=$2
2376 echo "$as_me:$LINENO: checking for $ac_word" >&5
2377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2378 if test "${ac_cv_prog_CC+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 if test -n "$CC"; then
2382 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2393 ac_prog_rejected=yes
2397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test $ac_prog_rejected = yes; then
2404 # We found a bogon in the path, so make sure we never use it.
2405 set dummy $ac_cv_prog_CC
2407 if test $# != 0; then
2408 # We chose a different compiler from the bogus one.
2409 # However, it has the same basename, so the bogon will be chosen
2410 # first if we set CC to just the basename; use the full file name.
2412 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2418 if test -n "$CC"; then
2419 echo "$as_me:$LINENO: result: $CC" >&5
2420 echo "${ECHO_T}$CC" >&6
2422 echo "$as_me:$LINENO: result: no" >&5
2423 echo "${ECHO_T}no" >&6
2427 if test -z "$CC"; then
2428 if test -n "$ac_tool_prefix"; then
2431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2433 echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2435 if test "${ac_cv_prog_CC+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 if test -n "$CC"; then
2439 ac_cv_prog_CC="$CC" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 echo "$as_me:$LINENO: result: $CC" >&5
2460 echo "${ECHO_T}$CC" >&6
2462 echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2466 test -n "$CC" && break
2469 if test -z "$CC"; then
2473 # Extract the first word of "$ac_prog", so it can be a program name with args.
2474 set dummy $ac_prog; ac_word=$2
2475 echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$ac_ct_CC"; then
2481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490 ac_cv_prog_ac_ct_CC="$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2500 if test -n "$ac_ct_CC"; then
2501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2502 echo "${ECHO_T}$ac_ct_CC" >&6
2504 echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6
2508 test -n "$ac_ct_CC" && break
2517 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: no acceptable C compiler found in \$PATH
2520 See \`config.log' for more details." >&2;}
2521 { (exit 1); exit 1; }; }
2523 # Provide some information about the compiler.
2524 echo "$as_me:$LINENO:" \
2525 "checking for C compiler version" >&5
2526 ac_compiler=`set X $ac_compile; echo $2`
2527 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2528 (eval $ac_compiler --version </dev/null >&5) 2>&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }
2532 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2533 (eval $ac_compiler -v </dev/null >&5) 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2538 (eval $ac_compiler -V </dev/null >&5) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2543 cat >conftest.$ac_ext <<_ACEOF
2546 cat confdefs.h >>conftest.$ac_ext
2547 cat >>conftest.$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2558 ac_clean_files_save=$ac_clean_files
2559 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2560 # Try to create an executable without -o first, disregard a.out.
2561 # It will help us diagnose broken compilers, and finding out an intuition
2563 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2564 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2565 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2566 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2567 (eval $ac_link_default) 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; then
2571 # Find the output, starting from the most likely. This scheme is
2572 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2575 # Be careful to initialize this variable, since it used to be cached.
2576 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2578 # b.out is created by i960 compilers.
2579 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2581 test -f "$ac_file" || continue
2583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2586 # This is the source file.
2589 # We found the default executable, but exeext='' is most
2593 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2594 # FIXME: I believe we export ac_cv_exeext for Libtool,
2595 # but it would be cool to find out if it's true. Does anybody
2596 # maintain Libtool? --akim.
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2607 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2608 See \`config.log' for more details." >&5
2609 echo "$as_me: error: C compiler cannot create executables
2610 See \`config.log' for more details." >&2;}
2611 { (exit 77); exit 77; }; }
2614 ac_exeext=$ac_cv_exeext
2615 echo "$as_me:$LINENO: result: $ac_file" >&5
2616 echo "${ECHO_T}$ac_file" >&6
2618 # Check the compiler produces executables we can run. If not, either
2619 # the compiler is broken, or we cross compile.
2620 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2621 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2622 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2623 # If not cross compiling, check that we can run a simple program.
2624 if test "$cross_compiling" != yes; then
2625 if { ac_try='./$ac_file'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2633 if test "$cross_compiling" = maybe; then
2636 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2637 If you meant to cross compile, use \`--host'.
2638 See \`config.log' for more details." >&5
2639 echo "$as_me: error: cannot run C compiled programs.
2640 If you meant to cross compile, use \`--host'.
2641 See \`config.log' for more details." >&2;}
2642 { (exit 1); exit 1; }; }
2646 echo "$as_me:$LINENO: result: yes" >&5
2647 echo "${ECHO_T}yes" >&6
2649 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2650 ac_clean_files=$ac_clean_files_save
2651 # Check the compiler produces executables we can run. If not, either
2652 # the compiler is broken, or we cross compile.
2653 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2654 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2655 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2656 echo "${ECHO_T}$cross_compiling" >&6
2658 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2659 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2661 (eval $ac_link) 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; then
2665 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2666 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2667 # work properly (i.e., refer to `conftest.exe'), while it won't with
2669 for ac_file in conftest.exe conftest conftest.*; do
2670 test -f "$ac_file" || continue
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2673 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2680 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2681 See \`config.log' for more details." >&5
2682 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2683 See \`config.log' for more details." >&2;}
2684 { (exit 1); exit 1; }; }
2687 rm -f conftest$ac_cv_exeext
2688 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2689 echo "${ECHO_T}$ac_cv_exeext" >&6
2691 rm -f conftest.$ac_ext
2692 EXEEXT=$ac_cv_exeext
2694 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2695 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2696 if test "${ac_cv_objext+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 rm -f conftest.o conftest.obj
2715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716 (eval $ac_compile) 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; then
2720 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2734 See \`config.log' for more details." >&2;}
2735 { (exit 1); exit 1; }; }
2738 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2740 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2741 echo "${ECHO_T}$ac_cv_objext" >&6
2742 OBJEXT=$ac_cv_objext
2744 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2745 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2746 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 cat >conftest.$ac_ext <<_ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2767 rm -f conftest.$ac_objext
2768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2769 (eval $ac_compile) 2>conftest.er1
2771 grep -v '^ *+' conftest.er1 >conftest.err
2773 cat conftest.err >&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); } &&
2776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; } &&
2782 { ac_try='test -s conftest.$ac_objext'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; }; then
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2796 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2799 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2800 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2801 GCC=`test $ac_compiler_gnu = yes && echo yes`
2802 ac_test_CFLAGS=${CFLAGS+set}
2803 ac_save_CFLAGS=$CFLAGS
2805 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2806 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2807 if test "${ac_cv_prog_cc_g+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 cat >conftest.$ac_ext <<_ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2825 rm -f conftest.$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1 >conftest.err
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2855 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2856 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2857 if test "$ac_test_CFLAGS" = set; then
2858 CFLAGS=$ac_save_CFLAGS
2859 elif test $ac_cv_prog_cc_g = yes; then
2860 if test "$GCC" = yes; then
2866 if test "$GCC" = yes; then
2872 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2873 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2874 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 ac_cv_prog_cc_stdc=no
2879 cat >conftest.$ac_ext <<_ACEOF
2882 cat confdefs.h >>conftest.$ac_ext
2883 cat >>conftest.$ac_ext <<_ACEOF
2884 /* end confdefs.h. */
2887 #include <sys/types.h>
2888 #include <sys/stat.h>
2889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2890 struct buf { int x; };
2891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2892 static char *e (p, i)
2898 static char *f (char * (*g) (char **, int), char **p, ...)
2903 s = g (p, va_arg (v,int));
2908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2909 function prototypes and stuff, but not '\xHH' hex character constants.
2910 These don't provoke an error unfortunately, instead are silently treated
2911 as 'x'. The following induces an error, until -std1 is added to get
2912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2913 array size at least. It's necessary to write '\x00'==0 to get something
2914 that's true only with -std1. */
2915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2917 int test (int i, double x);
2918 struct s1 {int (*f) (int a);};
2919 struct s2 {int (*f) (double a);};
2920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2926 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2931 # Don't try gcc -ansi; that turns off useful extensions and
2932 # breaks some systems' header files.
2933 # AIX -qlanglvl=ansi
2934 # Ultrix and OSF/1 -std1
2935 # HP-UX 10.20 and later -Ae
2936 # HP-UX older versions -Aa -D_HPUX_SOURCE
2937 # SVR4 -Xc -D__EXTENSIONS__
2938 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2940 CC="$ac_save_CC $ac_arg"
2941 rm -f conftest.$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>conftest.er1
2945 grep -v '^ *+' conftest.er1 >conftest.err
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; } &&
2956 { ac_try='test -s conftest.$ac_objext'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 ac_cv_prog_cc_stdc=$ac_arg
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2969 rm -f conftest.err conftest.$ac_objext
2971 rm -f conftest.$ac_ext conftest.$ac_objext
2976 case "x$ac_cv_prog_cc_stdc" in
2978 echo "$as_me:$LINENO: result: none needed" >&5
2979 echo "${ECHO_T}none needed" >&6 ;;
2981 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2982 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2983 CC="$CC $ac_cv_prog_cc_stdc" ;;
2986 # Some people use a C++ compiler to compile C. Since we use `exit',
2987 # in C++ we need to declare it. In case someone uses the same compiler
2988 # for both compiling C and C++ we need to have the C++ compiler decide
2989 # the declaration of exit, since it's the most demanding environment.
2990 cat >conftest.$ac_ext <<_ACEOF
2995 rm -f conftest.$ac_objext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 (eval $ac_compile) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1 >conftest.err
3001 cat conftest.err >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; } &&
3010 { ac_try='test -s conftest.$ac_objext'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; }; then
3016 for ac_declaration in \
3018 'extern "C" void std::exit (int) throw (); using std::exit;' \
3019 'extern "C" void std::exit (int); using std::exit;' \
3020 'extern "C" void exit (int) throw ();' \
3021 'extern "C" void exit (int);' \
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } &&
3049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; } &&
3055 { ac_try='test -s conftest.$ac_objext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3069 cat >conftest.$ac_ext <<_ACEOF
3072 cat confdefs.h >>conftest.$ac_ext
3073 cat >>conftest.$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3084 rm -f conftest.$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>conftest.er1
3088 grep -v '^ *+' conftest.er1 >conftest.err
3090 cat conftest.err >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } &&
3093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; } &&
3099 { ac_try='test -s conftest.$ac_objext'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; }; then
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3114 if test -n "$ac_declaration"; then
3115 echo '#ifdef __cplusplus' >>confdefs.h
3116 echo $ac_declaration >>confdefs.h
3117 echo '#endif' >>confdefs.h
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_cpp='$CPP $CPPFLAGS'
3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 depcc="$CC" am_compiler_list=
3134 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3135 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3136 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3140 # We make a subdir and do the tests there. Otherwise we can end up
3141 # making bogus files that we don't know about and never remove. For
3142 # instance it was reported that on HP-UX the gcc test will end up
3143 # making a dummy file named `D' -- because `-MD' means `put the output
3146 # Copy depcomp to subdir because otherwise we won't find it if we're
3147 # using a relative directory.
3148 cp "$am_depcomp" conftest.dir
3150 # We will build objects and dependencies in a subdirectory because
3151 # it helps to detect inapplicable dependency modes. For instance
3152 # both Tru64's cc and ICC support -MD to output dependencies as a
3153 # side effect of compilation, but ICC will put the dependencies in
3154 # the current directory while Tru64 will put them in the object
3158 am_cv_CC_dependencies_compiler_type=none
3159 if test "$am_compiler_list" = ""; then
3160 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3162 for depmode in $am_compiler_list; do
3163 # Setup a source with many dependencies, because some compilers
3164 # like to wrap large dependency lists on column 80 (with \), and
3165 # we should not choose a depcomp mode which is confused by this.
3167 # We need to recreate these files for each test, as the compiler may
3168 # overwrite some of them when testing with obscure command lines.
3169 # This happens at least with the AIX C compiler.
3171 for i in 1 2 3 4 5 6; do
3172 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3174 # Solaris 8's {/usr,}/bin/sh.
3175 touch sub/conftst$i.h
3177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3181 # after this tag, mechanisms are not by side-effect, so they'll
3182 # only be used when explicitly requested
3183 if test "x$enable_dependency_tracking" = xyes; then
3191 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3192 # mode. It turns out that the SunPro C++ compiler does not properly
3193 # handle `-M -o', and we need to detect this.
3194 if depmode=$depmode \
3195 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3196 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3197 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3198 >/dev/null 2>conftest.err &&
3199 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3200 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3201 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3202 # icc doesn't choke on unknown options, it will just issue warnings
3203 # or remarks (even with -Werror). So we grep stderr for any message
3204 # that says an option was ignored or not supported.
3205 # When given -MP, icc 7.0 and 7.1 complain thusly:
3206 # icc: Command line warning: ignoring option '-M'; no argument required
3207 # The diagnosis changed in icc 8.0:
3208 # icc: Command line remark: option '-MP' not supported
3209 if (grep 'ignoring option' conftest.err ||
3210 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3211 am_cv_CC_dependencies_compiler_type=$depmode
3220 am_cv_CC_dependencies_compiler_type=none
3224 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3225 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3226 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3231 test "x$enable_dependency_tracking" != xno \
3232 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3234 am__fastdepCC_FALSE='#'
3236 am__fastdepCC_TRUE='#'
3237 am__fastdepCC_FALSE=
3241 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3242 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3243 if test "${lt_cv_path_SED+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 # Loop through the user's path and test for sed and gsed.
3247 # Then use that list of sed's as ones to test for truncation.
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir=.
3253 for lt_ac_prog in sed gsed; do
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3256 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3263 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3264 # along with /bin/sed that truncates output.
3265 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3266 test ! -f $lt_ac_sed && continue
3267 cat /dev/null > conftest.in
3269 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3270 # Check for GNU sed and select it if it is found.
3271 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3272 lt_cv_path_SED=$lt_ac_sed
3276 cat conftest.in conftest.in >conftest.tmp
3277 mv conftest.tmp conftest.in
3278 cp conftest.in conftest.nl
3280 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3281 cmp -s conftest.out conftest.nl || break
3282 # 10000 chars as input seems more than enough
3283 test $lt_ac_count -gt 10 && break
3284 lt_ac_count=`expr $lt_ac_count + 1`
3285 if test $lt_ac_count -gt $lt_ac_max; then
3286 lt_ac_max=$lt_ac_count
3287 lt_cv_path_SED=$lt_ac_sed
3295 echo "$as_me:$LINENO: result: $SED" >&5
3296 echo "${ECHO_T}$SED" >&6
3298 echo "$as_me:$LINENO: checking for egrep" >&5
3299 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3300 if test "${ac_cv_prog_egrep+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3304 then ac_cv_prog_egrep='grep -E'
3305 else ac_cv_prog_egrep='egrep'
3308 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3309 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3310 EGREP=$ac_cv_prog_egrep
3314 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3315 if test "${with_gnu_ld+set}" = set; then
3316 withval="$with_gnu_ld"
3317 test "$withval" = no || with_gnu_ld=yes
3322 if test "$GCC" = yes; then
3323 # Check if gcc -print-prog-name=ld gives a path.
3324 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3325 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3328 # gcc leaves a trailing carriage return which upsets mingw
3329 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3331 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3334 # Accept absolute paths.
3336 re_direlt='/[^/][^/]*/\.\./'
3337 # Canonicalize the pathname of ld
3338 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3339 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3340 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3342 test -z "$LD" && LD="$ac_prog"
3345 # If it fails, then pretend we aren't using GCC.
3349 # If it is relative, then search for the first ld in PATH.
3353 elif test "$with_gnu_ld" = yes; then
3354 echo "$as_me:$LINENO: checking for GNU ld" >&5
3355 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3357 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3358 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3360 if test "${lt_cv_path_LD+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 if test -z "$LD"; then
3364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3365 for ac_dir in $PATH; do
3367 test -z "$ac_dir" && ac_dir=.
3368 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3369 lt_cv_path_LD="$ac_dir/$ac_prog"
3370 # Check to see if the program is GNU ld. I'd rather use --version,
3371 # but apparently some variants of GNU ld only accept -v.
3372 # Break only if it was the GNU/non-GNU ld that we prefer.
3373 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3374 *GNU* | *'with BFD'*)
3375 test "$with_gnu_ld" != no && break
3378 test "$with_gnu_ld" != yes && break
3385 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3390 if test -n "$LD"; then
3391 echo "$as_me:$LINENO: result: $LD" >&5
3392 echo "${ECHO_T}$LD" >&6
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3397 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3398 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3399 { (exit 1); exit 1; }; }
3400 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3401 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3402 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3406 case `$LD -v 2>&1 </dev/null` in
3407 *GNU* | *'with BFD'*)
3408 lt_cv_prog_gnu_ld=yes
3411 lt_cv_prog_gnu_ld=no
3415 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3416 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3417 with_gnu_ld=$lt_cv_prog_gnu_ld
3420 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3421 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3422 if test "${lt_cv_ld_reload_flag+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 lt_cv_ld_reload_flag='-r'
3427 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3428 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3429 reload_flag=$lt_cv_ld_reload_flag
3430 case $reload_flag in
3432 *) reload_flag=" $reload_flag" ;;
3434 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3437 if test "$GCC" = yes; then
3438 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3440 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3445 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3446 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3447 if test "${lt_cv_path_NM+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 if test -n "$NM"; then
3451 # Let the user override the test.
3454 lt_nm_to_check="${ac_tool_prefix}nm"
3455 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3456 lt_nm_to_check="$lt_nm_to_check nm"
3458 for lt_tmp_nm in $lt_nm_to_check; do
3459 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3460 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3462 test -z "$ac_dir" && ac_dir=.
3463 tmp_nm="$ac_dir/$lt_tmp_nm"
3464 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3465 # Check to see if the nm accepts a BSD-compat flag.
3466 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3467 # nm: unknown option "B" ignored
3468 # Tru64's nm complains that /dev/null is an invalid object file
3469 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3470 */dev/null* | *'Invalid file or object type'*)
3471 lt_cv_path_NM="$tmp_nm -B"
3475 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3477 lt_cv_path_NM="$tmp_nm -p"
3481 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3482 continue # so that we can try to find one that supports BSD flags
3491 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3494 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3495 echo "${ECHO_T}$lt_cv_path_NM" >&6
3498 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3499 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3501 if test "$LN_S" = "ln -s"; then
3502 echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6
3505 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3506 echo "${ECHO_T}no, using $LN_S" >&6
3509 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3510 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3511 if test "${lt_cv_deplibs_check_method+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 lt_cv_file_magic_cmd='$MAGIC_CMD'
3515 lt_cv_file_magic_test_file=
3516 lt_cv_deplibs_check_method='unknown'
3517 # Need to set the preceding variable on all platforms that support
3518 # interlibrary dependencies.
3519 # 'none' -- dependencies not supported.
3520 # `unknown' -- same as none, but documents that we really don't know.
3521 # 'pass_all' -- all dependencies passed with no checks.
3522 # 'test_compile' -- check by making test program.
3523 # 'file_magic [[regex]]' -- check by looking for files in library path
3524 # which responds to the $file_magic_cmd with a given extended regex.
3525 # If you have `file' or equivalent on your system and you're not sure
3526 # whether `pass_all' will *always* work, you probably want this one.
3530 lt_cv_deplibs_check_method=pass_all
3534 lt_cv_deplibs_check_method=pass_all
3538 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3539 lt_cv_file_magic_cmd='/usr/bin/file -L'
3540 lt_cv_file_magic_test_file=/shlib/libc.so
3544 # func_win32_libid is a shell function defined in ltmain.sh
3545 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3546 lt_cv_file_magic_cmd='func_win32_libid'
3550 # Base MSYS/MinGW do not provide the 'file' command needed by
3551 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3552 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3553 lt_cv_file_magic_cmd='$OBJDUMP -f'
3556 darwin* | rhapsody*)
3557 lt_cv_deplibs_check_method=pass_all
3560 freebsd* | kfreebsd*-gnu | dragonfly*)
3561 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3564 # Not sure whether the presence of OpenBSD here was a mistake.
3565 # Let's accept both of them until this is cleared up.
3566 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3567 lt_cv_file_magic_cmd=/usr/bin/file
3568 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3572 lt_cv_deplibs_check_method=pass_all
3577 lt_cv_deplibs_check_method=pass_all
3580 hpux10.20* | hpux11*)
3581 lt_cv_file_magic_cmd=/usr/bin/file
3584 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3585 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3588 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]'
3589 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3592 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3593 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3599 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3600 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3603 irix5* | irix6* | nonstopux*)
3605 *-32|*"-32 ") libmagic=32-bit;;
3606 *-n32|*"-n32 ") libmagic=N32;;
3607 *-64|*"-64 ") libmagic=64-bit;;
3608 *) libmagic=never-match;;
3610 lt_cv_deplibs_check_method=pass_all
3613 # This must be Linux ELF.
3615 lt_cv_deplibs_check_method=pass_all
3618 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3619 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3620 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3622 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3627 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3628 lt_cv_file_magic_cmd=/usr/bin/file
3629 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3633 lt_cv_deplibs_check_method=unknown
3637 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3638 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3644 osf3* | osf4* | osf5*)
3645 lt_cv_deplibs_check_method=pass_all
3649 lt_cv_deplibs_check_method=pass_all
3653 case $host_vendor in
3655 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]'
3656 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3659 lt_cv_deplibs_check_method=pass_all
3662 lt_cv_file_magic_cmd='/bin/file'
3663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3666 lt_cv_file_magic_cmd='/bin/file'
3667 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3668 lt_cv_file_magic_test_file=/lib/libc.so
3671 lt_cv_deplibs_check_method=pass_all
3674 lt_cv_deplibs_check_method=pass_all
3679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3680 lt_cv_deplibs_check_method=pass_all
3685 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3686 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3687 file_magic_cmd=$lt_cv_file_magic_cmd
3688 deplibs_check_method=$lt_cv_deplibs_check_method
3689 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3694 # If no C compiler was specified, use CC.
3697 # If no C compiler flags were specified, use CFLAGS.
3698 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3700 # Allow CC to be a program name with arguments.
3704 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3705 if test "${enable_libtool_lock+set}" = set; then
3706 enableval="$enable_libtool_lock"
3709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3711 # Some flags need to be propagated to the compiler or linker for good
3715 # Find out which ABI we are using.
3716 echo 'int i;' > conftest.$ac_ext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3718 (eval $ac_compile) 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }; then
3722 case `/usr/bin/file conftest.$ac_objext` in
3734 # Find out which ABI we are using.
3735 echo '#line 3735 "configure"' > conftest.$ac_ext
3736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 (eval $ac_compile) 2>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; then
3741 if test "$lt_cv_prog_gnu_ld" = yes; then
3742 case `/usr/bin/file conftest.$ac_objext` in
3744 LD="${LD-ld} -melf32bsmip"
3747 LD="${LD-ld} -melf32bmipn32"
3750 LD="${LD-ld} -melf64bmip"
3754 case `/usr/bin/file conftest.$ac_objext` in
3770 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3771 # Find out which ABI we are using.
3772 echo 'int i;' > conftest.$ac_ext
3773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3774 (eval $ac_compile) 2>&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; then
3778 case `/usr/bin/file conftest.o` in
3782 LD="${LD-ld} -m elf_i386"
3784 ppc64-*linux*|powerpc64-*linux*)
3785 LD="${LD-ld} -m elf32ppclinux"
3788 LD="${LD-ld} -m elf_s390"
3791 LD="${LD-ld} -m elf32_sparc"
3798 LD="${LD-ld} -m elf_x86_64"
3800 ppc*-*linux*|powerpc*-*linux*)
3801 LD="${LD-ld} -m elf64ppc"
3804 LD="${LD-ld} -m elf64_s390"
3807 LD="${LD-ld} -m elf64_sparc"
3817 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3818 SAVE_CFLAGS="$CFLAGS"
3819 CFLAGS="$CFLAGS -belf"
3820 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3821 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3822 if test "${lt_cv_cc_needs_belf+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 ac_cpp='$CPP $CPPFLAGS'
3827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3831 cat >conftest.$ac_ext <<_ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1 >conftest.err
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 lt_cv_cc_needs_belf=yes
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 lt_cv_cc_needs_belf=no
3874 rm -f conftest.err conftest.$ac_objext \
3875 conftest$ac_exeext conftest.$ac_ext
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3883 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3884 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3885 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3886 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3887 CFLAGS="$SAVE_CFLAGS"
3891 # Find out which ABI we are using.
3892 echo 'int i;' > conftest.$ac_ext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894 (eval $ac_compile) 2>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; then
3898 case `/usr/bin/file conftest.o` in
3900 case $lt_cv_prog_gnu_ld in
3901 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3902 *) LD="${LD-ld} -64" ;;
3910 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3911 if test -n "$ac_tool_prefix"; then
3912 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3913 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3914 echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 if test -n "$DLLTOOL"; then
3920 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir=.
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3929 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 DLLTOOL=$ac_cv_prog_DLLTOOL
3939 if test -n "$DLLTOOL"; then
3940 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3941 echo "${ECHO_T}$DLLTOOL" >&6
3943 echo "$as_me:$LINENO: result: no" >&5
3944 echo "${ECHO_T}no" >&6
3948 if test -z "$ac_cv_prog_DLLTOOL"; then
3949 ac_ct_DLLTOOL=$DLLTOOL
3950 # Extract the first word of "dlltool", so it can be a program name with args.
3951 set dummy dlltool; ac_word=$2
3952 echo "$as_me:$LINENO: checking for $ac_word" >&5
3953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3954 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 if test -n "$ac_ct_DLLTOOL"; then
3958 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3977 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3978 if test -n "$ac_ct_DLLTOOL"; then
3979 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3980 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3982 echo "$as_me:$LINENO: result: no" >&5
3983 echo "${ECHO_T}no" >&6
3986 DLLTOOL=$ac_ct_DLLTOOL
3988 DLLTOOL="$ac_cv_prog_DLLTOOL"
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}as; ac_word=$2
3994 echo "$as_me:$LINENO: checking for $ac_word" >&5
3995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3996 if test "${ac_cv_prog_AS+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 if test -n "$AS"; then
4000 ac_cv_prog_AS="$AS" # Let the user override the test.
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_AS="${ac_tool_prefix}as"
4010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$AS"; then
4020 echo "$as_me:$LINENO: result: $AS" >&5
4021 echo "${ECHO_T}$AS" >&6
4023 echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6
4028 if test -z "$ac_cv_prog_AS"; then
4030 # Extract the first word of "as", so it can be a program name with args.
4031 set dummy as; ac_word=$2
4032 echo "$as_me:$LINENO: checking for $ac_word" >&5
4033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4034 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 if test -n "$ac_ct_AS"; then
4038 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_ac_ct_AS="as"
4048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4057 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4058 if test -n "$ac_ct_AS"; then
4059 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4060 echo "${ECHO_T}$ac_ct_AS" >&6
4062 echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6
4071 if test -n "$ac_tool_prefix"; then
4072 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4073 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4074 echo "$as_me:$LINENO: checking for $ac_word" >&5
4075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4076 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 if test -n "$OBJDUMP"; then
4080 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir=.
4087 for ac_exec_ext in '' $ac_executable_extensions; do
4088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 OBJDUMP=$ac_cv_prog_OBJDUMP
4099 if test -n "$OBJDUMP"; then
4100 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4101 echo "${ECHO_T}$OBJDUMP" >&6
4103 echo "$as_me:$LINENO: result: no" >&5
4104 echo "${ECHO_T}no" >&6
4108 if test -z "$ac_cv_prog_OBJDUMP"; then
4109 ac_ct_OBJDUMP=$OBJDUMP
4110 # Extract the first word of "objdump", so it can be a program name with args.
4111 set dummy objdump; ac_word=$2
4112 echo "$as_me:$LINENO: checking for $ac_word" >&5
4113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4114 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 if test -n "$ac_ct_OBJDUMP"; then
4118 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4127 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4137 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4138 if test -n "$ac_ct_OBJDUMP"; then
4139 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4140 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4142 echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6
4146 OBJDUMP=$ac_ct_OBJDUMP
4148 OBJDUMP="$ac_cv_prog_OBJDUMP"
4155 need_locks="$enable_libtool_lock"
4159 ac_cpp='$CPP $CPPFLAGS'
4160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4164 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4165 # On Suns, sometimes $CPP names a directory.
4166 if test -n "$CPP" && test -d "$CPP"; then
4169 if test -z "$CPP"; then
4170 if test "${ac_cv_prog_CPP+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 # Double quotes because CPP needs to be expanded
4174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4177 for ac_c_preproc_warn_flag in '' yes
4179 # Use a header file that comes with gcc, so configuring glibc
4180 # with a fresh cross-compiler works.
4181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4182 # <limits.h> exists even on freestanding compilers.
4183 # On the NeXT, cc -E runs the code through the compiler's parser,
4184 # not just through cpp. "Syntax error" is here to catch this case.
4185 cat >conftest.$ac_ext <<_ACEOF
4188 cat confdefs.h >>conftest.$ac_ext
4189 cat >>conftest.$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4192 # include <limits.h>
4194 # include <assert.h>
4198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4201 grep -v '^ *+' conftest.er1 >conftest.err
4203 cat conftest.err >&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); } >/dev/null; then
4206 if test -s conftest.err; then
4207 ac_cpp_err=$ac_c_preproc_warn_flag
4208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4215 if test -z "$ac_cpp_err"; then
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.$ac_ext >&5
4221 # Broken: fails on valid input.
4224 rm -f conftest.err conftest.$ac_ext
4226 # OK, works on sane cases. Now check whether non-existent headers
4227 # can be detected and how.
4228 cat >conftest.$ac_ext <<_ACEOF
4231 cat confdefs.h >>conftest.$ac_ext
4232 cat >>conftest.$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4234 #include <ac_nonexistent.h>
4236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4239 grep -v '^ *+' conftest.er1 >conftest.err
4241 cat conftest.err >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } >/dev/null; then
4244 if test -s conftest.err; then
4245 ac_cpp_err=$ac_c_preproc_warn_flag
4246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4253 if test -z "$ac_cpp_err"; then
4254 # Broken: success on invalid input.
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260 # Passes both tests.
4264 rm -f conftest.err conftest.$ac_ext
4267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4268 rm -f conftest.err conftest.$ac_ext
4269 if $ac_preproc_ok; then
4281 echo "$as_me:$LINENO: result: $CPP" >&5
4282 echo "${ECHO_T}$CPP" >&6
4284 for ac_c_preproc_warn_flag in '' yes
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat >conftest.$ac_ext <<_ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4299 # include <limits.h>
4301 # include <assert.h>
4305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4308 grep -v '^ *+' conftest.er1 >conftest.err
4310 cat conftest.err >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); } >/dev/null; then
4313 if test -s conftest.err; then
4314 ac_cpp_err=$ac_c_preproc_warn_flag
4315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4322 if test -z "$ac_cpp_err"; then
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.$ac_ext >&5
4328 # Broken: fails on valid input.
4331 rm -f conftest.err conftest.$ac_ext
4333 # OK, works on sane cases. Now check whether non-existent headers
4334 # can be detected and how.
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4341 #include <ac_nonexistent.h>
4343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4346 grep -v '^ *+' conftest.er1 >conftest.err
4348 cat conftest.err >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); } >/dev/null; then
4351 if test -s conftest.err; then
4352 ac_cpp_err=$ac_c_preproc_warn_flag
4353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4360 if test -z "$ac_cpp_err"; then
4361 # Broken: success on invalid input.
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4367 # Passes both tests.
4371 rm -f conftest.err conftest.$ac_ext
4374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4375 rm -f conftest.err conftest.$ac_ext
4376 if $ac_preproc_ok; then
4379 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4380 See \`config.log' for more details." >&5
4381 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4382 See \`config.log' for more details." >&2;}
4383 { (exit 1); exit 1; }; }
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4394 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4395 if test "${ac_cv_header_stdc+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 cat >conftest.$ac_ext <<_ACEOF
4401 cat confdefs.h >>conftest.$ac_ext
4402 cat >>conftest.$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4417 rm -f conftest.$ac_objext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>conftest.er1
4421 grep -v '^ *+' conftest.er1 >conftest.err
4423 cat conftest.err >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } &&
4426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; } &&
4432 { ac_try='test -s conftest.$ac_objext'
4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; }; then
4438 ac_cv_header_stdc=yes
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.$ac_ext >&5
4443 ac_cv_header_stdc=no
4445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4447 if test $ac_cv_header_stdc = yes; then
4448 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4449 cat >conftest.$ac_ext <<_ACEOF
4452 cat confdefs.h >>conftest.$ac_ext
4453 cat >>conftest.$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4459 $EGREP "memchr" >/dev/null 2>&1; then
4462 ac_cv_header_stdc=no
4468 if test $ac_cv_header_stdc = yes; then
4469 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4480 $EGREP "free" >/dev/null 2>&1; then
4483 ac_cv_header_stdc=no
4489 if test $ac_cv_header_stdc = yes; then
4490 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4491 if test "$cross_compiling" = yes; then
4494 cat >conftest.$ac_ext <<_ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4501 #if ((' ' & 0x0FF) == 0x020)
4502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4505 # define ISLOWER(c) \
4506 (('a' <= (c) && (c) <= 'i') \
4507 || ('j' <= (c) && (c) <= 'r') \
4508 || ('s' <= (c) && (c) <= 'z'))
4509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4517 for (i = 0; i < 256; i++)
4518 if (XOR (islower (i), ISLOWER (i))
4519 || toupper (i) != TOUPPER (i))
4524 rm -f conftest$ac_exeext
4525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4526 (eval $ac_link) 2>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4537 echo "$as_me: program exited with status $ac_status" >&5
4538 echo "$as_me: failed program was:" >&5
4539 sed 's/^/| /' conftest.$ac_ext >&5
4542 ac_cv_header_stdc=no
4544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4548 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4549 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4550 if test $ac_cv_header_stdc = yes; then
4552 cat >>confdefs.h <<\_ACEOF
4553 #define STDC_HEADERS 1
4558 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4568 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4569 inttypes.h stdint.h unistd.h
4571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4572 echo "$as_me:$LINENO: checking for $ac_header" >&5
4573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 cat >conftest.$ac_ext <<_ACEOF
4580 cat confdefs.h >>conftest.$ac_ext
4581 cat >>conftest.$ac_ext <<_ACEOF
4582 /* end confdefs.h. */
4583 $ac_includes_default
4585 #include <$ac_header>
4587 rm -f conftest.$ac_objext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589 (eval $ac_compile) 2>conftest.er1
4591 grep -v '^ *+' conftest.er1 >conftest.err
4593 cat conftest.err >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; } &&
4602 { ac_try='test -s conftest.$ac_objext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4608 eval "$as_ac_Header=yes"
4610 echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.$ac_ext >&5
4613 eval "$as_ac_Header=no"
4615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4620 cat >>confdefs.h <<_ACEOF
4621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4630 for ac_header in dlfcn.h
4632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4634 echo "$as_me:$LINENO: checking for $ac_header" >&5
4635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4642 # Is the header compilable?
4643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4645 cat >conftest.$ac_ext <<_ACEOF
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4651 $ac_includes_default
4652 #include <$ac_header>
4654 rm -f conftest.$ac_objext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_header_compiler=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_header_compiler=no
4682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4684 echo "${ECHO_T}$ac_header_compiler" >&6
4686 # Is the header present?
4687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4689 cat >conftest.$ac_ext <<_ACEOF
4692 cat confdefs.h >>conftest.$ac_ext
4693 cat >>conftest.$ac_ext <<_ACEOF
4694 /* end confdefs.h. */
4695 #include <$ac_header>
4697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4700 grep -v '^ *+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } >/dev/null; then
4705 if test -s conftest.err; then
4706 ac_cpp_err=$ac_c_preproc_warn_flag
4707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4714 if test -z "$ac_cpp_err"; then
4715 ac_header_preproc=yes
4717 echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.$ac_ext >&5
4720 ac_header_preproc=no
4722 rm -f conftest.err conftest.$ac_ext
4723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4724 echo "${ECHO_T}$ac_header_preproc" >&6
4726 # So? What about this header?
4727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4733 ac_header_preproc=yes
4736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4750 ## -------------------------------------------------- ##
4751 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
4752 ## -------------------------------------------------- ##
4755 sed "s/^/$as_me: WARNING: /" >&2
4758 echo "$as_me:$LINENO: checking for $ac_header" >&5
4759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 eval "$as_ac_Header=\$ac_header_preproc"
4765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4770 cat >>confdefs.h <<_ACEOF
4771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4779 ac_cpp='$CXXCPP $CPPFLAGS'
4780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4783 if test -n "$ac_tool_prefix"; then
4784 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4788 echo "$as_me:$LINENO: checking for $ac_word" >&5
4789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4790 if test "${ac_cv_prog_CXX+set}" = set; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 if test -n "$CXX"; then
4794 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 if test -n "$CXX"; then
4814 echo "$as_me:$LINENO: result: $CXX" >&5
4815 echo "${ECHO_T}$CXX" >&6
4817 echo "$as_me:$LINENO: result: no" >&5
4818 echo "${ECHO_T}no" >&6
4821 test -n "$CXX" && break
4824 if test -z "$CXX"; then
4826 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy $ac_prog; ac_word=$2
4830 echo "$as_me:$LINENO: checking for $ac_word" >&5
4831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4832 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 if test -n "$ac_ct_CXX"; then
4836 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_ac_ct_CXX="$ac_prog"
4846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4855 if test -n "$ac_ct_CXX"; then
4856 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4857 echo "${ECHO_T}$ac_ct_CXX" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4863 test -n "$ac_ct_CXX" && break
4865 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4871 # Provide some information about the compiler.
4872 echo "$as_me:$LINENO:" \
4873 "checking for C++ compiler version" >&5
4874 ac_compiler=`set X $ac_compile; echo $2`