2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for libffi 3.0.10rc0.
5 # Report bugs to <http://gcc.gnu.org/bugs.html>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://gcc.gnu.org/bugs.html about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status=$?; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='libffi'
703 PACKAGE_TARNAME='libffi'
704 PACKAGE_VERSION='3.0.10rc0'
705 PACKAGE_STRING='libffi 3.0.10rc0'
706 PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
709 # Factoring default headers for most tests.
710 ac_includes_default="\
712 #ifdef HAVE_SYS_TYPES_H
713 # include <sys/types.h>
715 #ifdef HAVE_SYS_STAT_H
716 # include <sys/stat.h>
722 # ifdef HAVE_STDLIB_H
727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732 #ifdef HAVE_STRINGS_H
733 # include <strings.h>
735 #ifdef HAVE_INTTYPES_H
736 # include <inttypes.h>
745 ac_subst_vars='am__EXEEXT_FALSE
779 POWERPC_FREEBSD_FALSE
816 MAINTAINER_MODE_FALSE
838 am__fastdepCCAS_FALSE
867 INSTALL_STRIP_PROGRAM
921 program_transform_name
934 enable_option_checking
935 enable_dependency_tracking
942 enable_maintainer_mode
948 ac_precious_vars='build_alias
957 # Initialize some variables set by options.
959 ac_init_version=false
960 ac_unrecognized_opts=
962 # The variables have the same names as the options, with
963 # dashes changed to underlines.
971 program_transform_name=s,x,x,
979 # Installation directory options.
980 # These are left unexpanded so users can "make install exec_prefix=/foo"
981 # and all the variables that are supposed to be based on exec_prefix
982 # by default will actually change.
983 # Use braces instead of parens because sh, perl, etc. also accept them.
984 # (The list follows the same order as the GNU Coding Standards.)
985 bindir='${exec_prefix}/bin'
986 sbindir='${exec_prefix}/sbin'
987 libexecdir='${exec_prefix}/libexec'
988 datarootdir='${prefix}/share'
989 datadir='${datarootdir}'
990 sysconfdir='${prefix}/etc'
991 sharedstatedir='${prefix}/com'
992 localstatedir='${prefix}/var'
993 includedir='${prefix}/include'
994 oldincludedir='/usr/include'
995 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
996 infodir='${datarootdir}/info'
1001 libdir='${exec_prefix}/lib'
1002 localedir='${datarootdir}/locale'
1003 mandir='${datarootdir}/man'
1009 # If the previous option needs an argument, assign it.
1010 if test -n "$ac_prev"; then
1011 eval $ac_prev=\$ac_option
1017 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 # Accept the important Cygnus configure options, so we can diagnose typos.
1023 case $ac_dashdash$ac_option in
1027 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1029 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1030 bindir=$ac_optarg ;;
1032 -build | --build | --buil | --bui | --bu)
1033 ac_prev=build_alias ;;
1034 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1035 build_alias=$ac_optarg ;;
1037 -cache-file | --cache-file | --cache-fil | --cache-fi \
1038 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1039 ac_prev=cache_file ;;
1040 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1041 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1042 cache_file=$ac_optarg ;;
1044 --config-cache | -C)
1045 cache_file=config.cache ;;
1047 -datadir | --datadir | --datadi | --datad)
1049 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1050 datadir=$ac_optarg ;;
1052 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1053 | --dataroo | --dataro | --datar)
1054 ac_prev=datarootdir ;;
1055 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1056 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1057 datarootdir=$ac_optarg ;;
1059 -disable-* | --disable-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error "invalid feature name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_$ac_useropt"
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval enable_$ac_useropt=no ;;
1075 -docdir | --docdir | --docdi | --doc | --do)
1077 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1078 docdir=$ac_optarg ;;
1080 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1082 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1083 dvidir=$ac_optarg ;;
1085 -enable-* | --enable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_$ac_useropt"
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval enable_$ac_useropt=\$ac_optarg ;;
1101 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1102 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1103 | --exec | --exe | --ex)
1104 ac_prev=exec_prefix ;;
1105 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1106 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1107 | --exec=* | --exe=* | --ex=*)
1108 exec_prefix=$ac_optarg ;;
1110 -gas | --gas | --ga | --g)
1111 # Obsolete; use --with-gas.
1114 -help | --help | --hel | --he | -h)
1115 ac_init_help=long ;;
1116 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1117 ac_init_help=recursive ;;
1118 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1119 ac_init_help=short ;;
1121 -host | --host | --hos | --ho)
1122 ac_prev=host_alias ;;
1123 -host=* | --host=* | --hos=* | --ho=*)
1124 host_alias=$ac_optarg ;;
1126 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1128 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1130 htmldir=$ac_optarg ;;
1132 -includedir | --includedir | --includedi | --included | --include \
1133 | --includ | --inclu | --incl | --inc)
1134 ac_prev=includedir ;;
1135 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1136 | --includ=* | --inclu=* | --incl=* | --inc=*)
1137 includedir=$ac_optarg ;;
1139 -infodir | --infodir | --infodi | --infod | --info | --inf)
1141 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1142 infodir=$ac_optarg ;;
1144 -libdir | --libdir | --libdi | --libd)
1146 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1147 libdir=$ac_optarg ;;
1149 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1150 | --libexe | --libex | --libe)
1151 ac_prev=libexecdir ;;
1152 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1153 | --libexe=* | --libex=* | --libe=*)
1154 libexecdir=$ac_optarg ;;
1156 -localedir | --localedir | --localedi | --localed | --locale)
1157 ac_prev=localedir ;;
1158 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1159 localedir=$ac_optarg ;;
1161 -localstatedir | --localstatedir | --localstatedi | --localstated \
1162 | --localstate | --localstat | --localsta | --localst | --locals)
1163 ac_prev=localstatedir ;;
1164 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1165 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1166 localstatedir=$ac_optarg ;;
1168 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1170 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1171 mandir=$ac_optarg ;;
1173 -nfp | --nfp | --nf)
1174 # Obsolete; use --without-fp.
1177 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1178 | --no-cr | --no-c | -n)
1181 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1182 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1185 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1186 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1187 | --oldin | --oldi | --old | --ol | --o)
1188 ac_prev=oldincludedir ;;
1189 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1190 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1191 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1192 oldincludedir=$ac_optarg ;;
1194 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1196 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1197 prefix=$ac_optarg ;;
1199 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1200 | --program-pre | --program-pr | --program-p)
1201 ac_prev=program_prefix ;;
1202 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1203 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1204 program_prefix=$ac_optarg ;;
1206 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1207 | --program-suf | --program-su | --program-s)
1208 ac_prev=program_suffix ;;
1209 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1210 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1211 program_suffix=$ac_optarg ;;
1213 -program-transform-name | --program-transform-name \
1214 | --program-transform-nam | --program-transform-na \
1215 | --program-transform-n | --program-transform- \
1216 | --program-transform | --program-transfor \
1217 | --program-transfo | --program-transf \
1218 | --program-trans | --program-tran \
1219 | --progr-tra | --program-tr | --program-t)
1220 ac_prev=program_transform_name ;;
1221 -program-transform-name=* | --program-transform-name=* \
1222 | --program-transform-nam=* | --program-transform-na=* \
1223 | --program-transform-n=* | --program-transform-=* \
1224 | --program-transform=* | --program-transfor=* \
1225 | --program-transfo=* | --program-transf=* \
1226 | --program-trans=* | --program-tran=* \
1227 | --progr-tra=* | --program-tr=* | --program-t=*)
1228 program_transform_name=$ac_optarg ;;
1230 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1232 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1233 pdfdir=$ac_optarg ;;
1235 -psdir | --psdir | --psdi | --psd | --ps)
1237 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1241 | -silent | --silent | --silen | --sile | --sil)
1244 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1246 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1248 sbindir=$ac_optarg ;;
1250 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1251 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1252 | --sharedst | --shareds | --shared | --share | --shar \
1254 ac_prev=sharedstatedir ;;
1255 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1256 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1257 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1259 sharedstatedir=$ac_optarg ;;
1261 -site | --site | --sit)
1263 -site=* | --site=* | --sit=*)
1266 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1268 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1269 srcdir=$ac_optarg ;;
1271 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1272 | --syscon | --sysco | --sysc | --sys | --sy)
1273 ac_prev=sysconfdir ;;
1274 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1275 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1276 sysconfdir=$ac_optarg ;;
1278 -target | --target | --targe | --targ | --tar | --ta | --t)
1279 ac_prev=target_alias ;;
1280 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1281 target_alias=$ac_optarg ;;
1283 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1286 -version | --version | --versio | --versi | --vers | -V)
1287 ac_init_version=: ;;
1290 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1293 as_fn_error "invalid package name: $ac_useropt"
1294 ac_useropt_orig=$ac_useropt
1295 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in
1300 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1301 ac_unrecognized_sep=', ';;
1303 eval with_$ac_useropt=\$ac_optarg ;;
1305 -without-* | --without-*)
1306 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309 as_fn_error "invalid package name: $ac_useropt"
1310 ac_useropt_orig=$ac_useropt
1311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1317 ac_unrecognized_sep=', ';;
1319 eval with_$ac_useropt=no ;;
1322 # Obsolete; use --with-x.
1325 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1326 | --x-incl | --x-inc | --x-in | --x-i)
1327 ac_prev=x_includes ;;
1328 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1329 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1330 x_includes=$ac_optarg ;;
1332 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1333 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1334 ac_prev=x_libraries ;;
1335 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1336 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1337 x_libraries=$ac_optarg ;;
1339 -*) as_fn_error "unrecognized option: \`$ac_option'
1340 Try \`$0 --help' for more information."
1344 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1345 # Reject names that are not valid shell variable names.
1346 case $ac_envvar in #(
1347 '' | [0-9]* | *[!_$as_cr_alnum]* )
1348 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1350 eval $ac_envvar=\$ac_optarg
1351 export $ac_envvar ;;
1354 # FIXME: should be removed in autoconf 3.0.
1355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1358 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1364 if test -n "$ac_prev"; then
1365 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1366 as_fn_error "missing argument to $ac_option"
1369 if test -n "$ac_unrecognized_opts"; then
1370 case $enable_option_checking in
1372 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377 # Check all directory arguments for consistency.
1378 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1379 datadir sysconfdir sharedstatedir localstatedir includedir \
1380 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1381 libdir localedir mandir
1383 eval ac_val=\$$ac_var
1384 # Remove trailing slashes.
1387 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1388 eval $ac_var=\$ac_val;;
1390 # Be sure to have absolute directory names.
1392 [\\/$]* | ?:[\\/]* ) continue;;
1393 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1395 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1398 # There might be people who depend on the old broken behavior: `$host'
1399 # used to hold the argument of --host etc.
1400 # FIXME: To remove some day.
1403 target=$target_alias
1405 # FIXME: To remove some day.
1406 if test "x$host_alias" != x; then
1407 if test "x$build_alias" = x; then
1408 cross_compiling=maybe
1409 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1410 If a cross compiler is detected then cross compile mode will be used." >&2
1411 elif test "x$build_alias" != "x$host_alias"; then
1417 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1419 test "$silent" = yes && exec 6>/dev/null
1422 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1423 ac_ls_di=`ls -di .` &&
1424 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1425 as_fn_error "working directory cannot be determined"
1426 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427 as_fn_error "pwd does not report name of working directory"
1430 # Find the source files, if location was not specified.
1431 if test -z "$srcdir"; then
1432 ac_srcdir_defaulted=yes
1433 # Try the directory containing this script, then the parent directory.
1434 ac_confdir=`$as_dirname -- "$as_myself" ||
1435 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1436 X"$as_myself" : 'X\(//\)[^/]' \| \
1437 X"$as_myself" : 'X\(//\)$' \| \
1438 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1439 $as_echo X"$as_myself" |
1440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1462 ac_srcdir_defaulted=no
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1465 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1466 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1468 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1470 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1472 # When building in place, set srcdir=.
1473 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 # Remove unnecessary trailing slashes from srcdir.
1477 # Double slashes in file names in object file debugging info
1478 # mess up M-x gdb in Emacs.
1480 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1482 for ac_var in $ac_precious_vars; do
1483 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1484 eval ac_env_${ac_var}_value=\$${ac_var}
1485 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1490 # Report the --help message.
1492 if test "$ac_init_help" = "long"; then
1493 # Omit some internal or obsolete options to make the list less imposing.
1494 # This message is too long to be a string in the A/UX 3.1 sh.
1496 \`configure' configures libffi 3.0.10rc0 to adapt to many kinds of systems.
1498 Usage: $0 [OPTION]... [VAR=VALUE]...
1500 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1501 VAR=VALUE. See below for descriptions of some of the useful variables.
1503 Defaults for the options are specified in brackets.
1506 -h, --help display this help and exit
1507 --help=short display options specific to this package
1508 --help=recursive display the short help of all the included packages
1509 -V, --version display version information and exit
1510 -q, --quiet, --silent do not print \`checking...' messages
1511 --cache-file=FILE cache test results in FILE [disabled]
1512 -C, --config-cache alias for \`--cache-file=config.cache'
1513 -n, --no-create do not create output files
1514 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1516 Installation directories:
1517 --prefix=PREFIX install architecture-independent files in PREFIX
1518 [$ac_default_prefix]
1519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 By default, \`make install' will install all the files in
1523 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1524 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1525 for instance \`--prefix=\$HOME'.
1527 For better control, use the options below.
1529 Fine tuning of the installation directories:
1530 --bindir=DIR user executables [EPREFIX/bin]
1531 --sbindir=DIR system admin executables [EPREFIX/sbin]
1532 --libexecdir=DIR program executables [EPREFIX/libexec]
1533 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1534 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1535 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1536 --libdir=DIR object code libraries [EPREFIX/lib]
1537 --includedir=DIR C header files [PREFIX/include]
1538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1541 --infodir=DIR info documentation [DATAROOTDIR/info]
1542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1543 --mandir=DIR man documentation [DATAROOTDIR/man]
1544 --docdir=DIR documentation root [DATAROOTDIR/doc/libffi]
1545 --htmldir=DIR html documentation [DOCDIR]
1546 --dvidir=DIR dvi documentation [DOCDIR]
1547 --pdfdir=DIR pdf documentation [DOCDIR]
1548 --psdir=DIR ps documentation [DOCDIR]
1554 --program-prefix=PREFIX prepend PREFIX to installed program names
1555 --program-suffix=SUFFIX append SUFFIX to installed program names
1556 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1559 --build=BUILD configure for building on BUILD [guessed]
1560 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1561 --target=TARGET configure for building compilers for TARGET [HOST]
1565 if test -n "$ac_init_help"; then
1566 case $ac_init_help in
1567 short | recursive ) echo "Configuration of libffi 3.0.10rc0:";;
1572 --disable-option-checking ignore unrecognized --enable/--with options
1573 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1574 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1575 --disable-dependency-tracking speeds up one-time build
1576 --enable-dependency-tracking do not reject slow dependency extractors
1577 --enable-shared[=PKGS] build shared libraries [default=yes]
1578 --enable-static[=PKGS] build static libraries [default=yes]
1579 --enable-fast-install[=PKGS]
1580 optimize for fast installation [default=yes]
1581 --disable-libtool-lock avoid locking (might break parallel builds)
1582 --enable-maintainer-mode enable make rules and dependencies not useful
1583 (and sometimes confusing) to the casual installer
1584 --enable-debug debugging mode
1585 --disable-structs omit code for struct support
1586 --disable-raw-api make the raw api unavailable
1587 --enable-purify-safety purify-safe mode
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-pic try to use only PIC/non-PIC objects [default=use
1594 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CCAS assembler compiler command (defaults to CC)
1605 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1608 Use these variables to override the choices made by `configure' or to help
1609 it to find libraries and programs with nonstandard names/locations.
1611 Report bugs to <http://gcc.gnu.org/bugs.html>.
1616 if test "$ac_init_help" = "recursive"; then
1617 # If there are subdirs, report their specific --help.
1618 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1619 test -d "$ac_dir" ||
1620 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1625 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1628 # A ".." for each directory in $ac_dir_suffix.
1629 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1630 case $ac_top_builddir_sub in
1631 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1635 ac_abs_top_builddir=$ac_pwd
1636 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1637 # for backward compatibility:
1638 ac_top_builddir=$ac_top_build_prefix
1641 .) # We are building in place.
1643 ac_top_srcdir=$ac_top_builddir_sub
1644 ac_abs_top_srcdir=$ac_pwd ;;
1645 [\\/]* | ?:[\\/]* ) # Absolute name.
1646 ac_srcdir=$srcdir$ac_dir_suffix;
1647 ac_top_srcdir=$srcdir
1648 ac_abs_top_srcdir=$srcdir ;;
1650 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1651 ac_top_srcdir=$ac_top_build_prefix$srcdir
1652 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1654 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1656 cd "$ac_dir" || { ac_status=$?; continue; }
1657 # Check for guested configure.
1658 if test -f "$ac_srcdir/configure.gnu"; then
1660 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1661 elif test -f "$ac_srcdir/configure"; then
1663 $SHELL "$ac_srcdir/configure" --help=recursive
1665 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1667 cd "$ac_pwd" || { ac_status=$?; break; }
1671 test -n "$ac_init_help" && exit $ac_status
1672 if $ac_init_version; then
1674 libffi configure 3.0.10rc0
1675 generated by GNU Autoconf 2.65
1677 Copyright (C) 2009 Free Software Foundation, Inc.
1678 This configure script is free software; the Free Software Foundation
1679 gives unlimited permission to copy, distribute and modify it.
1684 ## ------------------------ ##
1685 ## Autoconf initialization. ##
1686 ## ------------------------ ##
1688 # ac_fn_c_try_compile LINENO
1689 # --------------------------
1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext
1695 if { { ac_try="$ac_compile"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_compile") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest.$ac_objext; then :
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 as_fn_set_status $ac_retval
1724 } # ac_fn_c_try_compile
1726 # ac_fn_c_try_link LINENO
1727 # -----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext conftest$ac_exeext
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest$ac_exeext && {
1752 test "$cross_compiling" = yes ||
1753 $as_test_x conftest$ac_exeext
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764 # interfere with the next link command; also delete a directory that is
1765 # left behind by Apple's compiler. We do this before executing the actions.
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768 as_fn_set_status $ac_retval
1770 } # ac_fn_c_try_link
1772 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1773 # -------------------------------------------------------
1774 # Tests whether HEADER exists and can be compiled using the include files in
1775 # INCLUDES, setting the cache variable VAR accordingly.
1776 ac_fn_c_check_header_compile ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 } # ac_fn_c_check_header_compile
1803 # ac_fn_c_try_cpp LINENO
1804 # ----------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_cpp conftest.$ac_ext"
1811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err; then
1819 grep -v '^ *+' conftest.err >conftest.er1
1820 cat conftest.er1 >&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } >/dev/null && {
1825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 as_fn_set_status $ac_retval
1840 # ac_fn_c_try_run LINENO
1841 # ----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843 # that executables *can* be run.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_link"
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1858 { { case "(($ac_try" in
1859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_try") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; }; }; then :
1870 $as_echo "$as_me: program exited with status $ac_status" >&5
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 ac_retval=$ac_status
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 as_fn_set_status $ac_retval
1882 # ac_fn_c_check_func LINENO FUNC VAR
1883 # ----------------------------------
1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1885 ac_fn_c_check_func ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1905 # include <limits.h>
1907 # include <assert.h>
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1934 if ac_fn_c_try_link "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext \
1940 conftest$ac_exeext conftest.$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 } # ac_fn_c_check_func
1949 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1950 # -------------------------------------------------------
1951 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1952 # the include files in INCLUDES and setting the cache variable VAR
1954 ac_fn_c_check_header_mongrel ()
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1961 $as_echo_n "(cached) " >&6
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1967 # Is the header compilable?
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1969 $as_echo_n "checking $2 usability... " >&6; }
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1975 if ac_fn_c_try_compile "$LINENO"; then :
1976 ac_header_compiler=yes
1978 ac_header_compiler=no
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1982 $as_echo "$ac_header_compiler" >&6; }
1984 # Is the header present?
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1986 $as_echo_n "checking $2 presence... " >&6; }
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1991 if ac_fn_c_try_cpp "$LINENO"; then :
1992 ac_header_preproc=yes
1994 ac_header_preproc=no
1996 rm -f conftest.err conftest.$ac_ext
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1998 $as_echo "$ac_header_preproc" >&6; }
2000 # So? What about this header?
2001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2004 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2006 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2010 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2012 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2014 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2016 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2018 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2020 ## ------------------------------------------- ##
2021 ## Report this to http://gcc.gnu.org/bugs.html ##
2022 ## ------------------------------------------- ##
2024 ) | sed "s/^/$as_me: WARNING: /" >&2
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028 $as_echo_n "checking for $2... " >&6; }
2029 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2030 $as_echo_n "(cached) " >&6
2032 eval "$3=\$ac_header_compiler"
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2040 } # ac_fn_c_check_header_mongrel
2042 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2043 # --------------------------------------------
2044 # Tries to find the compile-time value of EXPR in a program that includes
2045 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2047 ac_fn_c_compute_int ()
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 if test "$cross_compiling" = yes; then
2051 # Depending upon the size, compute the lo and hi bounds.
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 static int test_array [1 - 2 * !(($2) >= 0)];
2065 if ac_fn_c_try_compile "$LINENO"; then :
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2081 if ac_fn_c_try_compile "$LINENO"; then :
2082 ac_hi=$ac_mid; break
2084 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2085 if test $ac_lo -le $ac_mid; then
2089 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2100 static int test_array [1 - 2 * !(($2) < 0)];
2107 if ac_fn_c_try_compile "$LINENO"; then :
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2116 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_lo=$ac_mid; break
2126 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2127 if test $ac_mid -le $ac_hi; then
2131 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 # Binary search between lo and hi bounds.
2142 while test "x$ac_lo" != "x$ac_hi"; do
2143 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2150 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2157 if ac_fn_c_try_compile "$LINENO"; then :
2160 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2172 static long int longval () { return $2; }
2173 static unsigned long int ulongval () { return $2; }
2180 FILE *f = fopen ("conftest.val", "w");
2185 long int i = longval ();
2188 fprintf (f, "%ld", i);
2192 unsigned long int i = ulongval ();
2195 fprintf (f, "%lu", i);
2197 /* Do not output a trailing newline, as this causes \r\n confusion
2198 on some platforms. */
2199 return ferror (f) || fclose (f) != 0;
2205 if ac_fn_c_try_run "$LINENO"; then :
2206 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2211 conftest.$ac_objext conftest.beam conftest.$ac_ext
2215 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2216 as_fn_set_status $ac_retval
2218 } # ac_fn_c_compute_int
2219 cat >config.log <<_ACEOF
2220 This file contains any messages produced by compilers while
2221 running configure, to aid debugging if configure makes a mistake.
2223 It was created by libffi $as_me 3.0.10rc0, which was
2224 generated by GNU Autoconf 2.65. Invocation command line was
2236 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2237 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2238 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2239 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2240 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2242 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2243 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2245 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2246 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2247 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2248 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2249 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2250 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2251 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 test -z "$as_dir" && as_dir=.
2260 $as_echo "PATH: $as_dir"
2276 # Keep a trace of the command line.
2277 # Strip out --no-create and --no-recursion so they do not pile up.
2278 # Strip out --silent because we don't want to record it for future runs.
2279 # Also quote any args containing shell meta-characters.
2280 # Make two passes to allow for proper duplicate-argument suppression.
2284 ac_must_keep_next=false
2290 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2292 | -silent | --silent | --silen | --sile | --sil)
2295 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2298 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2300 as_fn_append ac_configure_args1 " '$ac_arg'"
2301 if test $ac_must_keep_next = true; then
2302 ac_must_keep_next=false # Got value, back to normal.
2305 *=* | --config-cache | -C | -disable-* | --disable-* \
2306 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2307 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2308 | -with-* | --with-* | -without-* | --without-* | --x)
2309 case "$ac_configure_args0 " in
2310 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2313 -* ) ac_must_keep_next=true ;;
2316 as_fn_append ac_configure_args " '$ac_arg'"
2321 { ac_configure_args0=; unset ac_configure_args0;}
2322 { ac_configure_args1=; unset ac_configure_args1;}
2324 # When interrupted or exit'd, cleanup temporary files, and complete
2325 # config.log. We remove comments because anyway the quotes in there
2326 # would cause problems or look ugly.
2327 # WARNING: Use '\'' to represent an apostrophe within the trap.
2328 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2329 trap 'exit_status=$?
2330 # Save into config.log some information that might help in debugging.
2335 ## ---------------- ##
2336 ## Cache variables. ##
2337 ## ---------------- ##
2340 # The following way of writing the cache mishandles newlines in values,
2342 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2343 eval ac_val=\$$ac_var
2347 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2348 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2351 _ | IFS | as_nl) ;; #(
2352 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2353 *) { eval $ac_var=; unset $ac_var;} ;;
2358 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2359 *${as_nl}ac_space=\ *)
2361 "s/'\''/'\''\\\\'\'''\''/g;
2362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2373 ## ----------------- ##
2374 ## Output variables. ##
2375 ## ----------------- ##
2378 for ac_var in $ac_subst_vars
2380 eval ac_val=\$$ac_var
2382 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2384 $as_echo "$ac_var='\''$ac_val'\''"
2388 if test -n "$ac_subst_files"; then
2390 ## ------------------- ##
2391 ## File substitutions. ##
2392 ## ------------------- ##
2395 for ac_var in $ac_subst_files
2397 eval ac_val=\$$ac_var
2399 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2401 $as_echo "$ac_var='\''$ac_val'\''"
2406 if test -s confdefs.h; then
2416 test "$ac_signal" != 0 &&
2417 $as_echo "$as_me: caught signal $ac_signal"
2418 $as_echo "$as_me: exit $exit_status"
2420 rm -f core *.core core.conftest.* &&
2421 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2424 for ac_signal in 1 2 13 15; do
2425 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2429 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2430 rm -f -r conftest* confdefs.h
2432 $as_echo "/* confdefs.h */" > confdefs.h
2434 # Predefined preprocessor variables.
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_NAME "$PACKAGE_NAME"
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_STRING "$PACKAGE_STRING"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_URL "$PACKAGE_URL"
2461 # Let the site file select an alternate cache file if it wants to.
2462 # Prefer an explicitly selected file to automatically selected ones.
2465 if test -n "$CONFIG_SITE"; then
2466 ac_site_file1=$CONFIG_SITE
2467 elif test "x$prefix" != xNONE; then
2468 ac_site_file1=$prefix/share/config.site
2469 ac_site_file2=$prefix/etc/config.site
2471 ac_site_file1=$ac_default_prefix/share/config.site
2472 ac_site_file2=$ac_default_prefix/etc/config.site
2474 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2476 test "x$ac_site_file" = xNONE && continue
2477 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2479 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2480 sed 's/^/| /' "$ac_site_file" >&5
2485 if test -r "$cache_file"; then
2486 # Some versions of bash will fail to source /dev/null (special files
2487 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2488 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2490 $as_echo "$as_me: loading cache $cache_file" >&6;}
2492 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2493 *) . "./$cache_file";;
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2498 $as_echo "$as_me: creating cache $cache_file" >&6;}
2502 # Check that the precious variables saved in the cache have kept the same
2504 ac_cache_corrupted=false
2505 for ac_var in $ac_precious_vars; do
2506 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2507 eval ac_new_set=\$ac_env_${ac_var}_set
2508 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2509 eval ac_new_val=\$ac_env_${ac_var}_value
2510 case $ac_old_set,$ac_new_set in
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2513 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2514 ac_cache_corrupted=: ;;
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2517 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2518 ac_cache_corrupted=: ;;
2521 if test "x$ac_old_val" != "x$ac_new_val"; then
2522 # differences in whitespace do not lead to failure.
2523 ac_old_val_w=`echo x $ac_old_val`
2524 ac_new_val_w=`echo x $ac_new_val`
2525 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2527 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2528 ac_cache_corrupted=:
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2531 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2532 eval $ac_var=\$ac_old_val
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2535 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2537 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2540 # Pass precious variables to config.status.
2541 if test "$ac_new_set" = set; then
2543 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2544 *) ac_arg=$ac_var=$ac_new_val ;;
2546 case " $ac_configure_args " in
2547 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2548 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2552 if $ac_cache_corrupted; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2556 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2557 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2559 ## -------------------- ##
2560 ## Main body of script. ##
2561 ## -------------------- ##
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2570 ac_config_headers="$ac_config_headers fficonfig.h"
2574 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2575 for ac_t in install-sh install.sh shtool; do
2576 if test -f "$ac_dir/$ac_t"; then
2578 ac_install_sh="$ac_aux_dir/$ac_t -c"
2583 if test -z "$ac_aux_dir"; then
2584 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2587 # These three variables are undocumented and unsupported,
2588 # and are intended to be withdrawn in a future Autoconf release.
2589 # They can cause serious problems if a builder's source tree is in a directory
2590 # whose full name contains unusual characters.
2591 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2592 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2593 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2596 # Make sure we can run config.sub.
2597 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2598 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2601 $as_echo_n "checking build system type... " >&6; }
2602 if test "${ac_cv_build+set}" = set; then :
2603 $as_echo_n "(cached) " >&6
2605 ac_build_alias=$build_alias
2606 test "x$ac_build_alias" = x &&
2607 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2608 test "x$ac_build_alias" = x &&
2609 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2610 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2611 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2615 $as_echo "$ac_cv_build" >&6; }
2616 case $ac_cv_build in
2618 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2621 ac_save_IFS=$IFS; IFS='-'
2627 # Remember, the first character of IFS is used to create $*,
2628 # except with old shells:
2631 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2635 $as_echo_n "checking host system type... " >&6; }
2636 if test "${ac_cv_host+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test "x$host_alias" = x; then
2640 ac_cv_host=$ac_cv_build
2642 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2643 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2648 $as_echo "$ac_cv_host" >&6; }
2651 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2654 ac_save_IFS=$IFS; IFS='-'
2660 # Remember, the first character of IFS is used to create $*,
2661 # except with old shells:
2664 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2668 $as_echo_n "checking target system type... " >&6; }
2669 if test "${ac_cv_target+set}" = set; then :
2670 $as_echo_n "(cached) " >&6
2672 if test "x$target_alias" = x; then
2673 ac_cv_target=$ac_cv_host
2675 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2676 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2681 $as_echo "$ac_cv_target" >&6; }
2682 case $ac_cv_target in
2684 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2686 target=$ac_cv_target
2687 ac_save_IFS=$IFS; IFS='-'
2693 # Remember, the first character of IFS is used to create $*,
2694 # except with old shells:
2697 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2700 # The aliases save the names the user supplied, while $host etc.
2701 # will get canonicalized.
2702 test -n "$target_alias" &&
2703 test "$program_prefix$program_suffix$program_transform_name" = \
2705 program_prefix=${target_alias}-
2707 target_alias=${target_alias-$host_alias}
2709 . ${srcdir}/configure.host
2711 am__api_version='1.11'
2713 # Find a good install program. We prefer a C program (faster),
2714 # so one script is as good as another. But avoid the broken or
2715 # incompatible versions:
2716 # SysV /etc/install, /usr/sbin/install
2717 # SunOS /usr/etc/install
2718 # IRIX /sbin/install
2720 # AmigaOS /C/install, which installs bootblocks on floppy discs
2721 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2722 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2723 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2724 # OS/2's system install, which has a completely different semantic
2725 # ./install, which can be erroneously created by make from ./install.sh.
2726 # Reject install programs that cannot install multiple files.
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2728 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2729 if test -z "$INSTALL"; then
2730 if test "${ac_cv_path_install+set}" = set; then :
2731 $as_echo_n "(cached) " >&6
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir=.
2738 # Account for people who put trailing slashes in PATH elements.
2739 case $as_dir/ in #((
2740 ./ | .// | /[cC]/* | \
2741 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2742 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2745 # OSF1 and SCO ODT 3.0 have their own names for install.
2746 # Don't use installbsd from OSF since it installs stuff as root
2748 for ac_prog in ginstall scoinst install; do
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2751 if test $ac_prog = install &&
2752 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2753 # AIX install. It has an incompatible calling convention.
2755 elif test $ac_prog = install &&
2756 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2757 # program-specific install script used by HP pwplus--don't use.
2760 rm -rf conftest.one conftest.two conftest.dir
2761 echo one > conftest.one
2762 echo two > conftest.two
2764 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2765 test -s conftest.one && test -s conftest.two &&
2766 test -s conftest.dir/conftest.one &&
2767 test -s conftest.dir/conftest.two
2769 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2782 rm -rf conftest.one conftest.two conftest.dir
2785 if test "${ac_cv_path_install+set}" = set; then
2786 INSTALL=$ac_cv_path_install
2788 # As a last resort, use the slow shell script. Don't cache a
2789 # value for INSTALL within a source directory, because that will
2790 # break other packages using the cache if that directory is
2791 # removed, or if the value is a relative name.
2792 INSTALL=$ac_install_sh
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2796 $as_echo "$INSTALL" >&6; }
2798 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2799 # It thinks the first close brace ends the variable substitution.
2800 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2802 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2804 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2807 $as_echo_n "checking whether build environment is sane... " >&6; }
2810 echo timestamp > conftest.file
2811 # Reject unsafe characters in $srcdir or the absolute working directory
2812 # name. Accept space and tab only in the latter.
2816 *[\\\"\#\$\&\'\`$am_lf]*)
2817 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2820 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2821 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2824 # Do `set' in a subshell so we don't clobber the current shell's
2825 # arguments. Must try -L first in case configure is actually a
2826 # symlink; some systems play weird games with the mod time of symlinks
2827 # (eg FreeBSD returns the mod time of the symlink's containing
2830 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2831 if test "$*" = "X"; then
2833 set X `ls -t "$srcdir/configure" conftest.file`
2836 if test "$*" != "X $srcdir/configure conftest.file" \
2837 && test "$*" != "X conftest.file $srcdir/configure"; then
2839 # If neither matched, then we have a broken ls. This can happen
2840 # if, for instance, CONFIG_SHELL is bash and it inherits a
2841 # broken ls alias from the environment. This has actually
2842 # happened. Such a system could not be considered "sane".
2843 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2844 alias in your environment" "$LINENO" 5
2847 test "$2" = conftest.file
2853 as_fn_error "newly created file is older than distributed files!
2854 Check your system clock" "$LINENO" 5
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2857 $as_echo "yes" >&6; }
2858 test "$program_prefix" != NONE &&
2859 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2860 # Use a double $ so make ignores it.
2861 test "$program_suffix" != NONE &&
2862 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2863 # Double any \ or $.
2864 # By default was `s,x,x', remove it if useless.
2865 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2866 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2868 # expand $ac_aux_dir to an absolute path
2869 am_aux_dir=`cd $ac_aux_dir && pwd`
2871 if test x"${MISSING+set}" != xset; then
2874 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2876 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2879 # Use eval to expand $SHELL
2880 if eval "$MISSING --run true"; then
2881 am_missing_run="$MISSING --run "
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2885 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2888 if test x"${install_sh}" != xset; then
2891 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2893 install_sh="\${SHELL} $am_aux_dir/install-sh"
2897 # Installed binaries are usually stripped using `strip' when the user
2898 # run `make install-strip'. However `strip' might not be the right
2899 # tool to use in cross-compilation environments, therefore Automake
2900 # will honor the `STRIP' environment variable to overrule this program.
2901 if test "$cross_compiling" != no; then
2902 if test -n "$ac_tool_prefix"; then
2903 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2904 set dummy ${ac_tool_prefix}strip; ac_word=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if test "${ac_cv_prog_STRIP+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$STRIP"; then
2911 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir=.
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 STRIP=$ac_cv_prog_STRIP
2931 if test -n "$STRIP"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2933 $as_echo "$STRIP" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2941 if test -z "$ac_cv_prog_STRIP"; then
2943 # Extract the first word of "strip", so it can be a program name with args.
2944 set dummy strip; ac_word=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$ac_ct_STRIP"; then
2951 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_ac_ct_STRIP="strip"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2971 if test -n "$ac_ct_STRIP"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2973 $as_echo "$ac_ct_STRIP" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2979 if test "x$ac_ct_STRIP" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986 ac_tool_warned=yes ;;
2991 STRIP="$ac_cv_prog_STRIP"
2995 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2998 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2999 if test -z "$MKDIR_P"; then
3000 if test "${ac_cv_path_mkdir+set}" = set; then :
3001 $as_echo_n "(cached) " >&6
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3007 test -z "$as_dir" && as_dir=.
3008 for ac_prog in mkdir gmkdir; do
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3011 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3012 'mkdir (GNU coreutils) '* | \
3013 'mkdir (coreutils) '* | \
3014 'mkdir (fileutils) '4.1*)
3015 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3025 test -d ./--version && rmdir ./--version
3026 if test "${ac_cv_path_mkdir+set}" = set; then
3027 MKDIR_P="$ac_cv_path_mkdir -p"
3029 # As a last resort, use the slow shell script. Don't cache a
3030 # value for MKDIR_P within a source directory, because that will
3031 # break other packages using the cache if that directory is
3032 # removed, or if the value is a relative name.
3033 MKDIR_P="$ac_install_sh -d"
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3037 $as_echo "$MKDIR_P" >&6; }
3041 [\\/$]* | ?:[\\/]*) ;;
3042 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3045 for ac_prog in gawk mawk nawk awk
3047 # Extract the first word of "$ac_prog", so it can be a program name with args.
3048 set dummy $ac_prog; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_AWK+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$AWK"; then
3055 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_AWK="$ac_prog"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$AWK"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3077 $as_echo "$AWK" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3084 test -n "$AWK" && break
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3088 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3090 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3091 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3092 $as_echo_n "(cached) " >&6
3094 cat >conftest.make <<\_ACEOF
3097 @echo '@@@%%%=$(MAKE)=@@@%%%'
3099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3100 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3102 eval ac_cv_prog_make_${ac_make}_set=yes;;
3104 eval ac_cv_prog_make_${ac_make}_set=no;;
3108 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3110 $as_echo "yes" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 SET_MAKE="MAKE=${MAKE-make}"
3118 rm -rf .tst 2>/dev/null
3119 mkdir .tst 2>/dev/null
3120 if test -d .tst; then
3125 rmdir .tst 2>/dev/null
3127 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3128 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3129 # is not polluted with repeated "-I."
3130 am__isrc=' -I$(srcdir)'
3131 # test to see if srcdir already configured
3132 if test -f $srcdir/config.status; then
3133 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3137 # test whether we have cygpath
3138 if test -z "$CYGPATH_W"; then
3139 if (cygpath --version) >/dev/null 2>/dev/null; then
3140 CYGPATH_W='cygpath -w'
3147 # Define the identity of the package.
3152 cat >>confdefs.h <<_ACEOF
3153 #define PACKAGE "$PACKAGE"
3157 cat >>confdefs.h <<_ACEOF
3158 #define VERSION "$VERSION"
3161 # Some tools Automake needs.
3163 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3166 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3169 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3172 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3175 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3177 # We need awk for the "check" target. The system "awk" is bad on
3179 # Always define AMTAR for backward compatibility.
3181 AMTAR=${AMTAR-"${am_missing_run}tar"}
3183 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3190 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3191 # We must force CC to /not/ be precious variables; otherwise
3192 # the wrong, non-multilib-adjusted value will be used in multilibs.
3193 # As a side effect, we have to subst CFLAGS ourselves.
3194 # Also save and restore CFLAGS, since AC_PROG_CC will come up with
3195 # defaults of its own if none are provided.
3201 ac_cpp='$CPP $CPPFLAGS'
3202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3205 if test -n "$ac_tool_prefix"; then
3206 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3207 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_CC+set}" = set; then :
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$CC"; then
3214 ac_cv_prog_CC="$CC" # Let the user override the test.
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 if test -n "$CC"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3236 $as_echo "$CC" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3244 if test -z "$ac_cv_prog_CC"; then
3246 # Extract the first word of "gcc", so it can be a program name with args.
3247 set dummy gcc; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$ac_ct_CC"; then
3254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_ac_ct_CC="gcc"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3274 if test -n "$ac_ct_CC"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3276 $as_echo "$ac_ct_CC" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3282 if test "x$ac_ct_CC" = x; then
3285 case $cross_compiling:$ac_tool_warned in
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3289 ac_tool_warned=yes ;;
3297 if test -z "$CC"; then
3298 if test -n "$ac_tool_prefix"; then
3299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3300 set dummy ${ac_tool_prefix}cc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_CC+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$CC"; then
3307 ac_cv_prog_CC="$CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_CC="${ac_tool_prefix}cc"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 if test -n "$CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3329 $as_echo "$CC" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3338 if test -z "$CC"; then
3339 # Extract the first word of "cc", so it can be a program name with args.
3340 set dummy cc; ac_word=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if test "${ac_cv_prog_CC+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3346 if test -n "$CC"; then
3347 ac_cv_prog_CC="$CC" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3358 ac_prog_rejected=yes
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 if test $ac_prog_rejected = yes; then
3370 # We found a bogon in the path, so make sure we never use it.
3371 set dummy $ac_cv_prog_CC
3373 if test $# != 0; then
3374 # We chose a different compiler from the bogus one.
3375 # However, it has the same basename, so the bogon will be chosen
3376 # first if we set CC to just the basename; use the full file name.
3378 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3384 if test -n "$CC"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3386 $as_echo "$CC" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3394 if test -z "$CC"; then
3395 if test -n "$ac_tool_prefix"; then
3396 for ac_prog in cl.exe
3398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if test "${ac_cv_prog_CC+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3405 if test -n "$CC"; then
3406 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 if test -n "$CC"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3428 $as_echo "$CC" >&6; }
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3435 test -n "$CC" && break
3438 if test -z "$CC"; then
3440 for ac_prog in cl.exe
3442 # Extract the first word of "$ac_prog", so it can be a program name with args.
3443 set dummy $ac_prog; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$ac_ct_CC"; then
3450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3459 ac_cv_prog_ac_ct_CC="$ac_prog"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3470 if test -n "$ac_ct_CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3472 $as_echo "$ac_ct_CC" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3479 test -n "$ac_ct_CC" && break
3482 if test "x$ac_ct_CC" = x; then
3485 case $cross_compiling:$ac_tool_warned in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3489 ac_tool_warned=yes ;;
3498 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error "no acceptable C compiler found in \$PATH
3501 See \`config.log' for more details." "$LINENO" 5; }
3503 # Provide some information about the compiler.
3504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3507 for ac_option in --version -v -V -qversion; do
3508 { { ac_try="$ac_compiler $ac_option >&5"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3517 if test -s conftest.err; then
3519 ... rest of stderr output deleted ...
3520 10q' conftest.err >conftest.er1
3521 cat conftest.er1 >&5
3523 rm -f conftest.er1 conftest.err
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 ac_clean_files_save=$ac_clean_files
3540 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3541 # Try to create an executable without -o first, disregard a.out.
3542 # It will help us diagnose broken compilers, and finding out an intuition
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3545 $as_echo_n "checking whether the C compiler works... " >&6; }
3546 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3548 # The possible output files:
3549 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3552 for ac_file in $ac_files
3555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3556 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3561 if { { ac_try="$ac_link_default"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_link_default") 2>&5
3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571 test $ac_status = 0; }; then :
3572 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3573 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3574 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3575 # so that the user can short-circuit this test for compilers unknown to
3577 for ac_file in $ac_files ''
3579 test -f "$ac_file" || continue
3581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3584 # We found the default executable, but exeext='' is most
3588 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3590 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3592 # We set ac_cv_exeext here because the later test for it is not
3593 # safe: cross compilers may not add the suffix if given an `-o'
3594 # argument, so we may need to know it at that point already.
3595 # Even if this section looks crufty: it has the advantage of
3602 test "$ac_cv_exeext" = no && ac_cv_exeext=
3607 if test -z "$ac_file"; then :
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3610 $as_echo "$as_me: failed program was:" >&5
3611 sed 's/^/| /' conftest.$ac_ext >&5
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 { as_fn_set_status 77
3616 as_fn_error "C compiler cannot create executables
3617 See \`config.log' for more details." "$LINENO" 5; }; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3620 $as_echo "yes" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3623 $as_echo_n "checking for C compiler default output file name... " >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3625 $as_echo "$ac_file" >&6; }
3626 ac_exeext=$ac_cv_exeext
3628 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3629 ac_clean_files=$ac_clean_files_save
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3631 $as_echo_n "checking for suffix of executables... " >&6; }
3632 if { { ac_try="$ac_link"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_link") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }; then :
3643 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3644 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3645 # work properly (i.e., refer to `conftest.exe'), while it won't with
3647 for ac_file in conftest.exe conftest conftest.*; do
3648 test -f "$ac_file" || continue
3650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3651 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659 as_fn_error "cannot compute suffix of executables: cannot compile and link
3660 See \`config.log' for more details." "$LINENO" 5; }
3662 rm -f conftest conftest$ac_cv_exeext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3664 $as_echo "$ac_cv_exeext" >&6; }
3666 rm -f conftest.$ac_ext
3667 EXEEXT=$ac_cv_exeext
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3675 FILE *f = fopen ("conftest.out", "w");
3676 return ferror (f) || fclose (f) != 0;
3682 ac_clean_files="$ac_clean_files conftest.out"
3683 # Check that the compiler produces executables we can run. If not, either
3684 # the compiler is broken, or we cross compile.
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3686 $as_echo_n "checking whether we are cross compiling... " >&6; }
3687 if test "$cross_compiling" != yes; then
3688 { { ac_try="$ac_link"
3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3691 *) ac_try_echo=$ac_try;;
3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3694 $as_echo "$ac_try_echo"; } >&5
3695 (eval "$ac_link") 2>&5
3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698 test $ac_status = 0; }
3699 if { ac_try='./conftest$ac_cv_exeext'
3700 { { case "(($ac_try" in
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3705 $as_echo "$ac_try_echo"; } >&5
3706 (eval "$ac_try") 2>&5
3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3709 test $ac_status = 0; }; }; then
3712 if test "$cross_compiling" = maybe; then
3715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3717 as_fn_error "cannot run C compiled programs.
3718 If you meant to cross compile, use \`--host'.
3719 See \`config.log' for more details." "$LINENO" 5; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3724 $as_echo "$cross_compiling" >&6; }
3726 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3727 ac_clean_files=$ac_clean_files_save
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3729 $as_echo_n "checking for suffix of object files... " >&6; }
3730 if test "${ac_cv_objext+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3744 rm -f conftest.o conftest.obj
3745 if { { ac_try="$ac_compile"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751 $as_echo "$ac_try_echo"; } >&5
3752 (eval "$ac_compile") 2>&5
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755 test $ac_status = 0; }; then :
3756 for ac_file in conftest.o conftest.obj conftest.*; do
3757 test -f "$ac_file" || continue;
3759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3760 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3765 $as_echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error "cannot compute suffix of object files: cannot compile
3771 See \`config.log' for more details." "$LINENO" 5; }
3773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3776 $as_echo "$ac_cv_objext" >&6; }
3777 OBJEXT=$ac_cv_objext
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3780 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3781 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3798 if ac_fn_c_try_compile "$LINENO"; then :
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3808 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3809 if test $ac_compiler_gnu = yes; then
3814 ac_test_CFLAGS=${CFLAGS+set}
3815 ac_save_CFLAGS=$CFLAGS
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3817 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3818 if test "${ac_cv_prog_cc_g+set}" = set; then :
3819 $as_echo_n "(cached) " >&6
3821 ac_save_c_werror_flag=$ac_c_werror_flag
3822 ac_c_werror_flag=yes
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 if ac_fn_c_try_compile "$LINENO"; then :
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3851 if ac_fn_c_try_compile "$LINENO"; then :
3854 ac_c_werror_flag=$ac_save_c_werror_flag
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 if ac_fn_c_try_compile "$LINENO"; then :
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 ac_c_werror_flag=$ac_save_c_werror_flag
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3878 $as_echo "$ac_cv_prog_cc_g" >&6; }
3879 if test "$ac_test_CFLAGS" = set; then
3880 CFLAGS=$ac_save_CFLAGS
3881 elif test $ac_cv_prog_cc_g = yes; then
3882 if test "$GCC" = yes; then
3888 if test "$GCC" = yes; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3895 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3896 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 ac_cv_prog_cc_c89=no
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3905 #include <sys/types.h>
3906 #include <sys/stat.h>
3907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3908 struct buf { int x; };
3909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3910 static char *e (p, i)
3916 static char *f (char * (*g) (char **, int), char **p, ...)
3921 s = g (p, va_arg (v,int));
3926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3927 function prototypes and stuff, but not '\xHH' hex character constants.
3928 These don't provoke an error unfortunately, instead are silently treated
3929 as 'x'. The following induces an error, until -std is added to get
3930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3931 array size at least. It's necessary to write '\x00'==0 to get something
3932 that's true only with -std. */
3933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3936 inside strings and character constants. */
3938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3940 int test (int i, double x);
3941 struct s1 {int (*f) (int a);};
3942 struct s2 {int (*f) (double a);};
3943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3957 CC="$ac_save_CC $ac_arg"
3958 if ac_fn_c_try_compile "$LINENO"; then :
3959 ac_cv_prog_cc_c89=$ac_arg
3961 rm -f core conftest.err conftest.$ac_objext
3962 test "x$ac_cv_prog_cc_c89" != "xno" && break
3964 rm -f conftest.$ac_ext
3969 case "x$ac_cv_prog_cc_c89" in
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3972 $as_echo "none needed" >&6; } ;;
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3975 $as_echo "unsupported" >&6; } ;;
3977 CC="$CC $ac_cv_prog_cc_c89"
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3979 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3981 if test "x$ac_cv_prog_cc_c89" != xno; then :
3986 ac_cpp='$CPP $CPPFLAGS'
3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3990 DEPDIR="${am__leading_dot}deps"
3992 ac_config_commands="$ac_config_commands depfiles"
3995 am_make=${MAKE-make}
3996 cat > confinc << 'END'
3998 @echo this is the am__doit target
4001 # If we don't find an include directive, just comment out the code.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4003 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4007 # First try GNU make style include.
4008 echo "include confinc" > confmf
4009 # Ignore all kinds of additional output from `make'.
4010 case `$am_make -s -f confmf 2> /dev/null` in #(
4011 *the\ am__doit\ target*)
4017 # Now try BSD make style include.
4018 if test "$am__include" = "#"; then
4019 echo '.include "confinc"' > confmf
4020 case `$am_make -s -f confmf 2> /dev/null` in #(
4021 *the\ am__doit\ target*)
4022 am__include=.include
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4031 $as_echo "$_am_result" >&6; }
4032 rm -f confinc confmf
4034 # Check whether --enable-dependency-tracking was given.
4035 if test "${enable_dependency_tracking+set}" = set; then :
4036 enableval=$enable_dependency_tracking;
4039 if test "x$enable_dependency_tracking" != xno; then
4040 am_depcomp="$ac_aux_dir/depcomp"
4043 if test "x$enable_dependency_tracking" != xno; then
4053 depcc="$CC" am_compiler_list=
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4056 $as_echo_n "checking dependency style of $depcc... " >&6; }
4057 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4061 # We make a subdir and do the tests there. Otherwise we can end up
4062 # making bogus files that we don't know about and never remove. For
4063 # instance it was reported that on HP-UX the gcc test will end up
4064 # making a dummy file named `D' -- because `-MD' means `put the output
4067 # Copy depcomp to subdir because otherwise we won't find it if we're
4068 # using a relative directory.
4069 cp "$am_depcomp" conftest.dir
4071 # We will build objects and dependencies in a subdirectory because
4072 # it helps to detect inapplicable dependency modes. For instance
4073 # both Tru64's cc and ICC support -MD to output dependencies as a
4074 # side effect of compilation, but ICC will put the dependencies in
4075 # the current directory while Tru64 will put them in the object
4079 am_cv_CC_dependencies_compiler_type=none
4080 if test "$am_compiler_list" = ""; then
4081 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4084 case " $depcc " in #(
4085 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4088 for depmode in $am_compiler_list; do
4089 # Setup a source with many dependencies, because some compilers
4090 # like to wrap large dependency lists on column 80 (with \), and
4091 # we should not choose a depcomp mode which is confused by this.
4093 # We need to recreate these files for each test, as the compiler may
4094 # overwrite some of them when testing with obscure command lines.
4095 # This happens at least with the AIX C compiler.
4097 for i in 1 2 3 4 5 6; do
4098 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4099 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4100 # Solaris 8's {/usr,}/bin/sh.
4101 touch sub/conftst$i.h
4103 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4105 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4106 # mode. It turns out that the SunPro C++ compiler does not properly
4107 # handle `-M -o', and we need to detect this. Also, some Intel
4108 # versions had trouble with output in subdirs
4109 am__obj=sub/conftest.${OBJEXT-o}
4110 am__minus_obj="-o $am__obj"
4113 # This depmode causes a compiler race in universal mode.
4114 test "$am__universal" = false || continue
4117 # after this tag, mechanisms are not by side-effect, so they'll
4118 # only be used when explicitly requested
4119 if test "x$enable_dependency_tracking" = xyes; then
4125 msvisualcpp | msvcmsys)
4126 # This compiler won't grok `-c -o', but also, the minuso test has
4127 # not run yet. These depmodes are late enough in the game, and
4128 # so weak that their functioning should not be impacted.
4129 am__obj=conftest.${OBJEXT-o}
4134 if depmode=$depmode \
4135 source=sub/conftest.c object=$am__obj \
4136 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4137 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4138 >/dev/null 2>conftest.err &&
4139 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4140 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4141 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4142 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4143 # icc doesn't choke on unknown options, it will just issue warnings
4144 # or remarks (even with -Werror). So we grep stderr for any message
4145 # that says an option was ignored or not supported.
4146 # When given -MP, icc 7.0 and 7.1 complain thusly:
4147 # icc: Command line warning: ignoring option '-M'; no argument required
4148 # The diagnosis changed in icc 8.0:
4149 # icc: Command line remark: option '-MP' not supported
4150 if (grep 'ignoring option' conftest.err ||
4151 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4152 am_cv_CC_dependencies_compiler_type=$depmode
4161 am_cv_CC_dependencies_compiler_type=none
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4166 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4167 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4170 test "x$enable_dependency_tracking" != xno \
4171 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4173 am__fastdepCC_FALSE='#'
4175 am__fastdepCC_TRUE='#'
4176 am__fastdepCC_FALSE=
4186 # By default we simply use the C compiler to build assembly code.
4188 test "${CCAS+set}" = set || CCAS=$CC
4189 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4193 depcc="$CCAS" am_compiler_list=
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4196 $as_echo_n "checking dependency style of $depcc... " >&6; }
4197 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4198 $as_echo_n "(cached) " >&6
4200 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4201 # We make a subdir and do the tests there. Otherwise we can end up
4202 # making bogus files that we don't know about and never remove. For
4203 # instance it was reported that on HP-UX the gcc test will end up
4204 # making a dummy file named `D' -- because `-MD' means `put the output
4207 # Copy depcomp to subdir because otherwise we won't find it if we're
4208 # using a relative directory.
4209 cp "$am_depcomp" conftest.dir
4211 # We will build objects and dependencies in a subdirectory because
4212 # it helps to detect inapplicable dependency modes. For instance
4213 # both Tru64's cc and ICC support -MD to output dependencies as a
4214 # side effect of compilation, but ICC will put the dependencies in
4215 # the current directory while Tru64 will put them in the object
4219 am_cv_CCAS_dependencies_compiler_type=none
4220 if test "$am_compiler_list" = ""; then
4221 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4226 for depmode in $am_compiler_list; do
4227 # Setup a source with many dependencies, because some compilers
4228 # like to wrap large dependency lists on column 80 (with \), and
4229 # we should not choose a depcomp mode which is confused by this.
4231 # We need to recreate these files for each test, as the compiler may
4232 # overwrite some of them when testing with obscure command lines.
4233 # This happens at least with the AIX C compiler.
4235 for i in 1 2 3 4 5 6; do
4236 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4237 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4238 # Solaris 8's {/usr,}/bin/sh.
4239 touch sub/conftst$i.h
4241 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4243 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4244 # mode. It turns out that the SunPro C++ compiler does not properly
4245 # handle `-M -o', and we need to detect this. Also, some Intel
4246 # versions had trouble with output in subdirs
4247 am__obj=sub/conftest.${OBJEXT-o}
4248 am__minus_obj="-o $am__obj"
4251 # This depmode causes a compiler race in universal mode.
4252 test "$am__universal" = false || continue
4255 # after this tag, mechanisms are not by side-effect, so they'll
4256 # only be used when explicitly requested
4257 if test "x$enable_dependency_tracking" = xyes; then
4263 msvisualcpp | msvcmsys)
4264 # This compiler won't grok `-c -o', but also, the minuso test has
4265 # not run yet. These depmodes are late enough in the game, and
4266 # so weak that their functioning should not be impacted.
4267 am__obj=conftest.${OBJEXT-o}
4272 if depmode=$depmode \
4273 source=sub/conftest.c object=$am__obj \
4274 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4275 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4276 >/dev/null 2>conftest.err &&
4277 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4279 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4281 # icc doesn't choke on unknown options, it will just issue warnings
4282 # or remarks (even with -Werror). So we grep stderr for any message
4283 # that says an option was ignored or not supported.
4284 # When given -MP, icc 7.0 and 7.1 complain thusly:
4285 # icc: Command line warning: ignoring option '-M'; no argument required
4286 # The diagnosis changed in icc 8.0:
4287 # icc: Command line remark: option '-MP' not supported
4288 if (grep 'ignoring option' conftest.err ||
4289 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4290 am_cv_CCAS_dependencies_compiler_type=$depmode
4299 am_cv_CCAS_dependencies_compiler_type=none
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4304 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4305 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4308 test "x$enable_dependency_tracking" != xno \
4309 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4310 am__fastdepCCAS_TRUE=
4311 am__fastdepCCAS_FALSE='#'
4313 am__fastdepCCAS_TRUE='#'
4314 am__fastdepCCAS_FALSE=
4318 if test "x$CC" != xcc; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4320 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4323 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4325 set dummy $CC; ac_cc=`$as_echo "$2" |
4326 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4327 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4328 $as_echo_n "(cached) " >&6
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4341 # Make sure it works both with $CC and with simple cc.
4342 # We do the test twice because some compilers refuse to overwrite an
4343 # existing .o file with -o, though they will create one.
4344 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4346 if { { case "(($ac_try" in
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4351 $as_echo "$ac_try_echo"; } >&5
4352 (eval "$ac_try") 2>&5
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; } &&
4356 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4361 $as_echo "$ac_try_echo"; } >&5
4362 (eval "$ac_try") 2>&5
4364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4365 test $ac_status = 0; };
4367 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4368 if test "x$CC" != xcc; then
4369 # Test first that cc exists at all.
4370 if { ac_try='cc -c conftest.$ac_ext >&5'
4371 { { case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376 $as_echo "$ac_try_echo"; } >&5
4377 (eval "$ac_try") 2>&5
4379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 test $ac_status = 0; }; }; then
4381 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4383 if { { case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_try") 2>&5
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; } &&
4393 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4398 $as_echo "$ac_try_echo"; } >&5
4399 (eval "$ac_try") 2>&5
4401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402 test $ac_status = 0; };
4407 # cc exists but doesn't like -o.
4408 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4413 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4415 rm -f core conftest*
4418 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4420 $as_echo "yes" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4425 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4429 # FIXME: we rely on the cache variable name because
4430 # there is no other way.
4432 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4433 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4434 if test "$am_t" != yes; then
4435 # Losing compiler, so override with the script.
4436 # FIXME: It is wrong to rewrite CC.
4437 # But if we don't then we get into trouble of one sort or another.
4438 # A longer-term fix would be to have automake use am__CC in this case,
4439 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4440 CC="$am_aux_dir/compile $CC"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4447 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4452 macro_version='2.2.6b'
4453 macro_revision='1.3017'
4467 ltmain="$ac_aux_dir/ltmain.sh"
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4470 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4471 if test "${ac_cv_path_SED+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4474 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4475 for ac_i in 1 2 3 4 5 6 7; do
4476 ac_script="$ac_script$as_nl$ac_script"
4478 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4479 { ac_script=; unset ac_script;}
4480 if test -z "$SED"; then
4481 ac_path_SED_found=false
4482 # Loop through the user's path and test for each of PROGNAME-LIST
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_prog in sed gsed; do
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4491 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4492 # Check for GNU ac_path_SED and select it if it is found.
4493 # Check for GNU $ac_path_SED
4494 case `"$ac_path_SED" --version 2>&1` in
4496 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4499 $as_echo_n 0123456789 >"conftest.in"
4502 cat "conftest.in" "conftest.in" >"conftest.tmp"
4503 mv "conftest.tmp" "conftest.in"
4504 cp "conftest.in" "conftest.nl"
4505 $as_echo '' >> "conftest.nl"
4506 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4508 as_fn_arith $ac_count + 1 && ac_count=$as_val
4509 if test $ac_count -gt ${ac_path_SED_max-0}; then
4510 # Best one so far, save it but keep looking for a better one
4511 ac_cv_path_SED="$ac_path_SED"
4512 ac_path_SED_max=$ac_count
4514 # 10*(2^10) chars as input seems more than enough
4515 test $ac_count -gt 10 && break
4517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4520 $ac_path_SED_found && break 3
4525 if test -z "$ac_cv_path_SED"; then
4526 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4534 $as_echo "$ac_cv_path_SED" >&6; }
4535 SED="$ac_cv_path_SED"
4538 test -z "$SED" && SED=sed
4539 Xsed="$SED -e 1s/^X//"
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4552 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4553 if test "${ac_cv_path_GREP+set}" = set; then :
4554 $as_echo_n "(cached) " >&6
4556 if test -z "$GREP"; then
4557 ac_path_GREP_found=false
4558 # Loop through the user's path and test for each of PROGNAME-LIST
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4563 test -z "$as_dir" && as_dir=.
4564 for ac_prog in grep ggrep; do
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4567 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4568 # Check for GNU ac_path_GREP and select it if it is found.
4569 # Check for GNU $ac_path_GREP
4570 case `"$ac_path_GREP" --version 2>&1` in
4572 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4575 $as_echo_n 0123456789 >"conftest.in"
4578 cat "conftest.in" "conftest.in" >"conftest.tmp"
4579 mv "conftest.tmp" "conftest.in"
4580 cp "conftest.in" "conftest.nl"
4581 $as_echo 'GREP' >> "conftest.nl"
4582 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4584 as_fn_arith $ac_count + 1 && ac_count=$as_val
4585 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4586 # Best one so far, save it but keep looking for a better one
4587 ac_cv_path_GREP="$ac_path_GREP"
4588 ac_path_GREP_max=$ac_count
4590 # 10*(2^10) chars as input seems more than enough
4591 test $ac_count -gt 10 && break
4593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4596 $ac_path_GREP_found && break 3
4601 if test -z "$ac_cv_path_GREP"; then
4602 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4605 ac_cv_path_GREP=$GREP
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4610 $as_echo "$ac_cv_path_GREP" >&6; }
4611 GREP="$ac_cv_path_GREP"
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4615 $as_echo_n "checking for egrep... " >&6; }
4616 if test "${ac_cv_path_EGREP+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4620 then ac_cv_path_EGREP="$GREP -E"
4622 if test -z "$EGREP"; then
4623 ac_path_EGREP_found=false
4624 # Loop through the user's path and test for each of PROGNAME-LIST
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4629 test -z "$as_dir" && as_dir=.
4630 for ac_prog in egrep; do
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4633 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4634 # Check for GNU ac_path_EGREP and select it if it is found.
4635 # Check for GNU $ac_path_EGREP
4636 case `"$ac_path_EGREP" --version 2>&1` in
4638 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4641 $as_echo_n 0123456789 >"conftest.in"
4644 cat "conftest.in" "conftest.in" >"conftest.tmp"
4645 mv "conftest.tmp" "conftest.in"
4646 cp "conftest.in" "conftest.nl"
4647 $as_echo 'EGREP' >> "conftest.nl"
4648 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4650 as_fn_arith $ac_count + 1 && ac_count=$as_val
4651 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4652 # Best one so far, save it but keep looking for a better one
4653 ac_cv_path_EGREP="$ac_path_EGREP"
4654 ac_path_EGREP_max=$ac_count
4656 # 10*(2^10) chars as input seems more than enough
4657 test $ac_count -gt 10 && break
4659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4662 $ac_path_EGREP_found && break 3
4667 if test -z "$ac_cv_path_EGREP"; then
4668 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4671 ac_cv_path_EGREP=$EGREP
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4677 $as_echo "$ac_cv_path_EGREP" >&6; }
4678 EGREP="$ac_cv_path_EGREP"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4682 $as_echo_n "checking for fgrep... " >&6; }
4683 if test "${ac_cv_path_FGREP+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4687 then ac_cv_path_FGREP="$GREP -F"
4689 if test -z "$FGREP"; then
4690 ac_path_FGREP_found=false
4691 # Loop through the user's path and test for each of PROGNAME-LIST
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4696 test -z "$as_dir" && as_dir=.
4697 for ac_prog in fgrep; do
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4700 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4701 # Check for GNU ac_path_FGREP and select it if it is found.
4702 # Check for GNU $ac_path_FGREP
4703 case `"$ac_path_FGREP" --version 2>&1` in
4705 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4708 $as_echo_n 0123456789 >"conftest.in"
4711 cat "conftest.in" "conftest.in" >"conftest.tmp"
4712 mv "conftest.tmp" "conftest.in"
4713 cp "conftest.in" "conftest.nl"
4714 $as_echo 'FGREP' >> "conftest.nl"
4715 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4717 as_fn_arith $ac_count + 1 && ac_count=$as_val
4718 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4719 # Best one so far, save it but keep looking for a better one
4720 ac_cv_path_FGREP="$ac_path_FGREP"
4721 ac_path_FGREP_max=$ac_count
4723 # 10*(2^10) chars as input seems more than enough
4724 test $ac_count -gt 10 && break
4726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4729 $ac_path_FGREP_found && break 3
4734 if test -z "$ac_cv_path_FGREP"; then
4735 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4738 ac_cv_path_FGREP=$FGREP
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4744 $as_echo "$ac_cv_path_FGREP" >&6; }
4745 FGREP="$ac_cv_path_FGREP"
4748 test -z "$GREP" && GREP=grep
4768 # Check whether --with-gnu-ld was given.
4769 if test "${with_gnu_ld+set}" = set; then :
4770 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4776 if test "$GCC" = yes; then
4777 # Check if gcc -print-prog-name=ld gives a path.
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4779 $as_echo_n "checking for ld used by $CC... " >&6; }