2 # From configure.ac Revision: 1.135 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for simgrid 3.1.1-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.1.1-cvs'
428 PACKAGE_STRING='simgrid 3.1.1-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 SIMGRID_DEP 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.1.1-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.1.1-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-maintainer-mode enable make rules and dependencies not useful
1042 (and sometimes confusing) to the casual installer
1043 --enable-compile-warnings
1044 use compiler warnings (default=no, unless in
1046 --disable-compile-optimizations
1047 use compiler optimizations (default=yes, unless if
1048 CFLAGS is explicitly set)
1051 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1052 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1054 --with-pic try to use only PIC/non-PIC objects [default=use
1057 include additional configurations [automatic]
1058 --with-pthread Use pthread instead of ucontext.
1059 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1061 Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1072 F77 Fortran 77 compiler command
1073 FFLAGS Fortran 77 compiler flags
1075 Use these variables to override the choices made by `configure' or to help
1076 it to find libraries and programs with nonstandard names/locations.
1078 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1082 if test "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1086 test -d $ac_dir || continue
1089 if test "$ac_dir" != .; then
1090 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094 ac_dir_suffix= ac_top_builddir=
1098 .) # No --srcdir option. We are building in place.
1100 if test -z "$ac_top_builddir"; then
1103 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 # Do not use `cd foo && pwd` to compute absolute paths, because
1114 # the directories may not exist.
1116 .) ac_abs_builddir="$ac_dir";;
1119 .) ac_abs_builddir=`pwd`;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1121 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1124 case $ac_abs_builddir in
1125 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1127 case ${ac_top_builddir}. in
1128 .) ac_abs_top_builddir=$ac_abs_builddir;;
1129 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1130 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1133 case $ac_abs_builddir in
1134 .) ac_abs_srcdir=$ac_srcdir;;
1137 .) ac_abs_srcdir=$ac_abs_builddir;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1139 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1145 case $ac_top_srcdir in
1146 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1148 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1153 # Check for guested configure; otherwise get Cygnus style configure.
1154 if test -f $ac_srcdir/configure.gnu; then
1156 $SHELL $ac_srcdir/configure.gnu --help=recursive
1157 elif test -f $ac_srcdir/configure; then
1159 $SHELL $ac_srcdir/configure --help=recursive
1160 elif test -f $ac_srcdir/configure.ac ||
1161 test -f $ac_srcdir/configure.in; then
1163 $ac_configure --help
1165 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1171 test -n "$ac_init_help" && exit 0
1172 if $ac_init_version; then
1174 simgrid configure 3.1.1-cvs
1175 generated by GNU Autoconf 2.59
1177 Copyright (C) 2003 Free Software Foundation, Inc.
1178 This configure script is free software; the Free Software Foundation
1179 gives unlimited permission to copy, distribute and modify it.
1185 This file contains any messages produced by compilers while
1186 running configure, to aid debugging if configure makes a mistake.
1188 It was created by simgrid $as_me 3.1.1-cvs, which was
1189 generated by GNU Autoconf 2.59. Invocation command line was
1200 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1201 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1202 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1203 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1204 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1206 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1207 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1209 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1210 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1211 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1212 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1213 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1214 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1215 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1223 test -z "$as_dir" && as_dir=.
1224 echo "PATH: $as_dir"
1239 # Keep a trace of the command line.
1240 # Strip out --no-create and --no-recursion so they do not pile up.
1241 # Strip out --silent because we don't want to record it for future runs.
1242 # Also quote any args containing shell meta-characters.
1243 # Make two passes to allow for proper duplicate-argument suppression.
1248 ac_must_keep_next=false
1254 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1262 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1264 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1265 if test $ac_must_keep_next = true; then
1266 ac_must_keep_next=false # Got value, back to normal.
1269 *=* | --config-cache | -C | -disable-* | --disable-* \
1270 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1271 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1272 | -with-* | --with-* | -without-* | --without-* | --x)
1273 case "$ac_configure_args0 " in
1274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1277 -* ) ac_must_keep_next=true ;;
1280 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1281 # Get rid of the leading space.
1287 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1288 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1290 # When interrupted or exit'd, cleanup temporary files, and complete
1291 # config.log. We remove comments because anyway the quotes in there
1292 # would cause problems or look ugly.
1293 # WARNING: Be sure not to use single quotes in there, as some shells,
1294 # such as our DU 5.0 friend, will then `close' the trap.
1295 trap 'exit_status=$?
1296 # Save into config.log some information that might help in debugging.
1301 ## ---------------- ##
1302 ## Cache variables. ##
1303 ## ---------------- ##
1306 # The following way of writing the cache mishandles newlines in values,
1309 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1312 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1317 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1324 ## ----------------- ##
1325 ## Output variables. ##
1326 ## ----------------- ##
1329 for ac_var in $ac_subst_vars
1331 eval ac_val=$`echo $ac_var`
1332 echo "$ac_var='"'"'$ac_val'"'"'"
1336 if test -n "$ac_subst_files"; then
1343 for ac_var in $ac_subst_files
1345 eval ac_val=$`echo $ac_var`
1346 echo "$ac_var='"'"'$ac_val'"'"'"
1351 if test -s confdefs.h; then
1358 sed "/^$/d" confdefs.h | sort
1361 test "$ac_signal" != 0 &&
1362 echo "$as_me: caught signal $ac_signal"
1363 echo "$as_me: exit $exit_status"
1365 rm -f core *.core &&
1366 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1369 for ac_signal in 1 2 13 15; do
1370 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1375 rm -rf conftest* confdefs.h
1376 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1379 # Predefined preprocessor variables.
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_NAME "$PACKAGE_NAME"
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_STRING "$PACKAGE_STRING"
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1406 # Let the site file select an alternate cache file if it wants to.
1407 # Prefer explicitly selected file to automatically selected ones.
1408 if test -z "$CONFIG_SITE"; then
1409 if test "x$prefix" != xNONE; then
1410 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1412 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1415 for ac_site_file in $CONFIG_SITE; do
1416 if test -r "$ac_site_file"; then
1417 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1418 echo "$as_me: loading site script $ac_site_file" >&6;}
1419 sed 's/^/| /' "$ac_site_file" >&5
1424 if test -r "$cache_file"; then
1425 # Some versions of bash will fail to source /dev/null (special
1426 # files actually), so we avoid doing that.
1427 if test -f "$cache_file"; then
1428 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1429 echo "$as_me: loading cache $cache_file" >&6;}
1431 [\\/]* | ?:[\\/]* ) . $cache_file;;
1432 *) . ./$cache_file;;
1436 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1437 echo "$as_me: creating cache $cache_file" >&6;}
1441 # Check that the precious variables saved in the cache have kept the same
1443 ac_cache_corrupted=false
1444 for ac_var in `(set) 2>&1 |
1445 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1446 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1447 eval ac_new_set=\$ac_env_${ac_var}_set
1448 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1449 eval ac_new_val="\$ac_env_${ac_var}_value"
1450 case $ac_old_set,$ac_new_set in
1452 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1453 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1454 ac_cache_corrupted=: ;;
1456 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1457 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1458 ac_cache_corrupted=: ;;
1461 if test "x$ac_old_val" != "x$ac_new_val"; then
1462 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1463 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1464 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1465 echo "$as_me: former value: $ac_old_val" >&2;}
1466 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1467 echo "$as_me: current value: $ac_new_val" >&2;}
1468 ac_cache_corrupted=:
1471 # Pass precious variables to config.status.
1472 if test "$ac_new_set" = set; then
1474 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1475 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1476 *) ac_arg=$ac_var=$ac_new_val ;;
1478 case " $ac_configure_args " in
1479 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1480 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1484 if $ac_cache_corrupted; then
1485 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1486 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1487 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1488 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1489 { (exit 1); exit 1; }; }
1493 ac_cpp='$CPP $CPPFLAGS'
1494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1525 ac_config_headers="$ac_config_headers src/gras_config.h"
1527 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1531 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1532 if test -f $ac_dir/install-sh; then
1534 ac_install_sh="$ac_aux_dir/install-sh -c"
1536 elif test -f $ac_dir/install.sh; then
1538 ac_install_sh="$ac_aux_dir/install.sh -c"
1540 elif test -f $ac_dir/shtool; then
1542 ac_install_sh="$ac_aux_dir/shtool install -c"
1546 if test -z "$ac_aux_dir"; then
1547 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1548 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1549 { (exit 1); exit 1; }; }
1551 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1552 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1553 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1555 # Make sure we can run config.sub.
1556 $ac_config_sub sun4 >/dev/null 2>&1 ||
1557 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1558 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1559 { (exit 1); exit 1; }; }
1561 echo "$as_me:$LINENO: checking build system type" >&5
1562 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1563 if test "${ac_cv_build+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 ac_cv_build_alias=$build_alias
1567 test -z "$ac_cv_build_alias" &&
1568 ac_cv_build_alias=`$ac_config_guess`
1569 test -z "$ac_cv_build_alias" &&
1570 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1571 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1572 { (exit 1); exit 1; }; }
1573 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1574 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1575 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1576 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1580 echo "${ECHO_T}$ac_cv_build" >&6
1582 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1583 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1584 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587 echo "$as_me:$LINENO: checking host system type" >&5
1588 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1589 if test "${ac_cv_host+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 ac_cv_host_alias=$host_alias
1593 test -z "$ac_cv_host_alias" &&
1594 ac_cv_host_alias=$ac_cv_build_alias
1595 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1596 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1597 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1598 { (exit 1); exit 1; }; }
1601 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1602 echo "${ECHO_T}$ac_cv_host" >&6
1604 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1605 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1606 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609 echo "$as_me:$LINENO: checking target system type" >&5
1610 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1611 if test "${ac_cv_target+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 ac_cv_target_alias=$target_alias
1615 test "x$ac_cv_target_alias" = "x" &&
1616 ac_cv_target_alias=$ac_cv_host_alias
1617 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1624 echo "${ECHO_T}$ac_cv_target" >&6
1625 target=$ac_cv_target
1626 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 # The aliases save the names the user supplied, while $host etc.
1632 # will get canonicalized.
1633 test -n "$target_alias" &&
1634 test "$program_prefix$program_suffix$program_transform_name" = \
1636 program_prefix=${target_alias}-
1638 ac_cpp='$CPP $CPPFLAGS'
1639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1644 am__api_version="1.9"
1645 # Find a good install program. We prefer a C program (faster),
1646 # so one script is as good as another. But avoid the broken or
1647 # incompatible versions:
1648 # SysV /etc/install, /usr/sbin/install
1649 # SunOS /usr/etc/install
1650 # IRIX /sbin/install
1652 # AmigaOS /C/install, which installs bootblocks on floppy discs
1653 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1654 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1655 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1656 # OS/2's system install, which has a completely different semantic
1657 # ./install, which can be erroneously created by make from ./install.sh.
1658 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1659 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1660 if test -z "$INSTALL"; then
1661 if test "${ac_cv_path_install+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir=.
1669 # Account for people who put trailing slashes in PATH elements.
1671 ./ | .// | /cC/* | \
1672 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1673 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1676 # OSF1 and SCO ODT 3.0 have their own names for install.
1677 # Don't use installbsd from OSF since it installs stuff as root
1679 for ac_prog in ginstall scoinst install; do
1680 for ac_exec_ext in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1682 if test $ac_prog = install &&
1683 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1684 # AIX install. It has an incompatible calling convention.
1686 elif test $ac_prog = install &&
1687 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1688 # program-specific install script used by HP pwplus--don't use.
1691 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1703 if test "${ac_cv_path_install+set}" = set; then
1704 INSTALL=$ac_cv_path_install
1706 # As a last resort, use the slow shell script. We don't cache a
1707 # path for INSTALL within a source directory, because that will
1708 # break other packages using the cache if that directory is
1709 # removed, or if the path is relative.
1710 INSTALL=$ac_install_sh
1713 echo "$as_me:$LINENO: result: $INSTALL" >&5
1714 echo "${ECHO_T}$INSTALL" >&6
1716 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1717 # It thinks the first close brace ends the variable substitution.
1718 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1720 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1722 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1724 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1725 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1728 echo timestamp > conftest.file
1729 # Do `set' in a subshell so we don't clobber the current shell's
1730 # arguments. Must try -L first in case configure is actually a
1731 # symlink; some systems play weird games with the mod time of symlinks
1732 # (eg FreeBSD returns the mod time of the symlink's containing
1735 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1736 if test "$*" = "X"; then
1738 set X `ls -t $srcdir/configure conftest.file`
1741 if test "$*" != "X $srcdir/configure conftest.file" \
1742 && test "$*" != "X conftest.file $srcdir/configure"; then
1744 # If neither matched, then we have a broken ls. This can happen
1745 # if, for instance, CONFIG_SHELL is bash and it inherits a
1746 # broken ls alias from the environment. This has actually
1747 # happened. Such a system could not be considered "sane".
1748 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1749 alias in your environment" >&5
1750 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1751 alias in your environment" >&2;}
1752 { (exit 1); exit 1; }; }
1755 test "$2" = conftest.file
1761 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1762 Check your system clock" >&5
1763 echo "$as_me: error: newly created file is older than distributed files!
1764 Check your system clock" >&2;}
1765 { (exit 1); exit 1; }; }
1767 echo "$as_me:$LINENO: result: yes" >&5
1768 echo "${ECHO_T}yes" >&6
1769 test "$program_prefix" != NONE &&
1770 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1771 # Use a double $ so make ignores it.
1772 test "$program_suffix" != NONE &&
1773 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1774 # Double any \ or $. echo might interpret backslashes.
1775 # By default was `s,x,x', remove it if useless.
1776 cat <<\_ACEOF >conftest.sed
1777 s/[\\$]/&&/g;s/;s,x,x,$//
1779 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1782 # expand $ac_aux_dir to an absolute path
1783 am_aux_dir=`cd $ac_aux_dir && pwd`
1785 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1786 # Use eval to expand $SHELL
1787 if eval "$MISSING --run true"; then
1788 am_missing_run="$MISSING --run "
1791 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1792 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1795 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1796 # We used to keeping the `.' as first argument, in order to
1797 # allow $(mkdir_p) to be used without argument. As in
1798 # $(mkdir_p) $(somedir)
1799 # where $(somedir) is conditionally defined. However this is wrong
1801 # 1. if the package is installed by a user who cannot write `.'
1802 # make install will fail,
1803 # 2. the above comment should most certainly read
1804 # $(mkdir_p) $(DESTDIR)$(somedir)
1805 # so it does not work when $(somedir) is undefined and
1806 # $(DESTDIR) is not.
1807 # To support the latter case, we have to write
1808 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1809 # so the `.' trick is pointless.
1810 mkdir_p='mkdir -p --'
1812 # On NextStep and OpenStep, the `mkdir' command does not
1813 # recognize any option. It will interpret all options as
1814 # directories to create, and then abort because `.' already
1816 for d in ./-p ./--version;
1818 test -d $d && rmdir $d
1820 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1821 if test -f "$ac_aux_dir/mkinstalldirs"; then
1822 mkdir_p='$(mkinstalldirs)'
1824 mkdir_p='$(install_sh) -d'
1828 for ac_prog in gawk mawk nawk awk
1830 # Extract the first word of "$ac_prog", so it can be a program name with args.
1831 set dummy $ac_prog; ac_word=$2
1832 echo "$as_me:$LINENO: checking for $ac_word" >&5
1833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1834 if test "${ac_cv_prog_AWK+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 if test -n "$AWK"; then
1838 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 test -z "$as_dir" && as_dir=.
1845 for ac_exec_ext in '' $ac_executable_extensions; do
1846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1847 ac_cv_prog_AWK="$ac_prog"
1848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 if test -n "$AWK"; then
1858 echo "$as_me:$LINENO: result: $AWK" >&5
1859 echo "${ECHO_T}$AWK" >&6
1861 echo "$as_me:$LINENO: result: no" >&5
1862 echo "${ECHO_T}no" >&6
1865 test -n "$AWK" && break
1868 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1869 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1870 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1871 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 cat >conftest.make <<\_ACEOF
1876 @echo 'ac_maketemp="$(MAKE)"'
1878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1879 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1880 if test -n "$ac_maketemp"; then
1881 eval ac_cv_prog_make_${ac_make}_set=yes
1883 eval ac_cv_prog_make_${ac_make}_set=no
1887 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1888 echo "$as_me:$LINENO: result: yes" >&5
1889 echo "${ECHO_T}yes" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1894 SET_MAKE="MAKE=${MAKE-make}"
1897 rm -rf .tst 2>/dev/null
1898 mkdir .tst 2>/dev/null
1899 if test -d .tst; then
1904 rmdir .tst 2>/dev/null
1906 # test to see if srcdir already configured
1907 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1908 test -f $srcdir/config.status; then
1909 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1910 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1911 { (exit 1); exit 1; }; }
1914 # test whether we have cygpath
1915 if test -z "$CYGPATH_W"; then
1916 if (cygpath --version) >/dev/null 2>/dev/null; then
1917 CYGPATH_W='cygpath -w'
1924 # Define the identity of the package.
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE "$PACKAGE"
1934 cat >>confdefs.h <<_ACEOF
1935 #define VERSION "$VERSION"
1938 # Some tools Automake needs.
1940 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1943 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1946 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1949 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1952 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1954 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1956 # Installed binaries are usually stripped using `strip' when the user
1957 # run `make install-strip'. However `strip' might not be the right
1958 # tool to use in cross-compilation environments, therefore Automake
1959 # will honor the `STRIP' environment variable to overrule this program.
1960 if test "$cross_compiling" != no; then
1961 if test -n "$ac_tool_prefix"; then
1962 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1963 set dummy ${ac_tool_prefix}strip; ac_word=$2
1964 echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966 if test "${ac_cv_prog_STRIP+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 if test -n "$STRIP"; then
1970 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 STRIP=$ac_cv_prog_STRIP
1989 if test -n "$STRIP"; then
1990 echo "$as_me:$LINENO: result: $STRIP" >&5
1991 echo "${ECHO_T}$STRIP" >&6
1993 echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6
1998 if test -z "$ac_cv_prog_STRIP"; then
2000 # Extract the first word of "strip", so it can be a program name with args.
2001 set dummy strip; ac_word=$2
2002 echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2004 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 if test -n "$ac_ct_STRIP"; then
2008 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017 ac_cv_prog_ac_ct_STRIP="strip"
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2027 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2028 if test -n "$ac_ct_STRIP"; then
2029 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2030 echo "${ECHO_T}$ac_ct_STRIP" >&6
2032 echo "$as_me:$LINENO: result: no" >&5
2033 echo "${ECHO_T}no" >&6
2038 STRIP="$ac_cv_prog_STRIP"
2042 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2044 # We need awk for the "check" target. The system "awk" is bad on
2046 # Always define AMTAR for backward compatibility.
2048 AMTAR=${AMTAR-"${am_missing_run}tar"}
2050 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2057 [\\/]* | ?:[\\/]* ) ac_macro_dir=acmacro ;;
2058 *) ac_macro_dir=$srcdir/acmacro ;;
2060 if test -d "$ac_macro_dir"; then :
2062 { { echo "$as_me:$LINENO: error: cannot find macro directory \`acmacro'" >&5
2063 echo "$as_me: error: cannot find macro directory \`acmacro'" >&2;}
2064 { (exit 1); exit 1; }; }
2067 ACLOCAL="$ACLOCAL -I acmacro"
2070 # Check whether --enable-shared or --disable-shared was given.
2071 if test "${enable_shared+set}" = set; then
2072 enableval="$enable_shared"
2073 p=${PACKAGE-default}
2075 yes) enable_shared=yes ;;
2076 no) enable_shared=no ;;
2079 # Look at the argument we got. We use all the common list separators.
2080 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2081 for pkg in $enableval; do
2083 if test "X$pkg" = "X$p"; then
2094 # Check whether --enable-static or --disable-static was given.
2095 if test "${enable_static+set}" = set; then
2096 enableval="$enable_static"
2097 p=${PACKAGE-default}
2099 yes) enable_static=yes ;;
2100 no) enable_static=no ;;
2103 # Look at the argument we got. We use all the common list separators.
2104 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2105 for pkg in $enableval; do
2107 if test "X$pkg" = "X$p"; then
2118 # Check whether --enable-fast-install or --disable-fast-install was given.
2119 if test "${enable_fast_install+set}" = set; then
2120 enableval="$enable_fast_install"
2121 p=${PACKAGE-default}
2123 yes) enable_fast_install=yes ;;
2124 no) enable_fast_install=no ;;
2126 enable_fast_install=no
2127 # Look at the argument we got. We use all the common list separators.
2128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2129 for pkg in $enableval; do
2131 if test "X$pkg" = "X$p"; then
2132 enable_fast_install=yes
2139 enable_fast_install=yes
2142 DEPDIR="${am__leading_dot}deps"
2144 ac_config_commands="$ac_config_commands depfiles"
2147 am_make=${MAKE-make}
2148 cat > confinc << 'END'
2153 # If we don't find an include directive, just comment out the code.
2154 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2155 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2159 # First try GNU make style include.
2160 echo "include confinc" > confmf
2161 # We grep out `Entering directory' and `Leaving directory'
2162 # messages which can occur if `w' ends up in MAKEFLAGS.
2163 # In particular we don't look at `^make:' because GNU make might
2164 # be invoked under some other name (usually "gmake"), in which
2165 # case it prints its new name instead of `make'.
2166 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2171 # Now try BSD make style include.
2172 if test "$am__include" = "#"; then
2173 echo '.include "confinc"' > confmf
2174 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2175 am__include=.include
2182 echo "$as_me:$LINENO: result: $_am_result" >&5
2183 echo "${ECHO_T}$_am_result" >&6
2184 rm -f confinc confmf
2186 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2187 if test "${enable_dependency_tracking+set}" = set; then
2188 enableval="$enable_dependency_tracking"
2191 if test "x$enable_dependency_tracking" != xno; then
2192 am_depcomp="$ac_aux_dir/depcomp"
2197 if test "x$enable_dependency_tracking" != xno; then
2208 ac_cpp='$CPP $CPPFLAGS'
2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2212 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC="$CC" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$CC"; then
2241 echo "$as_me:$LINENO: result: $CC" >&5
2242 echo "${ECHO_T}$CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2249 if test -z "$ac_cv_prog_CC"; then
2251 # Extract the first word of "gcc", so it can be a program name with args.
2252 set dummy gcc; ac_word=$2
2253 echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2255 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$ac_ct_CC"; then
2259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2268 ac_cv_prog_ac_ct_CC="gcc"
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2278 if test -n "$ac_ct_CC"; then
2279 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2280 echo "${ECHO_T}$ac_ct_CC" >&6
2282 echo "$as_me:$LINENO: result: no" >&5
2283 echo "${ECHO_T}no" >&6
2291 if test -z "$CC"; then
2292 if test -n "$ac_tool_prefix"; then
2293 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2294 set dummy ${ac_tool_prefix}cc; ac_word=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC="$CC" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_CC="${ac_tool_prefix}cc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 if test -n "$CC"; then
2321 echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2329 if test -z "$ac_cv_prog_CC"; then
2331 # Extract the first word of "cc", so it can be a program name with args.
2332 set dummy cc; ac_word=$2
2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_ac_ct_CC="cc"
2349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6
2362 echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6
2372 if test -z "$CC"; then
2373 # Extract the first word of "cc", so it can be a program name with args.
2374 set dummy cc; ac_word=$2
2375 echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2377 if test "${ac_cv_prog_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$CC"; then
2381 ac_cv_prog_CC="$CC" # Let the user override the test.
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2392 ac_prog_rejected=yes
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 if test $ac_prog_rejected = yes; then
2403 # We found a bogon in the path, so make sure we never use it.
2404 set dummy $ac_cv_prog_CC
2406 if test $# != 0; then
2407 # We chose a different compiler from the bogus one.
2408 # However, it has the same basename, so the bogon will be chosen
2409 # first if we set CC to just the basename; use the full file name.
2411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2417 if test -n "$CC"; then
2418 echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC="$CC" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test -n "$CC"; then
2458 echo "$as_me:$LINENO: result: $CC" >&5
2459 echo "${ECHO_T}$CC" >&6
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2465 test -n "$CC" && break
2468 if test -z "$CC"; then
2472 # Extract the first word of "$ac_prog", so it can be a program name with args.
2473 set dummy $ac_prog; ac_word=$2
2474 echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test -n "$ac_ct_CC"; then
2480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2489 ac_cv_prog_ac_ct_CC="$ac_prog"
2490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2499 if test -n "$ac_ct_CC"; then
2500 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2501 echo "${ECHO_T}$ac_ct_CC" >&6
2503 echo "$as_me:$LINENO: result: no" >&5
2504 echo "${ECHO_T}no" >&6
2507 test -n "$ac_ct_CC" && break
2516 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2517 See \`config.log' for more details." >&5
2518 echo "$as_me: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&2;}
2520 { (exit 1); exit 1; }; }
2522 # Provide some information about the compiler.
2523 echo "$as_me:$LINENO:" \
2524 "checking for C compiler version" >&5
2525 ac_compiler=`set X $ac_compile; echo $2`
2526 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2527 (eval $ac_compiler --version </dev/null >&5) 2>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2532 (eval $ac_compiler -v </dev/null >&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2537 (eval $ac_compiler -V </dev/null >&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2542 cat >conftest.$ac_ext <<_ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2557 ac_clean_files_save=$ac_clean_files
2558 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2559 # Try to create an executable without -o first, disregard a.out.
2560 # It will help us diagnose broken compilers, and finding out an intuition
2562 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2563 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2564 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2565 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2566 (eval $ac_link_default) 2>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; then
2570 # Find the output, starting from the most likely. This scheme is
2571 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2574 # Be careful to initialize this variable, since it used to be cached.
2575 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2577 # b.out is created by i960 compilers.
2578 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2580 test -f "$ac_file" || continue
2582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2585 # This is the source file.
2588 # We found the default executable, but exeext='' is most
2592 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2593 # FIXME: I believe we export ac_cv_exeext for Libtool,
2594 # but it would be cool to find out if it's true. Does anybody
2595 # maintain Libtool? --akim.
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2607 See \`config.log' for more details." >&5
2608 echo "$as_me: error: C compiler cannot create executables
2609 See \`config.log' for more details." >&2;}
2610 { (exit 77); exit 77; }; }
2613 ac_exeext=$ac_cv_exeext
2614 echo "$as_me:$LINENO: result: $ac_file" >&5
2615 echo "${ECHO_T}$ac_file" >&6
2617 # Check the compiler produces executables we can run. If not, either
2618 # the compiler is broken, or we cross compile.
2619 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2620 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2621 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2622 # If not cross compiling, check that we can run a simple program.
2623 if test "$cross_compiling" != yes; then
2624 if { ac_try='./$ac_file'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2632 if test "$cross_compiling" = maybe; then
2635 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2636 If you meant to cross compile, use \`--host'.
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot run C compiled programs.
2639 If you meant to cross compile, use \`--host'.
2640 See \`config.log' for more details." >&2;}
2641 { (exit 1); exit 1; }; }
2645 echo "$as_me:$LINENO: result: yes" >&5
2646 echo "${ECHO_T}yes" >&6
2648 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2649 ac_clean_files=$ac_clean_files_save
2650 # Check the compiler produces executables we can run. If not, either
2651 # the compiler is broken, or we cross compile.
2652 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2653 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2654 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2655 echo "${ECHO_T}$cross_compiling" >&6
2657 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2658 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2660 (eval $ac_link) 2>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; then
2664 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2665 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2666 # work properly (i.e., refer to `conftest.exe'), while it won't with
2668 for ac_file in conftest.exe conftest conftest.*; do
2669 test -f "$ac_file" || continue
2671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2672 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2679 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2680 See \`config.log' for more details." >&5
2681 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2682 See \`config.log' for more details." >&2;}
2683 { (exit 1); exit 1; }; }
2686 rm -f conftest$ac_cv_exeext
2687 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2688 echo "${ECHO_T}$ac_cv_exeext" >&6
2690 rm -f conftest.$ac_ext
2691 EXEEXT=$ac_cv_exeext
2693 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2694 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2695 if test "${ac_cv_objext+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 cat >conftest.$ac_ext <<_ACEOF
2701 cat confdefs.h >>conftest.$ac_ext
2702 cat >>conftest.$ac_ext <<_ACEOF
2703 /* end confdefs.h. */
2713 rm -f conftest.o conftest.obj
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; then
2719 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2731 See \`config.log' for more details." >&5
2732 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2733 See \`config.log' for more details." >&2;}
2734 { (exit 1); exit 1; }; }
2737 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2739 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2740 echo "${ECHO_T}$ac_cv_objext" >&6
2741 OBJEXT=$ac_cv_objext
2743 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2744 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2745 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 cat >conftest.$ac_ext <<_ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2770 grep -v '^ *+' conftest.er1 >conftest.err
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2795 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2798 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2799 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2800 GCC=`test $ac_compiler_gnu = yes && echo yes`
2801 ac_test_CFLAGS=${CFLAGS+set}
2802 ac_save_CFLAGS=$CFLAGS
2804 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2805 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2806 if test "${ac_cv_prog_cc_g+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 cat >conftest.$ac_ext <<_ACEOF
2812 cat confdefs.h >>conftest.$ac_ext
2813 cat >>conftest.$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2854 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2856 if test "$ac_test_CFLAGS" = set; then
2857 CFLAGS=$ac_save_CFLAGS
2858 elif test $ac_cv_prog_cc_g = yes; then
2859 if test "$GCC" = yes; then
2865 if test "$GCC" = yes; then
2871 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2872 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2873 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 ac_cv_prog_cc_stdc=no
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2886 #include <sys/types.h>
2887 #include <sys/stat.h>
2888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2889 struct buf { int x; };
2890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2891 static char *e (p, i)
2897 static char *f (char * (*g) (char **, int), char **p, ...)
2902 s = g (p, va_arg (v,int));
2907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2908 function prototypes and stuff, but not '\xHH' hex character constants.
2909 These don't provoke an error unfortunately, instead are silently treated
2910 as 'x'. The following induces an error, until -std1 is added to get
2911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2912 array size at least. It's necessary to write '\x00'==0 to get something
2913 that's true only with -std1. */
2914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2916 int test (int i, double x);
2917 struct s1 {int (*f) (int a);};
2918 struct s2 {int (*f) (double a);};
2919 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2925 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2930 # Don't try gcc -ansi; that turns off useful extensions and
2931 # breaks some systems' header files.
2932 # AIX -qlanglvl=ansi
2933 # Ultrix and OSF/1 -std1
2934 # HP-UX 10.20 and later -Ae
2935 # HP-UX older versions -Aa -D_HPUX_SOURCE
2936 # SVR4 -Xc -D__EXTENSIONS__
2937 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2939 CC="$ac_save_CC $ac_arg"
2940 rm -f conftest.$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>conftest.er1
2944 grep -v '^ *+' conftest.er1 >conftest.err
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } &&
2949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; } &&
2955 { ac_try='test -s conftest.$ac_objext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2961 ac_cv_prog_cc_stdc=$ac_arg
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2968 rm -f conftest.err conftest.$ac_objext
2970 rm -f conftest.$ac_ext conftest.$ac_objext
2975 case "x$ac_cv_prog_cc_stdc" in
2977 echo "$as_me:$LINENO: result: none needed" >&5
2978 echo "${ECHO_T}none needed" >&6 ;;
2980 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2982 CC="$CC $ac_cv_prog_cc_stdc" ;;
2985 # Some people use a C++ compiler to compile C. Since we use `exit',
2986 # in C++ we need to declare it. In case someone uses the same compiler
2987 # for both compiling C and C++ we need to have the C++ compiler decide
2988 # the declaration of exit, since it's the most demanding environment.
2989 cat >conftest.$ac_ext <<_ACEOF
2994 rm -f conftest.$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>conftest.er1
2998 grep -v '^ *+' conftest.er1 >conftest.err
3000 cat conftest.err >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; } &&
3009 { ac_try='test -s conftest.$ac_objext'
3010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }; }; then
3015 for ac_declaration in \
3017 'extern "C" void std::exit (int) throw (); using std::exit;' \
3018 'extern "C" void std::exit (int); using std::exit;' \
3019 'extern "C" void exit (int) throw ();' \
3020 'extern "C" void exit (int);' \
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>conftest.er1
3043 grep -v '^ *+' conftest.er1 >conftest.err
3045 cat conftest.err >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } &&
3048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; } &&
3054 { ac_try='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3083 rm -f conftest.$ac_objext
3084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085 (eval $ac_compile) 2>conftest.er1
3087 grep -v '^ *+' conftest.er1 >conftest.err
3089 cat conftest.err >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } &&
3092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; } &&
3098 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3113 if test -n "$ac_declaration"; then
3114 echo '#ifdef __cplusplus' >>confdefs.h
3115 echo $ac_declaration >>confdefs.h
3116 echo '#endif' >>confdefs.h
3120 echo "$as_me: failed program was:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 depcc="$CC" am_compiler_list=
3133 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3134 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3135 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3139 # We make a subdir and do the tests there. Otherwise we can end up
3140 # making bogus files that we don't know about and never remove. For
3141 # instance it was reported that on HP-UX the gcc test will end up
3142 # making a dummy file named `D' -- because `-MD' means `put the output
3145 # Copy depcomp to subdir because otherwise we won't find it if we're
3146 # using a relative directory.
3147 cp "$am_depcomp" conftest.dir
3149 # We will build objects and dependencies in a subdirectory because
3150 # it helps to detect inapplicable dependency modes. For instance
3151 # both Tru64's cc and ICC support -MD to output dependencies as a
3152 # side effect of compilation, but ICC will put the dependencies in
3153 # the current directory while Tru64 will put them in the object
3157 am_cv_CC_dependencies_compiler_type=none
3158 if test "$am_compiler_list" = ""; then
3159 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3161 for depmode in $am_compiler_list; do
3162 # Setup a source with many dependencies, because some compilers
3163 # like to wrap large dependency lists on column 80 (with \), and
3164 # we should not choose a depcomp mode which is confused by this.
3166 # We need to recreate these files for each test, as the compiler may
3167 # overwrite some of them when testing with obscure command lines.
3168 # This happens at least with the AIX C compiler.
3170 for i in 1 2 3 4 5 6; do
3171 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3172 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3173 # Solaris 8's {/usr,}/bin/sh.
3174 touch sub/conftst$i.h
3176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3180 # after this tag, mechanisms are not by side-effect, so they'll
3181 # only be used when explicitly requested
3182 if test "x$enable_dependency_tracking" = xyes; then
3190 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3191 # mode. It turns out that the SunPro C++ compiler does not properly
3192 # handle `-M -o', and we need to detect this.
3193 if depmode=$depmode \
3194 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3195 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3196 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3197 >/dev/null 2>conftest.err &&
3198 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3199 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3200 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3201 # icc doesn't choke on unknown options, it will just issue warnings
3202 # or remarks (even with -Werror). So we grep stderr for any message
3203 # that says an option was ignored or not supported.
3204 # When given -MP, icc 7.0 and 7.1 complain thusly:
3205 # icc: Command line warning: ignoring option '-M'; no argument required
3206 # The diagnosis changed in icc 8.0:
3207 # icc: Command line remark: option '-MP' not supported
3208 if (grep 'ignoring option' conftest.err ||
3209 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3210 am_cv_CC_dependencies_compiler_type=$depmode
3219 am_cv_CC_dependencies_compiler_type=none
3223 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3224 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3225 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3230 test "x$enable_dependency_tracking" != xno \
3231 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3233 am__fastdepCC_FALSE='#'
3235 am__fastdepCC_TRUE='#'
3236 am__fastdepCC_FALSE=
3240 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3241 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3242 if test "${lt_cv_path_SED+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 # Loop through the user's path and test for sed and gsed.
3246 # Then use that list of sed's as ones to test for truncation.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for lt_ac_prog in sed gsed; do
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3255 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3262 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3263 # along with /bin/sed that truncates output.
3264 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3265 test ! -f $lt_ac_sed && continue
3266 cat /dev/null > conftest.in
3268 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3269 # Check for GNU sed and select it if it is found.
3270 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3271 lt_cv_path_SED=$lt_ac_sed
3275 cat conftest.in conftest.in >conftest.tmp
3276 mv conftest.tmp conftest.in
3277 cp conftest.in conftest.nl
3279 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3280 cmp -s conftest.out conftest.nl || break
3281 # 10000 chars as input seems more than enough
3282 test $lt_ac_count -gt 10 && break
3283 lt_ac_count=`expr $lt_ac_count + 1`
3284 if test $lt_ac_count -gt $lt_ac_max; then
3285 lt_ac_max=$lt_ac_count
3286 lt_cv_path_SED=$lt_ac_sed
3294 echo "$as_me:$LINENO: result: $SED" >&5
3295 echo "${ECHO_T}$SED" >&6
3297 echo "$as_me:$LINENO: checking for egrep" >&5
3298 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3299 if test "${ac_cv_prog_egrep+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3303 then ac_cv_prog_egrep='grep -E'
3304 else ac_cv_prog_egrep='egrep'
3307 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3308 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3309 EGREP=$ac_cv_prog_egrep
3313 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3314 if test "${with_gnu_ld+set}" = set; then
3315 withval="$with_gnu_ld"
3316 test "$withval" = no || with_gnu_ld=yes
3321 if test "$GCC" = yes; then
3322 # Check if gcc -print-prog-name=ld gives a path.
3323 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3324 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3327 # gcc leaves a trailing carriage return which upsets mingw
3328 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3330 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3333 # Accept absolute paths.
3335 re_direlt='/[^/][^/]*/\.\./'
3336 # Canonicalize the pathname of ld
3337 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3338 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3339 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3341 test -z "$LD" && LD="$ac_prog"
3344 # If it fails, then pretend we aren't using GCC.
3348 # If it is relative, then search for the first ld in PATH.
3352 elif test "$with_gnu_ld" = yes; then
3353 echo "$as_me:$LINENO: checking for GNU ld" >&5
3354 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3356 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3357 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3359 if test "${lt_cv_path_LD+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -z "$LD"; then
3363 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3364 for ac_dir in $PATH; do
3366 test -z "$ac_dir" && ac_dir=.
3367 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3368 lt_cv_path_LD="$ac_dir/$ac_prog"
3369 # Check to see if the program is GNU ld. I'd rather use --version,
3370 # but apparently some variants of GNU ld only accept -v.
3371 # Break only if it was the GNU/non-GNU ld that we prefer.
3372 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3373 *GNU* | *'with BFD'*)
3374 test "$with_gnu_ld" != no && break
3377 test "$with_gnu_ld" != yes && break
3384 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3389 if test -n "$LD"; then
3390 echo "$as_me:$LINENO: result: $LD" >&5
3391 echo "${ECHO_T}$LD" >&6
3393 echo "$as_me:$LINENO: result: no" >&5
3394 echo "${ECHO_T}no" >&6
3396 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3397 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3398 { (exit 1); exit 1; }; }
3399 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3400 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3401 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3405 case `$LD -v 2>&1 </dev/null` in
3406 *GNU* | *'with BFD'*)
3407 lt_cv_prog_gnu_ld=yes
3410 lt_cv_prog_gnu_ld=no
3414 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3415 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3416 with_gnu_ld=$lt_cv_prog_gnu_ld
3419 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3420 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3421 if test "${lt_cv_ld_reload_flag+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 lt_cv_ld_reload_flag='-r'
3426 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3427 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3428 reload_flag=$lt_cv_ld_reload_flag
3429 case $reload_flag in
3431 *) reload_flag=" $reload_flag" ;;
3433 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3436 if test "$GCC" = yes; then
3437 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3439 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3444 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3445 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3446 if test "${lt_cv_path_NM+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if test -n "$NM"; then
3450 # Let the user override the test.
3453 lt_nm_to_check="${ac_tool_prefix}nm"
3454 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3455 lt_nm_to_check="$lt_nm_to_check nm"
3457 for lt_tmp_nm in $lt_nm_to_check; do
3458 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3459 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3461 test -z "$ac_dir" && ac_dir=.
3462 tmp_nm="$ac_dir/$lt_tmp_nm"
3463 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3464 # Check to see if the nm accepts a BSD-compat flag.
3465 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3466 # nm: unknown option "B" ignored
3467 # Tru64's nm complains that /dev/null is an invalid object file
3468 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3469 */dev/null* | *'Invalid file or object type'*)
3470 lt_cv_path_NM="$tmp_nm -B"
3474 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3476 lt_cv_path_NM="$tmp_nm -p"
3480 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3481 continue # so that we can try to find one that supports BSD flags
3490 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3493 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3494 echo "${ECHO_T}$lt_cv_path_NM" >&6
3497 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3500 if test "$LN_S" = "ln -s"; then
3501 echo "$as_me:$LINENO: result: yes" >&5
3502 echo "${ECHO_T}yes" >&6
3504 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3505 echo "${ECHO_T}no, using $LN_S" >&6
3508 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3509 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3510 if test "${lt_cv_deplibs_check_method+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 lt_cv_file_magic_cmd='$MAGIC_CMD'
3514 lt_cv_file_magic_test_file=
3515 lt_cv_deplibs_check_method='unknown'
3516 # Need to set the preceding variable on all platforms that support
3517 # interlibrary dependencies.
3518 # 'none' -- dependencies not supported.
3519 # `unknown' -- same as none, but documents that we really don't know.
3520 # 'pass_all' -- all dependencies passed with no checks.
3521 # 'test_compile' -- check by making test program.
3522 # 'file_magic [[regex]]' -- check by looking for files in library path
3523 # which responds to the $file_magic_cmd with a given extended regex.
3524 # If you have `file' or equivalent on your system and you're not sure
3525 # whether `pass_all' will *always* work, you probably want this one.
3529 lt_cv_deplibs_check_method=pass_all
3533 lt_cv_deplibs_check_method=pass_all
3537 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3538 lt_cv_file_magic_cmd='/usr/bin/file -L'
3539 lt_cv_file_magic_test_file=/shlib/libc.so
3543 # func_win32_libid is a shell function defined in ltmain.sh
3544 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3545 lt_cv_file_magic_cmd='func_win32_libid'
3549 # Base MSYS/MinGW do not provide the 'file' command needed by
3550 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3551 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3552 lt_cv_file_magic_cmd='$OBJDUMP -f'
3555 darwin* | rhapsody*)
3556 lt_cv_deplibs_check_method=pass_all
3559 freebsd* | kfreebsd*-gnu | dragonfly*)
3560 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3563 # Not sure whether the presence of OpenBSD here was a mistake.
3564 # Let's accept both of them until this is cleared up.
3565 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3566 lt_cv_file_magic_cmd=/usr/bin/file
3567 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3571 lt_cv_deplibs_check_method=pass_all
3576 lt_cv_deplibs_check_method=pass_all
3579 hpux10.20* | hpux11*)
3580 lt_cv_file_magic_cmd=/usr/bin/file
3583 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3584 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3587 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]'
3588 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3591 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3592 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3598 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3602 irix5* | irix6* | nonstopux*)
3604 *-32|*"-32 ") libmagic=32-bit;;
3605 *-n32|*"-n32 ") libmagic=N32;;
3606 *-64|*"-64 ") libmagic=64-bit;;
3607 *) libmagic=never-match;;
3609 lt_cv_deplibs_check_method=pass_all
3612 # This must be Linux ELF.
3614 lt_cv_deplibs_check_method=pass_all
3617 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3618 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3619 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3626 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3627 lt_cv_file_magic_cmd=/usr/bin/file
3628 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3632 lt_cv_deplibs_check_method=unknown
3636 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3637 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3639 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3643 osf3* | osf4* | osf5*)
3644 lt_cv_deplibs_check_method=pass_all
3648 lt_cv_deplibs_check_method=pass_all
3652 case $host_vendor in
3654 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]'
3655 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3658 lt_cv_deplibs_check_method=pass_all
3661 lt_cv_file_magic_cmd='/bin/file'
3662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3665 lt_cv_file_magic_cmd='/bin/file'
3666 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3667 lt_cv_file_magic_test_file=/lib/libc.so
3670 lt_cv_deplibs_check_method=pass_all
3673 lt_cv_deplibs_check_method=pass_all
3678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3679 lt_cv_deplibs_check_method=pass_all
3684 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3685 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3686 file_magic_cmd=$lt_cv_file_magic_cmd
3687 deplibs_check_method=$lt_cv_deplibs_check_method
3688 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3693 # If no C compiler was specified, use CC.
3696 # If no C compiler flags were specified, use CFLAGS.
3697 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3699 # Allow CC to be a program name with arguments.
3703 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3704 if test "${enable_libtool_lock+set}" = set; then
3705 enableval="$enable_libtool_lock"
3708 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3710 # Some flags need to be propagated to the compiler or linker for good
3714 # Find out which ABI we are using.
3715 echo 'int i;' > conftest.$ac_ext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717 (eval $ac_compile) 2>&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }; then
3721 case `/usr/bin/file conftest.$ac_objext` in
3733 # Find out which ABI we are using.
3734 echo '#line 3734 "configure"' > conftest.$ac_ext
3735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3736 (eval $ac_compile) 2>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; then
3740 if test "$lt_cv_prog_gnu_ld" = yes; then
3741 case `/usr/bin/file conftest.$ac_objext` in
3743 LD="${LD-ld} -melf32bsmip"
3746 LD="${LD-ld} -melf32bmipn32"
3749 LD="${LD-ld} -melf64bmip"
3753 case `/usr/bin/file conftest.$ac_objext` in
3769 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3770 # Find out which ABI we are using.
3771 echo 'int i;' > conftest.$ac_ext
3772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3773 (eval $ac_compile) 2>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; then
3777 case `/usr/bin/file conftest.o` in
3781 LD="${LD-ld} -m elf_i386"
3783 ppc64-*linux*|powerpc64-*linux*)
3784 LD="${LD-ld} -m elf32ppclinux"
3787 LD="${LD-ld} -m elf_s390"
3790 LD="${LD-ld} -m elf32_sparc"
3797 LD="${LD-ld} -m elf_x86_64"
3799 ppc*-*linux*|powerpc*-*linux*)
3800 LD="${LD-ld} -m elf64ppc"
3803 LD="${LD-ld} -m elf64_s390"
3806 LD="${LD-ld} -m elf64_sparc"
3816 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3817 SAVE_CFLAGS="$CFLAGS"
3818 CFLAGS="$CFLAGS -belf"
3819 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3820 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3821 if test "${lt_cv_cc_needs_belf+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 ac_cpp='$CPP $CPPFLAGS'
3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830 cat >conftest.$ac_ext <<_ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3845 rm -f conftest.$ac_objext conftest$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 lt_cv_cc_needs_belf=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 lt_cv_cc_needs_belf=no
3873 rm -f conftest.err conftest.$ac_objext \
3874 conftest$ac_exeext conftest.$ac_ext
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3883 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3884 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3885 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3886 CFLAGS="$SAVE_CFLAGS"
3890 # Find out which ABI we are using.
3891 echo 'int i;' > conftest.$ac_ext
3892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3893 (eval $ac_compile) 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; then
3897 case `/usr/bin/file conftest.o` in
3899 case $lt_cv_prog_gnu_ld in
3900 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3901 *) LD="${LD-ld} -64" ;;
3909 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3910 if test -n "$ac_tool_prefix"; then
3911 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3912 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3913 echo "$as_me:$LINENO: checking for $ac_word" >&5
3914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3915 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 if test -n "$DLLTOOL"; then
3919 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 DLLTOOL=$ac_cv_prog_DLLTOOL
3938 if test -n "$DLLTOOL"; then
3939 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3940 echo "${ECHO_T}$DLLTOOL" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3947 if test -z "$ac_cv_prog_DLLTOOL"; then
3948 ac_ct_DLLTOOL=$DLLTOOL
3949 # Extract the first word of "dlltool", so it can be a program name with args.
3950 set dummy dlltool; ac_word=$2
3951 echo "$as_me:$LINENO: checking for $ac_word" >&5
3952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3953 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 if test -n "$ac_ct_DLLTOOL"; then
3957 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3976 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3977 if test -n "$ac_ct_DLLTOOL"; then
3978 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3979 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3985 DLLTOOL=$ac_ct_DLLTOOL
3987 DLLTOOL="$ac_cv_prog_DLLTOOL"
3990 if test -n "$ac_tool_prefix"; then
3991 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3992 set dummy ${ac_tool_prefix}as; ac_word=$2
3993 echo "$as_me:$LINENO: checking for $ac_word" >&5
3994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3995 if test "${ac_cv_prog_AS+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 if test -n "$AS"; then
3999 ac_cv_prog_AS="$AS" # Let the user override the test.
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 ac_cv_prog_AS="${ac_tool_prefix}as"
4009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$AS"; then
4019 echo "$as_me:$LINENO: result: $AS" >&5
4020 echo "${ECHO_T}$AS" >&6
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4027 if test -z "$ac_cv_prog_AS"; then
4029 # Extract the first word of "as", so it can be a program name with args.
4030 set dummy as; ac_word=$2
4031 echo "$as_me:$LINENO: checking for $ac_word" >&5
4032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4033 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 if test -n "$ac_ct_AS"; then
4037 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_ac_ct_AS="as"
4047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4056 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4057 if test -n "$ac_ct_AS"; then
4058 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4059 echo "${ECHO_T}$ac_ct_AS" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4072 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4073 echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 if test -n "$OBJDUMP"; then
4079 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 OBJDUMP=$ac_cv_prog_OBJDUMP
4098 if test -n "$OBJDUMP"; then
4099 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4100 echo "${ECHO_T}$OBJDUMP" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4107 if test -z "$ac_cv_prog_OBJDUMP"; then
4108 ac_ct_OBJDUMP=$OBJDUMP
4109 # Extract the first word of "objdump", so it can be a program name with args.
4110 set dummy objdump; ac_word=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$ac_ct_OBJDUMP"; then
4117 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4136 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4137 if test -n "$ac_ct_OBJDUMP"; then
4138 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4139 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4145 OBJDUMP=$ac_ct_OBJDUMP
4147 OBJDUMP="$ac_cv_prog_OBJDUMP"
4154 need_locks="$enable_libtool_lock"
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4163 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4164 # On Suns, sometimes $CPP names a directory.
4165 if test -n "$CPP" && test -d "$CPP"; then
4168 if test -z "$CPP"; then
4169 if test "${ac_cv_prog_CPP+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 # Double quotes because CPP needs to be expanded
4173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4176 for ac_c_preproc_warn_flag in '' yes
4178 # Use a header file that comes with gcc, so configuring glibc
4179 # with a fresh cross-compiler works.
4180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4181 # <limits.h> exists even on freestanding compilers.
4182 # On the NeXT, cc -E runs the code through the compiler's parser,
4183 # not just through cpp. "Syntax error" is here to catch this case.
4184 cat >conftest.$ac_ext <<_ACEOF
4187 cat confdefs.h >>conftest.$ac_ext
4188 cat >>conftest.$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4191 # include <limits.h>
4193 # include <assert.h>
4197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4200 grep -v '^ *+' conftest.er1 >conftest.err
4202 cat conftest.err >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } >/dev/null; then
4205 if test -s conftest.err; then
4206 ac_cpp_err=$ac_c_preproc_warn_flag
4207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4214 if test -z "$ac_cpp_err"; then
4217 echo "$as_me: failed program was:" >&5
4218 sed 's/^/| /' conftest.$ac_ext >&5
4220 # Broken: fails on valid input.
4223 rm -f conftest.err conftest.$ac_ext
4225 # OK, works on sane cases. Now check whether non-existent headers
4226 # can be detected and how.
4227 cat >conftest.$ac_ext <<_ACEOF
4230 cat confdefs.h >>conftest.$ac_ext
4231 cat >>conftest.$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4233 #include <ac_nonexistent.h>
4235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4238 grep -v '^ *+' conftest.er1 >conftest.err
4240 cat conftest.err >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); } >/dev/null; then
4243 if test -s conftest.err; then
4244 ac_cpp_err=$ac_c_preproc_warn_flag
4245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4252 if test -z "$ac_cpp_err"; then
4253 # Broken: success on invalid input.
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 # Passes both tests.
4263 rm -f conftest.err conftest.$ac_ext
4266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4267 rm -f conftest.err conftest.$ac_ext
4268 if $ac_preproc_ok; then
4280 echo "$as_me:$LINENO: result: $CPP" >&5
4281 echo "${ECHO_T}$CPP" >&6
4283 for ac_c_preproc_warn_flag in '' yes
4285 # Use a header file that comes with gcc, so configuring glibc
4286 # with a fresh cross-compiler works.
4287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4288 # <limits.h> exists even on freestanding compilers.
4289 # On the NeXT, cc -E runs the code through the compiler's parser,
4290 # not just through cpp. "Syntax error" is here to catch this case.
4291 cat >conftest.$ac_ext <<_ACEOF
4294 cat confdefs.h >>conftest.$ac_ext
4295 cat >>conftest.$ac_ext <<_ACEOF
4296 /* end confdefs.h. */
4298 # include <limits.h>
4300 # include <assert.h>
4304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4307 grep -v '^ *+' conftest.er1 >conftest.err
4309 cat conftest.err >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } >/dev/null; then
4312 if test -s conftest.err; then
4313 ac_cpp_err=$ac_c_preproc_warn_flag
4314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4321 if test -z "$ac_cpp_err"; then
4324 echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4327 # Broken: fails on valid input.
4330 rm -f conftest.err conftest.$ac_ext
4332 # OK, works on sane cases. Now check whether non-existent headers
4333 # can be detected and how.
4334 cat >conftest.$ac_ext <<_ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 #include <ac_nonexistent.h>
4342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1 >conftest.err
4347 cat conftest.err >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } >/dev/null; then
4350 if test -s conftest.err; then
4351 ac_cpp_err=$ac_c_preproc_warn_flag
4352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4359 if test -z "$ac_cpp_err"; then
4360 # Broken: success on invalid input.
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4366 # Passes both tests.
4370 rm -f conftest.err conftest.$ac_ext
4373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4374 rm -f conftest.err conftest.$ac_ext
4375 if $ac_preproc_ok; then
4378 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4379 See \`config.log' for more details." >&5
4380 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4381 See \`config.log' for more details." >&2;}
4382 { (exit 1); exit 1; }; }
4386 ac_cpp='$CPP $CPPFLAGS'
4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4392 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4393 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4394 if test "${ac_cv_header_stdc+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 cat >conftest.$ac_ext <<_ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4416 rm -f conftest.$ac_objext
4417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4418 (eval $ac_compile) 2>conftest.er1
4420 grep -v '^ *+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } &&
4425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; } &&
4431 { ac_try='test -s conftest.$ac_objext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
4437 ac_cv_header_stdc=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_header_stdc=no
4444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4446 if test $ac_cv_header_stdc = yes; then
4447 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4448 cat >conftest.$ac_ext <<_ACEOF
4451 cat confdefs.h >>conftest.$ac_ext
4452 cat >>conftest.$ac_ext <<_ACEOF
4453 /* end confdefs.h. */
4457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4458 $EGREP "memchr" >/dev/null 2>&1; then
4461 ac_cv_header_stdc=no
4467 if test $ac_cv_header_stdc = yes; then
4468 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4469 cat >conftest.$ac_ext <<_ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4479 $EGREP "free" >/dev/null 2>&1; then
4482 ac_cv_header_stdc=no
4488 if test $ac_cv_header_stdc = yes; then
4489 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4490 if test "$cross_compiling" = yes; then
4493 cat >conftest.$ac_ext <<_ACEOF
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4500 #if ((' ' & 0x0FF) == 0x020)
4501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4504 # define ISLOWER(c) \
4505 (('a' <= (c) && (c) <= 'i') \
4506 || ('j' <= (c) && (c) <= 'r') \
4507 || ('s' <= (c) && (c) <= 'z'))
4508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4516 for (i = 0; i < 256; i++)
4517 if (XOR (islower (i), ISLOWER (i))
4518 || toupper (i) != TOUPPER (i))
4523 rm -f conftest$ac_exeext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4525 (eval $ac_link) 2>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4536 echo "$as_me: program exited with status $ac_status" >&5
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4541 ac_cv_header_stdc=no
4543 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4547 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4548 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4549 if test $ac_cv_header_stdc = yes; then
4551 cat >>confdefs.h <<\_ACEOF
4552 #define STDC_HEADERS 1
4557 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4567 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4568 inttypes.h stdint.h unistd.h
4570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4571 echo "$as_me:$LINENO: checking for $ac_header" >&5
4572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 $ac_includes_default
4584 #include <$ac_header>
4586 rm -f conftest.$ac_objext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4588 (eval $ac_compile) 2>conftest.er1
4590 grep -v '^ *+' conftest.er1 >conftest.err
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; } &&
4601 { ac_try='test -s conftest.$ac_objext'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; }; then
4607 eval "$as_ac_Header=yes"
4609 echo "$as_me: failed program was:" >&5
4610 sed 's/^/| /' conftest.$ac_ext >&5
4612 eval "$as_ac_Header=no"
4614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4619 cat >>confdefs.h <<_ACEOF
4620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4629 for ac_header in dlfcn.h
4631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4633 echo "$as_me:$LINENO: checking for $ac_header" >&5
4634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4641 # Is the header compilable?
4642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4650 $ac_includes_default
4651 #include <$ac_header>
4653 rm -f conftest.$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655 (eval $ac_compile) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1 >conftest.err
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try='test -s conftest.$ac_objext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_header_compiler=yes
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 ac_header_compiler=no
4681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4683 echo "${ECHO_T}$ac_header_compiler" >&6
4685 # Is the header present?
4686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4688 cat >conftest.$ac_ext <<_ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <$ac_header>
4696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4699 grep -v '^ *+' conftest.er1 >conftest.err
4701 cat conftest.err >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } >/dev/null; then
4704 if test -s conftest.err; then
4705 ac_cpp_err=$ac_c_preproc_warn_flag
4706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4713 if test -z "$ac_cpp_err"; then
4714 ac_header_preproc=yes
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 ac_header_preproc=no
4721 rm -f conftest.err conftest.$ac_ext
4722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4723 echo "${ECHO_T}$ac_header_preproc" >&6
4725 # So? What about this header?
4726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4732 ac_header_preproc=yes
4735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4749 ## -------------------------------------------------- ##
4750 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
4751 ## -------------------------------------------------- ##
4754 sed "s/^/$as_me: WARNING: /" >&2
4757 echo "$as_me:$LINENO: checking for $ac_header" >&5
4758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 eval "$as_ac_Header=\$ac_header_preproc"
4764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4769 cat >>confdefs.h <<_ACEOF
4770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4778 ac_cpp='$CXXCPP $CPPFLAGS'
4779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4782 if test -n "$ac_tool_prefix"; then
4783 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_CXX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$CXX"; then
4793 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 if test -n "$CXX"; then
4813 echo "$as_me:$LINENO: result: $CXX" >&5
4814 echo "${ECHO_T}$CXX" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$CXX" && break
4823 if test -z "$CXX"; then
4825 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4827 # Extract the first word of "$ac_prog", so it can be a program name with args.
4828 set dummy $ac_prog; ac_word=$2
4829 echo "$as_me:$LINENO: checking for $ac_word" >&5
4830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4831 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 if test -n "$ac_ct_CXX"; then
4835 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_prog_ac_ct_CXX="$ac_prog"
4845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4854 if test -n "$ac_ct_CXX"; then
4855 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5