2 # From configure.in Revision: 1.38 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in #(
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 as_echo_n='sh -c $as_echo_n_body as_echo'
70 as_echo='sh -c $as_echo_body as_echo'
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
90 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 *v*x* | *x*v* ) as_opts=-vx ;;
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 case \`(set -o) 2>/dev/null\` in #(
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 exitcode=1; echo positional parameters were not saved.
194 test x\$exitcode = x0 || exit 1
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test \$(( 1 + 1 )) = 2 || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
269 $0: including any error possibly output before this
270 $0: message. Then install a modern shell, or manually run
271 $0: the script under such a shell if you do have one."
277 SHELL=${CONFIG_SHELL-/bin/sh}
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
288 # Portably unset VAR.
291 { eval $1=; unset $1;}
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315 # Create "$as_dir" as a directory, including parents if necessary.
320 -*) as_dir=./$as_dir;;
322 test -d "$as_dir" || eval $as_mkdir_p || {
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353 test -d "$as_dir" && break
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 # as_fn_executable_p FILE
362 # -----------------------
363 # Test if FILE is an executable regular file.
364 as_fn_executable_p ()
366 test -f "$1" && test -x "$1"
367 } # as_fn_executable_p
368 # as_fn_append VAR VALUE
369 # ----------------------
370 # Append the text in VALUE to the end of the definition contained in VAR. Take
371 # advantage of any shell optimizations that allow amortized linear growth over
372 # repeated appends, instead of the typical quadratic growth present in naive
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
388 # Perform arithmetic evaluation on the ARGs, and store the result in the
389 # global $as_val. Take advantage of shells that can avoid forks. The arguments
390 # must be portable across $(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 as_val=`expr "$@" || test $? -eq 1`
404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
405 # ----------------------------------------
406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 # script with STATUS, using 1 if that was 0.
411 as_status=$1; test $as_status -eq 0 && as_status=1
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
497 # Exit status is that of the last command.
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in #(((((
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
519 mkdir conf$$.dir 2>/dev/null
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 elif ln conf$$.file conf$$ 2>/dev/null; then
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
544 test -d ./-p && rmdir ./-p
549 as_executable_p=as_fn_executable_p
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 # Check that we are running under the correct shell.
560 SHELL=${CONFIG_SHELL-/bin/sh}
564 # Remove one level of quotation (which was required for Make).
565 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
570 if test "X$1" = X--no-reexec; then
571 # Discard the --no-reexec flag, and continue.
573 elif test "X$1" = X--fallback-echo; then
574 # Avoid inline document here, it may be left over
576 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
577 # Yippee, $ECHO works!
580 # Restart under the correct shell.
581 exec $SHELL "$0" --no-reexec ${1+"$@"}
584 if test "X$1" = X--fallback-echo; then
585 # used as fallback echo
593 # The HP-UX ksh and POSIX shell print the target directory to stdout
595 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
597 if test -z "$lt_ECHO"; then
598 if test "X${echo_test_string+set}" != Xset; then
599 # find a string as large as possible, as long as the shell can cope with it
600 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
601 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
602 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
603 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
610 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
615 # The Solaris, AIX, and Digital Unix default echo programs unquote
616 # backslashes. This makes it impossible to quote backslashes using
617 # echo "$something" | sed 's/\\/\\\\/g'
619 # So, first we look for a working echo in the user's PATH.
621 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
622 for dir in $PATH /usr/ucb; do
624 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
625 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
626 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
627 test "X$echo_testing_string" = "X$echo_test_string"; then
634 if test "X$ECHO" = Xecho; then
635 # We didn't find a better echo, so look for alternatives.
636 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
637 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 # This shell has a builtin print -r that does the trick.
641 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
642 test "X$CONFIG_SHELL" != X/bin/ksh; then
643 # If we have ksh, try running configure again with it.
644 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
645 export ORIGINAL_CONFIG_SHELL
646 CONFIG_SHELL=/bin/ksh
648 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
652 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
657 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
658 test "X$echo_testing_string" = 'X\t' &&
659 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
660 test "X$echo_testing_string" = "X$echo_test_string"; then
661 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
663 SHELL="$CONFIG_SHELL"
665 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
667 test "X$echo_testing_string" = 'X\t' &&
668 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
669 test "X$echo_testing_string" = "X$echo_test_string"; then
670 ECHO="$CONFIG_SHELL $0 --fallback-echo"
672 # maybe with a smaller string...
675 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
676 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
683 if test "$prev" != 'sed 50q "$0"'; then
684 echo_test_string=`eval $prev`
685 export echo_test_string
686 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
688 # Oops. We lost completely, so just stick with echo.
697 # Copy echo and quote the copy suitably for passing to libtool from
698 # the Makefile, instead of quoting the original, which is used later.
700 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
701 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
707 test -n "$DJDIR" || exec 7<&0 </dev/null
711 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix=/usr/local
720 ac_config_libobj_dir=.
727 # Identity of this package.
735 ac_unique_file="mimetic/mimetic.h"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
773 ac_subst_vars='am__EXEEXT_FALSE
829 INSTALL_STRIP_PROGRAM
883 program_transform_name
896 enable_option_checking
897 enable_dependency_tracking
907 with_stlport_includes
908 with_stlport_libraries
911 ac_precious_vars='build_alias
926 # Initialize some variables set by options.
928 ac_init_version=false
929 ac_unrecognized_opts=
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
940 program_transform_name=s,x,x,
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir='${exec_prefix}/bin'
955 sbindir='${exec_prefix}/sbin'
956 libexecdir='${exec_prefix}/libexec'
957 datarootdir='${prefix}/share'
958 datadir='${datarootdir}'
959 sysconfdir='${prefix}/etc'
960 sharedstatedir='${prefix}/com'
961 localstatedir='${prefix}/var'
962 includedir='${prefix}/include'
963 oldincludedir='/usr/include'
964 docdir='${datarootdir}/doc/${PACKAGE}'
965 infodir='${datarootdir}/info'
970 libdir='${exec_prefix}/lib'
971 localedir='${datarootdir}/locale'
972 mandir='${datarootdir}/man'
978 # If the previous option needs an argument, assign it.
979 if test -n "$ac_prev"; then
980 eval $ac_prev=\$ac_option
986 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991 # Accept the important Cygnus configure options, so we can diagnose typos.
993 case $ac_dashdash$ac_option in
997 -bindir | --bindir | --bindi | --bind | --bin | --bi)
999 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000 bindir=$ac_optarg ;;
1002 -build | --build | --buil | --bui | --bu)
1003 ac_prev=build_alias ;;
1004 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1005 build_alias=$ac_optarg ;;
1007 -cache-file | --cache-file | --cache-fil | --cache-fi \
1008 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1009 ac_prev=cache_file ;;
1010 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1011 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1012 cache_file=$ac_optarg ;;
1014 --config-cache | -C)
1015 cache_file=config.cache ;;
1017 -datadir | --datadir | --datadi | --datad)
1019 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1020 datadir=$ac_optarg ;;
1022 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1023 | --dataroo | --dataro | --datar)
1024 ac_prev=datarootdir ;;
1025 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1026 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1027 datarootdir=$ac_optarg ;;
1029 -disable-* | --disable-*)
1030 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error $? "invalid feature name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1038 "enable_$ac_useropt"
1040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1041 ac_unrecognized_sep=', ';;
1043 eval enable_$ac_useropt=no ;;
1045 -docdir | --docdir | --docdi | --doc | --do)
1047 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1048 docdir=$ac_optarg ;;
1050 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1052 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1053 dvidir=$ac_optarg ;;
1055 -enable-* | --enable-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid feature name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_$ac_useropt"
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval enable_$ac_useropt=\$ac_optarg ;;
1071 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1072 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1073 | --exec | --exe | --ex)
1074 ac_prev=exec_prefix ;;
1075 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1076 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1077 | --exec=* | --exe=* | --ex=*)
1078 exec_prefix=$ac_optarg ;;
1080 -gas | --gas | --ga | --g)
1081 # Obsolete; use --with-gas.
1084 -help | --help | --hel | --he | -h)
1085 ac_init_help=long ;;
1086 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1087 ac_init_help=recursive ;;
1088 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1089 ac_init_help=short ;;
1091 -host | --host | --hos | --ho)
1092 ac_prev=host_alias ;;
1093 -host=* | --host=* | --hos=* | --ho=*)
1094 host_alias=$ac_optarg ;;
1096 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1098 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1100 htmldir=$ac_optarg ;;
1102 -includedir | --includedir | --includedi | --included | --include \
1103 | --includ | --inclu | --incl | --inc)
1104 ac_prev=includedir ;;
1105 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1106 | --includ=* | --inclu=* | --incl=* | --inc=*)
1107 includedir=$ac_optarg ;;
1109 -infodir | --infodir | --infodi | --infod | --info | --inf)
1111 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1112 infodir=$ac_optarg ;;
1114 -libdir | --libdir | --libdi | --libd)
1116 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1117 libdir=$ac_optarg ;;
1119 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1120 | --libexe | --libex | --libe)
1121 ac_prev=libexecdir ;;
1122 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1123 | --libexe=* | --libex=* | --libe=*)
1124 libexecdir=$ac_optarg ;;
1126 -localedir | --localedir | --localedi | --localed | --locale)
1127 ac_prev=localedir ;;
1128 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1129 localedir=$ac_optarg ;;
1131 -localstatedir | --localstatedir | --localstatedi | --localstated \
1132 | --localstate | --localstat | --localsta | --localst | --locals)
1133 ac_prev=localstatedir ;;
1134 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1135 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1136 localstatedir=$ac_optarg ;;
1138 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1140 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1141 mandir=$ac_optarg ;;
1143 -nfp | --nfp | --nf)
1144 # Obsolete; use --without-fp.
1147 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1148 | --no-cr | --no-c | -n)
1151 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1152 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1155 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1156 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1157 | --oldin | --oldi | --old | --ol | --o)
1158 ac_prev=oldincludedir ;;
1159 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1160 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1161 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1162 oldincludedir=$ac_optarg ;;
1164 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1166 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1167 prefix=$ac_optarg ;;
1169 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1170 | --program-pre | --program-pr | --program-p)
1171 ac_prev=program_prefix ;;
1172 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1173 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1174 program_prefix=$ac_optarg ;;
1176 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1177 | --program-suf | --program-su | --program-s)
1178 ac_prev=program_suffix ;;
1179 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1180 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1181 program_suffix=$ac_optarg ;;
1183 -program-transform-name | --program-transform-name \
1184 | --program-transform-nam | --program-transform-na \
1185 | --program-transform-n | --program-transform- \
1186 | --program-transform | --program-transfor \
1187 | --program-transfo | --program-transf \
1188 | --program-trans | --program-tran \
1189 | --progr-tra | --program-tr | --program-t)
1190 ac_prev=program_transform_name ;;
1191 -program-transform-name=* | --program-transform-name=* \
1192 | --program-transform-nam=* | --program-transform-na=* \
1193 | --program-transform-n=* | --program-transform-=* \
1194 | --program-transform=* | --program-transfor=* \
1195 | --program-transfo=* | --program-transf=* \
1196 | --program-trans=* | --program-tran=* \
1197 | --progr-tra=* | --program-tr=* | --program-t=*)
1198 program_transform_name=$ac_optarg ;;
1200 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1202 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1203 pdfdir=$ac_optarg ;;
1205 -psdir | --psdir | --psdi | --psd | --ps)
1207 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211 | -silent | --silent | --silen | --sile | --sil)
1214 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1216 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1218 sbindir=$ac_optarg ;;
1220 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1221 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1222 | --sharedst | --shareds | --shared | --share | --shar \
1224 ac_prev=sharedstatedir ;;
1225 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1226 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1227 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1229 sharedstatedir=$ac_optarg ;;
1231 -site | --site | --sit)
1233 -site=* | --site=* | --sit=*)
1236 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1238 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1239 srcdir=$ac_optarg ;;
1241 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1242 | --syscon | --sysco | --sysc | --sys | --sy)
1243 ac_prev=sysconfdir ;;
1244 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1245 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1246 sysconfdir=$ac_optarg ;;
1248 -target | --target | --targe | --targ | --tar | --ta | --t)
1249 ac_prev=target_alias ;;
1250 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1251 target_alias=$ac_optarg ;;
1253 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1256 -version | --version | --versio | --versi | --vers | -V)
1257 ac_init_version=: ;;
1260 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1263 as_fn_error $? "invalid package name: $ac_useropt"
1264 ac_useropt_orig=$ac_useropt
1265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266 case $ac_user_opts in
1270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1271 ac_unrecognized_sep=', ';;
1273 eval with_$ac_useropt=\$ac_optarg ;;
1275 -without-* | --without-*)
1276 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279 as_fn_error $? "invalid package name: $ac_useropt"
1280 ac_useropt_orig=$ac_useropt
1281 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282 case $ac_user_opts in
1286 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1287 ac_unrecognized_sep=', ';;
1289 eval with_$ac_useropt=no ;;
1292 # Obsolete; use --with-x.
1295 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1296 | --x-incl | --x-inc | --x-in | --x-i)
1297 ac_prev=x_includes ;;
1298 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1299 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1300 x_includes=$ac_optarg ;;
1302 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1303 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1304 ac_prev=x_libraries ;;
1305 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1306 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1307 x_libraries=$ac_optarg ;;
1309 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1310 Try \`$0 --help' for more information"
1314 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 case $ac_envvar in #(
1317 '' | [0-9]* | *[!_$as_cr_alnum]* )
1318 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1320 eval $ac_envvar=\$ac_optarg
1321 export $ac_envvar ;;
1324 # FIXME: should be removed in autoconf 3.0.
1325 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1327 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1334 if test -n "$ac_prev"; then
1335 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1336 as_fn_error $? "missing argument to $ac_option"
1339 if test -n "$ac_unrecognized_opts"; then
1340 case $enable_option_checking in
1342 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1343 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1347 # Check all directory arguments for consistency.
1348 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349 datadir sysconfdir sharedstatedir localstatedir includedir \
1350 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351 libdir localedir mandir
1353 eval ac_val=\$$ac_var
1354 # Remove trailing slashes.
1357 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1358 eval $ac_var=\$ac_val;;
1360 # Be sure to have absolute directory names.
1362 [\\/$]* | ?:[\\/]* ) continue;;
1363 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1365 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1368 # There might be people who depend on the old broken behavior: `$host'
1369 # used to hold the argument of --host etc.
1370 # FIXME: To remove some day.
1373 target=$target_alias
1375 # FIXME: To remove some day.
1376 if test "x$host_alias" != x; then
1377 if test "x$build_alias" = x; then
1378 cross_compiling=maybe
1379 elif test "x$build_alias" != "x$host_alias"; then
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1387 test "$silent" = yes && exec 6>/dev/null
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error $? "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error $? "pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var in $ac_precious_vars; do
1451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_${ac_var}_value=\$${ac_var}
1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures this package to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking ...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1529 --target=TARGET configure for building compilers for TARGET [HOST]
1533 if test -n "$ac_init_help"; then
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --disable-dependency-tracking speeds up one-time build
1542 --enable-dependency-tracking do not reject slow dependency extractors
1543 --enable-shared[=PKGS] build shared libraries [default=yes]
1544 --enable-static[=PKGS] build static libraries [default=yes]
1545 --enable-fast-install[=PKGS]
1546 optimize for fast installation [default=yes]
1547 --disable-libtool-lock avoid locking (might break parallel builds)
1548 --enable-debug=LEVEL enables debug symbols default=2
1549 --enable-profile enables profiling
1552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1554 --with-pic try to use only PIC/non-PIC objects [default=use
1556 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1557 --with-stlport=BASEDIR use STLport
1558 --with-stlport-includes=DIR where the STLport includes are
1559 --with-stlport-libraries=DIR where STLport library is installed
1560 --with-stlport-libname=NAME STLport lib base name
1562 Some influential environment variables:
1563 CC C compiler command
1564 CFLAGS C compiler flags
1565 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1566 nonstandard directory <lib dir>
1567 LIBS libraries to pass to the linker, e.g. -l<library>
1568 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1569 you have headers in a nonstandard directory <include dir>
1571 CXX C++ compiler command
1572 CXXFLAGS C++ compiler flags
1573 CXXCPP C++ preprocessor
1575 Use these variables to override the choices made by `configure' or to help
1576 it to find libraries and programs with nonstandard names/locations.
1578 Report bugs to the package provider.
1583 if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1642 generated by GNU Autoconf 2.69
1644 Copyright (C) 2012 Free Software Foundation, Inc.
1645 This configure script is free software; the Free Software Foundation
1646 gives unlimited permission to copy, distribute and modify it.
1651 ## ------------------------ ##
1652 ## Autoconf initialization. ##
1653 ## ------------------------ ##
1655 # ac_fn_c_try_compile LINENO
1656 # --------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_c_try_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1691 } # ac_fn_c_try_compile
1693 # ac_fn_c_try_link LINENO
1694 # -----------------------
1695 # Try to link conftest.$ac_ext, and return whether this succeeded.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext conftest$ac_exeext
1700 if { { ac_try="$ac_link"
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest$ac_exeext && {
1719 test "$cross_compiling" = yes ||
1720 test -x conftest$ac_exeext
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731 # interfere with the next link command; also delete a directory that is
1732 # left behind by Apple's compiler. We do this before executing the actions.
1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1737 } # ac_fn_c_try_link
1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740 # -------------------------------------------------------
1741 # Tests whether HEADER exists and can be compiled using the include files in
1742 # INCLUDES, setting the cache variable VAR accordingly.
1743 ac_fn_c_check_header_compile ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1756 if ac_fn_c_try_compile "$LINENO"; then :
1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 } # ac_fn_c_check_header_compile
1770 # ac_fn_c_try_cpp LINENO
1771 # ----------------------
1772 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if { { ac_try="$ac_cpp conftest.$ac_ext"
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } > conftest.i && {
1792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1807 # ac_fn_c_try_run LINENO
1808 # ----------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1810 # that executables *can* be run.
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 if { { ac_try="$ac_link"
1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>&5
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1825 { { case "(($ac_try" in
1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827 *) ac_try_echo=$ac_try;;
1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_try") 2>&5
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; }; }; then :
1837 $as_echo "$as_me: program exited with status $ac_status" >&5
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1841 ac_retval=$ac_status
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 as_fn_set_status $ac_retval
1849 # ac_fn_c_check_func LINENO FUNC VAR
1850 # ----------------------------------
1851 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1852 ac_fn_c_check_func ()
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856 $as_echo_n "checking for $2... " >&6; }
1857 if eval \${$3+:} false; then :
1858 $as_echo_n "(cached) " >&6
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1862 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1864 #define $2 innocuous_$2
1866 /* System header to define __stub macros and hopefully few prototypes,
1867 which can conflict with char $2 (); below.
1868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1869 <limits.h> exists even on freestanding compilers. */
1872 # include <limits.h>
1874 # include <assert.h>
1879 /* Override any GCC internal prototype to avoid an error.
1880 Use char because int might match the return type of a GCC
1881 builtin and then its argument prototype would still apply. */
1886 /* The GNU C library defines this for functions which it implements
1887 to always fail with ENOSYS. Some functions are actually named
1888 something starting with __ and the normal name is an alias. */
1889 #if defined __stub_$2 || defined __stub___$2
1901 if ac_fn_c_try_link "$LINENO"; then :
1906 rm -f core conftest.err conftest.$ac_objext \
1907 conftest$ac_exeext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 } # ac_fn_c_check_func
1916 # ac_fn_cxx_try_compile LINENO
1917 # ----------------------------
1918 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_cxx_try_compile ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext
1923 if { { ac_try="$ac_compile"
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_compile") 2>conftest.err
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest.$ac_objext; then :
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status $ac_retval
1952 } # ac_fn_cxx_try_compile
1954 # ac_fn_cxx_try_cpp LINENO
1955 # ------------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_cpp ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err; then
1970 grep -v '^ *+' conftest.err >conftest.er1
1971 cat conftest.er1 >&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i && {
1976 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status $ac_retval
1989 } # ac_fn_cxx_try_cpp
1991 # ac_fn_cxx_try_link LINENO
1992 # -------------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_link ()
1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997 rm -f conftest.$ac_objext conftest$ac_exeext
1998 if { { ac_try="$ac_link"
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>conftest.err
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest$ac_exeext && {
2017 test "$cross_compiling" = yes ||
2018 test -x conftest$ac_exeext
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2028 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2029 # interfere with the next link command; also delete a directory that is
2030 # left behind by Apple's compiler. We do this before executing the actions.
2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 as_fn_set_status $ac_retval
2035 } # ac_fn_cxx_try_link
2037 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # ---------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_cxx_check_header_mongrel ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 if eval \${$3+:} false; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval \${$3+:} false; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_cxx_try_compile "$LINENO"; then :
2064 ac_header_compiler=yes
2066 ac_header_compiler=no
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_cxx_try_cpp "$LINENO"; then :
2080 ac_header_preproc=yes
2082 ac_header_preproc=no
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if eval \${$3+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 eval "$3=\$ac_header_compiler"
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_cxx_check_header_mongrel
2124 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2125 # ---------------------------------------------
2126 # Tests whether TYPE exists after having included INCLUDES, setting cache
2127 # variable VAR accordingly.
2128 ac_fn_cxx_check_type ()
2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if eval \${$3+:} false; then :
2134 $as_echo_n "(cached) " >&6
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2149 if ac_fn_cxx_try_compile "$LINENO"; then :
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2162 if ac_fn_cxx_try_compile "$LINENO"; then :
2167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173 $as_echo "$ac_res" >&6; }
2174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 } # ac_fn_cxx_check_type
2177 cat >config.log <<_ACEOF
2178 This file contains any messages produced by compilers while
2179 running configure, to aid debugging if configure makes a mistake.
2181 It was created by $as_me, which was
2182 generated by GNU Autoconf 2.69. Invocation command line was
2194 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2195 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2196 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2197 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2198 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2200 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2201 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2203 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2204 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2205 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2206 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2207 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2208 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2209 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir=.
2218 $as_echo "PATH: $as_dir"
2234 # Keep a trace of the command line.
2235 # Strip out --no-create and --no-recursion so they do not pile up.
2236 # Strip out --silent because we don't want to record it for future runs.
2237 # Also quote any args containing shell meta-characters.
2238 # Make two passes to allow for proper duplicate-argument suppression.
2242 ac_must_keep_next=false
2248 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2250 | -silent | --silent | --silen | --sile | --sil)
2253 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2256 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2258 as_fn_append ac_configure_args1 " '$ac_arg'"
2259 if test $ac_must_keep_next = true; then
2260 ac_must_keep_next=false # Got value, back to normal.
2263 *=* | --config-cache | -C | -disable-* | --disable-* \
2264 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2265 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2266 | -with-* | --with-* | -without-* | --without-* | --x)
2267 case "$ac_configure_args0 " in
2268 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2271 -* ) ac_must_keep_next=true ;;
2274 as_fn_append ac_configure_args " '$ac_arg'"
2279 { ac_configure_args0=; unset ac_configure_args0;}
2280 { ac_configure_args1=; unset ac_configure_args1;}
2282 # When interrupted or exit'd, cleanup temporary files, and complete
2283 # config.log. We remove comments because anyway the quotes in there
2284 # would cause problems or look ugly.
2285 # WARNING: Use '\'' to represent an apostrophe within the trap.
2286 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2287 trap 'exit_status=$?
2288 # Save into config.log some information that might help in debugging.
2292 $as_echo "## ---------------- ##
2293 ## Cache variables. ##
2294 ## ---------------- ##"
2296 # The following way of writing the cache mishandles newlines in values,
2298 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2299 eval ac_val=\$$ac_var
2303 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2304 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2307 _ | IFS | as_nl) ;; #(
2308 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2309 *) { eval $ac_var=; unset $ac_var;} ;;
2314 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2315 *${as_nl}ac_space=\ *)
2317 "s/'\''/'\''\\\\'\'''\''/g;
2318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2321 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2328 $as_echo "## ----------------- ##
2329 ## Output variables. ##
2330 ## ----------------- ##"
2332 for ac_var in $ac_subst_vars
2334 eval ac_val=\$$ac_var
2336 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2342 if test -n "$ac_subst_files"; then
2343 $as_echo "## ------------------- ##
2344 ## File substitutions. ##
2345 ## ------------------- ##"
2347 for ac_var in $ac_subst_files
2349 eval ac_val=\$$ac_var
2351 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2353 $as_echo "$ac_var='\''$ac_val'\''"
2358 if test -s confdefs.h; then
2359 $as_echo "## ----------- ##
2366 test "$ac_signal" != 0 &&
2367 $as_echo "$as_me: caught signal $ac_signal"
2368 $as_echo "$as_me: exit $exit_status"
2370 rm -f core *.core core.conftest.* &&
2371 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2374 for ac_signal in 1 2 13 15; do
2375 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2379 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2380 rm -f -r conftest* confdefs.h
2382 $as_echo "/* confdefs.h */" > confdefs.h
2384 # Predefined preprocessor variables.
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_NAME "$PACKAGE_NAME"
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2398 cat >>confdefs.h <<_ACEOF
2399 #define PACKAGE_STRING "$PACKAGE_STRING"
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_URL "$PACKAGE_URL"
2411 # Let the site file select an alternate cache file if it wants to.
2412 # Prefer an explicitly selected file to automatically selected ones.
2415 if test -n "$CONFIG_SITE"; then
2416 # We do not want a PATH search for config.site.
2417 case $CONFIG_SITE in #((
2418 -*) ac_site_file1=./$CONFIG_SITE;;
2419 */*) ac_site_file1=$CONFIG_SITE;;
2420 *) ac_site_file1=./$CONFIG_SITE;;
2422 elif test "x$prefix" != xNONE; then
2423 ac_site_file1=$prefix/share/config.site
2424 ac_site_file2=$prefix/etc/config.site
2426 ac_site_file1=$ac_default_prefix/share/config.site
2427 ac_site_file2=$ac_default_prefix/etc/config.site
2429 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2431 test "x$ac_site_file" = xNONE && continue
2432 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2434 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2435 sed 's/^/| /' "$ac_site_file" >&5
2437 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439 as_fn_error $? "failed to load site script $ac_site_file
2440 See \`config.log' for more details" "$LINENO" 5; }
2444 if test -r "$cache_file"; then
2445 # Some versions of bash will fail to source /dev/null (special files
2446 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2447 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2449 $as_echo "$as_me: loading cache $cache_file" >&6;}
2451 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2452 *) . "./$cache_file";;
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2457 $as_echo "$as_me: creating cache $cache_file" >&6;}
2461 as_fn_append ac_header_list " stdlib.h"
2462 as_fn_append ac_header_list " unistd.h"
2463 as_fn_append ac_header_list " sys/param.h"
2464 # Check that the precious variables saved in the cache have kept the same
2466 ac_cache_corrupted=false
2467 for ac_var in $ac_precious_vars; do
2468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2469 eval ac_new_set=\$ac_env_${ac_var}_set
2470 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2471 eval ac_new_val=\$ac_env_${ac_var}_value
2472 case $ac_old_set,$ac_new_set in
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2475 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2476 ac_cache_corrupted=: ;;
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2479 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2480 ac_cache_corrupted=: ;;
2483 if test "x$ac_old_val" != "x$ac_new_val"; then
2484 # differences in whitespace do not lead to failure.
2485 ac_old_val_w=`echo x $ac_old_val`
2486 ac_new_val_w=`echo x $ac_new_val`
2487 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2489 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2490 ac_cache_corrupted=:
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2493 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2494 eval $ac_var=\$ac_old_val
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2497 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2499 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2502 # Pass precious variables to config.status.
2503 if test "$ac_new_set" = set; then
2505 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506 *) ac_arg=$ac_var=$ac_new_val ;;
2508 case " $ac_configure_args " in
2509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2510 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2514 if $ac_cache_corrupted; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2518 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2519 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2521 ## -------------------- ##
2522 ## Main body of script. ##
2523 ## -------------------- ##
2526 ac_cpp='$CPP $CPPFLAGS'
2527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2534 if test -f "$ac_dir/install-sh"; then
2536 ac_install_sh="$ac_aux_dir/install-sh -c"
2538 elif test -f "$ac_dir/install.sh"; then
2540 ac_install_sh="$ac_aux_dir/install.sh -c"
2542 elif test -f "$ac_dir/shtool"; then
2544 ac_install_sh="$ac_aux_dir/shtool install -c"
2548 if test -z "$ac_aux_dir"; then
2549 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2552 # These three variables are undocumented and unsupported,
2553 # and are intended to be withdrawn in a future Autoconf release.
2554 # They can cause serious problems if a builder's source tree is in a directory
2555 # whose full name contains unusual characters.
2556 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2557 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2558 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2561 # Make sure we can run config.sub.
2562 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2563 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2566 $as_echo_n "checking build system type... " >&6; }
2567 if ${ac_cv_build+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 ac_build_alias=$build_alias
2571 test "x$ac_build_alias" = x &&
2572 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2573 test "x$ac_build_alias" = x &&
2574 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2575 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2576 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2580 $as_echo "$ac_cv_build" >&6; }
2581 case $ac_cv_build in
2583 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2586 ac_save_IFS=$IFS; IFS='-'
2592 # Remember, the first character of IFS is used to create $*,
2593 # except with old shells:
2596 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2600 $as_echo_n "checking host system type... " >&6; }
2601 if ${ac_cv_host+:} false; then :
2602 $as_echo_n "(cached) " >&6
2604 if test "x$host_alias" = x; then
2605 ac_cv_host=$ac_cv_build
2607 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2608 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2613 $as_echo "$ac_cv_host" >&6; }
2616 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2619 ac_save_IFS=$IFS; IFS='-'
2625 # Remember, the first character of IFS is used to create $*,
2626 # except with old shells:
2629 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2633 $as_echo_n "checking target system type... " >&6; }
2634 if ${ac_cv_target+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 if test "x$target_alias" = x; then
2638 ac_cv_target=$ac_cv_host
2640 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2641 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2646 $as_echo "$ac_cv_target" >&6; }
2647 case $ac_cv_target in
2649 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2651 target=$ac_cv_target
2652 ac_save_IFS=$IFS; IFS='-'
2658 # Remember, the first character of IFS is used to create $*,
2659 # except with old shells:
2662 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2665 # The aliases save the names the user supplied, while $host etc.
2666 # will get canonicalized.
2667 test -n "$target_alias" &&
2668 test "$program_prefix$program_suffix$program_transform_name" = \
2670 program_prefix=${target_alias}-
2674 am__api_version='1.11'
2676 # Find a good install program. We prefer a C program (faster),
2677 # so one script is as good as another. But avoid the broken or
2678 # incompatible versions:
2679 # SysV /etc/install, /usr/sbin/install
2680 # SunOS /usr/etc/install
2681 # IRIX /sbin/install
2683 # AmigaOS /C/install, which installs bootblocks on floppy discs
2684 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2685 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2686 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2687 # OS/2's system install, which has a completely different semantic
2688 # ./install, which can be erroneously created by make from ./install.sh.
2689 # Reject install programs that cannot install multiple files.
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2691 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2692 if test -z "$INSTALL"; then
2693 if ${ac_cv_path_install+:} false; then :
2694 $as_echo_n "(cached) " >&6
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 # Account for people who put trailing slashes in PATH elements.
2702 case $as_dir/ in #((
2703 ./ | .// | /[cC]/* | \
2704 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2705 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2708 # OSF1 and SCO ODT 3.0 have their own names for install.
2709 # Don't use installbsd from OSF since it installs stuff as root
2711 for ac_prog in ginstall scoinst install; do
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2714 if test $ac_prog = install &&
2715 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716 # AIX install. It has an incompatible calling convention.
2718 elif test $ac_prog = install &&
2719 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2720 # program-specific install script used by HP pwplus--don't use.
2723 rm -rf conftest.one conftest.two conftest.dir
2724 echo one > conftest.one
2725 echo two > conftest.two
2727 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2728 test -s conftest.one && test -s conftest.two &&
2729 test -s conftest.dir/conftest.one &&
2730 test -s conftest.dir/conftest.two
2732 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2745 rm -rf conftest.one conftest.two conftest.dir
2748 if test "${ac_cv_path_install+set}" = set; then
2749 INSTALL=$ac_cv_path_install
2751 # As a last resort, use the slow shell script. Don't cache a
2752 # value for INSTALL within a source directory, because that will
2753 # break other packages using the cache if that directory is
2754 # removed, or if the value is a relative name.
2755 INSTALL=$ac_install_sh
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2759 $as_echo "$INSTALL" >&6; }
2761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2762 # It thinks the first close brace ends the variable substitution.
2763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2765 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2767 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2770 $as_echo_n "checking whether build environment is sane... " >&6; }
2773 echo timestamp > conftest.file
2774 # Reject unsafe characters in $srcdir or the absolute working directory
2775 # name. Accept space and tab only in the latter.
2779 *[\\\"\#\$\&\'\`$am_lf]*)
2780 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2783 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2784 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2787 # Do `set' in a subshell so we don't clobber the current shell's
2788 # arguments. Must try -L first in case configure is actually a
2789 # symlink; some systems play weird games with the mod time of symlinks
2790 # (eg FreeBSD returns the mod time of the symlink's containing
2793 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2794 if test "$*" = "X"; then
2796 set X `ls -t "$srcdir/configure" conftest.file`
2799 if test "$*" != "X $srcdir/configure conftest.file" \
2800 && test "$*" != "X conftest.file $srcdir/configure"; then
2802 # If neither matched, then we have a broken ls. This can happen
2803 # if, for instance, CONFIG_SHELL is bash and it inherits a
2804 # broken ls alias from the environment. This has actually
2805 # happened. Such a system could not be considered "sane".
2806 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2807 alias in your environment" "$LINENO" 5
2810 test "$2" = conftest.file
2816 as_fn_error $? "newly created file is older than distributed files!
2817 Check your system clock" "$LINENO" 5
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2821 test "$program_prefix" != NONE &&
2822 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2823 # Use a double $ so make ignores it.
2824 test "$program_suffix" != NONE &&
2825 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2826 # Double any \ or $.
2827 # By default was `s,x,x', remove it if useless.
2828 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2829 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2831 # expand $ac_aux_dir to an absolute path
2832 am_aux_dir=`cd $ac_aux_dir && pwd`
2834 if test x"${MISSING+set}" != xset; then
2837 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2839 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2842 # Use eval to expand $SHELL
2843 if eval "$MISSING --run true"; then
2844 am_missing_run="$MISSING --run "
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2848 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2851 if test x"${install_sh}" != xset; then
2854 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2856 install_sh="\${SHELL} $am_aux_dir/install-sh"
2860 # Installed binaries are usually stripped using `strip' when the user
2861 # run `make install-strip'. However `strip' might not be the right
2862 # tool to use in cross-compilation environments, therefore Automake
2863 # will honor the `STRIP' environment variable to overrule this program.
2864 if test "$cross_compiling" != no; then
2865 if test -n "$ac_tool_prefix"; then
2866 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2867 set dummy ${ac_tool_prefix}strip; ac_word=$2
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869 $as_echo_n "checking for $ac_word... " >&6; }
2870 if ${ac_cv_prog_STRIP+:} false; then :
2871 $as_echo_n "(cached) " >&6
2873 if test -n "$STRIP"; then
2874 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 test -z "$as_dir" && as_dir=.
2881 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2883 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 STRIP=$ac_cv_prog_STRIP
2894 if test -n "$STRIP"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2896 $as_echo "$STRIP" >&6; }
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899 $as_echo "no" >&6; }
2904 if test -z "$ac_cv_prog_STRIP"; then
2906 # Extract the first word of "strip", so it can be a program name with args.
2907 set dummy strip; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_STRIP"; then
2914 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_ac_ct_STRIP="strip"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2934 if test -n "$ac_ct_STRIP"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2936 $as_echo "$ac_ct_STRIP" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2942 if test "x$ac_ct_STRIP" = x; then
2945 case $cross_compiling:$ac_tool_warned in
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2949 ac_tool_warned=yes ;;
2954 STRIP="$ac_cv_prog_STRIP"
2958 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2961 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2962 if test -z "$MKDIR_P"; then
2963 if ${ac_cv_path_mkdir+:} false; then :
2964 $as_echo_n "(cached) " >&6
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2970 test -z "$as_dir" && as_dir=.
2971 for ac_prog in mkdir gmkdir; do
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2974 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2975 'mkdir (GNU coreutils) '* | \
2976 'mkdir (coreutils) '* | \
2977 'mkdir (fileutils) '4.1*)
2978 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2988 test -d ./--version && rmdir ./--version
2989 if test "${ac_cv_path_mkdir+set}" = set; then
2990 MKDIR_P="$ac_cv_path_mkdir -p"
2992 # As a last resort, use the slow shell script. Don't cache a
2993 # value for MKDIR_P within a source directory, because that will
2994 # break other packages using the cache if that directory is
2995 # removed, or if the value is a relative name.
2996 MKDIR_P="$ac_install_sh -d"
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3000 $as_echo "$MKDIR_P" >&6; }
3004 [\\/$]* | ?:[\\/]*) ;;
3005 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3008 for ac_prog in gawk mawk nawk awk
3010 # Extract the first word of "$ac_prog", so it can be a program name with args.
3011 set dummy $ac_prog; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_AWK+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$AWK"; then
3018 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_AWK="$ac_prog"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test -n "$AWK"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3040 $as_echo "$AWK" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3047 test -n "$AWK" && break
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3051 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3053 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3054 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3055 $as_echo_n "(cached) " >&6
3057 cat >conftest.make <<\_ACEOF
3060 @echo '@@@%%%=$(MAKE)=@@@%%%'
3062 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3063 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3065 eval ac_cv_prog_make_${ac_make}_set=yes;;
3067 eval ac_cv_prog_make_${ac_make}_set=no;;
3071 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073 $as_echo "yes" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 SET_MAKE="MAKE=${MAKE-make}"
3081 rm -rf .tst 2>/dev/null
3082 mkdir .tst 2>/dev/null
3083 if test -d .tst; then
3088 rmdir .tst 2>/dev/null
3090 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3091 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3092 # is not polluted with repeated "-I."
3093 am__isrc=' -I$(srcdir)'
3094 # test to see if srcdir already configured
3095 if test -f $srcdir/config.status; then
3096 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3100 # test whether we have cygpath
3101 if test -z "$CYGPATH_W"; then
3102 if (cygpath --version) >/dev/null 2>/dev/null; then
3103 CYGPATH_W='cygpath -w'
3110 # Define the identity of the package.
3115 cat >>confdefs.h <<_ACEOF
3116 #define PACKAGE "$PACKAGE"
3120 cat >>confdefs.h <<_ACEOF
3121 #define VERSION "$VERSION"
3124 # Some tools Automake needs.
3126 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3129 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3132 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3135 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3138 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3140 # We need awk for the "check" target. The system "awk" is bad on
3142 # Always define AMTAR for backward compatibility.
3144 AMTAR=${AMTAR-"${am_missing_run}tar"}
3146 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3152 ac_config_headers="$ac_config_headers mimetic/config.h"
3156 ac_cpp='$CPP $CPPFLAGS'
3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 if test -n "$CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3199 if test -z "$ac_cv_prog_CC"; then
3201 # Extract the first word of "gcc", so it can be a program name with args.
3202 set dummy gcc; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 if test -n "$ac_ct_CC"; then
3209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir=.
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218 ac_cv_prog_ac_ct_CC="gcc"
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229 if test -n "$ac_ct_CC"; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3231 $as_echo "$ac_ct_CC" >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3237 if test "x$ac_ct_CC" = x; then
3240 case $cross_compiling:$ac_tool_warned in
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3244 ac_tool_warned=yes ;;
3252 if test -z "$CC"; then
3253 if test -n "$ac_tool_prefix"; then
3254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3255 set dummy ${ac_tool_prefix}cc; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_CC+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 if test -n "$CC"; then
3262 ac_cv_prog_CC="$CC" # Let the user override the test.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271 ac_cv_prog_CC="${ac_tool_prefix}cc"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 if test -n "$CC"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3284 $as_echo "$CC" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3293 if test -z "$CC"; then
3294 # Extract the first word of "cc", so it can be a program name with args.
3295 set dummy cc; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if ${ac_cv_prog_CC+:} false; then :
3299 $as_echo_n "(cached) " >&6
3301 if test -n "$CC"; then
3302 ac_cv_prog_CC="$CC" # Let the user override the test.
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir=.
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3313 ac_prog_rejected=yes
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 if test $ac_prog_rejected = yes; then
3325 # We found a bogon in the path, so make sure we never use it.
3326 set dummy $ac_cv_prog_CC
3328 if test $# != 0; then
3329 # We chose a different compiler from the bogus one.
3330 # However, it has the same basename, so the bogon will be chosen
3331 # first if we set CC to just the basename; use the full file name.
3333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3339 if test -n "$CC"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3341 $as_echo "$CC" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3349 if test -z "$CC"; then
3350 if test -n "$ac_tool_prefix"; then
3351 for ac_prog in cl.exe
3353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_CC+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 if test -n "$CC"; then
3361 ac_cv_prog_CC="$CC" # Let the user override the test.
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 if test -n "$CC"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3383 $as_echo "$CC" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3390 test -n "$CC" && break
3393 if test -z "$CC"; then
3395 for ac_prog in cl.exe
3397 # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$ac_ct_CC"; then
3405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_prog_ac_ct_CC="$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3425 if test -n "$ac_ct_CC"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3427 $as_echo "$ac_ct_CC" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3434 test -n "$ac_ct_CC" && break
3437 if test "x$ac_ct_CC" = x; then
3440 case $cross_compiling:$ac_tool_warned in
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444 ac_tool_warned=yes ;;
3453 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "no acceptable C compiler found in \$PATH
3456 See \`config.log' for more details" "$LINENO" 5; }
3458 # Provide some information about the compiler.
3459 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3462 for ac_option in --version -v -V -qversion; do
3463 { { ac_try="$ac_compiler $ac_option >&5"
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469 $as_echo "$ac_try_echo"; } >&5
3470 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3472 if test -s conftest.err; then
3474 ... rest of stderr output deleted ...
3475 10q' conftest.err >conftest.er1
3476 cat conftest.er1 >&5
3478 rm -f conftest.er1 conftest.err
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 ac_clean_files_save=$ac_clean_files
3495 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3496 # Try to create an executable without -o first, disregard a.out.
3497 # It will help us diagnose broken compilers, and finding out an intuition
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3500 $as_echo_n "checking whether the C compiler works... " >&6; }
3501 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3503 # The possible output files:
3504 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3507 for ac_file in $ac_files
3510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3511 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3516 if { { ac_try="$ac_link_default"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_link_default") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3528 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3529 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3530 # so that the user can short-circuit this test for compilers unknown to
3532 for ac_file in $ac_files ''
3534 test -f "$ac_file" || continue
3536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3539 # We found the default executable, but exeext='' is most
3543 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3545 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3547 # We set ac_cv_exeext here because the later test for it is not
3548 # safe: cross compilers may not add the suffix if given an `-o'
3549 # argument, so we may need to know it at that point already.
3550 # Even if this section looks crufty: it has the advantage of
3557 test "$ac_cv_exeext" = no && ac_cv_exeext=
3562 if test -z "$ac_file"; then :
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error 77 "C compiler cannot create executables
3571 See \`config.log' for more details" "$LINENO" 5; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3577 $as_echo_n "checking for C compiler default output file name... " >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3579 $as_echo "$ac_file" >&6; }
3580 ac_exeext=$ac_cv_exeext
3582 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3583 ac_clean_files=$ac_clean_files_save
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3585 $as_echo_n "checking for suffix of executables... " >&6; }
3586 if { { ac_try="$ac_link"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link") 2>&5
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }; then :
3597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3599 # work properly (i.e., refer to `conftest.exe'), while it won't with
3601 for ac_file in conftest.exe conftest conftest.*; do
3602 test -f "$ac_file" || continue
3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3614 See \`config.log' for more details" "$LINENO" 5; }
3616 rm -f conftest conftest$ac_cv_exeext
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3618 $as_echo "$ac_cv_exeext" >&6; }
3620 rm -f conftest.$ac_ext
3621 EXEEXT=$ac_cv_exeext
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3629 FILE *f = fopen ("conftest.out", "w");
3630 return ferror (f) || fclose (f) != 0;
3636 ac_clean_files="$ac_clean_files conftest.out"
3637 # Check that the compiler produces executables we can run. If not, either
3638 # the compiler is broken, or we cross compile.
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3640 $as_echo_n "checking whether we are cross compiling... " >&6; }
3641 if test "$cross_compiling" != yes; then
3642 { { ac_try="$ac_link"
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3648 $as_echo "$ac_try_echo"; } >&5
3649 (eval "$ac_link") 2>&5
3651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3652 test $ac_status = 0; }
3653 if { ac_try='./conftest$ac_cv_exeext'
3654 { { case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 $as_echo "$ac_try_echo"; } >&5
3660 (eval "$ac_try") 2>&5
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }; }; then
3666 if test "$cross_compiling" = maybe; then
3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error $? "cannot run C compiled programs.
3672 If you meant to cross compile, use \`--host'.
3673 See \`config.log' for more details" "$LINENO" 5; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3678 $as_echo "$cross_compiling" >&6; }
3680 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3683 $as_echo_n "checking for suffix of object files... " >&6; }
3684 if ${ac_cv_objext+:} false; then :
3685 $as_echo_n "(cached) " >&6
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3698 rm -f conftest.o conftest.obj
3699 if { { ac_try="$ac_compile"
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_compile") 2>&5
3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3709 test $ac_status = 0; }; then :
3710 for ac_file in conftest.o conftest.obj conftest.*; do
3711 test -f "$ac_file" || continue;
3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3714 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3719 $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "cannot compute suffix of object files: cannot compile
3725 See \`config.log' for more details" "$LINENO" 5; }
3727 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3730 $as_echo "$ac_cv_objext" >&6; }
3731 OBJEXT=$ac_cv_objext
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3734 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3735 if ${ac_cv_c_compiler_gnu+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3752 if ac_fn_c_try_compile "$LINENO"; then :
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3762 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3763 if test $ac_compiler_gnu = yes; then
3768 ac_test_CFLAGS=${CFLAGS+set}
3769 ac_save_CFLAGS=$CFLAGS
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3771 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3772 if ${ac_cv_prog_cc_g+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 ac_save_c_werror_flag=$ac_c_werror_flag
3776 ac_c_werror_flag=yes
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_c_try_compile "$LINENO"; then :
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 if ac_fn_c_try_compile "$LINENO"; then :
3808 ac_c_werror_flag=$ac_save_c_werror_flag
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 if ac_fn_c_try_compile "$LINENO"; then :
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3832 $as_echo "$ac_cv_prog_cc_g" >&6; }
3833 if test "$ac_test_CFLAGS" = set; then
3834 CFLAGS=$ac_save_CFLAGS
3835 elif test $ac_cv_prog_cc_g = yes; then
3836 if test "$GCC" = yes; then
3842 if test "$GCC" = yes; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3849 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3850 if ${ac_cv_prog_cc_c89+:} false; then :
3851 $as_echo_n "(cached) " >&6
3853 ac_cv_prog_cc_c89=no
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3861 struct buf { int x; };
3862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3863 static char *e (p, i)
3869 static char *f (char * (*g) (char **, int), char **p, ...)
3874 s = g (p, va_arg (v,int));
3879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3880 function prototypes and stuff, but not '\xHH' hex character constants.
3881 These don't provoke an error unfortunately, instead are silently treated
3882 as 'x'. The following induces an error, until -std is added to get
3883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3884 array size at least. It's necessary to write '\x00'==0 to get something
3885 that's true only with -std. */
3886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3889 inside strings and character constants. */
3891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3910 CC="$ac_save_CC $ac_arg"
3911 if ac_fn_c_try_compile "$LINENO"; then :
3912 ac_cv_prog_cc_c89=$ac_arg
3914 rm -f core conftest.err conftest.$ac_objext
3915 test "x$ac_cv_prog_cc_c89" != "xno" && break
3917 rm -f conftest.$ac_ext
3922 case "x$ac_cv_prog_cc_c89" in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3925 $as_echo "none needed" >&6; } ;;
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 $as_echo "unsupported" >&6; } ;;
3930 CC="$CC $ac_cv_prog_cc_c89"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3934 if test "x$ac_cv_prog_cc_c89" != xno; then :
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 DEPDIR="${am__leading_dot}deps"
3945 ac_config_commands="$ac_config_commands depfiles"
3948 am_make=${MAKE-make}
3949 cat > confinc << 'END'
3951 @echo this is the am__doit target
3954 # If we don't find an include directive, just comment out the code.
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3956 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3960 # First try GNU make style include.
3961 echo "include confinc" > confmf
3962 # Ignore all kinds of additional output from `make'.
3963 case `$am_make -s -f confmf 2> /dev/null` in #(
3964 *the\ am__doit\ target*)
3970 # Now try BSD make style include.
3971 if test "$am__include" = "#"; then
3972 echo '.include "confinc"' > confmf
3973 case `$am_make -s -f confmf 2> /dev/null` in #(
3974 *the\ am__doit\ target*)
3975 am__include=.include
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3984 $as_echo "$_am_result" >&6; }
3985 rm -f confinc confmf
3987 # Check whether --enable-dependency-tracking was given.
3988 if test "${enable_dependency_tracking+set}" = set; then :
3989 enableval=$enable_dependency_tracking;
3992 if test "x$enable_dependency_tracking" != xno; then
3993 am_depcomp="$ac_aux_dir/depcomp"
3996 if test "x$enable_dependency_tracking" != xno; then
4006 depcc="$CC" am_compiler_list=
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009 $as_echo_n "checking dependency style of $depcc... " >&6; }
4010 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4014 # We make a subdir and do the tests there. Otherwise we can end up
4015 # making bogus files that we don't know about and never remove. For
4016 # instance it was reported that on HP-UX the gcc test will end up
4017 # making a dummy file named `D' -- because `-MD' means `put the output
4020 # Copy depcomp to subdir because otherwise we won't find it if we're
4021 # using a relative directory.
4022 cp "$am_depcomp" conftest.dir
4024 # We will build objects and dependencies in a subdirectory because
4025 # it helps to detect inapplicable dependency modes. For instance
4026 # both Tru64's cc and ICC support -MD to output dependencies as a
4027 # side effect of compilation, but ICC will put the dependencies in
4028 # the current directory while Tru64 will put them in the object
4032 am_cv_CC_dependencies_compiler_type=none
4033 if test "$am_compiler_list" = ""; then
4034 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4037 case " $depcc " in #(
4038 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4041 for depmode in $am_compiler_list; do
4042 # Setup a source with many dependencies, because some compilers
4043 # like to wrap large dependency lists on column 80 (with \), and
4044 # we should not choose a depcomp mode which is confused by this.
4046 # We need to recreate these files for each test, as the compiler may
4047 # overwrite some of them when testing with obscure command lines.
4048 # This happens at least with the AIX C compiler.
4050 for i in 1 2 3 4 5 6; do
4051 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4052 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4053 # Solaris 8's {/usr,}/bin/sh.
4054 touch sub/conftst$i.h
4056 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4058 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4059 # mode. It turns out that the SunPro C++ compiler does not properly
4060 # handle `-M -o', and we need to detect this. Also, some Intel
4061 # versions had trouble with output in subdirs
4062 am__obj=sub/conftest.${OBJEXT-o}
4063 am__minus_obj="-o $am__obj"
4066 # This depmode causes a compiler race in universal mode.
4067 test "$am__universal" = false || continue
4070 # after this tag, mechanisms are not by side-effect, so they'll
4071 # only be used when explicitly requested
4072 if test "x$enable_dependency_tracking" = xyes; then
4078 msvisualcpp | msvcmsys)
4079 # This compiler won't grok `-c -o', but also, the minuso test has
4080 # not run yet. These depmodes are late enough in the game, and
4081 # so weak that their functioning should not be impacted.
4082 am__obj=conftest.${OBJEXT-o}
4087 if depmode=$depmode \
4088 source=sub/conftest.c object=$am__obj \
4089 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4090 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4091 >/dev/null 2>conftest.err &&
4092 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4093 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4094 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4095 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4096 # icc doesn't choke on unknown options, it will just issue warnings
4097 # or remarks (even with -Werror). So we grep stderr for any message
4098 # that says an option was ignored or not supported.
4099 # When given -MP, icc 7.0 and 7.1 complain thusly:
4100 # icc: Command line warning: ignoring option '-M'; no argument required
4101 # The diagnosis changed in icc 8.0:
4102 # icc: Command line remark: option '-MP' not supported
4103 if (grep 'ignoring option' conftest.err ||
4104 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4105 am_cv_CC_dependencies_compiler_type=$depmode
4114 am_cv_CC_dependencies_compiler_type=none
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4119 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4120 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4123 test "x$enable_dependency_tracking" != xno \
4124 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4126 am__fastdepCC_FALSE='#'
4128 am__fastdepCC_TRUE='#'
4129 am__fastdepCC_FALSE=
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4134 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4136 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4137 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4138 $as_echo_n "(cached) " >&6
4140 cat >conftest.make <<\_ACEOF
4143 @echo '@@@%%%=$(MAKE)=@@@%%%'
4145 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4146 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4148 eval ac_cv_prog_make_${ac_make}_set=yes;;
4150 eval ac_cv_prog_make_${ac_make}_set=no;;
4154 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4161 SET_MAKE="MAKE=${MAKE-make}"
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4167 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4172 macro_version='2.2.6'
4173 macro_revision='1.3012'
4187 ltmain="$ac_aux_dir/ltmain.sh"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4190 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4191 if ${ac_cv_path_SED+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4195 for ac_i in 1 2 3 4 5 6 7; do
4196 ac_script="$ac_script$as_nl$ac_script"
4198 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4199 { ac_script=; unset ac_script;}
4200 if test -z "$SED"; then
4201 ac_path_SED_found=false
4202 # Loop through the user's path and test for each of PROGNAME-LIST
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir=.
4208 for ac_prog in sed gsed; do
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4211 as_fn_executable_p "$ac_path_SED" || continue
4212 # Check for GNU ac_path_SED and select it if it is found.
4213 # Check for GNU $ac_path_SED
4214 case `"$ac_path_SED" --version 2>&1` in
4216 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4219 $as_echo_n 0123456789 >"conftest.in"
4222 cat "conftest.in" "conftest.in" >"conftest.tmp"
4223 mv "conftest.tmp" "conftest.in"
4224 cp "conftest.in" "conftest.nl"
4225 $as_echo '' >> "conftest.nl"
4226 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4228 as_fn_arith $ac_count + 1 && ac_count=$as_val
4229 if test $ac_count -gt ${ac_path_SED_max-0}; then
4230 # Best one so far, save it but keep looking for a better one
4231 ac_cv_path_SED="$ac_path_SED"
4232 ac_path_SED_max=$ac_count
4234 # 10*(2^10) chars as input seems more than enough
4235 test $ac_count -gt 10 && break
4237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4240 $ac_path_SED_found && break 3
4245 if test -z "$ac_cv_path_SED"; then
4246 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4254 $as_echo "$ac_cv_path_SED" >&6; }
4255 SED="$ac_cv_path_SED"
4258 test -z "$SED" && SED=sed
4259 Xsed="$SED -e 1s/^X//"
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4272 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4273 if ${ac_cv_path_GREP+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -z "$GREP"; then
4277 ac_path_GREP_found=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4283 test -z "$as_dir" && as_dir=.
4284 for ac_prog in grep ggrep; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4287 as_fn_executable_p "$ac_path_GREP" || continue
4288 # Check for GNU ac_path_GREP and select it if it is found.
4289 # Check for GNU $ac_path_GREP
4290 case `"$ac_path_GREP" --version 2>&1` in
4292 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4295 $as_echo_n 0123456789 >"conftest.in"
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo 'GREP' >> "conftest.nl"
4302 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304 as_fn_arith $ac_count + 1 && ac_count=$as_val
4305 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_GREP="$ac_path_GREP"
4308 ac_path_GREP_max=$ac_count
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316 $ac_path_GREP_found && break 3
4321 if test -z "$ac_cv_path_GREP"; then
4322 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4325 ac_cv_path_GREP=$GREP
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4330 $as_echo "$ac_cv_path_GREP" >&6; }
4331 GREP="$ac_cv_path_GREP"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4335 $as_echo_n "checking for egrep... " >&6; }
4336 if ${ac_cv_path_EGREP+:} false; then :
4337 $as_echo_n "(cached) " >&6
4339 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4340 then ac_cv_path_EGREP="$GREP -E"
4342 if test -z "$EGREP"; then
4343 ac_path_EGREP_found=false
4344 # Loop through the user's path and test for each of PROGNAME-LIST
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4349 test -z "$as_dir" && as_dir=.
4350 for ac_prog in egrep; do
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4353 as_fn_executable_p "$ac_path_EGREP" || continue
4354 # Check for GNU ac_path_EGREP and select it if it is found.
4355 # Check for GNU $ac_path_EGREP
4356 case `"$ac_path_EGREP" --version 2>&1` in
4358 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4361 $as_echo_n 0123456789 >"conftest.in"
4364 cat "conftest.in" "conftest.in" >"conftest.tmp"
4365 mv "conftest.tmp" "conftest.in"
4366 cp "conftest.in" "conftest.nl"
4367 $as_echo 'EGREP' >> "conftest.nl"
4368 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4369 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4370 as_fn_arith $ac_count + 1 && ac_count=$as_val
4371 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4372 # Best one so far, save it but keep looking for a better one
4373 ac_cv_path_EGREP="$ac_path_EGREP"
4374 ac_path_EGREP_max=$ac_count
4376 # 10*(2^10) chars as input seems more than enough
4377 test $ac_count -gt 10 && break
4379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4382 $ac_path_EGREP_found && break 3
4387 if test -z "$ac_cv_path_EGREP"; then
4388 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4391 ac_cv_path_EGREP=$EGREP
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4397 $as_echo "$ac_cv_path_EGREP" >&6; }
4398 EGREP="$ac_cv_path_EGREP"
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4402 $as_echo_n "checking for fgrep... " >&6; }
4403 if ${ac_cv_path_FGREP+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4407 then ac_cv_path_FGREP="$GREP -F"
4409 if test -z "$FGREP"; then
4410 ac_path_FGREP_found=false
4411 # Loop through the user's path and test for each of PROGNAME-LIST
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4416 test -z "$as_dir" && as_dir=.
4417 for ac_prog in fgrep; do
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4420 as_fn_executable_p "$ac_path_FGREP" || continue
4421 # Check for GNU ac_path_FGREP and select it if it is found.
4422 # Check for GNU $ac_path_FGREP
4423 case `"$ac_path_FGREP" --version 2>&1` in
4425 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4428 $as_echo_n 0123456789 >"conftest.in"
4431 cat "conftest.in" "conftest.in" >"conftest.tmp"
4432 mv "conftest.tmp" "conftest.in"
4433 cp "conftest.in" "conftest.nl"
4434 $as_echo 'FGREP' >> "conftest.nl"
4435 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4437 as_fn_arith $ac_count + 1 && ac_count=$as_val
4438 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4439 # Best one so far, save it but keep looking for a better one
4440 ac_cv_path_FGREP="$ac_path_FGREP"
4441 ac_path_FGREP_max=$ac_count
4443 # 10*(2^10) chars as input seems more than enough
4444 test $ac_count -gt 10 && break
4446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 $ac_path_FGREP_found && break 3
4454 if test -z "$ac_cv_path_FGREP"; then
4455 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4458 ac_cv_path_FGREP=$FGREP
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4464 $as_echo "$ac_cv_path_FGREP" >&6; }
4465 FGREP="$ac_cv_path_FGREP"
4468 test -z "$GREP" && GREP=grep
4488 # Check whether --with-gnu-ld was given.
4489 if test "${with_gnu_ld+set}" = set; then :
4490 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4496 if test "$GCC" = yes; then
4497 # Check if gcc -print-prog-name=ld gives a path.
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4499 $as_echo_n "checking for ld used by $CC... " >&6; }
4502 # gcc leaves a trailing carriage return which upsets mingw
4503 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4505 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4508 # Accept absolute paths.
4510 re_direlt='/[^/][^/]*/\.\./'
4511 # Canonicalize the pathname of ld
4512 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4513 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4514 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4516 test -z "$LD" && LD="$ac_prog"
4519 # If it fails, then pretend we aren't using GCC.
4523 # If it is relative, then search for the first ld in PATH.
4527 elif test "$with_gnu_ld" = yes; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4529 $as_echo_n "checking for GNU ld... " >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4532 $as_echo_n "checking for non-GNU ld... " >&6; }
4534 if ${lt_cv_path_LD+:} false; then :
4535 $as_echo_n "(cached) " >&6
4537 if test -z "$LD"; then
4538 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4539 for ac_dir in $PATH; do
4541 test -z "$ac_dir" && ac_dir=.
4542 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4543 lt_cv_path_LD="$ac_dir/$ac_prog"
4544 # Check to see if the program is GNU ld. I'd rather use --version,
4545 # but apparently some variants of GNU ld only accept -v.
4546 # Break only if it was the GNU/non-GNU ld that we prefer.
4547 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4548 *GNU* | *'with BFD'*)
4549 test "$with_gnu_ld" != no && break
4552 test "$with_gnu_ld" != yes && break
4559 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4564 if test -n "$LD"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4566 $as_echo "$LD" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4571 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4573 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4574 if ${lt_cv_prog_gnu_ld+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4578 case `$LD -v 2>&1 </dev/null` in
4579 *GNU* | *'with BFD'*)
4580 lt_cv_prog_gnu_ld=yes
4583 lt_cv_prog_gnu_ld=no
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4588 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4589 with_gnu_ld=$lt_cv_prog_gnu_ld
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4600 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4601 if ${lt_cv_path_NM+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$NM"; then
4605 # Let the user override the test.
4608 lt_nm_to_check="${ac_tool_prefix}nm"
4609 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4610 lt_nm_to_check="$lt_nm_to_check nm"
4612 for lt_tmp_nm in $lt_nm_to_check; do
4613 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4614 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4616 test -z "$ac_dir" && ac_dir=.
4617 tmp_nm="$ac_dir/$lt_tmp_nm"
4618 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4619 # Check to see if the nm accepts a BSD-compat flag.
4620 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4621 # nm: unknown option "B" ignored
4622 # Tru64's nm complains that /dev/null is an invalid object file
4623 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4624 */dev/null* | *'Invalid file or object type'*)
4625 lt_cv_path_NM="$tmp_nm -B"
4629 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4631 lt_cv_path_NM="$tmp_nm -p"
4635 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4636 continue # so that we can try to find one that supports BSD flags
4645 : ${lt_cv_path_NM=no}
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4649 $as_echo "$lt_cv_path_NM" >&6; }
4650 if test "$lt_cv_path_NM" != "no"; then
4653 # Didn't find any BSD compatible name lister, look for dumpbin.
4654 if test -n "$ac_tool_prefix"; then
4655 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_DUMPBIN+:} false; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$DUMPBIN"; then
4665 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 DUMPBIN=$ac_cv_prog_DUMPBIN
4685 if test -n "$DUMPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4687 $as_echo "$DUMPBIN" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4694 test -n "$DUMPBIN" && break
4697 if test -z "$DUMPBIN"; then
4698 ac_ct_DUMPBIN=$DUMPBIN
4699 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4701 # Extract the first word of "$ac_prog", so it can be a program name with args.
4702 set dummy $ac_prog; ac_word=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 $as_echo_n "checking for $ac_word... " >&6; }
4705 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -n "$ac_ct_DUMPBIN"; then
4709 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4729 if test -n "$ac_ct_DUMPBIN"; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4731 $as_echo "$ac_ct_DUMPBIN" >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4738 test -n "$ac_ct_DUMPBIN" && break
4741 if test "x$ac_ct_DUMPBIN" = x; then
4744 case $cross_compiling:$ac_tool_warned in
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4748 ac_tool_warned=yes ;;
4750 DUMPBIN=$ac_ct_DUMPBIN
4755 if test "$DUMPBIN" != ":"; then
4759 test -z "$NM" && NM=nm
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4767 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4768 if ${lt_cv_nm_interface+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 lt_cv_nm_interface="BSD nm"
4772 echo "int some_variable = 0;" > conftest.$ac_ext
4773 (eval echo "\"\$as_me:4773: $ac_compile\"" >&5)
4774 (eval "$ac_compile" 2>conftest.err)
4775 cat conftest.err >&5
4776 (eval echo "\"\$as_me:4776: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4777 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4778 cat conftest.err >&5
4779 (eval echo "\"\$as_me:4779: output\"" >&5)
4780 cat conftest.out >&5
4781 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4782 lt_cv_nm_interface="MS dumpbin"
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4787 $as_echo "$lt_cv_nm_interface" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4790 $as_echo_n "checking whether ln -s works... " >&6; }
4792 if test "$LN_S" = "ln -s"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4797 $as_echo "no, using $LN_S" >&6; }
4800 # find the maximum length of command line arguments
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4802 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4803 if ${lt_cv_sys_max_cmd_len+:} false; then :
4804 $as_echo_n "(cached) " >&6
4811 # On DJGPP, this test can blow up pretty badly due to problems in libc
4812 # (any single argument exceeding 2000 bytes causes a buffer overrun
4813 # during glob expansion). Even if it were fixed, the result of this
4814 # check would be larger than it should be.
4815 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4819 # Under GNU Hurd, this test is not required because there is
4820 # no limit to the length of command line arguments.
4821 # Libtool will interpret -1 as no limit whatsoever
4822 lt_cv_sys_max_cmd_len=-1;
4825 cygwin* | mingw* | cegcc*)
4826 # On Win9x/ME, this test blows up -- it succeeds, but takes
4827 # about 5 minutes as the teststring grows exponentially.
4828 # Worse, since 9x/ME are not pre-emptively multitasking,
4829 # you end up with a "frozen" computer, even though with patience
4830 # the test eventually succeeds (with a max line length of 256k).
4831 # Instead, let's just punt: use the minimum linelength reported by
4832 # all of the supported platforms: 8192 (on NT/2K/XP).
4833 lt_cv_sys_max_cmd_len=8192;
4837 # On AmigaOS with pdksh, this test takes hours, literally.
4838 # So we just punt and use a minimum line length of 8192.
4839 lt_cv_sys_max_cmd_len=8192;
4842 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4843 # This has been around since 386BSD, at least. Likely further.
4844 if test -x /sbin/sysctl; then
4845 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4846 elif test -x /usr/sbin/sysctl; then
4847 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4849 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4851 # And add a safety zone
4852 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4853 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4857 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4858 lt_cv_sys_max_cmd_len=196608
4862 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4863 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4864 # nice to cause kernel panics so lets avoid the loop below.
4865 # First set a reasonable default.
4866 lt_cv_sys_max_cmd_len=16384
4868 if test -x /sbin/sysconfig; then
4869 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4870 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4875 lt_cv_sys_max_cmd_len=102400
4877 sysv5* | sco5v6* | sysv4.2uw2*)
4878 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4879 if test -n "$kargmax"; then
4880 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4882 lt_cv_sys_max_cmd_len=32768
4886 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4887 if test -n "$lt_cv_sys_max_cmd_len"; then
4888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4891 # Make teststring a little bigger before we do anything with it.
4892 # a 1K string should be a reasonable start.
4893 for i in 1 2 3 4 5 6 7 8 ; do
4894 teststring=$teststring$teststring
4896 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4897 # If test is not a shell built-in, we'll probably end up computing a
4898 # maximum length that is only half of the actual maximum length, but
4900 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4901 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4902 test $i != 17 # 1/2 MB should be enough
4905 teststring=$teststring$teststring
4907 # Only check the string length outside the loop.
4908 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4910 # Add a significant safety factor because C++ compilers can tack on
4911 # massive amounts of additional arguments before passing them to the
4912 # linker. It appears as though 1/2 is a usable value.
4913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4920 if test -n $lt_cv_sys_max_cmd_len ; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4922 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4925 $as_echo "none" >&6; }
4927 max_cmd_len=$lt_cv_sys_max_cmd_len
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4939 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4940 # Try some XSI features
4943 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4945 && eval 'test $(( 1 + 1 )) -eq 2 \
4946 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4949 $as_echo "$xsi_shell" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4953 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4955 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4957 && lt_shell_append=yes
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4959 $as_echo "$lt_shell_append" >&6; }
4962 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4972 # test EBCDIC or ASCII
4973 case `echo X|tr X '\101'` in
4974 A) # ASCII based system
4975 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4976 lt_SP2NL='tr \040 \012'
4977 lt_NL2SP='tr \015\012 \040\040'
4979 *) # EBCDIC based system
4980 lt_SP2NL='tr \100 \n'
4981 lt_NL2SP='tr \r\n \100\100'
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4994 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4995 if ${lt_cv_ld_reload_flag+:} false; then :
4996 $as_echo_n "(cached) " >&6
4998 lt_cv_ld_reload_flag='-r'
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5001 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5002 reload_flag=$lt_cv_ld_reload_flag
5003 case $reload_flag in
5005 *) reload_flag=" $reload_flag" ;;
5007 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5010 if test "$GCC" = yes; then
5011 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5013 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_OBJDUMP+:} false; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$OBJDUMP"; then
5035 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 OBJDUMP=$ac_cv_prog_OBJDUMP
5055 if test -n "$OBJDUMP"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5057 $as_echo "$OBJDUMP" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_OBJDUMP"; then
5066 ac_ct_OBJDUMP=$OBJDUMP
5067 # Extract the first word of "objdump", so it can be a program name with args.
5068 set dummy objdump; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5072 $as_echo_n "(cached) " >&6
5074 if test -n "$ac_ct_OBJDUMP"; then
5075 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5095 if test -n "$ac_ct_OBJDUMP"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5097 $as_echo "$ac_ct_OBJDUMP" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_OBJDUMP" = x; then
5106 case $cross_compiling:$ac_tool_warned in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5112 OBJDUMP=$ac_ct_OBJDUMP
5115 OBJDUMP="$ac_cv_prog_OBJDUMP"
5118 test -z "$OBJDUMP" && OBJDUMP=objdump
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5129 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5130 if ${lt_cv_deplibs_check_method+:} false; then :
5131 $as_echo_n "(cached) " >&6
5133 lt_cv_file_magic_cmd='$MAGIC_CMD'
5134 lt_cv_file_magic_test_file=
5135 lt_cv_deplibs_check_method='unknown'
5136 # Need to set the preceding variable on all platforms that support
5137 # interlibrary dependencies.
5138 # 'none' -- dependencies not supported.
5139 # `unknown' -- same as none, but documents that we really don't know.
5140 # 'pass_all' -- all dependencies passed with no checks.
5141 # 'test_compile' -- check by making test program.
5142 # 'file_magic [[regex]]' -- check by looking for files in library path
5143 # which responds to the $file_magic_cmd with a given extended regex.
5144 # If you have `file' or equivalent on your system and you're not sure
5145 # whether `pass_all' will *always* work, you probably want this one.
5149 lt_cv_deplibs_check_method=pass_all
5153 lt_cv_deplibs_check_method=pass_all
5157 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5158 lt_cv_file_magic_cmd='/usr/bin/file -L'
5159 lt_cv_file_magic_test_file=/shlib/libc.so
5163 # func_win32_libid is a shell function defined in ltmain.sh
5164 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5165 lt_cv_file_magic_cmd='func_win32_libid'
5169 # Base MSYS/MinGW do not provide the 'file' command needed by
5170 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5171 # unless we find 'file', for example because we are cross-compiling.
5172 if ( file / ) >/dev/null 2>&1; then
5173 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5174 lt_cv_file_magic_cmd='func_win32_libid'
5176 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5177 lt_cv_file_magic_cmd='$OBJDUMP -f'
5182 # use the weaker test based on 'objdump'. See mingw*.
5183 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5184 lt_cv_file_magic_cmd='$OBJDUMP -f'
5187 darwin* | rhapsody*)
5188 lt_cv_deplibs_check_method=pass_all
5191 freebsd* | dragonfly*)
5192 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5195 # Not sure whether the presence of OpenBSD here was a mistake.
5196 # Let's accept both of them until this is cleared up.
5197 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5198 lt_cv_file_magic_cmd=/usr/bin/file
5199 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5203 lt_cv_deplibs_check_method=pass_all
5208 lt_cv_deplibs_check_method=pass_all
5211 hpux10.20* | hpux11*)
5212 lt_cv_file_magic_cmd=/usr/bin/file
5215 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5216 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5219 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5220 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5223 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5224 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5230 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5231 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5234 irix5* | irix6* | nonstopux*)
5236 *-32|*"-32 ") libmagic=32-bit;;
5237 *-n32|*"-n32 ") libmagic=N32;;
5238 *-64|*"-64 ") libmagic=64-bit;;
5239 *) libmagic=never-match;;
5241 lt_cv_deplibs_check_method=pass_all
5244 # This must be Linux ELF.
5245 linux* | k*bsd*-gnu)
5246 lt_cv_deplibs_check_method=pass_all
5249 netbsd* | netbsdelf*-gnu)
5250 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5251 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5258 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5259 lt_cv_file_magic_cmd=/usr/bin/file
5260 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5264 lt_cv_deplibs_check_method=pass_all
5268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5271 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5275 osf3* | osf4* | osf5*)
5276 lt_cv_deplibs_check_method=pass_all
5280 lt_cv_deplibs_check_method=pass_all
5284 lt_cv_deplibs_check_method=pass_all
5287 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5288 lt_cv_deplibs_check_method=pass_all
5292 case $host_vendor in
5294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5295 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5298 lt_cv_deplibs_check_method=pass_all
5301 lt_cv_file_magic_cmd='/bin/file'
5302 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5305 lt_cv_file_magic_cmd='/bin/file'
5306 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5307 lt_cv_file_magic_test_file=/lib/libc.so
5310 lt_cv_deplibs_check_method=pass_all
5313 lt_cv_deplibs_check_method=pass_all
5319 lt_cv_deplibs_check_method=pass_all
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5325 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5326 file_magic_cmd=$lt_cv_file_magic_cmd
5327 deplibs_check_method=$lt_cv_deplibs_check_method
5328 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5341 if test -n "$ac_tool_prefix"; then
5342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5343 set dummy ${ac_tool_prefix}ar; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_AR+:} false; then :
5347 $as_echo_n "(cached) " >&6
5349 if test -n "$AR"; then
5350 ac_cv_prog_AR="$AR" # Let the user override the test.
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5359 ac_cv_prog_AR="${ac_tool_prefix}ar"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 if test -n "$AR"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5372 $as_echo "$AR" >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5380 if test -z "$ac_cv_prog_AR"; then
5382 # Extract the first word of "ar", so it can be a program name with args.
5383 set dummy ar; ac_word=$2
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 $as_echo_n "checking for $ac_word... " >&6; }
5386 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5387 $as_echo_n "(cached) " >&6
5389 if test -n "$ac_ct_AR"; then
5390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399 ac_cv_prog_ac_ct_AR="ar"
5400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5410 if test -n "$ac_ct_AR"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5412 $as_echo "$ac_ct_AR" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5418 if test "x$ac_ct_AR" = x; then
5421 case $cross_compiling:$ac_tool_warned in
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5425 ac_tool_warned=yes ;;
5433 test -z "$AR" && AR=ar
5434 test -z "$AR_FLAGS" && AR_FLAGS=cru
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}strip; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_STRIP+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$STRIP"; then
5455 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 STRIP=$ac_cv_prog_STRIP
5475 if test -n "$STRIP"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5477 $as_echo "$STRIP" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5485 if test -z "$ac_cv_prog_STRIP"; then
5487 # Extract the first word of "strip", so it can be a program name with args.
5488 set dummy strip; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$ac_ct_STRIP"; then
5495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_ac_ct_STRIP="strip"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5515 if test -n "$ac_ct_STRIP"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5517 $as_echo "$ac_ct_STRIP" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5523 if test "x$ac_ct_STRIP" = x; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5535 STRIP="$ac_cv_prog_STRIP"
5538 test -z "$STRIP" && STRIP=:
5545 if test -n "$ac_tool_prefix"; then
5546 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5547 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_RANLIB+:} false; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$RANLIB"; then
5554 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 RANLIB=$ac_cv_prog_RANLIB
5574 if test -n "$RANLIB"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5576 $as_echo "$RANLIB" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5584 if test -z "$ac_cv_prog_RANLIB"; then
5585 ac_ct_RANLIB=$RANLIB
5586 # Extract the first word of "ranlib", so it can be a program name with args.
5587 set dummy ranlib; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$ac_ct_RANLIB"; then
5594 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_ac_ct_RANLIB="ranlib"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5614 if test -n "$ac_ct_RANLIB"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5616 $as_echo "$ac_ct_RANLIB" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5622 if test "x$ac_ct_RANLIB" = x; then
5625 case $cross_compiling:$ac_tool_warned in
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5631 RANLIB=$ac_ct_RANLIB
5634 RANLIB="$ac_cv_prog_RANLIB"
5637 test -z "$RANLIB" && RANLIB=:
5644 # Determine commands to create old-style static archives.
5645 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5646 old_postinstall_cmds='chmod 644 $oldlib'
5647 old_postuninstall_cmds=
5649 if test -n "$RANLIB"; then
5652 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5655 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5658 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5694 # If no C compiler was specified, use CC.
5697 # If no C compiler flags were specified, use CFLAGS.
5698 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5700 # Allow CC to be a program name with arguments.
5704 # Check for command to grab the raw symbol name followed by C symbol from nm.
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5706 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5707 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5708 $as_echo_n "(cached) " >&6
5711 # These are sane defaults that work on at least a few old systems.
5712 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5714 # Character class describing NM global symbol codes.
5715 symcode='[BCDEGRST]'
5717 # Regexp to match symbols that can be accessed directly from C.
5718 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5720 # Define system-specific variables.
5725 cygwin* | mingw* | pw32* | cegcc*)
5726 symcode='[ABCDGISTW]'
5729 if test "$host_cpu" = ia64; then
5730 symcode='[ABCDEGRST]'
5734 symcode='[BCDEGRST]'
5737 symcode='[BCDEGQRST]'
5748 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5756 # If we're using GNU nm, then use its standard symbol codes.
5757 case `$NM -V 2>&1` in
5758 *GNU* | *'with BFD'*)
5759 symcode='[ABCDGIRSTW]' ;;
5762 # Transform an extracted symbol line into a proper C declaration.
5763 # Some systems (esp. on ia64) link data and code symbols differently,
5764 # so use this general approach.
5765 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5767 # Transform an extracted symbol line into symbol name and symbol address
5768 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5769 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5771 # Handle CRLF in mingw tool chain
5775 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5779 # Try without a prefix underscore, then with it.
5780 for ac_symprfx in "" "_"; do
5782 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5783 symxfrm="\\1 $ac_symprfx\\2 \\2"
5785 # Write the raw and C identifiers.
5786 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5787 # Fake it for dumpbin and say T for any non-static function
5788 # and D for any global variable.
5789 # Also find C++ and __fastcall symbols from MSVC++,
5790 # which start with @ or ?.
5791 lt_cv_sys_global_symbol_pipe="$AWK '"\
5792 " {last_section=section; section=\$ 3};"\
5793 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5794 " \$ 0!~/External *\|/{next};"\
5795 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5796 " {if(hide[section]) next};"\
5797 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5798 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5799 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5800 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5801 " ' prfx=^$ac_symprfx"
5803 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5806 # Check to see that the pipe works correctly.
5810 cat > conftest.$ac_ext <<_LT_EOF
5815 void nm_test_func(void);
5816 void nm_test_func(void){}
5820 int main(){nm_test_var='a';nm_test_func();return(0);}
5823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5824 (eval $ac_compile) 2>&5
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827 test $ac_status = 0; }; then
5828 # Now try to grab the symbols.
5830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5831 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5834 test $ac_status = 0; } && test -s "$nlist"; then
5835 # Try sorting and uniquifying the output.
5836 if sort "$nlist" | uniq > "$nlist"T; then
5837 mv -f "$nlist"T "$nlist"
5842 # Make sure that we snagged all the symbols we need.
5843 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5844 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5845 cat <<_LT_EOF > conftest.$ac_ext
5851 # Now generate the symbol file.
5852 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5854 cat <<_LT_EOF >> conftest.$ac_ext
5856 /* The mapping between symbol names and symbols. */
5861 lt__PROGRAM__LTX_preloaded_symbols[] =
5863 { "@PROGRAM@", (void *) 0 },
5865 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5866 cat <<\_LT_EOF >> conftest.$ac_ext
5870 /* This works around a problem in FreeBSD linker */
5871 #ifdef FREEBSD_WORKAROUND
5872 static const void *lt_preloaded_setup() {
5873 return lt__PROGRAM__LTX_preloaded_symbols;
5881 # Now try linking the two files.
5882 mv conftest.$ac_objext conftstm.$ac_objext
5883 lt_save_LIBS="$LIBS"
5884 lt_save_CFLAGS="$CFLAGS"
5885 LIBS="conftstm.$ac_objext"
5886 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5888 (eval $ac_link) 2>&5
5890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5891 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5894 LIBS="$lt_save_LIBS"
5895 CFLAGS="$lt_save_CFLAGS"
5897 echo "cannot find nm_test_func in $nlist" >&5
5900 echo "cannot find nm_test_var in $nlist" >&5
5903 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5906 echo "$progname: failed program was:" >&5
5907 cat conftest.$ac_ext >&5
5909 rm -rf conftest* conftst*
5911 # Do not use the global_symbol_pipe unless it works.
5912 if test "$pipe_works" = yes; then
5915 lt_cv_sys_global_symbol_pipe=
5921 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5922 lt_cv_sys_global_symbol_to_cdecl=
5924 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5926 $as_echo "failed" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5929 $as_echo "ok" >&6; }
5954 # Check whether --enable-libtool-lock was given.
5955 if test "${enable_libtool_lock+set}" = set; then :
5956 enableval=$enable_libtool_lock;
5959 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5961 # Some flags need to be propagated to the compiler or linker for good
5965 # Find out which ABI we are using.
5966 echo 'int i;' > conftest.$ac_ext
5967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5968 (eval $ac_compile) 2>&5
5970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971 test $ac_status = 0; }; then
5972 case `/usr/bin/file conftest.$ac_objext` in
5984 # Find out which ABI we are using.
5985 echo '#line 5985 "configure"' > conftest.$ac_ext
5986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5987 (eval $ac_compile) 2>&5
5989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5990 test $ac_status = 0; }; then
5991 if test "$lt_cv_prog_gnu_ld" = yes; then
5992 case `/usr/bin/file conftest.$ac_objext` in
5994 LD="${LD-ld} -melf32bsmip"
5997 LD="${LD-ld} -melf32bmipn32"
6000 LD="${LD-ld} -melf64bmip"
6004 case `/usr/bin/file conftest.$ac_objext` in
6020 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6021 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6022 # Find out which ABI we are using.
6023 echo 'int i;' > conftest.$ac_ext
6024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6025 (eval $ac_compile) 2>&5
6027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6028 test $ac_status = 0; }; then
6029 case `/usr/bin/file conftest.o` in
6032 x86_64-*kfreebsd*-gnu)
6033 LD="${LD-ld} -m elf_i386_fbsd"
6036 LD="${LD-ld} -m elf_i386"
6038 ppc64-*linux*|powerpc64-*linux*)
6039 LD="${LD-ld} -m elf32ppclinux"
6042 LD="${LD-ld} -m elf_s390"
6045 LD="${LD-ld} -m elf32_sparc"