2 # From configure.ac Revision: 1.11 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 # Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
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
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a : '\(a\)' >/dev/null 2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x; then
177 if (eval ":") 2>/dev/null; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev/null; then
243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir=.
250 for as_base in sh bash ksh sh5; do
251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
258 for as_shell in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
280 CONFIG_SHELL=$as_shell
282 if { "$as_shell" 2> /dev/null <<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix*) set -o posix ;;
308 as_func_ret_success () {
311 as_func_ret_failure () {
316 if as_func_success; then
320 echo as_func_success failed.
323 if as_func_failure; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure; then
337 echo as_func_ret_failure succeeded.
340 if ( set x; as_func_ret_success y && test x = "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) || { (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x; then
365 for as_var in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no; then
374 echo This script requires a shell more modern than all the
375 echo shells that I found on your system. Please install a
376 echo modern shell, or manually run the script under such a
377 echo shell if you do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") || {
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system,
439 echo including any error possibly output before this message.
440 echo This can help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
495 ECHO_C= ECHO_N= ECHO_T=
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
542 test -d ./-p && rmdir ./-p
546 if test -x / >/dev/null 2>&1; then
549 if ls -dL / >/dev/null 2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
578 # Check that we are running under the correct shell.
579 SHELL=${CONFIG_SHELL-/bin/sh}
583 # Remove one level of quotation (which was required for Make).
584 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
589 if test "X$1" = X--no-reexec; then
590 # Discard the --no-reexec flag, and continue.
592 elif test "X$1" = X--fallback-echo; then
593 # Avoid inline document here, it may be left over
595 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
596 # Yippee, $ECHO works!
599 # Restart under the correct shell.
600 exec $SHELL "$0" --no-reexec ${1+"$@"}
603 if test "X$1" = X--fallback-echo; then
604 # used as fallback echo
612 # The HP-UX ksh and POSIX shell print the target directory to stdout
614 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
616 if test -z "$lt_ECHO"; then
617 if test "X${echo_test_string+set}" != Xset; then
618 # find a string as large as possible, as long as the shell can cope with it
619 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
620 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
621 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
622 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
629 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
630 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641 for dir in $PATH /usr/ucb; do
643 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$ECHO" = Xecho; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
656 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
661 test "X$CONFIG_SHELL" != X/bin/ksh; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL=/bin/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
672 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
682 SHELL="$CONFIG_SHELL"
684 ECHO="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 ECHO="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 exec 7<&0 </dev/null 6>&1
729 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
730 # so uname gets run too.
731 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
736 ac_default_prefix=/usr/local
738 ac_config_libobj_dir=.
744 SHELL=${CONFIG_SHELL-/bin/sh}
746 # Identity of this package.
753 ac_unique_file="zziplib.spec"
754 # Factoring default headers for most tests.
755 ac_includes_default="\
757 #ifdef HAVE_SYS_TYPES_H
758 # include <sys/types.h>
760 #ifdef HAVE_SYS_STAT_H
761 # include <sys/stat.h>
767 # ifdef HAVE_STDLIB_H
772 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
777 #ifdef HAVE_STRINGS_H
778 # include <strings.h>
780 #ifdef HAVE_INTTYPES_H
781 # include <inttypes.h>
790 ac_subst_vars='LTLIBOBJS
815 MAINTAINER_MODE_FALSE
865 INSTALL_STRIP_PROGRAM
883 ax_enable_builddir_sed
923 program_transform_name
935 enable_option_checking
939 enable_dependency_tracking
946 enable_maintainer_mode
955 enable_enable_default_pkgconfigdir
956 enable_enable_default_aclocaldir
958 ac_precious_vars='build_alias
969 # Initialize some variables set by options.
971 ac_init_version=false
972 ac_unrecognized_opts=
974 # The variables have the same names as the options, with
975 # dashes changed to underlines.
983 program_transform_name=s,x,x,
991 # Installation directory options.
992 # These are left unexpanded so users can "make install exec_prefix=/foo"
993 # and all the variables that are supposed to be based on exec_prefix
994 # by default will actually change.
995 # Use braces instead of parens because sh, perl, etc. also accept them.
996 # (The list follows the same order as the GNU Coding Standards.)
997 bindir='${exec_prefix}/bin'
998 sbindir='${exec_prefix}/sbin'
999 libexecdir='${exec_prefix}/libexec'
1000 datarootdir='${prefix}/share'
1001 datadir='${datarootdir}'
1002 sysconfdir='${prefix}/etc'
1003 sharedstatedir='${prefix}/com'
1004 localstatedir='${prefix}/var'
1005 includedir='${prefix}/include'
1006 oldincludedir='/usr/include'
1007 docdir='${datarootdir}/doc/${PACKAGE}'
1008 infodir='${datarootdir}/info'
1013 libdir='${exec_prefix}/lib'
1014 localedir='${datarootdir}/locale'
1015 mandir='${datarootdir}/man'
1021 # If the previous option needs an argument, assign it.
1022 if test -n "$ac_prev"; then
1023 eval $ac_prev=\$ac_option
1029 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1033 # Accept the important Cygnus configure options, so we can diagnose typos.
1035 case $ac_dashdash$ac_option in
1039 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1041 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1042 bindir=$ac_optarg ;;
1044 -build | --build | --buil | --bui | --bu)
1045 ac_prev=build_alias ;;
1046 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1047 build_alias=$ac_optarg ;;
1049 -cache-file | --cache-file | --cache-fil | --cache-fi \
1050 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051 ac_prev=cache_file ;;
1052 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1053 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1054 cache_file=$ac_optarg ;;
1056 --config-cache | -C)
1057 cache_file=config.cache ;;
1059 -datadir | --datadir | --datadi | --datad)
1061 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1062 datadir=$ac_optarg ;;
1064 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1065 | --dataroo | --dataro | --datar)
1066 ac_prev=datarootdir ;;
1067 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1068 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1069 datarootdir=$ac_optarg ;;
1071 -disable-* | --disable-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1081 "enable_$ac_useropt"
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval enable_$ac_useropt=no ;;
1088 -docdir | --docdir | --docdi | --doc | --do)
1090 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1091 docdir=$ac_optarg ;;
1093 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1095 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1096 dvidir=$ac_optarg ;;
1098 -enable-* | --enable-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_useropt_orig=$ac_useropt
1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1108 "enable_$ac_useropt"
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1113 eval enable_$ac_useropt=\$ac_optarg ;;
1115 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1116 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1117 | --exec | --exe | --ex)
1118 ac_prev=exec_prefix ;;
1119 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1120 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1121 | --exec=* | --exe=* | --ex=*)
1122 exec_prefix=$ac_optarg ;;
1124 -gas | --gas | --ga | --g)
1125 # Obsolete; use --with-gas.
1128 -help | --help | --hel | --he | -h)
1129 ac_init_help=long ;;
1130 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1131 ac_init_help=recursive ;;
1132 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1133 ac_init_help=short ;;
1135 -host | --host | --hos | --ho)
1136 ac_prev=host_alias ;;
1137 -host=* | --host=* | --hos=* | --ho=*)
1138 host_alias=$ac_optarg ;;
1140 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144 htmldir=$ac_optarg ;;
1146 -includedir | --includedir | --includedi | --included | --include \
1147 | --includ | --inclu | --incl | --inc)
1148 ac_prev=includedir ;;
1149 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1150 | --includ=* | --inclu=* | --incl=* | --inc=*)
1151 includedir=$ac_optarg ;;
1153 -infodir | --infodir | --infodi | --infod | --info | --inf)
1155 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1156 infodir=$ac_optarg ;;
1158 -libdir | --libdir | --libdi | --libd)
1160 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1161 libdir=$ac_optarg ;;
1163 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1164 | --libexe | --libex | --libe)
1165 ac_prev=libexecdir ;;
1166 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1167 | --libexe=* | --libex=* | --libe=*)
1168 libexecdir=$ac_optarg ;;
1170 -localedir | --localedir | --localedi | --localed | --locale)
1171 ac_prev=localedir ;;
1172 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1173 localedir=$ac_optarg ;;
1175 -localstatedir | --localstatedir | --localstatedi | --localstated \
1176 | --localstate | --localstat | --localsta | --localst | --locals)
1177 ac_prev=localstatedir ;;
1178 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1179 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1180 localstatedir=$ac_optarg ;;
1182 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1185 mandir=$ac_optarg ;;
1187 -nfp | --nfp | --nf)
1188 # Obsolete; use --without-fp.
1191 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1192 | --no-cr | --no-c | -n)
1195 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1196 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1199 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1200 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1201 | --oldin | --oldi | --old | --ol | --o)
1202 ac_prev=oldincludedir ;;
1203 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1204 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1205 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1206 oldincludedir=$ac_optarg ;;
1208 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1211 prefix=$ac_optarg ;;
1213 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1214 | --program-pre | --program-pr | --program-p)
1215 ac_prev=program_prefix ;;
1216 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1217 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1218 program_prefix=$ac_optarg ;;
1220 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1221 | --program-suf | --program-su | --program-s)
1222 ac_prev=program_suffix ;;
1223 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1224 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1225 program_suffix=$ac_optarg ;;
1227 -program-transform-name | --program-transform-name \
1228 | --program-transform-nam | --program-transform-na \
1229 | --program-transform-n | --program-transform- \
1230 | --program-transform | --program-transfor \
1231 | --program-transfo | --program-transf \
1232 | --program-trans | --program-tran \
1233 | --progr-tra | --program-tr | --program-t)
1234 ac_prev=program_transform_name ;;
1235 -program-transform-name=* | --program-transform-name=* \
1236 | --program-transform-nam=* | --program-transform-na=* \
1237 | --program-transform-n=* | --program-transform-=* \
1238 | --program-transform=* | --program-transfor=* \
1239 | --program-transfo=* | --program-transf=* \
1240 | --program-trans=* | --program-tran=* \
1241 | --progr-tra=* | --program-tr=* | --program-t=*)
1242 program_transform_name=$ac_optarg ;;
1244 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1247 pdfdir=$ac_optarg ;;
1249 -psdir | --psdir | --psdi | --psd | --ps)
1251 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1255 | -silent | --silent | --silen | --sile | --sil)
1258 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 sbindir=$ac_optarg ;;
1264 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1265 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1266 | --sharedst | --shareds | --shared | --share | --shar \
1268 ac_prev=sharedstatedir ;;
1269 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1270 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1271 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 sharedstatedir=$ac_optarg ;;
1275 -site | --site | --sit)
1277 -site=* | --site=* | --sit=*)
1280 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1283 srcdir=$ac_optarg ;;
1285 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1286 | --syscon | --sysco | --sysc | --sys | --sy)
1287 ac_prev=sysconfdir ;;
1288 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1289 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1290 sysconfdir=$ac_optarg ;;
1292 -target | --target | --targe | --targ | --tar | --ta | --t)
1293 ac_prev=target_alias ;;
1294 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1295 target_alias=$ac_optarg ;;
1297 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1300 -version | --version | --versio | --versi | --vers | -V)
1301 ac_init_version=: ;;
1304 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1307 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1308 { (exit 1); exit 1; }; }
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1318 eval with_$ac_useropt=\$ac_optarg ;;
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1325 { (exit 1); exit 1; }; }
1326 ac_useropt_orig=$ac_useropt
1327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328 case $ac_user_opts in
1332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1333 ac_unrecognized_sep=', ';;
1335 eval with_$ac_useropt=no ;;
1338 # Obsolete; use --with-x.
1341 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1342 | --x-incl | --x-inc | --x-in | --x-i)
1343 ac_prev=x_includes ;;
1344 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1345 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1346 x_includes=$ac_optarg ;;
1348 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1349 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1350 ac_prev=x_libraries ;;
1351 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1352 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1353 x_libraries=$ac_optarg ;;
1355 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1356 Try \`$0 --help' for more information." >&2
1357 { (exit 1); exit 1; }; }
1361 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362 # Reject names that are not valid shell variable names.
1363 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1364 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1365 { (exit 1); exit 1; }; }
1366 eval $ac_envvar=\$ac_optarg
1367 export $ac_envvar ;;
1370 # FIXME: should be removed in autoconf 3.0.
1371 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1372 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1374 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1380 if test -n "$ac_prev"; then
1381 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1382 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1383 { (exit 1); exit 1; }; }
1386 if test -n "$ac_unrecognized_opts"; then
1387 case $enable_option_checking in
1389 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1390 { (exit 1); exit 1; }; } ;;
1391 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1395 # Check all directory arguments for consistency.
1396 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1397 datadir sysconfdir sharedstatedir localstatedir includedir \
1398 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1399 libdir localedir mandir
1401 eval ac_val=\$$ac_var
1402 # Remove trailing slashes.
1405 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1406 eval $ac_var=\$ac_val;;
1408 # Be sure to have absolute directory names.
1410 [\\/$]* | ?:[\\/]* ) continue;;
1411 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1413 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1414 { (exit 1); exit 1; }; }
1417 # There might be people who depend on the old broken behavior: `$host'
1418 # used to hold the argument of --host etc.
1419 # FIXME: To remove some day.
1422 target=$target_alias
1424 # FIXME: To remove some day.
1425 if test "x$host_alias" != x; then
1426 if test "x$build_alias" = x; then
1427 cross_compiling=maybe
1428 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1429 If a cross compiler is detected then cross compile mode will be used." >&2
1430 elif test "x$build_alias" != "x$host_alias"; then
1436 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1438 test "$silent" = yes && exec 6>/dev/null
1441 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1442 ac_ls_di=`ls -di .` &&
1443 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1444 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1445 { (exit 1); exit 1; }; }
1446 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1447 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1448 { (exit 1); exit 1; }; }
1451 # Find the source files, if location was not specified.
1452 if test -z "$srcdir"; then
1453 ac_srcdir_defaulted=yes
1454 # Try the directory containing this script, then the parent directory.
1455 ac_confdir=`$as_dirname -- "$as_myself" ||
1456 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1457 X"$as_myself" : 'X\(//\)[^/]' \| \
1458 X"$as_myself" : 'X\(//\)$' \| \
1459 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1460 $as_echo X"$as_myself" |
1461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1483 ac_srcdir_defaulted=no
1485 if test ! -r "$srcdir/$ac_unique_file"; then
1486 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1487 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1488 { (exit 1); exit 1; }; }
1490 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1492 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1493 { (exit 1); exit 1; }; }
1495 # When building in place, set srcdir=.
1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
1499 # Remove unnecessary trailing slashes from srcdir.
1500 # Double slashes in file names in object file debugging info
1501 # mess up M-x gdb in Emacs.
1503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 for ac_var in $ac_precious_vars; do
1506 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1507 eval ac_env_${ac_var}_value=\$${ac_var}
1508 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1509 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1513 # Report the --help message.
1515 if test "$ac_init_help" = "long"; then
1516 # Omit some internal or obsolete options to make the list less imposing.
1517 # This message is too long to be a string in the A/UX 3.1 sh.
1519 \`configure' configures this package to adapt to many kinds of systems.
1521 Usage: $0 [OPTION]... [VAR=VALUE]...
1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 VAR=VALUE. See below for descriptions of some of the useful variables.
1526 Defaults for the options are specified in brackets.
1529 -h, --help display this help and exit
1530 --help=short display options specific to this package
1531 --help=recursive display the short help of all the included packages
1532 -V, --version display version information and exit
1533 -q, --quiet, --silent do not print \`checking...' messages
1534 --cache-file=FILE cache test results in FILE [disabled]
1535 -C, --config-cache alias for \`--cache-file=config.cache'
1536 -n, --no-create do not create output files
1537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1539 Installation directories:
1540 --prefix=PREFIX install architecture-independent files in PREFIX
1541 [$ac_default_prefix]
1542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1545 By default, \`make install' will install all the files in
1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1550 For better control, use the options below.
1552 Fine tuning of the installation directories:
1553 --bindir=DIR user executables [EPREFIX/bin]
1554 --sbindir=DIR system admin executables [EPREFIX/sbin]
1555 --libexecdir=DIR program executables [EPREFIX/libexec]
1556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1559 --libdir=DIR object code libraries [EPREFIX/lib]
1560 --includedir=DIR C header files [PREFIX/include]
1561 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1562 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1563 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1564 --infodir=DIR info documentation [DATAROOTDIR/info]
1565 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1566 --mandir=DIR man documentation [DATAROOTDIR/man]
1567 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1568 --htmldir=DIR html documentation [DOCDIR]
1569 --dvidir=DIR dvi documentation [DOCDIR]
1570 --pdfdir=DIR pdf documentation [DOCDIR]
1571 --psdir=DIR ps documentation [DOCDIR]
1577 --program-prefix=PREFIX prepend PREFIX to installed program names
1578 --program-suffix=SUFFIX append SUFFIX to installed program names
1579 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 --build=BUILD configure for building on BUILD [guessed]
1583 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1584 --target=TARGET configure for building compilers for TARGET [HOST]
1588 if test -n "$ac_init_help"; then
1593 --disable-option-checking ignore unrecognized --enable/--with options
1594 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1595 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1596 --disable-builddir disable automatic build in subdir of sources
1598 --disable-thread-safe disable thread-safe libtool option
1600 --disable-dependency-tracking speeds up one-time build
1601 --enable-dependency-tracking do not reject slow dependency extractors
1602 --enable-shared[=PKGS] build shared libraries [default=yes]
1603 --enable-static[=PKGS] build static libraries [default=yes]
1604 --enable-fast-install[=PKGS]
1605 optimize for fast installation [default=yes]
1606 --disable-libtool-lock avoid locking (might break parallel builds)
1607 --enable-maintainer-mode enable make rules and dependencies not useful
1608 (and sometimes confusing) to the casual installer
1609 --disable-largefile omit support for large files
1610 --disable-mmap disable mmap usage
1612 --enable-sdl enable SDL usage (if present)
1614 --enable-frame-pointer enable callframe generation for debugging
1615 --enable-default-pkgconfigdir(=PATH) override the libdir/pkgconfig default
1616 --enable-default-aclocaldir(=PATH) override the datadir/aclocal default
1619 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1620 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1621 --with-zlib zlib prefix (e.g. '$HOME/software')
1623 --with-pic try to use only PIC/non-PIC objects [default=use
1625 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1626 --with-largefile compile as off64_t instead of 32bit off_t
1628 --with-docdir docdir prefix (prefix/share/doc)
1630 --with-debug debug messages in library
1632 --with-lowstk limited thread stack
1635 Some influential environment variables:
1636 CC C compiler command
1637 CFLAGS C compiler flags
1638 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1639 nonstandard directory <lib dir>
1640 LIBS libraries to pass to the linker, e.g. -l<library>
1641 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1642 you have headers in a nonstandard directory <include dir>
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1652 if test "$ac_init_help" = "recursive"; then
1653 # If there are subdirs, report their specific --help.
1654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1655 test -d "$ac_dir" ||
1656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1664 # A ".." for each directory in $ac_dir_suffix.
1665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1666 case $ac_top_builddir_sub in
1667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1671 ac_abs_top_builddir=$ac_pwd
1672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1673 # for backward compatibility:
1674 ac_top_builddir=$ac_top_build_prefix
1677 .) # We are building in place.
1679 ac_top_srcdir=$ac_top_builddir_sub
1680 ac_abs_top_srcdir=$ac_pwd ;;
1681 [\\/]* | ?:[\\/]* ) # Absolute name.
1682 ac_srcdir=$srcdir$ac_dir_suffix;
1683 ac_top_srcdir=$srcdir
1684 ac_abs_top_srcdir=$srcdir ;;
1686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1687 ac_top_srcdir=$ac_top_build_prefix$srcdir
1688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692 cd "$ac_dir" || { ac_status=$?; continue; }
1693 # Check for guested configure.
1694 if test -f "$ac_srcdir/configure.gnu"; then
1696 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1697 elif test -f "$ac_srcdir/configure"; then
1699 $SHELL "$ac_srcdir/configure" --help=recursive
1701 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 cd "$ac_pwd" || { ac_status=$?; break; }
1707 test -n "$ac_init_help" && exit $ac_status
1708 if $ac_init_version; then
1711 generated by GNU Autoconf 2.63
1713 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1714 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1718 Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
1722 cat >config.log <<_ACEOF
1723 This file contains any messages produced by compilers while
1724 running configure, to aid debugging if configure makes a mistake.
1726 It was created by $as_me, which was
1727 generated by GNU Autoconf 2.63. Invocation command line was
1739 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1740 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1741 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1742 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1743 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1745 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1746 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1748 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1749 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1750 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1751 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1752 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1753 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1754 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir=.
1763 $as_echo "PATH: $as_dir"
1779 # Keep a trace of the command line.
1780 # Strip out --no-create and --no-recursion so they do not pile up.
1781 # Strip out --silent because we don't want to record it for future runs.
1782 # Also quote any args containing shell meta-characters.
1783 # Make two passes to allow for proper duplicate-argument suppression.
1787 ac_must_keep_next=false
1793 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1794 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1795 | -silent | --silent | --silen | --sile | --sil)
1798 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1801 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1803 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1804 if test $ac_must_keep_next = true; then
1805 ac_must_keep_next=false # Got value, back to normal.
1808 *=* | --config-cache | -C | -disable-* | --disable-* \
1809 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1810 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1811 | -with-* | --with-* | -without-* | --without-* | --x)
1812 case "$ac_configure_args0 " in
1813 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1816 -* ) ac_must_keep_next=true ;;
1819 ac_configure_args="$ac_configure_args '$ac_arg'"
1824 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1825 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1827 # When interrupted or exit'd, cleanup temporary files, and complete
1828 # config.log. We remove comments because anyway the quotes in there
1829 # would cause problems or look ugly.
1830 # WARNING: Use '\'' to represent an apostrophe within the trap.
1831 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1832 trap 'exit_status=$?
1833 # Save into config.log some information that might help in debugging.
1838 ## ---------------- ##
1839 ## Cache variables. ##
1840 ## ---------------- ##
1843 # The following way of writing the cache mishandles newlines in values,
1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1846 eval ac_val=\$$ac_var
1850 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1854 _ | IFS | as_nl) ;; #(
1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1856 *) $as_unset $ac_var ;;
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862 *${as_nl}ac_space=\ *)
1864 "s/'\''/'\''\\\\'\'''\''/g;
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1876 ## ----------------- ##
1877 ## Output variables. ##
1878 ## ----------------- ##
1881 for ac_var in $ac_subst_vars
1883 eval ac_val=\$$ac_var
1885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1887 $as_echo "$ac_var='\''$ac_val'\''"
1891 if test -n "$ac_subst_files"; then
1893 ## ------------------- ##
1894 ## File substitutions. ##
1895 ## ------------------- ##
1898 for ac_var in $ac_subst_files
1900 eval ac_val=\$$ac_var
1902 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1904 $as_echo "$ac_var='\''$ac_val'\''"
1909 if test -s confdefs.h; then
1919 test "$ac_signal" != 0 &&
1920 $as_echo "$as_me: caught signal $ac_signal"
1921 $as_echo "$as_me: exit $exit_status"
1923 rm -f core *.core core.conftest.* &&
1924 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1927 for ac_signal in 1 2 13 15; do
1928 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1932 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1933 rm -f -r conftest* confdefs.h
1935 # Predefined preprocessor variables.
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_NAME "$PACKAGE_NAME"
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_STRING "$PACKAGE_STRING"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1962 # Let the site file select an alternate cache file if it wants to.
1963 # Prefer an explicitly selected file to automatically selected ones.
1966 if test -n "$CONFIG_SITE"; then
1967 ac_site_file1=$CONFIG_SITE
1968 elif test "x$prefix" != xNONE; then
1969 ac_site_file1=$prefix/share/config.site
1970 ac_site_file2=$prefix/etc/config.site
1972 ac_site_file1=$ac_default_prefix/share/config.site
1973 ac_site_file2=$ac_default_prefix/etc/config.site
1975 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1977 test "x$ac_site_file" = xNONE && continue
1978 if test -r "$ac_site_file"; then
1979 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1980 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1981 sed 's/^/| /' "$ac_site_file" >&5
1986 if test -r "$cache_file"; then
1987 # Some versions of bash will fail to source /dev/null (special
1988 # files actually), so we avoid doing that.
1989 if test -f "$cache_file"; then
1990 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1991 $as_echo "$as_me: loading cache $cache_file" >&6;}
1993 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1994 *) . "./$cache_file";;
1998 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1999 $as_echo "$as_me: creating cache $cache_file" >&6;}
2003 # Check that the precious variables saved in the cache have kept the same
2005 ac_cache_corrupted=false
2006 for ac_var in $ac_precious_vars; do
2007 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2008 eval ac_new_set=\$ac_env_${ac_var}_set
2009 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2010 eval ac_new_val=\$ac_env_${ac_var}_value
2011 case $ac_old_set,$ac_new_set in
2013 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2014 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2015 ac_cache_corrupted=: ;;
2017 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2018 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2019 ac_cache_corrupted=: ;;
2022 if test "x$ac_old_val" != "x$ac_new_val"; then
2023 # differences in whitespace do not lead to failure.
2024 ac_old_val_w=`echo x $ac_old_val`
2025 ac_new_val_w=`echo x $ac_new_val`
2026 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2027 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2028 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2029 ac_cache_corrupted=:
2031 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2032 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2033 eval $ac_var=\$ac_old_val
2035 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2036 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2037 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2038 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2041 # Pass precious variables to config.status.
2042 if test "$ac_new_set" = set; then
2044 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2045 *) ac_arg=$ac_var=$ac_new_val ;;
2047 case " $ac_configure_args " in
2048 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2049 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2053 if $ac_cache_corrupted; then
2054 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2056 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2057 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2058 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2059 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2060 { (exit 1); exit 1; }; }
2080 ac_cpp='$CPP $CPPFLAGS'
2081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090 for ac_dir in uses "$srcdir"/uses; do
2091 if test -f "$ac_dir/install-sh"; then
2093 ac_install_sh="$ac_aux_dir/install-sh -c"
2095 elif test -f "$ac_dir/install.sh"; then
2097 ac_install_sh="$ac_aux_dir/install.sh -c"
2099 elif test -f "$ac_dir/shtool"; then
2101 ac_install_sh="$ac_aux_dir/shtool install -c"
2105 if test -z "$ac_aux_dir"; then
2106 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in uses \"$srcdir\"/uses" >&5
2107 $as_echo "$as_me: error: cannot find install-sh or install.sh in uses \"$srcdir\"/uses" >&2;}
2108 { (exit 1); exit 1; }; }
2111 # These three variables are undocumented and unsupported,
2112 # and are intended to be withdrawn in a future Autoconf release.
2113 # They can cause serious problems if a builder's source tree is in a directory
2114 # whose full name contains unusual characters.
2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2117 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2121 # =======================================================================
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2129 $as_echo_n "checking build system type... " >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 $as_echo_n "(cached) " >&6
2133 ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 $as_echo "$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2150 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2155 ac_save_IFS=$IFS; IFS='-'
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2169 $as_echo_n "checking host system type... " >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 $as_echo_n "(cached) " >&6
2173 if test "x$host_alias" = x; then
2174 ac_cv_host=$ac_cv_build
2176 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 $as_echo "$ac_cv_host" >&6; }
2187 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2192 ac_save_IFS=$IFS; IFS='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2205 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2206 $as_echo_n "checking target system type... " >&6; }
2207 if test "${ac_cv_target+set}" = set; then
2208 $as_echo_n "(cached) " >&6
2210 if test "x$target_alias" = x; then
2211 ac_cv_target=$ac_cv_host
2213 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2214 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2215 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2216 { (exit 1); exit 1; }; }
2220 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2221 $as_echo "$ac_cv_target" >&6; }
2222 case $ac_cv_target in
2224 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2225 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2226 { (exit 1); exit 1; }; };;
2228 target=$ac_cv_target
2229 ac_save_IFS=$IFS; IFS='-'
2235 # Remember, the first character of IFS is used to create $*,
2236 # except with old shells:
2239 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2242 # The aliases save the names the user supplied, while $host etc.
2243 # will get canonicalized.
2244 test -n "$target_alias" &&
2245 test "$program_prefix$program_suffix$program_transform_name" = \
2247 program_prefix=${target_alias}-
2249 # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
2250 if test "${ac_configure_args+set}" != "set" ; then
2252 for ac_arg in ${1+"$@"}; do
2253 ac_configure_args="$ac_configure_args '$ac_arg'"
2258 ax_enable_builddir="."
2259 # Check whether --enable-builddir was given.
2260 if test "${enable_builddir+set}" = set; then
2261 enableval=$enable_builddir; ax_enable_builddir="$enableval"
2263 ax_enable_builddir="yes"
2266 if test ".$ac_srcdir_defaulted" != ".no" ; then
2267 if test ".$srcdir" = ".." ; then
2268 if test -f config.status ; then
2269 { $as_echo "$as_me:$LINENO: toplevel srcdir already configured... skipping subdir build" >&5
2270 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2272 test ".$ax_enable_builddir" = "." && ax_enable_builddir="."
2273 test ".$ax_enable_builddir" = ".no" && ax_enable_builddir="."
2274 test ".$BUILD" = "." && BUILD=`uname -msr | tr " /" "__"`.d
2275 test ".$ax_enable_builddir" = ".yes" && ax_enable_builddir="$BUILD"
2276 if test ".$ax_enable_builddir" != ".." ; then # we know where to go and
2277 { as_dir=$ax_enable_builddir
2279 -*) as_dir=./$as_dir;;
2281 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2285 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2286 *) as_qdir=$as_dir;;
2288 as_dirs="'$as_qdir' $as_dirs"
2289 as_dir=`$as_dirname -- "$as_dir" ||
2290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2291 X"$as_dir" : 'X\(//\)[^/]' \| \
2292 X"$as_dir" : 'X\(//\)$' \| \
2293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2294 $as_echo X"$as_dir" |
2295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2312 test -d "$as_dir" && break
2314 test -z "$as_dirs" || eval "mkdir $as_dirs"
2315 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2316 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
2317 { (exit 1); exit 1; }; }; }
2318 echo __.$ax_enable_builddir.__ > $ax_enable_builddir/conftest.tmp
2319 cd $ax_enable_builddir
2320 if grep __.$ax_enable_builddir.__ conftest.tmp >/dev/null 2>/dev/null ; then
2322 { $as_echo "$as_me:$LINENO: result: continue configure in default builddir \"./$ax_enable_builddir\"" >&5
2323 $as_echo "continue configure in default builddir \"./$ax_enable_builddir\"" >&6; }
2325 { { $as_echo "$as_me:$LINENO: error: could not change to default builddir \"./$ax_enable_builddir\"" >&5
2326 $as_echo "$as_me: error: could not change to default builddir \"./$ax_enable_builddir\"" >&2;}
2327 { (exit 1); exit 1; }; }
2329 srcdir=`echo "$ax_enable_builddir" |
2330 sed -e 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g;s,[/]$,,;'`
2331 # going to restart from subdirectory location
2332 test -f $srcdir/config.log && mv $srcdir/config.log .
2333 test -f $srcdir/confdefs.h && mv $srcdir/confdefs.h .
2334 test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
2335 test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
2336 { $as_echo "$as_me:$LINENO: result: ....exec $SHELL \"$srcdir/$0\" \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" $ac_configure_args" >&5
2337 $as_echo "....exec $SHELL \"$srcdir/$0\" \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" $ac_configure_args" >&6; }
2338 case "$0" in # restart
2339 /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2340 *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2345 # Extract the first word of "gsed sed", so it can be a program name with args.
2346 set dummy gsed sed; ac_word=$2
2347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if test "${ac_cv_path_ax_enable_builddir_sed+set}" = set; then
2350 $as_echo_n "(cached) " >&6
2352 case $ax_enable_builddir_sed in
2354 ac_cv_path_ax_enable_builddir_sed="$ax_enable_builddir_sed" # Let the user override the test with a path.
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir=.
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364 ac_cv_path_ax_enable_builddir_sed="$as_dir/$ac_word$ac_exec_ext"
2365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 test -z "$ac_cv_path_ax_enable_builddir_sed" && ac_cv_path_ax_enable_builddir_sed="sed"
2376 ax_enable_builddir_sed=$ac_cv_path_ax_enable_builddir_sed
2377 if test -n "$ax_enable_builddir_sed"; then
2378 { $as_echo "$as_me:$LINENO: result: $ax_enable_builddir_sed" >&5
2379 $as_echo "$ax_enable_builddir_sed" >&6; }
2381 { $as_echo "$as_me:$LINENO: result: no" >&5
2382 $as_echo "no" >&6; }
2386 ac_config_commands="$ac_config_commands buildir"
2388 # --------------------------------------------
2389 case "$prefix:$ac_default_prefix" in
2392 { $as_echo "$as_me:$LINENO: checking default prefix path" >&5
2393 $as_echo_n "checking default prefix path... " >&6; }
2394 case "${target_os}" in
2395 *cygwin* | *mingw* | *uwin* | *djgpp | *emx* )
2396 if test "${host_os}" = "${target_os}" ; then
2397 ac_default_prefix="/programs"
2398 result="(win/dos target)"
2401 *:/usr/local/cross-tools/$target_alias/bin:*)
2402 ac_default_prefix="/usr/local/cross-tools/$target_alias" ;;
2403 *:/usr/local/$target_alias/bin:*)
2404 ac_default_prefix="/usr/local/$target_alias" ;;
2405 *:/usr/local/$target_cpu-$target_os/bin:*)
2406 ac_default_prefix="/usr/local/$target_cpu-$target_os" ;;
2408 ac_default_prefix="/programs" ;;
2410 result="(win/dos cross-compiler)"
2414 { $as_echo "$as_me:$LINENO: result: $ac_default_prefix $result" >&5
2415 $as_echo "$ac_default_prefix $result" >&6; }
2418 { $as_echo "$as_me:$LINENO: checking default prefix system" >&5
2419 $as_echo_n "checking default prefix system... " >&6; }
2420 result="$prefix" ; test "$result" = "NONE" && result="$ac_default_prefix"
2422 /programs | /programs/*) result="is win-/programs"
2423 # on win/dos, .exe .dll and .cfg live in the same directory
2424 libdir=`echo $libdir |sed -e 's:^..exec_prefix./lib$:${bindir}:'`
2425 sbindir=`echo $sbindir |sed -e 's:^..exec_prefix./sbin$:${libdir}:'`
2426 sysconfdir=`echo $sysconfdir |sed -e 's:^..prefix./etc$:${sbindir}:'`
2427 libexecdir=`echo $libexecdir |sed -e 's:/libexec$:/system:'`
2428 # help-files shall be set with --infodir, docprefix is datadir
2429 docprefix="${datadir}"
2430 mandir=`echo $mandir \
2431 |sed -e 's:^..prefix./man$:${datadir}/info:'`
2432 includedir=`echo $includedir \
2433 |sed -e 's:^..prefix./include$:${datadir}/include:'`
2434 # other state files (but /etc) are moved to datadir
2435 sharedstatedir=`echo $sharedstatedir \
2436 |sed -e 's:^..prefix./com$:${datadir}/default:'`
2437 localstatedir=`echo $localstatedir \
2438 |sed -e 's:^..prefix./var$:${datadir}/current:'`
2440 /usr) result="is /usr-shipped"
2441 # doc files are left at prefix
2442 docprefix="${prefix}"
2443 # state files go under /top
2444 sysconfdir=`echo $sysconfdir |sed -e 's:^..prefix./etc$:/etc:'`
2445 sharedstatedir=`echo $sharedstatedir \
2446 |sed -e 's:^..prefix./com$:/etc/default:'`
2447 # $prefix/var is going to end up in /var/lib
2448 localstatedir=`echo $localstatedir \
2449 |sed -e 's:^..prefix./var$:/var/lib:'`
2451 /opt | /opt/*) result="is /opt-package"
2452 # state files go under /top/prefix
2453 sysconfdir=`echo $sysconfdir \
2454 |sed -e 's:^..prefix./etc$:/etc${prefix}:'`
2455 sharedstatedir=`echo $sharedstatedir \
2456 |sed -e 's:^..prefix./com$:/etc/default${prefix}:'`
2457 # $prefix/var is going to to be /var$prefix... once again
2458 localstatedir=`echo $localstatedir \
2459 |sed -e 's:^..prefix./var$:/var${prefix}:'`
2460 # doc files are left at prefix
2461 docprefix="${prefix}"
2463 *) result="is /local-package"
2464 # doc files are moved from prefix down to datadir
2465 docprefix="${datadir}"
2466 mandir=`echo $mandir \
2467 |sed -e 's:^..prefix./man$:${datadir}/man:'`
2468 infodir=`echo $infodir \
2469 |sed -e 's:^..prefix./infodir$:${datadir}/info:'`
2470 # never use $prefix/com - that is no good idea
2471 sharedstatedir=`echo $sharedstatedir \
2472 |sed -e 's:^..prefix./com$:${sysconfdir}/default:'`
2475 { $as_echo "$as_me:$LINENO: result: $result" >&5
2476 $as_echo "$result" >&6; }
2477 # --------------------------------------------------------
2479 # -----------------------------------------------------------------------
2480 # Check whether --enable-thread-safe was given.
2481 if test "${enable_thread_safe+set}" = set; then
2482 enableval=$enable_thread_safe;
2484 enable_thread_safe="yes"
2488 test "$enable_thread_safe" = "yes" && THREAD_SAFE="-thread-safe"
2489 test "$enable_thread_safe" = "$host_os" && THREAD_SAFE="-thread-safe"
2491 if test -n "$THREAD_SAFE" ; then
2492 { $as_echo "$as_me:$LINENO: result: ...using thread-safe linkage" >&5
2493 $as_echo "...using thread-safe linkage" >&6; }
2495 { $as_echo "$as_me:$LINENO: result: disabled thread-safe linkage" >&5
2496 $as_echo "disabled thread-safe linkage" >&6; }
2498 # ----------------------------------------------------------------
2499 { $as_echo "$as_me:$LINENO: checking zlib install prefix" >&5
2500 $as_echo_n "checking zlib install prefix... " >&6; }
2502 # Check whether --with-zlib was given.
2503 if test "${with_zlib+set}" = set; then
2509 if test "${with_zlib}" = yes ; then # choose --prefix paths
2510 if test "${prefix}" = NONE ; then
2511 { $as_echo "$as_me:$LINENO: result: oops" >&5
2512 $as_echo "oops" >&6; }
2513 { { $as_echo "$as_me:$LINENO: error: --with-zlib requires a path argument or a --prefix path set" >&5
2514 $as_echo "$as_me: error: --with-zlib requires a path argument or a --prefix path set" >&2;}
2515 { (exit 1); exit 1; }; }
2520 case ".$with_zlib" in
2522 { $as_echo "$as_me:$LINENO: result: none" >&5
2523 $as_echo "none" >&6; }
2524 with_zlib="no, not configured" ;;
2526 { $as_echo "$as_me:$LINENO: result: oops, ignored (may try --with-zlib=/usr/.)" >&5
2527 $as_echo "oops, ignored (may try --with-zlib=/usr/.)" >&6; }
2528 with_zlib="no, /usr ignored" ;;
2529 *) if test ! -d "$with_zlib/include" ; then
2530 { $as_echo "$as_me:$LINENO: result: oops" >&5
2531 $as_echo "oops" >&6; }
2532 { { $as_echo "$as_me:$LINENO: error: \"$with_zlib/include\" is not a directory" >&5
2533 $as_echo "$as_me: error: \"$with_zlib/include\" is not a directory" >&2;}
2534 { (exit 1); exit 1; }; }
2536 if test ! -d "$with_zlib/lib" ; then
2537 { $as_echo "$as_me:$LINENO: result: oops" >&5
2538 $as_echo "oops" >&6; }
2539 { { $as_echo "$as_me:$LINENO: error: \"$with_zlib/lib\" is not a directory" >&5
2540 $as_echo "$as_me: error: \"$with_zlib/lib\" is not a directory" >&2;}
2541 { (exit 1); exit 1; }; }
2543 { $as_echo "$as_me:$LINENO: result: $with_zlib" >&5
2544 $as_echo "$with_zlib" >&6; }
2545 ZLIB_INCL="-I$with_zlib/include"
2546 ZLIB_LDIR="-L$with_zlib/lib"
2547 { $as_echo "$as_me:$LINENO: result: ..adding CPPFLAGS $ZLIB_INCL" >&5
2548 $as_echo "..adding CPPFLAGS $ZLIB_INCL" >&6; }
2549 { $as_echo "$as_me:$LINENO: result: ..adding LDFLAGS $ZLIB_LDIR" >&5
2550 $as_echo "..adding LDFLAGS $ZLIB_LDIR" >&6; }
2551 CPPFLAGS="$CPPFLAGS $ZLIB_INCL"
2552 LDFLAGS="$LDFLAGS $ZLIB_LDIR"
2557 # -----------------------------------------------------------------------
2559 { $as_echo "$as_me:$LINENO: checking rpm spec file" >&5
2560 $as_echo_n "checking rpm spec file... " >&6; }
2561 if test "." != "." ; then
2563 ax_spec_file=`basename `
2565 case ".$ac_unique_file" in
2566 *.spec) ax_spec_file="$ac_unique_file"
2567 ax_spec_file_="$ac_unique_file" ;;
2568 *) ax_spec_file="TODO"
2569 if test ".$PACKAGE" != "."
2570 then ax_spec_file_="$PACKAGE.spec"
2571 else ax_spec_file_="README"
2574 no ax_spec_file argument has been given, using defaults of
2582 for i in . $srcdir $srcdir/.. .. ; do
2583 if test -f "$i/$ax_spec_file_" ; then
2585 ax_spec_file="$ax_spec_dir/$ax_spec_file_"
2588 if test -f "$i/$ax_spec_file" ; then
2590 ax_spec_file="$ax_spec_dir/$ax_spec_file"
2594 case "$ax_spec_file" in
2595 ./*) if test "$ax_spec_file" = "./$ax_spec_file_" ; then
2596 ax_spec_file="$ax_spec_file_"
2598 { $as_echo "$as_me:$LINENO: result: $ax_spec_file" >&5
2599 $as_echo "$ax_spec_file" >&6; } ;;
2600 */*) { $as_echo "$as_me:$LINENO: result: $ax_spec_file" >&5
2601 $as_echo "$ax_spec_file" >&6; } ;;
2602 *) { { $as_echo "$as_me:$LINENO: error: no rpm spec file found" >&5
2603 $as_echo "$as_me: error: no rpm spec file found" >&2;}
2604 { (exit 1); exit 1; }; } ;;
2608 { $as_echo "$as_me:$LINENO: checking for spec package" >&5
2609 $as_echo_n "checking for spec package... " >&6; }
2610 if test ".$PACKAGE_NAME" = "." ; then if test ! -f $ax_spec_file
2614 if test ".$PACKAGE_NAME" = "." ; then
2615 PACKAGE_NAME=`grep -i '^[ ]*name[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2616 if test ".$PACKAGE_NAME" = "." ; then
2617 for PACKAGE_NAME in name PACKAGE_NAME package_name ; do
2618 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/^%//g'`
2619 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2620 test ".PACKAGE_NAME" != "." && break
2623 case ".$PACKAGE_NAME" in
2625 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/%{//' -e 's/}$//'`
2626 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2628 PACKAGE_NAME=`echo "$PACKAGE_NAME" | sed -e 's/%//'`
2629 PACKAGE_NAME=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2632 fi # test ".$[]PACKAGE_NAME" = "."
2634 PACKAGE_NAME=`echo $PACKAGE_NAME | sed -e 's/ /-/g'`
2636 test ".$PACKAGE_NAME" = "." && k="(fallback)"
2637 test ".$PACKAGE_NAME" = "." && PACKAGE_NAME=`basename $ax_spec_file .spec`
2638 test ".$PACKAGE_NAME" = ".README" && PACKAGE_NAME="TODO"
2639 test ".$PACKAGE_NAME" = ".TODO" && PACKAGE_NAME="foo"
2641 test "PACKAGE_NAME" = "PACKAGE_NAME" && test ".$PACKAGE" = "." && PACKAGE="$PACKAGE_NAME"
2642 { $as_echo "$as_me:$LINENO: result: $PACKAGE_NAME $k" >&5
2643 $as_echo "$PACKAGE_NAME $k" >&6; }
2645 { $as_echo "$as_me:$LINENO: checking for spec version" >&5
2646 $as_echo_n "checking for spec version... " >&6; }
2647 if test ".$PACKAGE_VERSION" = "." ; then if test ! -f $ax_spec_file
2651 if test ".$PACKAGE_VERSION" = "." ; then
2652 PACKAGE_VERSION=`grep -i '^[ ]*version[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2653 if test ".$PACKAGE_VERSION" = "." ; then
2654 for PACKAGE_VERSION in version PACKAGE_VERSION package_version ; do
2655 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/^%//g'`
2656 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2657 test ".PACKAGE_VERSION" != "." && break
2660 case ".$PACKAGE_VERSION" in
2662 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/%{//' -e 's/}$//'`
2663 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2665 PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | sed -e 's/%//'`
2666 PACKAGE_VERSION=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2669 fi # test ".$[]PACKAGE_VERSION" = "."
2671 PACKAGE_VERSION=`echo $PACKAGE_VERSION | sed -e 's/ /-/g'`
2673 test ".$PACKAGE_VERSION" = "." && k="(fallback)"
2674 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION=`date +0.%y.%W%w`
2676 test "PACKAGE_VERSION" = "PACKAGE_VERSION" && test ".$VERSION" = "." && VERSION="$PACKAGE_VERSION"
2677 case "$PACKAGE_VERSION" in # note we set traditional VERSION before cleaning things up
2678 *.*.) PACKAGE_VERSION="$PACKAGE_VERSION"`date +%W%w` ;;
2680 *.) PACKAGE_VERSION="$PACKAGE_VERSION"`date +%y.%W%w` ;;
2681 *.*) PACKAGE_VERSION="$PACKAGE_VERSION.0" ;;
2682 *) PACKAGE_VERSION=`$as_echo "$PACKAGE_VERSION" | $as_tr_sh` ; PACKAGE_VERSION="$PACKAGE_VERSION.`date +%y.%W%w`" ;;
2684 PACKAGE_VERSION=`echo $PACKAGE_VERSION | sed -e "s/[.]0\\(0-9\\)/.\\1/g"`
2685 { $as_echo "$as_me:$LINENO: result: $PACKAGE_VERSION $k" >&5
2686 $as_echo "$PACKAGE_VERSION $k" >&6; }
2688 { $as_echo "$as_me:$LINENO: checking for spec license type" >&5
2689 $as_echo_n "checking for spec license type... " >&6; }
2690 if test ".$PACKAGE_LICENSE" = "." ; then if test ! -f $ax_spec_file
2694 if test ".$PACKAGE_LICENSE" = "." ; then
2695 PACKAGE_LICENSE=`grep -i '^[ ]*license[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2696 if test ".$PACKAGE_LICENSE" = "." ; then
2697 for PACKAGE_LICENSE in license PACKAGE_LICENSE package_license ; do
2698 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/^%//g'`
2699 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2700 test ".PACKAGE_LICENSE" != "." && break
2703 case ".$PACKAGE_LICENSE" in
2705 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/%{//' -e 's/}$//'`
2706 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2708 PACKAGE_LICENSE=`echo "$PACKAGE_LICENSE" | sed -e 's/%//'`
2709 PACKAGE_LICENSE=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2712 fi # test ".$[]PACKAGE_LICENSE" = "."
2714 PACKAGE_LICENSE=`echo $PACKAGE_LICENSE | sed -e 's/ *License//g'`
2716 test ".$PACKAGE_LICENSE" = "." && k="(fallback)"
2717 if test ".$PACKAGE_LICENSE" = "." ; then
2718 for ac_file in "$srcdir/COPYING" "$srcdir/COPYING" "$srcdir/LICENSE" ; do
2719 test -f "$ac_file" || continue
2720 if grep "GNU LESSER GENERAL PUBLIC LICENSE" "$ac_file" >/dev/null
2721 then PACKAGE_LICENSE="GNU LGPL" ; break
2722 elif grep "GNU GENERAL PUBLIC LICENSE" "$ac_file" >/dev/null
2723 then PACKAGE_LICENSE="GNU GPL" ; break
2724 elif grep "MOZILLA PUBLIC LICENSE" "$ac_file" >/dev/null
2725 then PACKAGE_LICENSE="MPL" ; break
2726 elif grep "Mozilla Public License" "$ac_file" >/dev/null
2727 then PACKAGE_LICENSE="MPL" ; break
2728 elif grep -i "artistic license" "$ac_file" >/dev/null
2729 then PACKAGE_LICENSE="Artistic" ; break
2730 elif grep -i "artistic control" "$ac_file" >/dev/null
2731 then PACKAGE_LICENSE="Artistic" ; break
2732 elif grep -i "semblance of artistic" "$ac_file" >/dev/null
2733 then PACKAGE_LICENSE="Artistic" ; break
2734 elif grep -i "above copyright notice" "$ac_file" >/dev/null
2735 then PACKAGE_LICENSE="BSD" ; break
2738 if test ".$PACKAGE_LICENSE" = "." ; then
2739 if test "$srcdir/COPYING.LIB" ; then PACKAGE_LICENSE="GNU LGPL"
2740 elif test ".$ltmain" != "." ; then PACKAGE_LICENSE="GNU LGPL"
2741 else PACKAGE_LICENSE="GNU GPL"
2746 test "$PACKAGE_LICENSE" = "GPL" && PACKAGE_LICENSE="GNU GPL"
2747 test "$PACKAGE_LICENSE" = "LGPL" && PACKAGE_LICENSE="GNU LGPL"
2748 { $as_echo "$as_me:$LINENO: result: $PACKAGE_LICENSE $k" >&5
2749 $as_echo "$PACKAGE_LICENSE $k" >&6; }
2751 { $as_echo "$as_me:$LINENO: checking for spec summary" >&5
2752 $as_echo_n "checking for spec summary... " >&6; }
2753 if test ".$PACKAGE_SUMMARY" = "." ; then if test ! -f $ax_spec_file
2757 if test ".$PACKAGE_SUMMARY" = "." ; then
2758 PACKAGE_SUMMARY=`grep -i '^[ ]*summary[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2759 if test ".$PACKAGE_SUMMARY" = "." ; then
2760 for PACKAGE_SUMMARY in summary PACKAGE_SUMMARY package_summary ; do
2761 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/^%//g'`
2762 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2763 test ".PACKAGE_SUMMARY" != "." && break
2766 case ".$PACKAGE_SUMMARY" in
2768 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/%{//' -e 's/}$//'`
2769 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2771 PACKAGE_SUMMARY=`echo "$PACKAGE_SUMMARY" | sed -e 's/%//'`
2772 PACKAGE_SUMMARY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2775 fi # test ".$[]PACKAGE_SUMMARY" = "."
2778 test ".$PACKAGE_SUMMARY" = "." && k="(fallback)"
2779 if test ".$PACKAGE_SUMMARY" = "." ; then PACKAGE_SUMMARY="$PACKAGE"
2780 test ".$PACKAGE_SUMMARY" = "." && PACKAGE_SUMMARY="foo"
2781 test ".$ltmain" != "." && PACKAGE_SUMMARY="$PACKAGE_SUMMARY library"
2784 { $as_echo "$as_me:$LINENO: result: $PACKAGE_SUMMARY $k" >&5
2785 $as_echo "$PACKAGE_SUMMARY $k" >&6; }
2787 { $as_echo "$as_me:$LINENO: checking for spec category" >&5
2788 $as_echo_n "checking for spec category... " >&6; }
2789 if test ".$PACKAGE_CATEGORY" = "." ; then if test ! -f $ax_spec_file
2793 if test ".$PACKAGE_CATEGORY" = "." ; then
2794 PACKAGE_CATEGORY=`grep -i '^[ ]*group[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2795 if test ".$PACKAGE_CATEGORY" = "." ; then
2796 for PACKAGE_CATEGORY in group PACKAGE_CATEGORY package_category ; do
2797 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/^%//g'`
2798 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2799 test ".PACKAGE_CATEGORY" != "." && break
2802 case ".$PACKAGE_CATEGORY" in
2804 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/%{//' -e 's/}$//'`
2805 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2807 PACKAGE_CATEGORY=`echo "$PACKAGE_CATEGORY" | sed -e 's/%//'`
2808 PACKAGE_CATEGORY=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2811 fi # test ".$[]PACKAGE_CATEGORY" = "."
2813 PACKAGE_CATEGORY=`echo $PACKAGE_CATEGORY | sed -e 's/ /-/g'`
2815 test ".$PACKAGE_CATEGORY" = "." && k="(fallback)"
2816 if test ".$PACKAGE_CATEGORY" = "." ; then if test ".$ltmain" != "."
2817 then PACKAGE_CATEGORY="Development/Library"
2818 else PACKAGE_CATEGORY="Development/Other"
2821 { $as_echo "$as_me:$LINENO: result: $PACKAGE_CATEGORY $k" >&5
2822 $as_echo "$PACKAGE_CATEGORY $k" >&6; }
2824 { $as_echo "$as_me:$LINENO: checking for spec icon" >&5
2825 $as_echo_n "checking for spec icon... " >&6; }
2826 if test ".$PACKAGE_ICON" = "." ; then if test ! -f $ax_spec_file
2830 if test ".$PACKAGE_ICON" = "." ; then
2831 PACKAGE_ICON=`grep -i '^[ ]*icon[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2832 if test ".$PACKAGE_ICON" = "." ; then
2833 for PACKAGE_ICON in icon PACKAGE_ICON package_icon ; do
2834 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/^%//g'`
2835 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2836 test ".PACKAGE_ICON" != "." && break
2839 case ".$PACKAGE_ICON" in
2841 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/%{//' -e 's/}$//'`
2842 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2844 PACKAGE_ICON=`echo "$PACKAGE_ICON" | sed -e 's/%//'`
2845 PACKAGE_ICON=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2848 fi # test ".$[]PACKAGE_ICON" = "."
2851 test ".$PACKAGE_ICON" = "." && k="(fallback)"
2852 if test ".$PACKAGE_ICON" = "." ; then PACKAGE_ICON="$PACKAGE-icon.png" ; fi
2854 { $as_echo "$as_me:$LINENO: result: $PACKAGE_ICON $k" >&5
2855 $as_echo "$PACKAGE_ICON $k" >&6; }
2858 am__api_version='1.10'
2860 # Find a good install program. We prefer a C program (faster),
2861 # so one script is as good as another. But avoid the broken or
2862 # incompatible versions:
2863 # SysV /etc/install, /usr/sbin/install
2864 # SunOS /usr/etc/install
2865 # IRIX /sbin/install
2867 # AmigaOS /C/install, which installs bootblocks on floppy discs
2868 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2869 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2870 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2871 # OS/2's system install, which has a completely different semantic
2872 # ./install, which can be erroneously created by make from ./install.sh.
2873 # Reject install programs that cannot install multiple files.
2874 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2875 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2876 if test -z "$INSTALL"; then
2877 if test "${ac_cv_path_install+set}" = set; then
2878 $as_echo_n "(cached) " >&6
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 # Account for people who put trailing slashes in PATH elements.
2887 ./ | .// | /cC/* | \
2888 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2889 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2892 # OSF1 and SCO ODT 3.0 have their own names for install.
2893 # Don't use installbsd from OSF since it installs stuff as root
2895 for ac_prog in ginstall scoinst install; do
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2898 if test $ac_prog = install &&
2899 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2900 # AIX install. It has an incompatible calling convention.
2902 elif test $ac_prog = install &&
2903 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2904 # program-specific install script used by HP pwplus--don't use.
2907 rm -rf conftest.one conftest.two conftest.dir
2908 echo one > conftest.one
2909 echo two > conftest.two
2911 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2912 test -s conftest.one && test -s conftest.two &&
2913 test -s conftest.dir/conftest.one &&
2914 test -s conftest.dir/conftest.two
2916 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2929 rm -rf conftest.one conftest.two conftest.dir
2932 if test "${ac_cv_path_install+set}" = set; then
2933 INSTALL=$ac_cv_path_install
2935 # As a last resort, use the slow shell script. Don't cache a
2936 # value for INSTALL within a source directory, because that will
2937 # break other packages using the cache if that directory is
2938 # removed, or if the value is a relative name.
2939 INSTALL=$ac_install_sh
2942 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2943 $as_echo "$INSTALL" >&6; }
2945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2946 # It thinks the first close brace ends the variable substitution.
2947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2951 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2953 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2954 $as_echo_n "checking whether build environment is sane... " >&6; }
2957 echo timestamp > conftest.file
2958 # Do `set' in a subshell so we don't clobber the current shell's
2959 # arguments. Must try -L first in case configure is actually a
2960 # symlink; some systems play weird games with the mod time of symlinks
2961 # (eg FreeBSD returns the mod time of the symlink's containing
2964 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2965 if test "$*" = "X"; then
2967 set X `ls -t $srcdir/configure conftest.file`
2970 if test "$*" != "X $srcdir/configure conftest.file" \
2971 && test "$*" != "X conftest.file $srcdir/configure"; then
2973 # If neither matched, then we have a broken ls. This can happen
2974 # if, for instance, CONFIG_SHELL is bash and it inherits a
2975 # broken ls alias from the environment. This has actually
2976 # happened. Such a system could not be considered "sane".
2977 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2978 alias in your environment" >&5
2979 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2980 alias in your environment" >&2;}
2981 { (exit 1); exit 1; }; }
2984 test "$2" = conftest.file
2990 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2991 Check your system clock" >&5
2992 $as_echo "$as_me: error: newly created file is older than distributed files!
2993 Check your system clock" >&2;}
2994 { (exit 1); exit 1; }; }
2996 { $as_echo "$as_me:$LINENO: result: yes" >&5
2997 $as_echo "yes" >&6; }
2998 test "$program_prefix" != NONE &&
2999 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3000 # Use a double $ so make ignores it.
3001 test "$program_suffix" != NONE &&
3002 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3003 # Double any \ or $.
3004 # By default was `s,x,x', remove it if useless.
3005 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3006 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3008 # expand $ac_aux_dir to an absolute path
3009 am_aux_dir=`cd $ac_aux_dir && pwd`
3011 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3012 # Use eval to expand $SHELL
3013 if eval "$MISSING --run true"; then
3014 am_missing_run="$MISSING --run "
3017 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3018 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3021 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3022 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3023 if test -z "$MKDIR_P"; then
3024 if test "${ac_cv_path_mkdir+set}" = set; then
3025 $as_echo_n "(cached) " >&6
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3031 test -z "$as_dir" && as_dir=.
3032 for ac_prog in mkdir gmkdir; do
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3035 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3036 'mkdir (GNU coreutils) '* | \
3037 'mkdir (coreutils) '* | \
3038 'mkdir (fileutils) '4.1*)
3039 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3049 if test "${ac_cv_path_mkdir+set}" = set; then
3050 MKDIR_P="$ac_cv_path_mkdir -p"
3052 # As a last resort, use the slow shell script. Don't cache a
3053 # value for MKDIR_P within a source directory, because that will
3054 # break other packages using the cache if that directory is
3055 # removed, or if the value is a relative name.
3056 test -d ./--version && rmdir ./--version
3057 MKDIR_P="$ac_install_sh -d"
3060 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3061 $as_echo "$MKDIR_P" >&6; }
3065 [\\/$]* | ?:[\\/]*) ;;
3066 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3069 for ac_prog in gawk mawk nawk awk
3071 # Extract the first word of "$ac_prog", so it can be a program name with args.
3072 set dummy $ac_prog; ac_word=$2
3073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if test "${ac_cv_prog_AWK+set}" = set; then
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$AWK"; then
3079 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 ac_cv_prog_AWK="$ac_prog"
3089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test -n "$AWK"; then
3100 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3101 $as_echo "$AWK" >&6; }
3103 { $as_echo "$as_me:$LINENO: result: no" >&5
3104 $as_echo "no" >&6; }
3108 test -n "$AWK" && break
3111 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3112 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3114 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3115 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3116 $as_echo_n "(cached) " >&6
3118 cat >conftest.make <<\_ACEOF
3121 @echo '@@@%%%=$(MAKE)=@@@%%%'
3123 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3124 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3126 eval ac_cv_prog_make_${ac_make}_set=yes;;
3128 eval ac_cv_prog_make_${ac_make}_set=no;;
3132 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3133 { $as_echo "$as_me:$LINENO: result: yes" >&5
3134 $as_echo "yes" >&6; }
3137 { $as_echo "$as_me:$LINENO: result: no" >&5
3138 $as_echo "no" >&6; }
3139 SET_MAKE="MAKE=${MAKE-make}"
3142 rm -rf .tst 2>/dev/null
3143 mkdir .tst 2>/dev/null
3144 if test -d .tst; then
3149 rmdir .tst 2>/dev/null
3151 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3152 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3153 # is not polluted with repeated "-I."
3154 am__isrc=' -I$(srcdir)'
3155 # test to see if srcdir already configured
3156 if test -f $srcdir/config.status; then
3157 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3158 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3159 { (exit 1); exit 1; }; }
3163 # test whether we have cygpath
3164 if test -z "$CYGPATH_W"; then
3165 if (cygpath --version) >/dev/null 2>/dev/null; then
3166 CYGPATH_W='cygpath -w'
3173 # Define the identity of the package.
3178 cat >>confdefs.h <<_ACEOF
3179 #define PACKAGE "$PACKAGE"
3183 cat >>confdefs.h <<_ACEOF
3184 #define VERSION "$VERSION"
3187 # Some tools Automake needs.
3189 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3192 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3195 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3198 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3201 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3203 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3205 # Installed binaries are usually stripped using `strip' when the user
3206 # run `make install-strip'. However `strip' might not be the right
3207 # tool to use in cross-compilation environments, therefore Automake
3208 # will honor the `STRIP' environment variable to overrule this program.
3209 if test "$cross_compiling" != no; then
3210 if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3212 set dummy ${ac_tool_prefix}strip; ac_word=$2
3213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if test "${ac_cv_prog_STRIP+set}" = set; then
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$STRIP"; then
3219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir=.
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 STRIP=$ac_cv_prog_STRIP
3239 if test -n "$STRIP"; then
3240 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3241 $as_echo "$STRIP" >&6; }
3243 { $as_echo "$as_me:$LINENO: result: no" >&5
3244 $as_echo "no" >&6; }
3249 if test -z "$ac_cv_prog_STRIP"; then
3251 # Extract the first word of "strip", so it can be a program name with args.
3252 set dummy strip; ac_word=$2
3253 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$ac_ct_STRIP"; then
3259 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 ac_cv_prog_ac_ct_STRIP="strip"
3269 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3279 if test -n "$ac_ct_STRIP"; then
3280 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3281 $as_echo "$ac_ct_STRIP" >&6; }
3283 { $as_echo "$as_me:$LINENO: result: no" >&5
3284 $as_echo "no" >&6; }
3287 if test "x$ac_ct_STRIP" = x; then
3290 case $cross_compiling:$ac_tool_warned in
3292 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3294 ac_tool_warned=yes ;;
3299 STRIP="$ac_cv_prog_STRIP"
3303 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3305 # We need awk for the "check" target. The system "awk" is bad on
3307 # Always define AMTAR for backward compatibility.
3309 AMTAR=${AMTAR-"${am_missing_run}tar"}
3311 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 $as_echo_n "checking for $ac_word... " >&6; }
3327 if test "${ac_cv_prog_CC+set}" = set; then
3328 $as_echo_n "(cached) " >&6
3330 if test -n "$CC"; then
3331 ac_cv_prog_CC="$CC" # Let the user override the test.
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 if test -n "$CC"; then
3352 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3353 $as_echo "$CC" >&6; }
3355 { $as_echo "$as_me:$LINENO: result: no" >&5
3356 $as_echo "no" >&6; }
3361 if test -z "$ac_cv_prog_CC"; then
3363 # Extract the first word of "gcc", so it can be a program name with args.
3364 set dummy gcc; ac_word=$2
3365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$ac_ct_CC"; then
3371 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CC="gcc"
3381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3391 if test -n "$ac_ct_CC"; then
3392 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3393 $as_echo "$ac_ct_CC" >&6; }
3395 { $as_echo "$as_me:$LINENO: result: no" >&5
3396 $as_echo "no" >&6; }
3399 if test "x$ac_ct_CC" = x; then
3402 case $cross_compiling:$ac_tool_warned in
3404 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3406 ac_tool_warned=yes ;;
3414 if test -z "$CC"; then
3415 if test -n "$ac_tool_prefix"; then
3416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3417 set dummy ${ac_tool_prefix}cc; ac_word=$2
3418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if test "${ac_cv_prog_CC+set}" = set; then
3421 $as_echo_n "(cached) " >&6
3423 if test -n "$CC"; then
3424 ac_cv_prog_CC="$CC" # Let the user override the test.
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir=.
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433 ac_cv_prog_CC="${ac_tool_prefix}cc"
3434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 if test -n "$CC"; then
3445 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3446 $as_echo "$CC" >&6; }
3448 { $as_echo "$as_me:$LINENO: result: no" >&5
3449 $as_echo "no" >&6; }
3455 if test -z "$CC"; then
3456 # Extract the first word of "cc", so it can be a program name with args.
3457 set dummy cc; ac_word=$2
3458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 $as_echo_n "checking for $ac_word... " >&6; }
3460 if test "${ac_cv_prog_CC+set}" = set; then
3461 $as_echo_n "(cached) " >&6
3463 if test -n "$CC"; then
3464 ac_cv_prog_CC="$CC" # Let the user override the test.
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir=.
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3474 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3475 ac_prog_rejected=yes
3479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3486 if test $ac_prog_rejected = yes; then
3487 # We found a bogon in the path, so make sure we never use it.
3488 set dummy $ac_cv_prog_CC
3490 if test $# != 0; then
3491 # We chose a different compiler from the bogus one.
3492 # However, it has the same basename, so the bogon will be chosen
3493 # first if we set CC to just the basename; use the full file name.
3495 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3501 if test -n "$CC"; then
3502 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3503 $as_echo "$CC" >&6; }
3505 { $as_echo "$as_me:$LINENO: result: no" >&5
3506 $as_echo "no" >&6; }
3511 if test -z "$CC"; then
3512 if test -n "$ac_tool_prefix"; then
3513 for ac_prog in cl.exe
3515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if test "${ac_cv_prog_CC+set}" = set; then
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir=.
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3532 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$CC"; then
3544 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3547 { $as_echo "$as_me:$LINENO: result: no" >&5
3548 $as_echo "no" >&6; }
3552 test -n "$CC" && break
3555 if test -z "$CC"; then
3557 for ac_prog in cl.exe
3559 # Extract the first word of "$ac_prog", so it can be a program name with args.
3560 set dummy $ac_prog; ac_word=$2
3561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3564 $as_echo_n "(cached) " >&6
3566 if test -n "$ac_ct_CC"; then
3567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576 ac_cv_prog_ac_ct_CC="$ac_prog"
3577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3587 if test -n "$ac_ct_CC"; then
3588 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3589 $as_echo "$ac_ct_CC" >&6; }
3591 { $as_echo "$as_me:$LINENO: result: no" >&5
3592 $as_echo "no" >&6; }
3596 test -n "$ac_ct_CC" && break
3599 if test "x$ac_ct_CC" = x; then
3602 case $cross_compiling:$ac_tool_warned in
3604 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3606 ac_tool_warned=yes ;;
3615 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3617 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3618 See \`config.log' for more details." >&5
3619 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3620 See \`config.log' for more details." >&2;}
3621 { (exit 1); exit 1; }; }; }
3623 # Provide some information about the compiler.
3624 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3627 { (ac_try="$ac_compiler --version >&5"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3633 $as_echo "$ac_try_echo") >&5
3634 (eval "$ac_compiler --version >&5") 2>&5
3636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }
3638 { (ac_try="$ac_compiler -v >&5"
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3644 $as_echo "$ac_try_echo") >&5
3645 (eval "$ac_compiler -v >&5") 2>&5
3647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }
3649 { (ac_try="$ac_compiler -V >&5"
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3655 $as_echo "$ac_try_echo") >&5
3656 (eval "$ac_compiler -V >&5") 2>&5
3658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }
3661 cat >conftest.$ac_ext <<_ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3676 ac_clean_files_save=$ac_clean_files
3677 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3678 # Try to create an executable without -o first, disregard a.out.
3679 # It will help us diagnose broken compilers, and finding out an intuition
3681 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3682 $as_echo_n "checking for C compiler default output file name... " >&6; }
3683 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3685 # The possible output files:
3686 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3689 for ac_file in $ac_files
3692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3693 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3698 if { (ac_try="$ac_link_default"
3700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3704 $as_echo "$ac_try_echo") >&5
3705 (eval "$ac_link_default") 2>&5
3707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; then
3709 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3710 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3711 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3712 # so that the user can short-circuit this test for compilers unknown to
3714 for ac_file in $ac_files ''
3716 test -f "$ac_file" || continue
3718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3721 # We found the default executable, but exeext='' is most
3725 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3727 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3729 # We set ac_cv_exeext here because the later test for it is not
3730 # safe: cross compilers may not add the suffix if given an `-o'
3731 # argument, so we may need to know it at that point already.
3732 # Even if this section looks crufty: it has the advantage of
3739 test "$ac_cv_exeext" = no && ac_cv_exeext=
3745 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3746 $as_echo "$ac_file" >&6; }
3747 if test -z "$ac_file"; then
3748 $as_echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3751 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3754 See \`config.log' for more details." >&5
3755 $as_echo "$as_me: error: C compiler cannot create executables
3756 See \`config.log' for more details." >&2;}
3757 { (exit 77); exit 77; }; }; }
3760 ac_exeext=$ac_cv_exeext
3762 # Check that the compiler produces executables we can run. If not, either
3763 # the compiler is broken, or we cross compile.
3764 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3765 $as_echo_n "checking whether the C compiler works... " >&6; }
3766 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3767 # If not cross compiling, check that we can run a simple program.
3768 if test "$cross_compiling" != yes; then
3769 if { ac_try='./$ac_file'
3770 { (case "(($ac_try" in
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3775 $as_echo "$ac_try_echo") >&5
3776 (eval "$ac_try") 2>&5
3778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3782 if test "$cross_compiling" = maybe; then
3785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3788 If you meant to cross compile, use \`--host'.
3789 See \`config.log' for more details." >&5
3790 $as_echo "$as_me: error: cannot run C compiled programs.
3791 If you meant to cross compile, use \`--host'.
3792 See \`config.log' for more details." >&2;}
3793 { (exit 1); exit 1; }; }; }
3797 { $as_echo "$as_me:$LINENO: result: yes" >&5
3798 $as_echo "yes" >&6; }
3800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3801 ac_clean_files=$ac_clean_files_save
3802 # Check that the compiler produces executables we can run. If not, either
3803 # the compiler is broken, or we cross compile.
3804 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3805 $as_echo_n "checking whether we are cross compiling... " >&6; }
3806 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3807 $as_echo "$cross_compiling" >&6; }
3809 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3810 $as_echo_n "checking for suffix of executables... " >&6; }
3811 if { (ac_try="$ac_link"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3817 $as_echo "$ac_try_echo") >&5
3818 (eval "$ac_link") 2>&5
3820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; then
3822 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3823 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3824 # work properly (i.e., refer to `conftest.exe'), while it won't with
3826 for ac_file in conftest.exe conftest conftest.*; do
3827 test -f "$ac_file" || continue
3829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3830 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3836 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3839 See \`config.log' for more details." >&5
3840 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3841 See \`config.log' for more details." >&2;}
3842 { (exit 1); exit 1; }; }; }
3845 rm -f conftest$ac_cv_exeext
3846 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3847 $as_echo "$ac_cv_exeext" >&6; }
3849 rm -f conftest.$ac_ext
3850 EXEEXT=$ac_cv_exeext
3852 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3853 $as_echo_n "checking for suffix of object files... " >&6; }
3854 if test "${ac_cv_objext+set}" = set; then
3855 $as_echo_n "(cached) " >&6
3857 cat >conftest.$ac_ext <<_ACEOF
3860 cat confdefs.h >>conftest.$ac_ext
3861 cat >>conftest.$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3872 rm -f conftest.o conftest.obj
3873 if { (ac_try="$ac_compile"
3875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3879 $as_echo "$ac_try_echo") >&5
3880 (eval "$ac_compile") 2>&5
3882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; then
3884 for ac_file in conftest.o conftest.obj conftest.*; do
3885 test -f "$ac_file" || continue;
3887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3888 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3893 $as_echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3896 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3899 See \`config.log' for more details." >&5
3900 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3901 See \`config.log' for more details." >&2;}
3902 { (exit 1); exit 1; }; }; }
3905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3907 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3908 $as_echo "$ac_cv_objext" >&6; }
3909 OBJEXT=$ac_cv_objext
3911 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3913 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3914 $as_echo_n "(cached) " >&6
3916 cat >conftest.$ac_ext <<_ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3934 rm -f conftest.$ac_objext
3935 if { (ac_try="$ac_compile"
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3941 $as_echo "$ac_try_echo") >&5
3942 (eval "$ac_compile") 2>conftest.er1
3944 grep -v '^ *+' conftest.er1 >conftest.err
3946 cat conftest.err >&5
3947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && {
3949 test -z "$ac_c_werror_flag" ||
3950 test ! -s conftest.err
3951 } && test -s conftest.$ac_objext; then
3954 $as_echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.$ac_ext >&5
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3964 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3965 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3966 if test $ac_compiler_gnu = yes; then
3971 ac_test_CFLAGS=${CFLAGS+set}
3972 ac_save_CFLAGS=$CFLAGS
3973 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3974 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3975 if test "${ac_cv_prog_cc_g+set}" = set; then
3976 $as_echo_n "(cached) " >&6
3978 ac_save_c_werror_flag=$ac_c_werror_flag
3979 ac_c_werror_flag=yes
3982 cat >conftest.$ac_ext <<_ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3997 rm -f conftest.$ac_objext
3998 if { (ac_try="$ac_compile"
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4004 $as_echo "$ac_try_echo") >&5
4005 (eval "$ac_compile") 2>conftest.er1
4007 grep -v '^ *+' conftest.er1 >conftest.err
4009 cat conftest.err >&5
4010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest.$ac_objext; then
4017 $as_echo "$as_me: failed program was:" >&5
4018 sed 's/^/| /' conftest.$ac_ext >&5
4021 cat >conftest.$ac_ext <<_ACEOF
4024 cat confdefs.h >>conftest.$ac_ext
4025 cat >>conftest.$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4036 rm -f conftest.$ac_objext
4037 if { (ac_try="$ac_compile"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043 $as_echo "$ac_try_echo") >&5
4044 (eval "$ac_compile") 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } && {
4051 test -z "$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4053 } && test -s conftest.$ac_objext; then
4056 $as_echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 ac_c_werror_flag=$ac_save_c_werror_flag
4061 cat >conftest.$ac_ext <<_ACEOF
4064 cat confdefs.h >>conftest.$ac_ext
4065 cat >>conftest.$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4076 rm -f conftest.$ac_objext
4077 if { (ac_try="$ac_compile"
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4083 $as_echo "$ac_try_echo") >&5
4084 (eval "$ac_compile") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest.$ac_objext; then
4096 $as_echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 ac_c_werror_flag=$ac_save_c_werror_flag
4111 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4112 $as_echo "$ac_cv_prog_cc_g" >&6; }
4113 if test "$ac_test_CFLAGS" = set; then
4114 CFLAGS=$ac_save_CFLAGS
4115 elif test $ac_cv_prog_cc_g = yes; then
4116 if test "$GCC" = yes; then
4122 if test "$GCC" = yes; then
4128 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4129 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4130 if test "${ac_cv_prog_cc_c89+set}" = set; then
4131 $as_echo_n "(cached) " >&6
4133 ac_cv_prog_cc_c89=no
4135 cat >conftest.$ac_ext <<_ACEOF
4138 cat confdefs.h >>conftest.$ac_ext
4139 cat >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4143 #include <sys/types.h>
4144 #include <sys/stat.h>
4145 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4146 struct buf { int x; };
4147 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4148 static char *e (p, i)
4154 static char *f (char * (*g) (char **, int), char **p, ...)
4159 s = g (p, va_arg (v,int));
4164 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4165 function prototypes and stuff, but not '\xHH' hex character constants.
4166 These don't provoke an error unfortunately, instead are silently treated
4167 as 'x'. The following induces an error, until -std is added to get
4168 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4169 array size at least. It's necessary to write '\x00'==0 to get something
4170 that's true only with -std. */
4171 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4173 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4174 inside strings and character constants. */
4176 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4178 int test (int i, double x);
4179 struct s1 {int (*f) (int a);};
4180 struct s2 {int (*f) (double a);};
4181 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4187 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4192 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4193 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4195 CC="$ac_save_CC $ac_arg"
4196 rm -f conftest.$ac_objext
4197 if { (ac_try="$ac_compile"
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4203 $as_echo "$ac_try_echo") >&5
4204 (eval "$ac_compile") 2>conftest.er1
4206 grep -v '^ *+' conftest.er1 >conftest.err
4208 cat conftest.err >&5
4209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest.$ac_objext; then
4214 ac_cv_prog_cc_c89=$ac_arg
4216 $as_echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.$ac_ext >&5
4222 rm -f core conftest.err conftest.$ac_objext
4223 test "x$ac_cv_prog_cc_c89" != "xno" && break
4225 rm -f conftest.$ac_ext
4230 case "x$ac_cv_prog_cc_c89" in
4232 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4233 $as_echo "none needed" >&6; } ;;
4235 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4236 $as_echo "unsupported" >&6; } ;;
4238 CC="$CC $ac_cv_prog_cc_c89"
4239 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4240 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4245 ac_cpp='$CPP $CPPFLAGS'
4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249 DEPDIR="${am__leading_dot}deps"
4251 ac_config_commands="$ac_config_commands depfiles"
4254 am_make=${MAKE-make}
4255 cat > confinc << 'END'
4260 # If we don't find an include directive, just comment out the code.
4261 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4262 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4266 # First try GNU make style include.
4267 echo "include confinc" > confmf
4268 # We grep out `Entering directory' and `Leaving directory'
4269 # messages which can occur if `w' ends up in MAKEFLAGS.
4270 # In particular we don't look at `^make:' because GNU make might
4271 # be invoked under some other name (usually "gmake"), in which
4272 # case it prints its new name instead of `make'.
4273 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4278 # Now try BSD make style include.
4279 if test "$am__include" = "#"; then
4280 echo '.include "confinc"' > confmf
4281 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4282 am__include=.include
4289 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4290 $as_echo "$_am_result" >&6; }
4291 rm -f confinc confmf
4293 # Check whether --enable-dependency-tracking was given.
4294 if test "${enable_dependency_tracking+set}" = set; then
4295 enableval=$enable_dependency_tracking;
4298 if test "x$enable_dependency_tracking" != xno; then
4299 am_depcomp="$ac_aux_dir/depcomp"
4302 if test "x$enable_dependency_tracking" != xno; then
4312 depcc="$CC" am_compiler_list=
4314 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4315 $as_echo_n "checking dependency style of $depcc... " >&6; }
4316 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4317 $as_echo_n "(cached) " >&6
4319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4320 # We make a subdir and do the tests there. Otherwise we can end up
4321 # making bogus files that we don't know about and never remove. For
4322 # instance it was reported that on HP-UX the gcc test will end up
4323 # making a dummy file named `D' -- because `-MD' means `put the output
4326 # Copy depcomp to subdir because otherwise we won't find it if we're
4327 # using a relative directory.
4328 cp "$am_depcomp" conftest.dir
4330 # We will build objects and dependencies in a subdirectory because
4331 # it helps to detect inapplicable dependency modes. For instance
4332 # both Tru64's cc and ICC support -MD to output dependencies as a
4333 # side effect of compilation, but ICC will put the dependencies in
4334 # the current directory while Tru64 will put them in the object
4338 am_cv_CC_dependencies_compiler_type=none
4339 if test "$am_compiler_list" = ""; then
4340 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4342 for depmode in $am_compiler_list; do
4343 # Setup a source with many dependencies, because some compilers
4344 # like to wrap large dependency lists on column 80 (with \), and
4345 # we should not choose a depcomp mode which is confused by this.
4347 # We need to recreate these files for each test, as the compiler may
4348 # overwrite some of them when testing with obscure command lines.
4349 # This happens at least with the AIX C compiler.
4351 for i in 1 2 3 4 5 6; do
4352 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4354 # Solaris 8's {/usr,}/bin/sh.
4355 touch sub/conftst$i.h
4357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4361 # after this tag, mechanisms are not by side-effect, so they'll
4362 # only be used when explicitly requested
4363 if test "x$enable_dependency_tracking" = xyes; then
4371 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4372 # mode. It turns out that the SunPro C++ compiler does not properly
4373 # handle `-M -o', and we need to detect this.
4374 if depmode=$depmode \
4375 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4376 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4377 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4378 >/dev/null 2>conftest.err &&
4379 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4380 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4381 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4382 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4383 # icc doesn't choke on unknown options, it will just issue warnings
4384 # or remarks (even with -Werror). So we grep stderr for any message
4385 # that says an option was ignored or not supported.
4386 # When given -MP, icc 7.0 and 7.1 complain thusly:
4387 # icc: Command line warning: ignoring option '-M'; no argument required
4388 # The diagnosis changed in icc 8.0:
4389 # icc: Command line remark: option '-MP' not supported
4390 if (grep 'ignoring option' conftest.err ||
4391 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4392 am_cv_CC_dependencies_compiler_type=$depmode
4401 am_cv_CC_dependencies_compiler_type=none
4405 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4406 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4407 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4410 test "x$enable_dependency_tracking" != xno \
4411 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4413 am__fastdepCC_FALSE='#'
4415 am__fastdepCC_TRUE='#'
4416 am__fastdepCC_FALSE=
4420 # Find a good install program. We prefer a C program (faster),
4421 # so one script is as good as another. But avoid the broken or
4422 # incompatible versions:
4423 # SysV /etc/install, /usr/sbin/install
4424 # SunOS /usr/etc/install
4425 # IRIX /sbin/install
4427 # AmigaOS /C/install, which installs bootblocks on floppy discs
4428 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4429 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4430 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4431 # OS/2's system install, which has a completely different semantic
4432 # ./install, which can be erroneously created by make from ./install.sh.
4433 # Reject install programs that cannot install multiple files.
4434 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4435 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4436 if test -z "$INSTALL"; then
4437 if test "${ac_cv_path_install+set}" = set; then
4438 $as_echo_n "(cached) " >&6
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 # Account for people who put trailing slashes in PATH elements.
4447 ./ | .// | /cC/* | \
4448 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4449 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4452 # OSF1 and SCO ODT 3.0 have their own names for install.
4453 # Don't use installbsd from OSF since it installs stuff as root
4455 for ac_prog in ginstall scoinst install; do
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4458 if test $ac_prog = install &&
4459 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4460 # AIX install. It has an incompatible calling convention.
4462 elif test $ac_prog = install &&
4463 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4464 # program-specific install script used by HP pwplus--don't use.
4467 rm -rf conftest.one conftest.two conftest.dir
4468 echo one > conftest.one
4469 echo two > conftest.two
4471 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4472 test -s conftest.one && test -s conftest.two &&
4473 test -s conftest.dir/conftest.one &&
4474 test -s conftest.dir/conftest.two
4476 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4489 rm -rf conftest.one conftest.two conftest.dir
4492 if test "${ac_cv_path_install+set}" = set; then
4493 INSTALL=$ac_cv_path_install
4495 # As a last resort, use the slow shell script. Don't cache a
4496 # value for INSTALL within a source directory, because that will
4497 # break other packages using the cache if that directory is
4498 # removed, or if the value is a relative name.
4499 INSTALL=$ac_install_sh
4502 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4503 $as_echo "$INSTALL" >&6; }
4505 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4506 # It thinks the first close brace ends the variable substitution.
4507 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4509 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4511 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4513 enable_win32_dll=yes
4516 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4517 if test -n "$ac_tool_prefix"; then
4518 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4519 set dummy ${ac_tool_prefix}as; ac_word=$2
4520 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if test "${ac_cv_prog_AS+set}" = set; then
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$AS"; then
4526 ac_cv_prog_AS="$AS" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_AS="${ac_tool_prefix}as"
4536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 if test -n "$AS"; then
4547 { $as_echo "$as_me:$LINENO: result: $AS" >&5
4548 $as_echo "$AS" >&6; }
4550 { $as_echo "$as_me:$LINENO: result: no" >&5
4551 $as_echo "no" >&6; }
4556 if test -z "$ac_cv_prog_AS"; then
4558 # Extract the first word of "as", so it can be a program name with args.
4559 set dummy as; ac_word=$2
4560 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4563 $as_echo_n "(cached) " >&6
4565 if test -n "$ac_ct_AS"; then
4566 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_prog_ac_ct_AS="as"
4576 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4586 if test -n "$ac_ct_AS"; then
4587 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4588 $as_echo "$ac_ct_AS" >&6; }
4590 { $as_echo "$as_me:$LINENO: result: no" >&5
4591 $as_echo "no" >&6; }
4594 if test "x$ac_ct_AS" = x; then
4597 case $cross_compiling:$ac_tool_warned in
4599 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4601 ac_tool_warned=yes ;;
4609 if test -n "$ac_tool_prefix"; then
4610 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4611 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$DLLTOOL"; then
4618 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 DLLTOOL=$ac_cv_prog_DLLTOOL
4638 if test -n "$DLLTOOL"; then
4639 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4640 $as_echo "$DLLTOOL" >&6; }
4642 { $as_echo "$as_me:$LINENO: result: no" >&5
4643 $as_echo "no" >&6; }
4648 if test -z "$ac_cv_prog_DLLTOOL"; then
4649 ac_ct_DLLTOOL=$DLLTOOL
4650 # Extract the first word of "dlltool", so it can be a program name with args.
4651 set dummy dlltool; ac_word=$2
4652 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$ac_ct_DLLTOOL"; then
4658 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4668 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4678 if test -n "$ac_ct_DLLTOOL"; then
4679 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4680 $as_echo "$ac_ct_DLLTOOL" >&6; }
4682 { $as_echo "$as_me:$LINENO: result: no" >&5
4683 $as_echo "no" >&6; }
4686 if test "x$ac_ct_DLLTOOL" = x; then
4689 case $cross_compiling:$ac_tool_warned in
4691 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4695 DLLTOOL=$ac_ct_DLLTOOL
4698 DLLTOOL="$ac_cv_prog_DLLTOOL"
4701 if test -n "$ac_tool_prefix"; then
4702 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4703 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$OBJDUMP"; then
4710 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir=.
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 OBJDUMP=$ac_cv_prog_OBJDUMP
4730 if test -n "$OBJDUMP"; then
4731 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4732 $as_echo "$OBJDUMP" >&6; }
4734 { $as_echo "$as_me:$LINENO: result: no" >&5
4735 $as_echo "no" >&6; }
4740 if test -z "$ac_cv_prog_OBJDUMP"; then
4741 ac_ct_OBJDUMP=$OBJDUMP
4742 # Extract the first word of "objdump", so it can be a program name with args.
4743 set dummy objdump; ac_word=$2
4744 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$ac_ct_OBJDUMP"; then
4750 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4760 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4770 if test -n "$ac_ct_OBJDUMP"; then
4771 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4772 $as_echo "$ac_ct_OBJDUMP" >&6; }
4774 { $as_echo "$as_me:$LINENO: result: no" >&5
4775 $as_echo "no" >&6; }
4778 if test "x$ac_ct_OBJDUMP" = x; then
4781 case $cross_compiling:$ac_tool_warned in
4783 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4785 ac_tool_warned=yes ;;
4787 OBJDUMP=$ac_ct_OBJDUMP
4790 OBJDUMP="$ac_cv_prog_OBJDUMP"
4796 test -z "$AS" && AS=as
4802 test -z "$DLLTOOL" && DLLTOOL=dlltool
4808 test -z "$OBJDUMP" && OBJDUMP=objdump
4818 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4819 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4824 macro_version='2.2.6'
4825 macro_revision='1.3012'
4839 ltmain="$ac_aux_dir/ltmain.sh"
4841 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4842 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4843 if test "${ac_cv_path_SED+set}" = set; then
4844 $as_echo_n "(cached) " >&6
4846 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4847 for ac_i in 1 2 3 4 5 6 7; do
4848 ac_script="$ac_script$as_nl$ac_script"
4850 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4851 $as_unset ac_script || ac_script=
4852 if test -z "$SED"; then
4853 ac_path_SED_found=false
4854 # Loop through the user's path and test for each of PROGNAME-LIST
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir=.
4860 for ac_prog in sed gsed; do
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4863 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4864 # Check for GNU ac_path_SED and select it if it is found.
4865 # Check for GNU $ac_path_SED
4866 case `"$ac_path_SED" --version 2>&1` in
4868 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4871 $as_echo_n 0123456789 >"conftest.in"
4874 cat "conftest.in" "conftest.in" >"conftest.tmp"
4875 mv "conftest.tmp" "conftest.in"
4876 cp "conftest.in" "conftest.nl"
4877 $as_echo '' >> "conftest.nl"
4878 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4879 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4880 ac_count=`expr $ac_count + 1`
4881 if test $ac_count -gt ${ac_path_SED_max-0}; then
4882 # Best one so far, save it but keep looking for a better one
4883 ac_cv_path_SED="$ac_path_SED"
4884 ac_path_SED_max=$ac_count
4886 # 10*(2^10) chars as input seems more than enough
4887 test $ac_count -gt 10 && break
4889 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4892 $ac_path_SED_found && break 3
4897 if test -z "$ac_cv_path_SED"; then
4898 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4899 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4900 { (exit 1); exit 1; }; }
4907 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4908 $as_echo "$ac_cv_path_SED" >&6; }
4909 SED="$ac_cv_path_SED"
4912 test -z "$SED" && SED=sed
4913 Xsed="$SED -e 1s/^X//"
4925 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4926 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4927 if test "${ac_cv_path_GREP+set}" = set; then
4928 $as_echo_n "(cached) " >&6
4930 if test -z "$GREP"; then
4931 ac_path_GREP_found=false
4932 # Loop through the user's path and test for each of PROGNAME-LIST
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4937 test -z "$as_dir" && as_dir=.
4938 for ac_prog in grep ggrep; do
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4941 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4942 # Check for GNU ac_path_GREP and select it if it is found.
4943 # Check for GNU $ac_path_GREP
4944 case `"$ac_path_GREP" --version 2>&1` in
4946 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4949 $as_echo_n 0123456789 >"conftest.in"
4952 cat "conftest.in" "conftest.in" >"conftest.tmp"
4953 mv "conftest.tmp" "conftest.in"
4954 cp "conftest.in" "conftest.nl"
4955 $as_echo 'GREP' >> "conftest.nl"
4956 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4957 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4958 ac_count=`expr $ac_count + 1`
4959 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4960 # Best one so far, save it but keep looking for a better one
4961 ac_cv_path_GREP="$ac_path_GREP"
4962 ac_path_GREP_max=$ac_count
4964 # 10*(2^10) chars as input seems more than enough
4965 test $ac_count -gt 10 && break
4967 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4970 $ac_path_GREP_found && break 3
4975 if test -z "$ac_cv_path_GREP"; then
4976 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4977 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4978 { (exit 1); exit 1; }; }
4981 ac_cv_path_GREP=$GREP
4985 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4986 $as_echo "$ac_cv_path_GREP" >&6; }
4987 GREP="$ac_cv_path_GREP"
4990 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4991 $as_echo_n "checking for egrep... " >&6; }
4992 if test "${ac_cv_path_EGREP+set}" = set; then
4993 $as_echo_n "(cached) " >&6
4995 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4996 then ac_cv_path_EGREP="$GREP -E"
4998 if test -z "$EGREP"; then
4999 ac_path_EGREP_found=false
5000 # Loop through the user's path and test for each of PROGNAME-LIST
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5005 test -z "$as_dir" && as_dir=.
5006 for ac_prog in egrep; do
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5009 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5010 # Check for GNU ac_path_EGREP and select it if it is found.
5011 # Check for GNU $ac_path_EGREP
5012 case `"$ac_path_EGREP" --version 2>&1` in
5014 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5017 $as_echo_n 0123456789 >"conftest.in"
5020 cat "conftest.in" "conftest.in" >"conftest.tmp"
5021 mv "conftest.tmp" "conftest.in"
5022 cp "conftest.in" "conftest.nl"
5023 $as_echo 'EGREP' >> "conftest.nl"
5024 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5025 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5026 ac_count=`expr $ac_count + 1`
5027 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5028 # Best one so far, save it but keep looking for a better one
5029 ac_cv_path_EGREP="$ac_path_EGREP"
5030 ac_path_EGREP_max=$ac_count
5032 # 10*(2^10) chars as input seems more than enough
5033 test $ac_count -gt 10 && break
5035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5038 $ac_path_EGREP_found && break 3
5043 if test -z "$ac_cv_path_EGREP"; then
5044 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5045 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5046 { (exit 1); exit 1; }; }
5049 ac_cv_path_EGREP=$EGREP
5054 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5055 $as_echo "$ac_cv_path_EGREP" >&6; }
5056 EGREP="$ac_cv_path_EGREP"
5059 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5060 $as_echo_n "checking for fgrep... " >&6; }
5061 if test "${ac_cv_path_FGREP+set}" = set; then
5062 $as_echo_n "(cached) " >&6
5064 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5065 then ac_cv_path_FGREP="$GREP -F"
5067 if test -z "$FGREP"; then
5068 ac_path_FGREP_found=false
5069 # Loop through the user's path and test for each of PROGNAME-LIST
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5074 test -z "$as_dir" && as_dir=.
5075 for ac_prog in fgrep; do
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5078 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5079 # Check for GNU ac_path_FGREP and select it if it is found.
5080 # Check for GNU $ac_path_FGREP
5081 case `"$ac_path_FGREP" --version 2>&1` in
5083 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5086 $as_echo_n 0123456789 >"conftest.in"
5089 cat "conftest.in" "conftest.in" >"conftest.tmp"
5090 mv "conftest.tmp" "conftest.in"
5091 cp "conftest.in" "conftest.nl"
5092 $as_echo 'FGREP' >> "conftest.nl"
5093 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5095 ac_count=`expr $ac_count + 1`
5096 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5097 # Best one so far, save it but keep looking for a better one
5098 ac_cv_path_FGREP="$ac_path_FGREP"
5099 ac_path_FGREP_max=$ac_count
5101 # 10*(2^10) chars as input seems more than enough
5102 test $ac_count -gt 10 && break
5104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5107 $ac_path_FGREP_found && break 3
5112 if test -z "$ac_cv_path_FGREP"; then
5113 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5114 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5115 { (exit 1); exit 1; }; }
5118 ac_cv_path_FGREP=$FGREP
5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5124 $as_echo "$ac_cv_path_FGREP" >&6; }
5125 FGREP="$ac_cv_path_FGREP"
5128 test -z "$GREP" && GREP=grep
5148 # Check whether --with-gnu-ld was given.
5149 if test "${with_gnu_ld+set}" = set; then
5150 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5156 if test "$GCC" = yes; then
5157 # Check if gcc -print-prog-name=ld gives a path.
5158 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5159 $as_echo_n "checking for ld used by $CC... " >&6; }
5162 # gcc leaves a trailing carriage return which upsets mingw
5163 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5165 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5168 # Accept absolute paths.
5170 re_direlt='/[^/][^/]*/\.\./'
5171 # Canonicalize the pathname of ld
5172 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5173 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5174 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5176 test -z "$LD" && LD="$ac_prog"
5179 # If it fails, then pretend we aren't using GCC.
5183 # If it is relative, then search for the first ld in PATH.
5187 elif test "$with_gnu_ld" = yes; then
5188 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5189 $as_echo_n "checking for GNU ld... " >&6; }
5191 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5192 $as_echo_n "checking for non-GNU ld... " >&6; }
5194 if test "${lt_cv_path_LD+set}" = set; then
5195 $as_echo_n "(cached) " >&6
5197 if test -z "$LD"; then
5198 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5199 for ac_dir in $PATH; do
5201 test -z "$ac_dir" && ac_dir=.
5202 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5203 lt_cv_path_LD="$ac_dir/$ac_prog"
5204 # Check to see if the program is GNU ld. I'd rather use --version,
5205 # but apparently some variants of GNU ld only accept -v.
5206 # Break only if it was the GNU/non-GNU ld that we prefer.
5207 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5208 *GNU* | *'with BFD'*)
5209 test "$with_gnu_ld" != no && break
5212 test "$with_gnu_ld" != yes && break
5219 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5224 if test -n "$LD"; then
5225 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5226 $as_echo "$LD" >&6; }
5228 { $as_echo "$as_me:$LINENO: result: no" >&5
5229 $as_echo "no" >&6; }
5231 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5232 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5233 { (exit 1); exit 1; }; }
5234 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5235 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5236 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5237 $as_echo_n "(cached) " >&6
5239 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5240 case `$LD -v 2>&1 </dev/null` in
5241 *GNU* | *'with BFD'*)
5242 lt_cv_prog_gnu_ld=yes
5245 lt_cv_prog_gnu_ld=no
5249 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5250 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5251 with_gnu_ld=$lt_cv_prog_gnu_ld
5261 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5262 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5263 if test "${lt_cv_path_NM+set}" = set; then
5264 $as_echo_n "(cached) " >&6
5266 if test -n "$NM"; then
5267 # Let the user override the test.
5270 lt_nm_to_check="${ac_tool_prefix}nm"
5271 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5272 lt_nm_to_check="$lt_nm_to_check nm"
5274 for lt_tmp_nm in $lt_nm_to_check; do
5275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5276 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5278 test -z "$ac_dir" && ac_dir=.
5279 tmp_nm="$ac_dir/$lt_tmp_nm"
5280 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5281 # Check to see if the nm accepts a BSD-compat flag.
5282 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5283 # nm: unknown option "B" ignored
5284 # Tru64's nm complains that /dev/null is an invalid object file
5285 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5286 */dev/null* | *'Invalid file or object type'*)
5287 lt_cv_path_NM="$tmp_nm -B"
5291 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5293 lt_cv_path_NM="$tmp_nm -p"
5297 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5298 continue # so that we can try to find one that supports BSD flags
5307 : ${lt_cv_path_NM=no}
5310 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5311 $as_echo "$lt_cv_path_NM" >&6; }
5312 if test "$lt_cv_path_NM" != "no"; then
5315 # Didn't find any BSD compatible name lister, look for dumpbin.
5316 if test -n "$ac_tool_prefix"; then
5317 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5324 $as_echo_n "(cached) " >&6
5326 if test -n "$DUMPBIN"; then
5327 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5337 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 DUMPBIN=$ac_cv_prog_DUMPBIN
5347 if test -n "$DUMPBIN"; then
5348 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5349 $as_echo "$DUMPBIN" >&6; }
5351 { $as_echo "$as_me:$LINENO: result: no" >&5
5352 $as_echo "no" >&6; }
5356 test -n "$DUMPBIN" && break
5359 if test -z "$DUMPBIN"; then
5360 ac_ct_DUMPBIN=$DUMPBIN
5361 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5363 # Extract the first word of "$ac_prog", so it can be a program name with args.
5364 set dummy $ac_prog; ac_word=$2
5365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$ac_ct_DUMPBIN"; then
5371 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5391 if test -n "$ac_ct_DUMPBIN"; then
5392 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5393 $as_echo "$ac_ct_DUMPBIN" >&6; }
5395 { $as_echo "$as_me:$LINENO: result: no" >&5
5396 $as_echo "no" >&6; }
5400 test -n "$ac_ct_DUMPBIN" && break
5403 if test "x$ac_ct_DUMPBIN" = x; then
5406 case $cross_compiling:$ac_tool_warned in
5408 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5412 DUMPBIN=$ac_ct_DUMPBIN
5417 if test "$DUMPBIN" != ":"; then
5421 test -z "$NM" && NM=nm
5428 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5429 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5430 if test "${lt_cv_nm_interface+set}" = set; then
5431 $as_echo_n "(cached) " >&6
5433 lt_cv_nm_interface="BSD nm"
5434 echo "int some_variable = 0;" > conftest.$ac_ext
5435 (eval echo "\"\$as_me:5435: $ac_compile\"" >&5)
5436 (eval "$ac_compile" 2>conftest.err)
5437 cat conftest.err >&5
5438 (eval echo "\"\$as_me:5438: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5439 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5440 cat conftest.err >&5
5441 (eval echo "\"\$as_me:5441: output\"" >&5)
5442 cat conftest.out >&5
5443 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5444 lt_cv_nm_interface="MS dumpbin"
5448 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5449 $as_echo "$lt_cv_nm_interface" >&6; }
5451 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5452 $as_echo_n "checking whether ln -s works... " >&6; }
5454 if test "$LN_S" = "ln -s"; then
5455 { $as_echo "$as_me:$LINENO: result: yes" >&5
5456 $as_echo "yes" >&6; }
5458 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5459 $as_echo "no, using $LN_S" >&6; }
5462 # find the maximum length of command line arguments
5463 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5464 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5465 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5466 $as_echo_n "(cached) " >&6
5473 # On DJGPP, this test can blow up pretty badly due to problems in libc
5474 # (any single argument exceeding 2000 bytes causes a buffer overrun
5475 # during glob expansion). Even if it were fixed, the result of this
5476 # check would be larger than it should be.
5477 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5481 # Under GNU Hurd, this test is not required because there is
5482 # no limit to the length of command line arguments.
5483 # Libtool will interpret -1 as no limit whatsoever
5484 lt_cv_sys_max_cmd_len=-1;
5487 cygwin* | mingw* | cegcc*)
5488 # On Win9x/ME, this test blows up -- it succeeds, but takes
5489 # about 5 minutes as the teststring grows exponentially.
5490 # Worse, since 9x/ME are not pre-emptively multitasking,
5491 # you end up with a "frozen" computer, even though with patience
5492 # the test eventually succeeds (with a max line length of 256k).
5493 # Instead, let's just punt: use the minimum linelength reported by
5494 # all of the supported platforms: 8192 (on NT/2K/XP).
5495 lt_cv_sys_max_cmd_len=8192;
5499 # On AmigaOS with pdksh, this test takes hours, literally.
5500 # So we just punt and use a minimum line length of 8192.
5501 lt_cv_sys_max_cmd_len=8192;
5504 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5505 # This has been around since 386BSD, at least. Likely further.
5506 if test -x /sbin/sysctl; then
5507 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5508 elif test -x /usr/sbin/sysctl; then
5509 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5511 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5513 # And add a safety zone
5514 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5515 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5519 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5520 lt_cv_sys_max_cmd_len=196608
5524 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5525 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5526 # nice to cause kernel panics so lets avoid the loop below.
5527 # First set a reasonable default.
5528 lt_cv_sys_max_cmd_len=16384
5530 if test -x /sbin/sysconfig; then
5531 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5532 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5537 lt_cv_sys_max_cmd_len=102400
5539 sysv5* | sco5v6* | sysv4.2uw2*)
5540 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5541 if test -n "$kargmax"; then
5542 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5544 lt_cv_sys_max_cmd_len=32768
5548 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5549 if test -n "$lt_cv_sys_max_cmd_len"; then
5550 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5551 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5553 # Make teststring a little bigger before we do anything with it.
5554 # a 1K string should be a reasonable start.
5555 for i in 1 2 3 4 5 6 7 8 ; do
5556 teststring=$teststring$teststring
5558 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5559 # If test is not a shell built-in, we'll probably end up computing a
5560 # maximum length that is only half of the actual maximum length, but
5562 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5563 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5564 test $i != 17 # 1/2 MB should be enough
5567 teststring=$teststring$teststring
5569 # Only check the string length outside the loop.
5570 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5572 # Add a significant safety factor because C++ compilers can tack on
5573 # massive amounts of additional arguments before passing them to the
5574 # linker. It appears as though 1/2 is a usable value.
5575 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5582 if test -n $lt_cv_sys_max_cmd_len ; then
5583 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5584 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5586 { $as_echo "$as_me:$LINENO: result: none" >&5
5587 $as_echo "none" >&6; }
5589 max_cmd_len=$lt_cv_sys_max_cmd_len
5600 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5601 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5602 # Try some XSI features
5605 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5607 && eval 'test $(( 1 + 1 )) -eq 2 \
5608 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5610 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5611 $as_echo "$xsi_shell" >&6; }
5614 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5615 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5617 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5619 && lt_shell_append=yes
5620 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5621 $as_echo "$lt_shell_append" >&6; }
5624 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5634 # test EBCDIC or ASCII
5635 case `echo X|tr X '\101'` in
5636 A) # ASCII based system
5637 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5638 lt_SP2NL='tr \040 \012'
5639 lt_NL2SP='tr \015\012 \040\040'
5641 *) # EBCDIC based system
5642 lt_SP2NL='tr \100 \n'
5643 lt_NL2SP='tr \r\n \100\100'
5655 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5656 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5657 if test "${lt_cv_ld_reload_flag+set}" = set; then
5658 $as_echo_n "(cached) " >&6
5660 lt_cv_ld_reload_flag='-r'
5662 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5663 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5664 reload_flag=$lt_cv_ld_reload_flag
5665 case $reload_flag in
5667 *) reload_flag=" $reload_flag" ;;
5669 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5672 if test "$GCC" = yes; then
5673 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5675 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5691 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$OBJDUMP"; then
5697 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 OBJDUMP=$ac_cv_prog_OBJDUMP
5717 if test -n "$OBJDUMP"; then
5718 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5719 $as_echo "$OBJDUMP" >&6; }
5721 { $as_echo "$as_me:$LINENO: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if test -z "$ac_cv_prog_OBJDUMP"; then
5728 ac_ct_OBJDUMP=$OBJDUMP
5729 # Extract the first word of "objdump", so it can be a program name with args.
5730 set dummy objdump; ac_word=$2
5731 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5734 $as_echo_n "(cached) " >&6
5736 if test -n "$ac_ct_OBJDUMP"; then
5737 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5746 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5747 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5757 if test -n "$ac_ct_OBJDUMP"; then
5758 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5759 $as_echo "$ac_ct_OBJDUMP" >&6; }
5761 { $as_echo "$as_me:$LINENO: result: no" >&5
5762 $as_echo "no" >&6; }
5765 if test "x$ac_ct_OBJDUMP" = x; then
5768 case $cross_compiling:$ac_tool_warned in
5770 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5774 OBJDUMP=$ac_ct_OBJDUMP
5777 OBJDUMP="$ac_cv_prog_OBJDUMP"
5780 test -z "$OBJDUMP" && OBJDUMP=objdump
5787 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5788 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5789 if test "${lt_cv_deplibs_check_method+set}" = set; then
5790 $as_echo_n "(cached) " >&6
5792 lt_cv_file_magic_cmd='$MAGIC_CMD'
5793 lt_cv_file_magic_test_file=
5794 lt_cv_deplibs_check_method='unknown'
5795 # Need to set the preceding variable on all platforms that support
5796 # interlibrary dependencies.
5797 # 'none' -- dependencies not supported.
5798 # `unknown' -- same as none, but documents that we really don't know.
5799 # 'pass_all' -- all dependencies passed with no checks.
5800 # 'test_compile' -- check by making test program.
5801 # 'file_magic [[regex]]' -- check by looking for files in library path
5802 # which responds to the $file_magic_cmd with a given extended regex.
5803 # If you have `file' or equivalent on your system and you're not sure
5804 # whether `pass_all' will *always* work, you probably want this one.
5808 lt_cv_deplibs_check_method=pass_all
5812 lt_cv_deplibs_check_method=pass_all
5816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5817 lt_cv_file_magic_cmd='/usr/bin/file -L'
5818 lt_cv_file_magic_test_file=/shlib/libc.so
5822 # func_win32_libid is a shell function defined in ltmain.sh
5823 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5824 lt_cv_file_magic_cmd='func_win32_libid'
5828 # Base MSYS/MinGW do not provide the 'file' command needed by
5829 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5830 # unless we find 'file', for example because we are cross-compiling.
5831 if ( file / ) >/dev/null 2>&1; then
5832 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5833 lt_cv_file_magic_cmd='func_win32_libid'
5835 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5836 lt_cv_file_magic_cmd='$OBJDUMP -f'
5841 # use the weaker test based on 'objdump'. See mingw*.
5842 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5843 lt_cv_file_magic_cmd='$OBJDUMP -f'
5846 darwin* | rhapsody*)
5847 lt_cv_deplibs_check_method=pass_all
5850 freebsd* | dragonfly*)
5851 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5854 # Not sure whether the presence of OpenBSD here was a mistake.
5855 # Let's accept both of them until this is cleared up.
5856 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5857 lt_cv_file_magic_cmd=/usr/bin/file
5858 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5862 lt_cv_deplibs_check_method=pass_all
5867 lt_cv_deplibs_check_method=pass_all
5870 hpux10.20* | hpux11*)
5871 lt_cv_file_magic_cmd=/usr/bin/file
5874 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5875 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5878 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]'
5879 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5882 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5883 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5889 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5890 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5893 irix5* | irix6* | nonstopux*)
5895 *-32|*"-32 ") libmagic=32-bit;;
5896 *-n32|*"-n32 ") libmagic=N32;;
5897 *-64|*"-64 ") libmagic=64-bit;;
5898 *) libmagic=never-match;;
5900 lt_cv_deplibs_check_method=pass_all
5903 # This must be Linux ELF.
5904 linux* | k*bsd*-gnu)
5905 lt_cv_deplibs_check_method=pass_all
5909 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5910 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5912 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5918 lt_cv_file_magic_cmd=/usr/bin/file
5919 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5923 lt_cv_deplibs_check_method=pass_all
5927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5928 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5930 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5934 osf3* | osf4* | osf5*)
5935 lt_cv_deplibs_check_method=pass_all
5939 lt_cv_deplibs_check_method=pass_all
5943 lt_cv_deplibs_check_method=pass_all
5946 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5947 lt_cv_deplibs_check_method=pass_all
5951 case $host_vendor in
5953 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]'
5954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5957 lt_cv_deplibs_check_method=pass_all
5960 lt_cv_file_magic_cmd='/bin/file'
5961 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5964 lt_cv_file_magic_cmd='/bin/file'
5965 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5966 lt_cv_file_magic_test_file=/lib/libc.so
5969 lt_cv_deplibs_check_method=pass_all
5972 lt_cv_deplibs_check_method=pass_all
5978 lt_cv_deplibs_check_method=pass_all
5983 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5984 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5985 file_magic_cmd=$lt_cv_file_magic_cmd
5986 deplibs_check_method=$lt_cv_deplibs_check_method
5987 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6000 if test -n "$ac_tool_prefix"; then
6001 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6002 set dummy ${ac_tool_prefix}ar; ac_word=$2
6003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if test "${ac_cv_prog_AR+set}" = set; then
6006 $as_echo_n "(cached) " >&6
6008 if test -n "$AR"; then
6009 ac_cv_prog_AR="$AR" # Let the user override the test.
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018 ac_cv_prog_AR="${ac_tool_prefix}ar"
6019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 if test -n "$AR"; then
6030 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6031 $as_echo "$AR" >&6; }
6033 { $as_echo "$as_me:$LINENO: result: no" >&5
6034 $as_echo "no" >&6; }
6039 if test -z "$ac_cv_prog_AR"; then
6041 # Extract the first word of "ar", so it can be a program name with args.
6042 set dummy ar; ac_word=$2
6043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6046 $as_echo_n "(cached) " >&6
6048 if test -n "$ac_ct_AR"; then
6049 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6058 ac_cv_prog_ac_ct_AR="ar"
6059 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6069 if test -n "$ac_ct_AR"; then
6070 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6071 $as_echo "$ac_ct_AR" >&6; }
6073 { $as_echo "$as_me:$LINENO: result: no" >&5
6074 $as_echo "no" >&6; }
6077 if test "x$ac_ct_AR" = x; then
6080 case $cross_compiling:$ac_tool_warned in
6082 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6084 ac_tool_warned=yes ;;
6092 test -z "$AR" && AR=ar
6093 test -z "$AR_FLAGS" && AR_FLAGS=cru
6105 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6107 set dummy ${ac_tool_prefix}strip; ac_word=$2
6108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if test "${ac_cv_prog_STRIP+set}" = set; then
6111 $as_echo_n "(cached) " >&6
6113 if test -n "$STRIP"; then
6114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 STRIP=$ac_cv_prog_STRIP
6134 if test -n "$STRIP"; then
6135 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6136 $as_echo "$STRIP" >&6; }
6138 { $as_echo "$as_me:$LINENO: result: no" >&5
6139 $as_echo "no" >&6; }
6144 if test -z "$ac_cv_prog_STRIP"; then
6146 # Extract the first word of "strip", so it can be a program name with args.
6147 set dummy strip; ac_word=$2
6148 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6151 $as_echo_n "(cached) " >&6
6153 if test -n "$ac_ct_STRIP"; then
6154 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163 ac_cv_prog_ac_ct_STRIP="strip"
6164 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6174 if test -n "$ac_ct_STRIP"; then
6175 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6176 $as_echo "$ac_ct_STRIP" >&6; }
6178 { $as_echo "$as_me:$LINENO: result: no" >&5
6179 $as_echo "no" >&6; }
6182 if test "x$ac_ct_STRIP" = x; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned=yes ;;
6194 STRIP="$ac_cv_prog_STRIP"
6197 test -z "$STRIP" && STRIP=:
6204 if test -n "$ac_tool_prefix"; then
6205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6206 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6208 $as_echo_n "checking for $ac_word... " >&6; }
6209 if test "${ac_cv_prog_RANLIB+set}" = set; then
6210 $as_echo_n "(cached) " >&6
6212 if test -n "$RANLIB"; then
6213 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 RANLIB=$ac_cv_prog_RANLIB
6233 if test -n "$RANLIB"; then
6234 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6235 $as_echo "$RANLIB" >&6; }
6237 { $as_echo "$as_me:$LINENO: result: no" >&5
6238 $as_echo "no" >&6; }
6243 if test -z "$ac_cv_prog_RANLIB"; then
6244 ac_ct_RANLIB=$RANLIB
6245 # Extract the first word of "ranlib", so it can be a program name with args.
6246 set dummy ranlib; ac_word=$2
6247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 $as_echo_n "checking for $ac_word... " >&6; }
6249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6250 $as_echo_n "(cached) " >&6
6252 if test -n "$ac_ct_RANLIB"; then
6253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_ac_ct_RANLIB="ranlib"
6263 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6273 if test -n "$ac_ct_RANLIB"; then
6274 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6275 $as_echo "$ac_ct_RANLIB" >&6; }
6277 { $as_echo "$as_me:$LINENO: result: no" >&5
6278 $as_echo "no" >&6; }
6281 if test "x$ac_ct_RANLIB" = x; then
6284 case $cross_compiling:$ac_tool_warned in
6286 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6288 ac_tool_warned=yes ;;
6290 RANLIB=$ac_ct_RANLIB
6293 RANLIB="$ac_cv_prog_RANLIB"
6296 test -z "$RANLIB" && RANLIB=:
6303 # Determine commands to create old-style static archives.
6304 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6305 old_postinstall_cmds='chmod 644 $oldlib'
6306 old_postuninstall_cmds=
6308 if test -n "$RANLIB"; then
6311 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6314 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6317 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6353 # If no C compiler was specified, use CC.
6356 # If no C compiler flags were specified, use CFLAGS.
6357 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6359 # Allow CC to be a program name with arguments.
6363 # Check for command to grab the raw symbol name followed by C symbol from nm.
6364 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6365 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6366 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6367 $as_echo_n "(cached) " >&6
6370 # These are sane defaults that work on at least a few old systems.
6371 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6373 # Character class describing NM global symbol codes.
6374 symcode='[BCDEGRST]'
6376 # Regexp to match symbols that can be accessed directly from C.
6377 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6379 # Define system-specific variables.
6384 cygwin* | mingw* | pw32* | cegcc*)
6385 symcode='[ABCDGISTW]'
6388 if test "$host_cpu" = ia64; then
6389 symcode='[ABCDEGRST]'
6393 symcode='[BCDEGRST]'
6396 symcode='[BCDEGQRST]'
6407 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6415 # If we're using GNU nm, then use its standard symbol codes.
6416 case `$NM -V 2>&1` in
6417 *GNU* | *'with BFD'*)
6418 symcode='[ABCDGIRSTW]' ;;
6421 # Transform an extracted symbol line into a proper C declaration.
6422 # Some systems (esp. on ia64) link data and code symbols differently,
6423 # so use this general approach.
6424 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6426 # Transform an extracted symbol line into symbol name and symbol address
6427 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6428 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'"
6430 # Handle CRLF in mingw tool chain
6434 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6438 # Try without a prefix underscore, then with it.
6439 for ac_symprfx in "" "_"; do
6441 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6442 symxfrm="\\1 $ac_symprfx\\2 \\2"
6444 # Write the raw and C identifiers.
6445 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6446 # Fake it for dumpbin and say T for any non-static function
6447 # and D for any global variable.
6448 # Also find C++ and __fastcall symbols from MSVC++,
6449 # which start with @ or ?.
6450 lt_cv_sys_global_symbol_pipe="$AWK '"\
6451 " {last_section=section; section=\$ 3};"\
6452 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6453 " \$ 0!~/External *\|/{next};"\
6454 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6455 " {if(hide[section]) next};"\
6456 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6457 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6458 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6459 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6460 " ' prfx=^$ac_symprfx"
6462 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6465 # Check to see that the pipe works correctly.
6469 cat > conftest.$ac_ext <<_LT_EOF
6474 void nm_test_func(void);
6475 void nm_test_func(void){}
6479 int main(){nm_test_var='a';nm_test_func();return(0);}
6482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6483 (eval $ac_compile) 2>&5
6485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; then
6487 # Now try to grab the symbols.
6489 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6490 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && test -s "$nlist"; then
6494 # Try sorting and uniquifying the output.
6495 if sort "$nlist" | uniq > "$nlist"T; then
6496 mv -f "$nlist"T "$nlist"
6501 # Make sure that we snagged all the symbols we need.
6502 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6503 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6504 cat <<_LT_EOF > conftest.$ac_ext
6510 # Now generate the symbol file.
6511 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6513 cat <<_LT_EOF >> conftest.$ac_ext
6515 /* The mapping between symbol names and symbols. */
6520 lt__PROGRAM__LTX_preloaded_symbols[] =
6522 { "@PROGRAM@", (void *) 0 },
6524 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6525 cat <<\_LT_EOF >> conftest.$ac_ext
6529 /* This works around a problem in FreeBSD linker */
6530 #ifdef FREEBSD_WORKAROUND
6531 static const void *lt_preloaded_setup() {
6532 return lt__PROGRAM__LTX_preloaded_symbols;
6540 # Now try linking the two files.
6541 mv conftest.$ac_objext conftstm.$ac_objext
6542 lt_save_LIBS="$LIBS"
6543 lt_save_CFLAGS="$CFLAGS"
6544 LIBS="conftstm.$ac_objext"
6545 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6547 (eval $ac_link) 2>&5
6549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6553 LIBS="$lt_save_LIBS"
6554 CFLAGS="$lt_save_CFLAGS"
6556 echo "cannot find nm_test_func in $nlist" >&5
6559 echo "cannot find nm_test_var in $nlist" >&5
6562 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6565 echo "$progname: failed program was:" >&5
6566 cat conftest.$ac_ext >&5
6568 rm -rf conftest* conftst*
6570 # Do not use the global_symbol_pipe unless it works.
6571 if test "$pipe_works" = yes; then
6574 lt_cv_sys_global_symbol_pipe=
6580 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6581 lt_cv_sys_global_symbol_to_cdecl=
6583 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6584 { $as_echo "$as_me:$LINENO: result: failed" >&5
6585 $as_echo "failed" >&6; }
6587 { $as_echo "$as_me:$LINENO: result: ok" >&5
6588 $as_echo "ok" >&6; }
6613 # Check whether --enable-libtool-lock was given.
6614 if test "${enable_libtool_lock+set}" = set; then
6615 enableval=$enable_libtool_lock;
6618 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6620 # Some flags need to be propagated to the compiler or linker for good
6624 # Find out which ABI we are using.
6625 echo 'int i;' > conftest.$ac_ext
6626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6627 (eval $ac_compile) 2>&5
6629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; then
6631 case `/usr/bin/file conftest.$ac_objext` in
6643 # Find out which ABI we are using.
6644 echo '#line 6644 "configure"' > conftest.$ac_ext
6645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6646 (eval $ac_compile) 2>&5
6648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; then
6650 if test "$lt_cv_prog_gnu_ld" = yes; then
6651 case `/usr/bin/file conftest.$ac_objext` in
6653 LD="${LD-ld} -melf32bsmip"
6656 LD="${LD-ld} -melf32bmipn32"
6659 LD="${LD-ld} -melf64bmip"
6663 case `/usr/bin/file conftest.$ac_objext` in
6679 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6680 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6681 # Find out which ABI we are using.
6682 echo 'int i;' > conftest.$ac_ext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>&5
6686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; then
6688 case `/usr/bin/file conftest.o` in
6691 x86_64-*kfreebsd*-gnu)
6692 LD="${LD-ld} -m elf_i386_fbsd"
6695 LD="${LD-ld} -m elf_i386"
6697 ppc64-*linux*|powerpc64-*linux*)
6698 LD="${LD-ld} -m elf32ppclinux"
6701 LD="${LD-ld} -m elf_s390"
6704 LD="${LD-ld} -m elf32_sparc"
6710 x86_64-*kfreebsd*-gnu)
6711 LD="${LD-ld} -m elf_x86_64_fbsd"
6714 LD="${LD-ld} -m elf_x86_64"
6716 ppc*-*linux*|powerpc*-*linux*)
6717 LD="${LD-ld} -m elf64ppc"
6719 s390*-*linux*|s390*-*tpf*)
6720 LD="${LD-ld} -m elf64_s390"
6723 LD="${LD-ld} -m elf64_sparc"
6733 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6734 SAVE_CFLAGS="$CFLAGS"
6735 CFLAGS="$CFLAGS -belf"
6736 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6737 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6738 if test "${lt_cv_cc_needs_belf+set}" = set; then
6739 $as_echo_n "(cached) " >&6
6742 ac_cpp='$CPP $CPPFLAGS'
6743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6762 rm -f conftest.$ac_objext conftest$ac_exeext
6763 if { (ac_try="$ac_link"
6765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6766 *) ac_try_echo=$ac_try;;
6768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6769 $as_echo "$ac_try_echo") >&5
6770 (eval "$ac_link") 2>conftest.er1
6772 grep -v '^ *+' conftest.er1 >conftest.err
6774 cat conftest.err >&5
6775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && {
6777 test -z "$ac_c_werror_flag" ||
6778 test ! -s conftest.err
6779 } && test -s conftest$ac_exeext && {
6780 test "$cross_compiling" = yes ||
6781 $as_test_x conftest$ac_exeext
6783 lt_cv_cc_needs_belf=yes
6785 $as_echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 lt_cv_cc_needs_belf=no
6791 rm -rf conftest.dSYM
6792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6793 conftest$ac_exeext conftest.$ac_ext
6795 ac_cpp='$CPP $CPPFLAGS'
6796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6801 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6802 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6803 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6804 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6805 CFLAGS="$SAVE_CFLAGS"
6809 # Find out which ABI we are using.
6810 echo 'int i;' > conftest.$ac_ext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 (eval $ac_compile) 2>&5
6814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; then
6816 case `/usr/bin/file conftest.o` in
6818 case $lt_cv_prog_gnu_ld in
6819 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6821 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6833 need_locks="$enable_libtool_lock"
6837 rhapsody* | darwin*)
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6841 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6844 $as_echo_n "(cached) " >&6
6846 if test -n "$DSYMUTIL"; then
6847 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6867 if test -n "$DSYMUTIL"; then
6868 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6869 $as_echo "$DSYMUTIL" >&6; }
6871 { $as_echo "$as_me:$LINENO: result: no" >&5
6872 $as_echo "no" >&6; }
6877 if test -z "$ac_cv_prog_DSYMUTIL"; then
6878 ac_ct_DSYMUTIL=$DSYMUTIL
6879 # Extract the first word of "dsymutil", so it can be a program name with args.
6880 set dummy dsymutil; ac_word=$2
6881 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6882 $as_echo_n "checking for $ac_word... " >&6; }
6883 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6884 $as_echo_n "(cached) " >&6
6886 if test -n "$ac_ct_DSYMUTIL"; then
6887 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6896 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6897 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6907 if test -n "$ac_ct_DSYMUTIL"; then
6908 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6909 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6911 { $as_echo "$as_me:$LINENO: result: no" >&5
6912 $as_echo "no" >&6; }
6915 if test "x$ac_ct_DSYMUTIL" = x; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6922 ac_tool_warned=yes ;;
6924 DSYMUTIL=$ac_ct_DSYMUTIL
6927 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6930 if test -n "$ac_tool_prefix"; then
6931 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6932 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$NMEDIT"; then
6939 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 NMEDIT=$ac_cv_prog_NMEDIT
6959 if test -n "$NMEDIT"; then
6960 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6961 $as_echo "$NMEDIT" >&6; }
6963 { $as_echo "$as_me:$LINENO: result: no" >&5
6964 $as_echo "no" >&6; }
6969 if test -z "$ac_cv_prog_NMEDIT"; then
6970 ac_ct_NMEDIT=$NMEDIT
6971 # Extract the first word of "nmedit", so it can be a program name with args.
6972 set dummy nmedit; ac_word=$2
6973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6976 $as_echo_n "(cached) " >&6
6978 if test -n "$ac_ct_NMEDIT"; then
6979 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6999 if test -n "$ac_ct_NMEDIT"; then
7000 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7001 $as_echo "$ac_ct_NMEDIT" >&6; }
7003 { $as_echo "$as_me:$LINENO: result: no" >&5
7004 $as_echo "no" >&6; }
7007 if test "x$ac_ct_NMEDIT" = x; then
7010 case $cross_compiling:$ac_tool_warned in
7012 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7016 NMEDIT=$ac_ct_NMEDIT
7019 NMEDIT="$ac_cv_prog_NMEDIT"
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if test "${ac_cv_prog_LIPO+set}" = set; then
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$LIPO"; then
7031 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7041 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 LIPO=$ac_cv_prog_LIPO
7051 if test -n "$LIPO"; then
7052 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7053 $as_echo "$LIPO" >&6; }
7055 { $as_echo "$as_me:$LINENO: result: no" >&5
7056 $as_echo "no" >&6; }
7061 if test -z "$ac_cv_prog_LIPO"; then
7063 # Extract the first word of "lipo", so it can be a program name with args.
7064 set dummy lipo; ac_word=$2
7065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_LIPO"; then
7071 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_ac_ct_LIPO="lipo"
7081 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7091 if test -n "$ac_ct_LIPO"; then
7092 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7093 $as_echo "$ac_ct_LIPO" >&6; }
7095 { $as_echo "$as_me:$LINENO: result: no" >&5
7096 $as_echo "no" >&6; }
7099 if test "x$ac_ct_LIPO" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106 ac_tool_warned=yes ;;
7111 LIPO="$ac_cv_prog_LIPO"
7114 if test -n "$ac_tool_prefix"; then
7115 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}otool; ac_word=$2
7117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if test "${ac_cv_prog_OTOOL+set}" = set; then
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$OTOOL"; then
7123 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 OTOOL=$ac_cv_prog_OTOOL
7143 if test -n "$OTOOL"; then
7144 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7145 $as_echo "$OTOOL" >&6; }
7147 { $as_echo "$as_me:$LINENO: result: no" >&5
7148 $as_echo "no" >&6; }
7153 if test -z "$ac_cv_prog_OTOOL"; then
7155 # Extract the first word of "otool", so it can be a program name with args.
7156 set dummy otool; ac_word=$2
7157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7160 $as_echo_n "(cached) " >&6
7162 if test -n "$ac_ct_OTOOL"; then
7163 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_ac_ct_OTOOL="otool"
7173 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7183 if test -n "$ac_ct_OTOOL"; then
7184 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7185 $as_echo "$ac_ct_OTOOL" >&6; }
7187 { $as_echo "$as_me:$LINENO: result: no" >&5
7188 $as_echo "no" >&6; }
7191 if test "x$ac_ct_OTOOL" = x; then
7194 case $cross_compiling:$ac_tool_warned in
7196 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198 ac_tool_warned=yes ;;
7203 OTOOL="$ac_cv_prog_OTOOL"
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$OTOOL64"; then
7215 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7225 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 OTOOL64=$ac_cv_prog_OTOOL64
7235 if test -n "$OTOOL64"; then
7236 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7237 $as_echo "$OTOOL64" >&6; }
7239 { $as_echo "$as_me:$LINENO: result: no" >&5
7240 $as_echo "no" >&6; }
7245 if test -z "$ac_cv_prog_OTOOL64"; then
7246 ac_ct_OTOOL64=$OTOOL64
7247 # Extract the first word of "otool64", so it can be a program name with args.
7248 set dummy otool64; ac_word=$2
7249 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7252 $as_echo_n "(cached) " >&6
7254 if test -n "$ac_ct_OTOOL64"; then
7255 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_ac_ct_OTOOL64="otool64"
7265 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7275 if test -n "$ac_ct_OTOOL64"; then
7276 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7277 $as_echo "$ac_ct_OTOOL64" >&6; }
7279 { $as_echo "$as_me:$LINENO: result: no" >&5
7280 $as_echo "no" >&6; }
7283 if test "x$ac_ct_OTOOL64" = x; then
7286 case $cross_compiling:$ac_tool_warned in
7288 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7292 OTOOL64=$ac_ct_OTOOL64
7295 OTOOL64="$ac_cv_prog_OTOOL64"
7324 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7325 $as_echo_n "checking for -single_module linker flag... " >&6; }
7326 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7327 $as_echo_n "(cached) " >&6
7329 lt_cv_apple_cc_single_mod=no
7330 if test -z "${LT_MULTI_MODULE}"; then
7331 # By default we will add the -single_module flag. You can override
7332 # by either setting the environment variable LT_MULTI_MODULE
7333 # non-empty at configure time, or by adding -multi_module to the
7335 rm -rf libconftest.dylib*
7336 echo "int foo(void){return 1;}" > conftest.c
7337 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7338 -dynamiclib -Wl,-single_module conftest.c" >&5
7339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7340 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7342 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7343 lt_cv_apple_cc_single_mod=yes
7345 cat conftest.err >&5
7347 rm -rf libconftest.dylib*
7351 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7352 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7353 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7354 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7355 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7356 $as_echo_n "(cached) " >&6
7358 lt_cv_ld_exported_symbols_list=no
7359 save_LDFLAGS=$LDFLAGS
7360 echo "_main" > conftest.sym
7361 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7362 cat >conftest.$ac_ext <<_ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7377 rm -f conftest.$ac_objext conftest$ac_exeext
7378 if { (ac_try="$ac_link"
7380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7381 *) ac_try_echo=$ac_try;;
7383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7384 $as_echo "$ac_try_echo") >&5
7385 (eval "$ac_link") 2>conftest.er1
7387 grep -v '^ *+' conftest.er1 >conftest.err
7389 cat conftest.err >&5
7390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } && {
7392 test -z "$ac_c_werror_flag" ||
7393 test ! -s conftest.err
7394 } && test -s conftest$ac_exeext && {
7395 test "$cross_compiling" = yes ||
7396 $as_test_x conftest$ac_exeext
7398 lt_cv_ld_exported_symbols_list=yes
7400 $as_echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 lt_cv_ld_exported_symbols_list=no
7406 rm -rf conftest.dSYM
7407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7408 conftest$ac_exeext conftest.$ac_ext
7409 LDFLAGS="$save_LDFLAGS"
7412 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7413 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7415 rhapsody* | darwin1.[012])
7416 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7418 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7419 darwin*) # darwin 5.x on
7420 # if running on 10.5 or later, the deployment target defaults
7421 # to the OS version, if on x86, and 10.4, the deployment
7422 # target defaults to 10.4. Don't you love it?
7423 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7424 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7425 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7427 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7429 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7433 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7434 _lt_dar_single_mod='$single_module'
7436 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7437 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7439 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7441 if test "$DSYMUTIL" != ":"; then
7442 _lt_dsymutil='~$DSYMUTIL $lib || :'
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7454 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7455 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7456 # On Suns, sometimes $CPP names a directory.
7457 if test -n "$CPP" && test -d "$CPP"; then
7460 if test -z "$CPP"; then
7461 if test "${ac_cv_prog_CPP+set}" = set; then
7462 $as_echo_n "(cached) " >&6
7464 # Double quotes because CPP needs to be expanded
7465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7468 for ac_c_preproc_warn_flag in '' yes
7470 # Use a header file that comes with gcc, so configuring glibc
7471 # with a fresh cross-compiler works.
7472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7473 # <limits.h> exists even on freestanding compilers.
7474 # On the NeXT, cc -E runs the code through the compiler's parser,
7475 # not just through cpp. "Syntax error" is here to catch this case.
7476 cat >conftest.$ac_ext <<_ACEOF
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7483 # include <limits.h>
7485 # include <assert.h>
7489 if { (ac_try="$ac_cpp conftest.$ac_ext"
7491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7492 *) ac_try_echo=$ac_try;;
7494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7495 $as_echo "$ac_try_echo") >&5
7496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7498 grep -v '^ *+' conftest.er1 >conftest.err
7500 cat conftest.err >&5
7501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); } >/dev/null && {
7503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7504 test ! -s conftest.err
7508 $as_echo "$as_me: failed program was:" >&5
7509 sed 's/^/| /' conftest.$ac_ext >&5
7511 # Broken: fails on valid input.
7515 rm -f conftest.err conftest.$ac_ext
7517 # OK, works on sane cases. Now check whether nonexistent headers
7518 # can be detected and how.
7519 cat >conftest.$ac_ext <<_ACEOF
7522 cat confdefs.h >>conftest.$ac_ext
7523 cat >>conftest.$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7525 #include <ac_nonexistent.h>
7527 if { (ac_try="$ac_cpp conftest.$ac_ext"
7529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7530 *) ac_try_echo=$ac_try;;
7532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7533 $as_echo "$ac_try_echo") >&5
7534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7536 grep -v '^ *+' conftest.er1 >conftest.err
7538 cat conftest.err >&5
7539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } >/dev/null && {
7541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7542 test ! -s conftest.err
7544 # Broken: success on invalid input.
7547 $as_echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 # Passes both tests.
7555 rm -f conftest.err conftest.$ac_ext
7558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7559 rm -f conftest.err conftest.$ac_ext
7560 if $ac_preproc_ok; then
7572 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7573 $as_echo "$CPP" >&6; }
7575 for ac_c_preproc_warn_flag in '' yes
7577 # Use a header file that comes with gcc, so configuring glibc
7578 # with a fresh cross-compiler works.
7579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7580 # <limits.h> exists even on freestanding compilers.
7581 # On the NeXT, cc -E runs the code through the compiler's parser,
7582 # not just through cpp. "Syntax error" is here to catch this case.
7583 cat >conftest.$ac_ext <<_ACEOF
7586 cat confdefs.h >>conftest.$ac_ext
7587 cat >>conftest.$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7590 # include <limits.h>
7592 # include <assert.h>
7596 if { (ac_try="$ac_cpp conftest.$ac_ext"
7598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7599 *) ac_try_echo=$ac_try;;
7601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7602 $as_echo "$ac_try_echo") >&5
7603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7605 grep -v '^ *+' conftest.er1 >conftest.err
7607 cat conftest.err >&5
7608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } >/dev/null && {
7610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7611 test ! -s conftest.err
7615 $as_echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.$ac_ext >&5
7618 # Broken: fails on valid input.
7622 rm -f conftest.err conftest.$ac_ext
7624 # OK, works on sane cases. Now check whether nonexistent headers
7625 # can be detected and how.
7626 cat >conftest.$ac_ext <<_ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #include <ac_nonexistent.h>
7634 if { (ac_try="$ac_cpp conftest.$ac_ext"
7636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7637 *) ac_try_echo=$ac_try;;
7639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7640 $as_echo "$ac_try_echo") >&5
7641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7643 grep -v '^ *+' conftest.er1 >conftest.err
7645 cat conftest.err >&5
7646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); } >/dev/null && {
7648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7649 test ! -s conftest.err
7651 # Broken: success on invalid input.
7654 $as_echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 # Passes both tests.
7662 rm -f conftest.err conftest.$ac_ext
7665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7666 rm -f conftest.err conftest.$ac_ext
7667 if $ac_preproc_ok; then
7670 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7672 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7673 See \`config.log' for more details." >&5
7674 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7675 See \`config.log' for more details." >&2;}
7676 { (exit 1); exit 1; }; }; }
7680 ac_cpp='$CPP $CPPFLAGS'
7681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7686 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7687 $as_echo_n "checking for ANSI C header files... " >&6; }
7688 if test "${ac_cv_header_stdc+set}" = set; then
7689 $as_echo_n "(cached) " >&6
7691 cat >conftest.$ac_ext <<_ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7717 $as_echo "$ac_try_echo") >&5
7718 (eval "$ac_compile") 2>conftest.er1
7720 grep -v '^ *+' conftest.er1 >conftest.err
7722 cat conftest.err >&5
7723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); } && {
7725 test -z "$ac_c_werror_flag" ||
7726 test ! -s conftest.err
7727 } && test -s conftest.$ac_objext; then
7728 ac_cv_header_stdc=yes
7730 $as_echo "$as_me: failed program was:" >&5
7731 sed 's/^/| /' conftest.$ac_ext >&5
7733 ac_cv_header_stdc=no
7736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738 if test $ac_cv_header_stdc = yes; then
7739 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7740 cat >conftest.$ac_ext <<_ACEOF
7743 cat confdefs.h >>conftest.$ac_ext
7744 cat >>conftest.$ac_ext <<_ACEOF
7745 /* end confdefs.h. */
7749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7750 $EGREP "memchr" >/dev/null 2>&1; then
7753 ac_cv_header_stdc=no
7759 if test $ac_cv_header_stdc = yes; then
7760 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7761 cat >conftest.$ac_ext <<_ACEOF
7764 cat confdefs.h >>conftest.$ac_ext
7765 cat >>conftest.$ac_ext <<_ACEOF
7766 /* end confdefs.h. */
7770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7771 $EGREP "free" >/dev/null 2>&1; then
7774 ac_cv_header_stdc=no
7780 if test $ac_cv_header_stdc = yes; then
7781 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7782 if test "$cross_compiling" = yes; then
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7793 #if ((' ' & 0x0FF) == 0x020)
7794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7797 # define ISLOWER(c) \
7798 (('a' <= (c) && (c) <= 'i') \
7799 || ('j' <= (c) && (c) <= 'r') \
7800 || ('s' <= (c) && (c) <= 'z'))
7801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7809 for (i = 0; i < 256; i++)
7810 if (XOR (islower (i), ISLOWER (i))
7811 || toupper (i) != TOUPPER (i))
7816 rm -f conftest$ac_exeext
7817 if { (ac_try="$ac_link"
7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7820 *) ac_try_echo=$ac_try;;
7822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7823 $as_echo "$ac_try_echo") >&5
7824 (eval "$ac_link") 2>&5
7826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7828 { (case "(($ac_try" in
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7833 $as_echo "$ac_try_echo") >&5
7834 (eval "$ac_try") 2>&5
7836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then
7840 $as_echo "$as_me: program exited with status $ac_status" >&5
7841 $as_echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.$ac_ext >&5
7845 ac_cv_header_stdc=no
7847 rm -rf conftest.dSYM
7848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7854 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7855 $as_echo "$ac_cv_header_stdc" >&6; }
7856 if test $ac_cv_header_stdc = yes; then
7858 cat >>confdefs.h <<\_ACEOF
7859 #define STDC_HEADERS 1
7864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7874 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7875 inttypes.h stdint.h unistd.h
7877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7878 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7879 $as_echo_n "checking for $ac_header... " >&6; }
7880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7881 $as_echo_n "(cached) " >&6
7883 cat >conftest.$ac_ext <<_ACEOF
7886 cat confdefs.h >>conftest.$ac_ext
7887 cat >>conftest.$ac_ext <<_ACEOF
7888 /* end confdefs.h. */
7889 $ac_includes_default
7891 #include <$ac_header>
7893 rm -f conftest.$ac_objext
7894 if { (ac_try="$ac_compile"
7896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7897 *) ac_try_echo=$ac_try;;
7899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7900 $as_echo "$ac_try_echo") >&5
7901 (eval "$ac_compile") 2>conftest.er1
7903 grep -v '^ *+' conftest.er1 >conftest.err
7905 cat conftest.err >&5
7906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } && {
7908 test -z "$ac_c_werror_flag" ||
7909 test ! -s conftest.err
7910 } && test -s conftest.$ac_objext; then
7911 eval "$as_ac_Header=yes"
7913 $as_echo "$as_me: failed program was:" >&5
7914 sed 's/^/| /' conftest.$ac_ext >&5
7916 eval "$as_ac_Header=no"
7919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7921 ac_res=`eval 'as_val=${'$as_ac_Header'}
7922 $as_echo "$as_val"'`
7923 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7924 $as_echo "$ac_res" >&6; }
7925 as_val=`eval 'as_val=${'$as_ac_Header'}
7926 $as_echo "$as_val"'`
7927 if test "x$as_val" = x""yes; then
7928 cat >>confdefs.h <<_ACEOF
7929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 for ac_header in dlfcn.h
7940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7941 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7942 $as_echo_n "checking for $ac_header... " >&6; }
7943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7944 $as_echo_n "(cached) " >&6
7946 cat >conftest.$ac_ext <<_ACEOF
7949 cat confdefs.h >>conftest.$ac_ext
7950 cat >>conftest.$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 $ac_includes_default
7954 #include <$ac_header>
7956 rm -f conftest.$ac_objext
7957 if { (ac_try="$ac_compile"
7959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7960 *) ac_try_echo=$ac_try;;
7962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7963 $as_echo "$ac_try_echo") >&5
7964 (eval "$ac_compile") 2>conftest.er1
7966 grep -v '^ *+' conftest.er1 >conftest.err
7968 cat conftest.err >&5
7969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } && {
7971 test -z "$ac_c_werror_flag" ||
7972 test ! -s conftest.err
7973 } && test -s conftest.$ac_objext; then
7974 eval "$as_ac_Header=yes"
7976 $as_echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 eval "$as_ac_Header=no"
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984 ac_res=`eval 'as_val=${'$as_ac_Header'}
7985 $as_echo "$as_val"'`
7986 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7987 $as_echo "$ac_res" >&6; }
7988 as_val=`eval 'as_val=${'$as_ac_Header'}
7989 $as_echo "$as_val"'`
7990 if test "x$as_val" = x""yes; then
7991 cat >>confdefs.h <<_ACEOF
7992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8009 # Check whether --enable-shared was given.
8010 if test "${enable_shared+set}" = set; then
8011 enableval=$enable_shared; p=${PACKAGE-default}
8013 yes) enable_shared=yes ;;
8014 no) enable_shared=no ;;
8017 # Look at the argument we got. We use all the common list separators.
8018 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019 for pkg in $enableval; do
8021 if test "X$pkg" = "X$p"; then
8040 # Check whether --enable-static was given.
8041 if test "${enable_static+set}" = set; then
8042 enableval=$enable_static; p=${PACKAGE-default}
8044 yes) enable_static=yes ;;
8045 no) enable_static=no ;;
8048 # Look at the argument we got. We use all the common list separators.
8049 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8050 for pkg in $enableval; do
8052 if test "X$pkg" = "X$p"; then
8072 # Check whether --with-pic was given.
8073 if test "${with_pic+set}" = set; then
8074 withval=$with_pic; pic_mode="$withval"
8080 test -z "$pic_mode" && pic_mode=default
8088 # Check whether --enable-fast-install was given.
8089 if test "${enable_fast_install+set}" = set; then
8090 enableval=$enable_fast_install; p=${PACKAGE-default}
8092 yes) enable_fast_install=yes ;;
8093 no) enable_fast_install=no ;;
8095 enable_fast_install=no
8096 # Look at the argument we got. We use all the common list separators.
8097 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8098 for pkg in $enableval; do
8100 if test "X$pkg" = "X$p"; then
8101 enable_fast_install=yes
8108 enable_fast_install=yes
8121 # This can be used to rebuild libtool when needed
8122 LIBTOOL_DEPS="$ltmain"
8124 # Always use our own libtool.
8125 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8151 test -z "$LN_S" && LN_S="ln -s"
8166 if test -n "${ZSH_VERSION+set}" ; then
8167 setopt NO_GLOB_SUBST
8170 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8171 $as_echo_n "checking for objdir... " >&6; }
8172 if test "${lt_cv_objdir+set}" = set; then
8173 $as_echo_n "(cached) " >&6
8175 rm -f .libs 2>/dev/null
8176 mkdir .libs 2>/dev/null
8177 if test -d .libs; then
8180 # MS-DOS does not allow filenames that begin with a dot.
8183 rmdir .libs 2>/dev/null
8185 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8186 $as_echo "$lt_cv_objdir" >&6; }
8187 objdir=$lt_cv_objdir
8193 cat >>confdefs.h <<_ACEOF
8194 #define LT_OBJDIR "$lt_cv_objdir/"
8215 # AIX sometimes has problems with the GCC collect2 program. For some
8216 # reason, if we set the COLLECT_NAMES environment variable, the problems
8217 # vanish in a puff of smoke.
8218 if test "X${COLLECT_NAMES+set}" != Xset; then
8220 export COLLECT_NAMES
8225 # Sed substitution that helps us do robust quoting. It backslashifies
8226 # metacharacters that are still active within double-quoted strings.
8227 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8229 # Same as above, but do not quote variable references.
8230 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8232 # Sed substitution to delay expansion of an escaped shell variable in a
8233 # double_quote_subst'ed string.
8234 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8236 # Sed substitution to delay expansion of an escaped single quote.
8237 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8239 # Sed substitution to avoid accidental globbing in evaled expressions
8240 no_glob_subst='s/\*/\\\*/g'
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8270 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8281 $as_echo_n "(cached) " >&6
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8334 { $as_echo "$as_me:$LINENO: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:$LINENO: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8347 $as_echo_n "(cached) " >&6
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8400 { $as_echo "$as_me:$LINENO: result: no" >&5
8401 $as_echo "no" >&6; }
8414 # Use C for the default configuration in the libtool script
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8427 # Object file extension for compiled C test sources.
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8481 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8482 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8483 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8484 $as_echo_n "(cached) " >&6
8486 lt_cv_prog_compiler_rtti_exceptions=no
8487 ac_outfile=conftest.$ac_objext
8488 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8489 lt_compiler_flag="-fno-rtti -fno-exceptions"
8490 # Insert the option either (1) after the last *FLAGS variable, or
8491 # (2) before a word containing "conftest.", or (3) at the end.
8492 # Note that $ac_compile itself does not contain backslashes and begins
8493 # with a dollar sign (not a hyphen), so the echo should work correctly.
8494 # The option is referenced via a variable to avoid confusing sed.
8495 lt_compile=`echo "$ac_compile" | $SED \
8496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8498 -e 's:$: $lt_compiler_flag:'`
8499 (eval echo "\"\$as_me:8499: $lt_compile\"" >&5)
8500 (eval "$lt_compile" 2>conftest.err)
8502 cat conftest.err >&5
8503 echo "$as_me:8503: \$? = $ac_status" >&5
8504 if (exit $ac_status) && test -s "$ac_outfile"; then
8505 # The compiler can only warn and ignore the option if not recognized
8506 # So say no if there are warnings other than the usual output.
8507 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8508 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8509 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8510 lt_cv_prog_compiler_rtti_exceptions=yes
8516 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8517 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8519 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8520 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8532 lt_prog_compiler_wl=
8533 lt_prog_compiler_pic=
8534 lt_prog_compiler_static=
8536 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8537 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8539 if test "$GCC" = yes; then
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_static='-static'
8545 # All AIX code is PIC.
8546 if test "$host_cpu" = ia64; then
8547 # AIX 5 now supports IA64 processor
8548 lt_prog_compiler_static='-Bstatic'
8555 # see comment about AmigaOS4 .so support
8556 lt_prog_compiler_pic='-fPIC'
8559 # FIXME: we need at least 68020 code to build shared libraries, but
8560 # adding the `-m68020' flag to GCC prevents building anything better,
8562 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8567 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8568 # PIC is the default for these OSes.
8571 mingw* | cygwin* | pw32* | os2* | cegcc*)
8572 # This hack is so that the source file can tell whether it is being
8573 # built for inclusion in a dll (and should export symbols for example).
8574 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8575 # (--disable-auto-import) libraries
8576 lt_prog_compiler_pic='-DDLL_EXPORT'
8579 darwin* | rhapsody*)
8580 # PIC is the default on this platform
8581 # Common symbols not allowed in MH_DYLIB files
8582 lt_prog_compiler_pic='-fno-common'
8586 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8587 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8588 # sets the default TLS model and affects inlining.
8594 lt_prog_compiler_pic='-fPIC'
8600 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8601 # Instead, we relocate shared libraries at runtime.
8605 # Just because we use GCC doesn't mean we suddenly get shared libraries
8606 # on systems that don't support them.
8607 lt_prog_compiler_can_build_shared=no
8612 # QNX uses GNU C++, but need to define -shared option too, otherwise
8614 lt_prog_compiler_pic='-fPIC -shared'
8618 if test -d /usr/nec; then
8619 lt_prog_compiler_pic=-Kconform_pic
8624 lt_prog_compiler_pic='-fPIC'
8628 # PORTME Check for flag to pass linker flags through the system compiler.
8631 lt_prog_compiler_wl='-Wl,'
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8636 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8640 mingw* | cygwin* | pw32* | os2* | cegcc*)
8641 # This hack is so that the source file can tell whether it is being
8642 # built for inclusion in a dll (and should export symbols for example).
8643 lt_prog_compiler_pic='-DDLL_EXPORT'
8646 hpux9* | hpux10* | hpux11*)
8647 lt_prog_compiler_wl='-Wl,'
8648 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 lt_prog_compiler_pic='+Z'
8658 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8659 lt_prog_compiler_static='${wl}-a ${wl}archive'
8662 irix5* | irix6* | nonstopux*)
8663 lt_prog_compiler_wl='-Wl,'
8664 # PIC (with -KPIC) is the default.
8665 lt_prog_compiler_static='-non_shared'
8668 linux* | k*bsd*-gnu)
8669 case $cc_basename in
8670 # old Intel for x86_64 which still supported -KPIC.
8672 lt_prog_compiler_wl='-Wl,'
8673 lt_prog_compiler_pic='-KPIC'
8674 lt_prog_compiler_static='-static'
8676 # icc used to be incompatible with GCC.
8677 # ICC 10 doesn't accept -KPIC any more.
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='-fPIC'
8681 lt_prog_compiler_static='-static'
8683 # Lahey Fortran 8.1.
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='--shared'
8687 lt_prog_compiler_static='--static'
8689 pgcc* | pgf77* | pgf90* | pgf95*)
8690 # Portland Group compilers (*not* the Pentium gcc compiler,
8691 # which looks to be a dead project)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-fpic'
8694 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8698 # All Alpha code is PIC.
8699 lt_prog_compiler_static='-non_shared'
8702 # IBM XL C 8.0/Fortran 10.1 on PPC
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-qpic'
8705 lt_prog_compiler_static='-qstaticlink'
8708 case `$CC -V 2>&1 | sed 5q` in
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 lt_prog_compiler_wl='-Wl,'
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8727 lt_prog_compiler_pic='-KPIC'
8728 lt_prog_compiler_static='-Bstatic'
8732 # QNX uses GNU C++, but need to define -shared option too, otherwise
8734 lt_prog_compiler_pic='-fPIC -shared'
8737 osf3* | osf4* | osf5*)
8738 lt_prog_compiler_wl='-Wl,'
8739 # All OSF/1 code is PIC.
8740 lt_prog_compiler_static='-non_shared'
8744 lt_prog_compiler_static='-non_shared'
8748 lt_prog_compiler_pic='-KPIC'
8749 lt_prog_compiler_static='-Bstatic'
8750 case $cc_basename in
8752 lt_prog_compiler_wl='-Qoption ld ';;
8754 lt_prog_compiler_wl='-Wl,';;
8759 lt_prog_compiler_wl='-Qoption ld '
8760 lt_prog_compiler_pic='-PIC'
8761 lt_prog_compiler_static='-Bstatic'
8764 sysv4 | sysv4.2uw2* | sysv4.3*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_pic='-KPIC'
8767 lt_prog_compiler_static='-Bstatic'
8771 if test -d /usr/nec ;then
8772 lt_prog_compiler_pic='-Kconform_pic'
8773 lt_prog_compiler_static='-Bstatic'
8777 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-KPIC'
8780 lt_prog_compiler_static='-Bstatic'
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_can_build_shared=no
8789 lt_prog_compiler_pic='-pic'
8790 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_can_build_shared=no
8800 # For platforms which do not support PIC, -DPIC is meaningless:
8802 lt_prog_compiler_pic=
8805 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8808 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8809 $as_echo "$lt_prog_compiler_pic" >&6; }
8817 # Check to make sure the PIC flag actually works.
8819 if test -n "$lt_prog_compiler_pic"; then
8820 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8821 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8822 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8823 $as_echo_n "(cached) " >&6
8825 lt_cv_prog_compiler_pic_works=no
8826 ac_outfile=conftest.$ac_objext
8827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8828 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8829 # Insert the option either (1) after the last *FLAGS variable, or
8830 # (2) before a word containing "conftest.", or (3) at the end.
8831 # Note that $ac_compile itself does not contain backslashes and begins
8832 # with a dollar sign (not a hyphen), so the echo should work correctly.
8833 # The option is referenced via a variable to avoid confusing sed.
8834 lt_compile=`echo "$ac_compile" | $SED \
8835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8837 -e 's:$: $lt_compiler_flag:'`
8838 (eval echo "\"\$as_me:8838: $lt_compile\"" >&5)
8839 (eval "$lt_compile" 2>conftest.err)
8841 cat conftest.err >&5
8842 echo "$as_me:8842: \$? = $ac_status" >&5
8843 if (exit $ac_status) && test -s "$ac_outfile"; then
8844 # The compiler can only warn and ignore the option if not recognized
8845 # So say no if there are warnings other than the usual output.
8846 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8848 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8849 lt_cv_prog_compiler_pic_works=yes
8855 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8856 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8858 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8859 case $lt_prog_compiler_pic in
8861 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8864 lt_prog_compiler_pic=
8865 lt_prog_compiler_can_build_shared=no
8876 # Check to make sure the static flag actually works.
8878 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8879 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8881 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8882 $as_echo_n "(cached) " >&6
8884 lt_cv_prog_compiler_static_works=no
8885 save_LDFLAGS="$LDFLAGS"
8886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8889 # The linker can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 if test -s conftest.err; then
8892 # Append any errors to the config.log.
8893 cat conftest.err 1>&5
8894 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8896 if diff conftest.exp conftest.er2 >/dev/null; then
8897 lt_cv_prog_compiler_static_works=yes
8900 lt_cv_prog_compiler_static_works=yes
8904 LDFLAGS="$save_LDFLAGS"
8907 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8908 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8910 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8913 lt_prog_compiler_static=
8922 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8924 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8925 $as_echo_n "(cached) " >&6
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out/conftest2.$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\$as_me:8943: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8946 cat out/conftest.err >&5
8947 echo "$as_me:8947: \$? = $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8969 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8979 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8980 $as_echo_n "(cached) " >&6
8982 lt_cv_prog_compiler_c_o=no
8983 $RM -r conftest 2>/dev/null
8987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989 lt_compiler_flag="-o out/conftest2.$ac_objext"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 lt_compile=`echo "$ac_compile" | $SED \
8995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8997 -e 's:$: $lt_compiler_flag:'`
8998 (eval echo "\"\$as_me:8998: $lt_compile\"" >&5)
8999 (eval "$lt_compile" 2>out/conftest.err)
9001 cat out/conftest.err >&5
9002 echo "$as_me:9002: \$? = $ac_status" >&5
9003 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9008 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9009 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9010 lt_cv_prog_compiler_c_o=yes
9015 # SGI C++ compiler will create directory out/ii_files/ for
9016 # template instantiation
9017 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9018 $RM out/* && rmdir out
9024 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9030 hard_links="nottested"
9031 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9032 # do not overwrite the value of need_locks provided by the user
9033 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9034 $as_echo_n "checking if we can lock with hard links... " >&6; }
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9039 ln conftest.a conftest.b 2>&5 || hard_links=no
9040 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9041 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9042 $as_echo "$hard_links" >&6; }
9043 if test "$hard_links" = no; then
9044 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9045 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9057 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9058 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9061 allow_undefined_flag=
9062 always_export_symbols=no
9064 archive_expsym_cmds=
9065 compiler_needs_object=no
9066 enable_shared_with_static_runtimes=no
9067 export_dynamic_flag_spec=
9068 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9069 hardcode_automatic=no
9071 hardcode_direct_absolute=no
9072 hardcode_libdir_flag_spec=
9073 hardcode_libdir_flag_spec_ld=
9074 hardcode_libdir_separator=
9076 hardcode_shlibpath_var=unsupported
9078 link_all_deplibs=unknown
9081 old_archive_from_new_cmds=
9082 old_archive_from_expsyms_cmds=
9083 thread_safe_flag_spec=
9084 whole_archive_flag_spec=
9085 # include_expsyms should be a list of space-separated symbols to be *always*
9086 # included in the symbol list
9088 # exclude_expsyms can be an extended regexp of symbols to exclude
9089 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9090 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9091 # as well as any symbol that contains `d'.
9092 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9093 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9094 # platforms (ab)use it in PIC code, but their linkers get confused if
9095 # the symbol is explicitly referenced. Since portable code cannot
9096 # rely on this symbol name, it's probably fine to never include it in
9097 # preloaded symbol tables.
9098 # Exclude shared library initialization/finalization symbols.
9099 extract_expsyms_cmds=
9102 cygwin* | mingw* | pw32* | cegcc*)
9103 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9104 # When not using gcc, we currently assume that we are using
9105 # Microsoft Visual C++.
9106 if test "$GCC" != yes; then
9111 # we just hope/assume this is gcc and not c89 (= MSVC++)
9120 if test "$with_gnu_ld" = yes; then
9121 # If archive_cmds runs LD, not CC, wlarc should be empty
9124 # Set some defaults for GNU ld with shared library support. These
9125 # are reset later if shared libraries are not supported. Putting them
9126 # here allows them to be overridden if necessary.
9127 runpath_var=LD_RUN_PATH
9128 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9129 export_dynamic_flag_spec='${wl}--export-dynamic'
9130 # ancient GNU ld didn't support --whole-archive et. al.
9131 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9132 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9134 whole_archive_flag_spec=
9136 supports_anon_versioning=no
9137 case `$LD -v 2>&1` in
9138 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9139 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9140 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9141 *\ 2.11.*) ;; # other 2.11 versions
9142 *) supports_anon_versioning=yes ;;
9145 # See if GNU ld supports shared libraries.
9148 # On AIX/PPC, the GNU linker is very broken
9149 if test "$host_cpu" != ia64; then
9153 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9154 *** to be unable to reliably create shared libraries on AIX.
9155 *** Therefore, libtool is disabling shared libraries support. If you
9156 *** really care for shared libraries, you may want to modify your PATH
9157 *** so that a non-GNU linker is found, and then restart.
9166 # see comment about AmigaOS4 .so support
9167 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168 archive_expsym_cmds=''
9171 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9172 hardcode_libdir_flag_spec='-L$libdir'
9173 hardcode_minus_L=yes
9179 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9180 allow_undefined_flag=unsupported
9181 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9182 # support --undefined. This deserves some investigation. FIXME
9183 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9191 # as there is no search path for DLLs.
9192 hardcode_libdir_flag_spec='-L$libdir'
9193 allow_undefined_flag=unsupported
9194 always_export_symbols=no
9195 enable_shared_with_static_runtimes=yes
9196 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200 # If the export-symbols file already is a .def file (1st line
9201 # is EXPORTS), use it as is; otherwise, prepend...
9202 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203 cp $export_symbols $output_objdir/$soname.def;
9205 echo EXPORTS > $output_objdir/$soname.def;
9206 cat $export_symbols >> $output_objdir/$soname.def;
9208 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9216 hardcode_shlibpath_var=no
9217 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9218 export_dynamic_flag_spec='${wl}-E'
9219 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9220 # Instead, shared libraries are loaded at an image base (0x10000000 by
9221 # default) and relocated if they conflict, which is a slow very memory
9222 # consuming and fragmenting process. To avoid this, we pick a random,
9223 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9224 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9225 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9226 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9229 gnu* | linux* | tpf* | k*bsd*-gnu)
9231 if test "$host_os" = linux-dietlibc; then
9232 case $cc_basename in
9233 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9236 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9237 && test "$tmp_diet" = no
9240 tmp_sharedflag='-shared'
9241 case $cc_basename,$host_cpu in
9242 pgcc*) # Portland Group C compiler
9243 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9244 tmp_addflag=' $pic_flag'
9246 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9247 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9248 tmp_addflag=' $pic_flag -Mnomain' ;;
9249 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9250 tmp_addflag=' -i_dynamic' ;;
9251 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9252 tmp_addflag=' -i_dynamic -nofor_main' ;;
9253 ifc* | ifort*) # Intel Fortran compiler
9254 tmp_addflag=' -nofor_main' ;;
9255 lf95*) # Lahey Fortran 8.1
9256 whole_archive_flag_spec=
9257 tmp_sharedflag='--shared' ;;
9258 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9259 tmp_sharedflag='-qmkshrobj'
9262 case `$CC -V 2>&1 | sed 5q` in
9263 *Sun\ C*) # Sun C 5.9
9264 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9265 compiler_needs_object=yes
9266 tmp_sharedflag='-G' ;;
9267 *Sun\ F*) # Sun Fortran 8.3
9268 tmp_sharedflag='-G' ;;
9270 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272 if test "x$supports_anon_versioning" = xyes; then
9273 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9274 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9275 echo "local: *; };" >> $output_objdir/$libname.ver~
9276 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9279 case $cc_basename in
9281 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9282 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9283 hardcode_libdir_flag_spec=
9284 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9285 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9286 if test "x$supports_anon_versioning" = xyes; then
9287 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9289 echo "local: *; };" >> $output_objdir/$libname.ver~
9290 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9300 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9301 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9304 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9305 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9310 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9314 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9315 *** create shared libraries on Solaris systems. Therefore, libtool
9316 *** is disabling shared libraries support. We urge you to upgrade GNU
9317 *** binutils to release 2.9.1 or newer. Another option is to modify
9318 *** your PATH or compiler configuration so that the native linker is
9319 *** used, and then restart.
9322 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9323 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9331 case `$LD -v 2>&1` in
9332 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9336 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9337 *** reliably create shared libraries on SCO systems. Therefore, libtool
9338 *** is disabling shared libraries support. We urge you to upgrade GNU
9339 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9340 *** your PATH or compiler configuration so that the native linker is
9341 *** used, and then restart.
9346 # For security reasons, it is highly recommended that you always
9347 # use absolute paths for naming shared libraries, and exclude the
9348 # DT_RUNPATH tag from executables and libraries. But doing so
9349 # requires that you compile everything twice, which is a pain.
9350 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9365 hardcode_shlibpath_var=no
9369 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9378 if test "$ld_shlibs" = no; then
9380 hardcode_libdir_flag_spec=
9381 export_dynamic_flag_spec=
9382 whole_archive_flag_spec=
9385 # PORTME fill in a description of your system's linker (not GNU ld)
9388 allow_undefined_flag=unsupported
9389 always_export_symbols=yes
9390 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9391 # Note: this linker hardcodes the directories in LIBPATH if there
9392 # are no directories specified by -L.
9393 hardcode_minus_L=yes
9394 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9395 # Neither direct hardcoding nor static linking is supported with a
9397 hardcode_direct=unsupported
9402 if test "$host_cpu" = ia64; then
9403 # On IA64, the linker does run time linking by default, so we don't
9404 # have to do anything special.
9405 aix_use_runtimelinking=no
9406 exp_sym_flag='-Bexport'
9409 # If we're using GNU nm, then we don't want the "-C" option.
9410 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9411 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9412 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9414 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9416 aix_use_runtimelinking=no
9418 # Test if we are trying to use run time linking or normal
9419 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9420 # need to do runtime linking.
9421 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9422 for ld_flag in $LDFLAGS; do
9423 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9424 aix_use_runtimelinking=yes
9431 exp_sym_flag='-bexport'
9432 no_entry_flag='-bnoentry'
9435 # When large executables or shared objects are built, AIX ld can
9436 # have problems creating the table of contents. If linking a library
9437 # or program results in "error TOC overflow" add -mminimal-toc to
9438 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9439 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9443 hardcode_direct_absolute=yes
9444 hardcode_libdir_separator=':'
9445 link_all_deplibs=yes
9446 file_list_spec='${wl}-f,'
9448 if test "$GCC" = yes; then
9449 case $host_os in aix4.[012]|aix4.[012].*)
9450 # We only want to do this on AIX 4.2 and lower, the check
9451 # below for broken collect2 doesn't work under 4.3+
9452 collect2name=`${CC} -print-prog-name=collect2`
9453 if test -f "$collect2name" &&
9454 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9456 # We have reworked collect2
9459 # We have old collect2
9460 hardcode_direct=unsupported
9461 # It fails to find uninstalled libraries when the uninstalled
9462 # path is not listed in the libpath. Setting hardcode_minus_L
9463 # to unsupported forces relinking
9464 hardcode_minus_L=yes
9465 hardcode_libdir_flag_spec='-L$libdir'
9466 hardcode_libdir_separator=
9470 shared_flag='-shared'
9471 if test "$aix_use_runtimelinking" = yes; then
9472 shared_flag="$shared_flag "'${wl}-G'
9476 if test "$host_cpu" = ia64; then
9477 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9478 # chokes on -Wl,-G. The following line is correct:
9481 if test "$aix_use_runtimelinking" = yes; then
9482 shared_flag='${wl}-G'
9484 shared_flag='${wl}-bM:SRE'
9489 export_dynamic_flag_spec='${wl}-bexpall'
9490 # It seems that -bexpall does not export symbols beginning with
9491 # underscore (_), so it is better to generate a list of symbols to export.
9492 always_export_symbols=yes
9493 if test "$aix_use_runtimelinking" = yes; then
9494 # Warning - without using the other runtime loading flags (-brtl),
9495 # -berok will link without error, but may produce a broken library.
9496 allow_undefined_flag='-berok'
9497 # Determine the default libpath from the value encoded in an
9499 cat >conftest.$ac_ext <<_ACEOF
9502 cat confdefs.h >>conftest.$ac_ext
9503 cat >>conftest.$ac_ext <<_ACEOF
9504 /* end confdefs.h. */
9514 rm -f conftest.$ac_objext conftest$ac_exeext
9515 if { (ac_try="$ac_link"
9517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9518 *) ac_try_echo=$ac_try;;
9520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9521 $as_echo "$ac_try_echo") >&5
9522 (eval "$ac_link") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1 >conftest.err
9526 cat conftest.err >&5
9527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest$ac_exeext && {
9532 test "$cross_compiling" = yes ||
9533 $as_test_x conftest$ac_exeext
9536 lt_aix_libpath_sed='
9537 /Import File Strings/,/^$/ {
9543 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9544 # Check for a 64-bit object if we didn't find anything.
9545 if test -z "$aix_libpath"; then
9546 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 $as_echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9555 rm -rf conftest.dSYM
9556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9557 conftest$ac_exeext conftest.$ac_ext
9558 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9560 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9561 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9563 if test "$host_cpu" = ia64; then
9564 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9565 allow_undefined_flag="-z nodefs"
9566 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9568 # Determine the default libpath from the value encoded in an
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9585 rm -f conftest.$ac_objext conftest$ac_exeext
9586 if { (ac_try="$ac_link"
9588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9589 *) ac_try_echo=$ac_try;;
9591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9592 $as_echo "$ac_try_echo") >&5
9593 (eval "$ac_link") 2>conftest.er1
9595 grep -v '^ *+' conftest.er1 >conftest.err
9597 cat conftest.err >&5
9598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest$ac_exeext && {
9603 test "$cross_compiling" = yes ||
9604 $as_test_x conftest$ac_exeext
9607 lt_aix_libpath_sed='
9608 /Import File Strings/,/^$/ {
9614 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9615 # Check for a 64-bit object if we didn't find anything.
9616 if test -z "$aix_libpath"; then
9617 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 $as_echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9626 rm -rf conftest.dSYM
9627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9628 conftest$ac_exeext conftest.$ac_ext
9629 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9631 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9632 # Warning - without using the other run time loading flags,
9633 # -berok will link without error, but may produce a broken library.
9634 no_undefined_flag=' ${wl}-bernotok'
9635 allow_undefined_flag=' ${wl}-berok'
9636 # Exported symbols can be pulled into shared objects from archives
9637 whole_archive_flag_spec='$convenience'
9638 archive_cmds_need_lc=yes
9639 # This is similar to how AIX traditionally builds its shared libraries.
9640 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9648 # see comment about AmigaOS4 .so support
9649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9650 archive_expsym_cmds=''
9653 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9654 hardcode_libdir_flag_spec='-L$libdir'
9655 hardcode_minus_L=yes
9661 export_dynamic_flag_spec=-rdynamic
9664 cygwin* | mingw* | pw32* | cegcc*)
9665 # When not using gcc, we currently assume that we are using
9666 # Microsoft Visual C++.
9667 # hardcode_libdir_flag_spec is actually meaningless, as there is
9668 # no search path for DLLs.
9669 hardcode_libdir_flag_spec=' '
9670 allow_undefined_flag=unsupported
9671 # Tell ltmain to make .lib files, not .a files.
9673 # Tell ltmain to make .dll files, not .so files.
9675 # FIXME: Setting linknames here is a bad hack.
9676 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9677 # The linker will automatically build a .lib file if we build a DLL.
9678 old_archive_from_new_cmds='true'
9679 # FIXME: Should let the user specify the lib program.
9680 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9681 fix_srcfile_path='`cygpath -w "$srcfile"`'
9682 enable_shared_with_static_runtimes=yes
9685 darwin* | rhapsody*)
9688 archive_cmds_need_lc=no
9690 hardcode_automatic=yes
9691 hardcode_shlibpath_var=unsupported
9692 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=echo
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9722 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9723 # support. Future versions do this automatically, but an explicit c++rt0.o
9724 # does not break anything, and helps significantly (at the cost of a little
9727 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9728 hardcode_libdir_flag_spec='-R$libdir'
9730 hardcode_shlibpath_var=no
9733 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9735 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9737 hardcode_minus_L=yes
9738 hardcode_shlibpath_var=no
9741 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9742 freebsd* | dragonfly*)
9743 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9744 hardcode_libdir_flag_spec='-R$libdir'
9746 hardcode_shlibpath_var=no
9750 if test "$GCC" = yes; then
9751 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9753 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9755 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9756 hardcode_libdir_separator=:
9759 # hardcode_minus_L: Not really in the search PATH,
9760 # but as the default location of the library.
9761 hardcode_minus_L=yes
9762 export_dynamic_flag_spec='${wl}-E'
9766 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9767 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9771 if test "$with_gnu_ld" = no; then
9772 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9773 hardcode_libdir_flag_spec_ld='+b $libdir'
9774 hardcode_libdir_separator=:
9776 hardcode_direct_absolute=yes
9777 export_dynamic_flag_spec='${wl}-E'
9778 # hardcode_minus_L: Not really in the search PATH,
9779 # but as the default location of the library.
9780 hardcode_minus_L=yes
9785 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9788 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 if test "$with_gnu_ld" = no; then
9811 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9812 hardcode_libdir_separator=:
9817 hardcode_shlibpath_var=no
9821 hardcode_direct_absolute=yes
9822 export_dynamic_flag_spec='${wl}-E'
9824 # hardcode_minus_L: Not really in the search PATH,
9825 # but as the default location of the library.
9826 hardcode_minus_L=yes
9832 irix5* | irix6* | nonstopux*)
9833 if test "$GCC" = yes; then
9834 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9835 # Try to use the -exported_symbol ld option, if it does not
9836 # work, assume that -exports_file does not work either and
9837 # implicitly export all symbols.
9838 save_LDFLAGS="$LDFLAGS"
9839 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9840 cat >conftest.$ac_ext <<_ACEOF
9843 rm -f conftest.$ac_objext conftest$ac_exeext
9844 if { (ac_try="$ac_link"
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9850 $as_echo "$ac_try_echo") >&5
9851 (eval "$ac_link") 2>conftest.er1
9853 grep -v '^ *+' conftest.er1 >conftest.err
9855 cat conftest.err >&5
9856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } && {
9858 test -z "$ac_c_werror_flag" ||
9859 test ! -s conftest.err
9860 } && test -s conftest$ac_exeext && {
9861 test "$cross_compiling" = yes ||
9862 $as_test_x conftest$ac_exeext
9864 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9867 $as_echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9873 rm -rf conftest.dSYM
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LDFLAGS="$save_LDFLAGS"
9878 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9879 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9881 archive_cmds_need_lc='no'
9882 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9883 hardcode_libdir_separator=:
9885 link_all_deplibs=yes
9889 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9890 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9892 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9894 hardcode_libdir_flag_spec='-R$libdir'
9896 hardcode_shlibpath_var=no
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9903 hardcode_libdir_separator=:
9904 hardcode_shlibpath_var=no
9911 if test -f /usr/libexec/ld.so; then
9913 hardcode_shlibpath_var=no
9914 hardcode_direct_absolute=yes
9915 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9916 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9918 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9919 export_dynamic_flag_spec='${wl}-E'
9922 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9923 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9924 hardcode_libdir_flag_spec='-R$libdir'
9927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9938 hardcode_libdir_flag_spec='-L$libdir'
9939 hardcode_minus_L=yes
9940 allow_undefined_flag=unsupported
9941 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9942 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9950 allow_undefined_flag=' -expect_unresolved \*'
9951 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9953 archive_cmds_need_lc='no'
9954 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9955 hardcode_libdir_separator=:
9958 osf4* | osf5*) # as osf3* with the addition of -msym flag
9959 if test "$GCC" = yes; then
9960 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9962 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9964 allow_undefined_flag=' -expect_unresolved \*'
9965 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9966 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9967 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9969 # Both c and cxx compiler support -rpath directly
9970 hardcode_libdir_flag_spec='-rpath $libdir'
9972 archive_cmds_need_lc='no'
9973 hardcode_libdir_separator=:
9977 no_undefined_flag=' -z defs'
9978 if test "$GCC" = yes; then
9980 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 case `$CC -V 2>&1` in
9987 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9989 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9993 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9995 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9999 hardcode_libdir_flag_spec='-R$libdir'
10000 hardcode_shlibpath_var=no
10002 solaris2.[0-5] | solaris2.[0-5].*) ;;
10004 # The compiler driver will combine and reorder linker options,
10005 # but understands `-z linker_flag'. GCC discards it without `$wl',
10006 # but is careful enough not to reorder.
10007 # Supported since Solaris 2.6 (maybe 2.5.1?)
10008 if test "$GCC" = yes; then
10009 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10011 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10015 link_all_deplibs=yes
10019 if test "x$host_vendor" = xsequent; then
10020 # Use $CC to link under sequent, because it throws in some extra .o
10021 # files that make .init and .fini sections work.
10022 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_libdir_flag_spec='-L$libdir'
10027 hardcode_direct=yes
10028 hardcode_minus_L=yes
10029 hardcode_shlibpath_var=no
10033 case $host_vendor in
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_direct=yes # is this really true???
10039 ## LD is ld it makes a PLAMLIB
10040 ## CC just makes a GrossModule.
10041 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10042 reload_cmds='$CC -r -o $output$reload_objs'
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10050 runpath_var='LD_RUN_PATH'
10051 hardcode_shlibpath_var=no
10055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10056 hardcode_shlibpath_var=no
10057 export_dynamic_flag_spec='-Bexport'
10061 if test -d /usr/nec; then
10062 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_shlibpath_var=no
10064 runpath_var=LD_RUN_PATH
10065 hardcode_runpath_var=yes
10070 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10071 no_undefined_flag='${wl}-z,text'
10072 archive_cmds_need_lc=no
10073 hardcode_shlibpath_var=no
10074 runpath_var='LD_RUN_PATH'
10076 if test "$GCC" = yes; then
10077 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 sysv5* | sco3.2v5* | sco5v6*)
10086 # Note: We can NOT use -z defs as we might desire, because we do not
10087 # link with -lc, and that would cause any symbols used from libc to
10088 # always be unresolved, which means just about no library would
10089 # ever link correctly. If we're not using GNU ld we use -z text
10090 # though, which does catch some bad symbols but isn't as heavy-handed
10092 no_undefined_flag='${wl}-z,text'
10093 allow_undefined_flag='${wl}-z,nodefs'
10094 archive_cmds_need_lc=no
10095 hardcode_shlibpath_var=no
10096 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10097 hardcode_libdir_separator=':'
10098 link_all_deplibs=yes
10099 export_dynamic_flag_spec='${wl}-Bexport'
10100 runpath_var='LD_RUN_PATH'
10102 if test "$GCC" = yes; then
10103 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10113 hardcode_libdir_flag_spec='-L$libdir'
10114 hardcode_shlibpath_var=no
10122 if test x$host_vendor = xsni; then
10124 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10125 export_dynamic_flag_spec='${wl}-Blargedynsym'
10131 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10132 $as_echo "$ld_shlibs" >&6; }
10133 test "$ld_shlibs" = no && can_build_shared=no
10135 with_gnu_ld=$with_gnu_ld
10152 # Do we need to explicitly link libc?
10154 case "x$archive_cmds_need_lc" in
10156 # Assume -lc should be added
10157 archive_cmds_need_lc=yes
10159 if test "$enable_shared" = yes && test "$GCC" = yes; then
10160 case $archive_cmds in
10162 # FIXME: we may have to deal with multi-command sequences.
10165 # Test whether the compiler implicitly links with -lc since on some
10166 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10167 # to ld, don't add -lc before -lgcc.
10168 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10169 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10174 (eval $ac_compile) 2>&5
10176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } 2>conftest.err; then
10180 libobjs=conftest.$ac_objext
10182 wl=$lt_prog_compiler_wl
10183 pic_flag=$lt_prog_compiler_pic
10189 lt_save_allow_undefined_flag=$allow_undefined_flag
10190 allow_undefined_flag=
10191 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10192 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }
10197 archive_cmds_need_lc=no
10199 archive_cmds_need_lc=yes
10201 allow_undefined_flag=$lt_save_allow_undefined_flag
10203 cat conftest.err 1>&5
10206 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10207 $as_echo "$archive_cmds_need_lc" >&6; }
10370 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10371 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10373 if test "$GCC" = yes; then
10375 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10376 *) lt_awk_arg="/^libraries:/" ;;
10378 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10379 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10380 # if the path contains ";" then we assume it to be the separator
10381 # otherwise default to the standard path separator (i.e. ":") - it is
10382 # assumed that no part of a normal pathname contains ";" but that should
10383 # okay in the real world where ";" in dirpaths is itself problematic.
10384 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10386 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10400 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10422 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10424 library_names_spec=
10425 libname_spec='lib$name'
10429 postuninstall_cmds=
10433 shlibpath_overrides_runpath=unknown
10435 dynamic_linker="$host_os ld.so"
10436 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10437 need_lib_prefix=unknown
10438 hardcode_into_libs=no
10440 # when you set need_version to no, make sure it does not cause -set_version
10441 # flags to be left without arguments
10442 need_version=unknown
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10448 shlibpath_var=LIBPATH
10450 # AIX 3 has no versioning support, so we append a major version to the name.
10451 soname_spec='${libname}${release}${shared_ext}$major'
10458 hardcode_into_libs=yes
10459 if test "$host_cpu" = ia64; then
10460 # AIX 5 supports IA64
10461 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10462 shlibpath_var=LD_LIBRARY_PATH
10464 # With GCC up to 2.95.x, collect2 would create an import file
10465 # for dependence libraries. The import file would start with
10466 # the line `#! .'. This would cause the generated library to
10467 # depend on `.', always an invalid library. This was fixed in
10468 # development snapshots of GCC prior to 3.0.
10470 aix4 | aix4.[01] | aix4.[01].*)
10471 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10473 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10476 can_build_shared=no
10480 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10481 # soname into executable. Probably we can add versioning support to
10482 # collect2, so additional links can be useful in future.
10483 if test "$aix_use_runtimelinking" = yes; then
10484 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10485 # instead of lib<name>.a to let people know that these are not
10486 # typical AIX shared libraries.
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 # We preserve .a as extension for shared libraries through AIX4.2
10490 # and later when we are not doing run time linking.
10491 library_names_spec='${libname}${release}.a $libname.a'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10494 shlibpath_var=LIBPATH
10501 # Since July 2007 AmigaOS4 officially supports .so libraries.
10502 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506 library_names_spec='$libname.ixlibrary $libname.a'
10507 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10508 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10514 library_names_spec='${libname}${shared_ext}'
10515 dynamic_linker="$host_os ld.so"
10516 shlibpath_var=LIBRARY_PATH
10522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10527 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10528 # the default ld.so.conf also contains /usr/contrib/lib and
10529 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10530 # libtool to hard-code these into programs
10533 cygwin* | mingw* | pw32* | cegcc*)
10534 version_type=windows
10539 case $GCC,$host_os in
10540 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10541 library_names_spec='$libname.dll.a'
10542 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10543 postinstall_cmds='base_file=`basename \${file}`~
10544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545 dldir=$destdir/`dirname \$dlpath`~
10546 test -d \$dldir || mkdir -p \$dldir~
10547 $install_prog $dir/$dlname \$dldir/$dlname~
10548 chmod a+x \$dldir/$dlname~
10549 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10552 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553 dlpath=$dir/\$dldll~
10555 shlibpath_overrides_runpath=yes
10559 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10561 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10564 # MinGW DLLs use traditional 'lib' prefix
10565 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10566 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10567 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10568 # It is most probably a Windows format PATH printed by
10569 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10570 # path with ; separators, and with drive letters. We can handle the
10571 # drive letters (cygwin fileutils understands them), so leave them,
10572 # especially as we might pass files found there to a mingw objdump,
10573 # which wouldn't understand a cygwinified path. Ahh.
10574 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10580 # pw32 DLLs use 'pw' prefix rather than 'lib'
10581 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10587 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10590 dynamic_linker='Win32 ld.exe'
10591 # FIXME: first we should search . and the directory the executable is in
10595 darwin* | rhapsody*)
10596 dynamic_linker="$host_os dyld"
10597 version_type=darwin
10600 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10601 soname_spec='${libname}${release}${major}$shared_ext'
10602 shlibpath_overrides_runpath=yes
10603 shlibpath_var=DYLD_LIBRARY_PATH
10604 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10607 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10615 soname_spec='${libname}${release}${shared_ext}$major'
10616 shlibpath_var=LD_LIBRARY_PATH
10623 freebsd* | dragonfly*)
10624 # DragonFly does not have aout. When/if they implement a new
10625 # versioning mechanism, adjust this.
10626 if test -x /usr/bin/objformat; then
10627 objformat=`/usr/bin/objformat`
10630 freebsd[123]*) objformat=aout ;;
10631 *) objformat=elf ;;
10634 version_type=freebsd-$objformat
10635 case $version_type in
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10646 shlibpath_var=LD_LIBRARY_PATH
10649 shlibpath_overrides_runpath=yes
10651 freebsd3.[01]* | freebsdelf3.[01]*)
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10655 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10656 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10657 shlibpath_overrides_runpath=no
10658 hardcode_into_libs=yes
10660 *) # from 4.6 on, and DragonFly
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 hardcode_into_libs=yes
10677 hpux9* | hpux10* | hpux11*)
10678 # Give a soname corresponding to the major version so that dld.sl refuses to
10679 # link against other versions.
10686 hardcode_into_libs=yes
10687 dynamic_linker="$host_os dld.so"
10688 shlibpath_var=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691 soname_spec='${libname}${release}${shared_ext}$major'
10692 if test "X$HPUX_IA64_MODE" = X32; then
10693 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10695 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10697 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10701 hardcode_into_libs=yes
10702 dynamic_linker="$host_os dld.sl"
10703 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10704 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10708 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10712 dynamic_linker="$host_os dld.sl"
10713 shlibpath_var=SHLIB_PATH
10714 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10719 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10720 postinstall_cmds='chmod 555 $lib'
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=no
10732 hardcode_into_libs=yes
10735 irix5* | irix6* | nonstopux*)
10737 nonstopux*) version_type=nonstopux ;;
10739 if test "$lt_cv_prog_gnu_ld" = yes; then
10747 soname_spec='${libname}${release}${shared_ext}$major'
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10750 irix5* | nonstopux*)
10751 libsuff= shlibsuff=
10754 case $LD in # libtool.m4 will add one of these switches to LD
10755 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10756 libsuff= shlibsuff= libmagic=32-bit;;
10757 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10758 libsuff=32 shlibsuff=N32 libmagic=N32;;
10759 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10760 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10761 *) libsuff= shlibsuff= libmagic=never-match;;
10765 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10766 shlibpath_overrides_runpath=no
10767 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10768 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10769 hardcode_into_libs=yes
10772 # No shared lib support for Linux oldld, aout, or coff.
10773 linux*oldld* | linux*aout* | linux*coff*)
10777 # This must be Linux ELF.
10778 linux* | k*bsd*-gnu)
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10787 # Some binutils ld are patched to set DT_RUNPATH
10788 save_LDFLAGS=$LDFLAGS
10789 save_libdir=$libdir
10790 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10791 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10792 cat >conftest.$ac_ext <<_ACEOF
10795 cat confdefs.h >>conftest.$ac_ext
10796 cat >>conftest.$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10807 rm -f conftest.$ac_objext conftest$ac_exeext
10808 if { (ac_try="$ac_link"
10809 case "(($ac_try" in
10810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10811 *) ac_try_echo=$ac_try;;
10813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10814 $as_echo "$ac_try_echo") >&5
10815 (eval "$ac_link") 2>conftest.er1
10817 grep -v '^ *+' conftest.er1 >conftest.err
10819 cat conftest.err >&5
10820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); } && {
10822 test -z "$ac_c_werror_flag" ||
10823 test ! -s conftest.err
10824 } && test -s conftest$ac_exeext && {
10825 test "$cross_compiling" = yes ||
10826 $as_test_x conftest$ac_exeext
10828 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10829 shlibpath_overrides_runpath=yes
10833 $as_echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10839 rm -rf conftest.dSYM
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LDFLAGS=$save_LDFLAGS
10843 libdir=$save_libdir
10845 # This implies no fast_install, which is unacceptable.
10846 # Some rework will be needed to allow for fast_install
10847 # before this can be enabled.
10848 hardcode_into_libs=yes
10850 # Append ld.so.conf contents to the search path
10851 if test -f /etc/ld.so.conf; then
10852 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10853 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10856 # We used to test for /lib/ld.so.1 and disable shared libraries on
10857 # powerpc, because MkLinux only supported shared libraries with the
10858 # GNU dynamic linker. Since this was broken with cross compilers,
10859 # most powerpc-linux boxes support dynamic linking these days and
10860 # people can always --disable-shared, the test was removed, and we
10861 # assume the GNU/Linux dynamic linker is in use.
10862 dynamic_linker='GNU/Linux ld.so'
10869 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10871 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10872 dynamic_linker='NetBSD (a.out) ld.so'
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10875 soname_spec='${libname}${release}${shared_ext}$major'
10876 dynamic_linker='NetBSD ld.elf_so'
10878 shlibpath_var=LD_LIBRARY_PATH
10879 shlibpath_overrides_runpath=yes
10880 hardcode_into_libs=yes
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=yes
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=no
10898 hardcode_into_libs=yes
10899 dynamic_linker='ldqnx.so'
10904 sys_lib_dlsearch_path_spec="/usr/lib"
10906 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10908 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10909 *) need_version=no ;;
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10913 shlibpath_var=LD_LIBRARY_PATH
10914 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10916 openbsd2.[89] | openbsd2.[89].*)
10917 shlibpath_overrides_runpath=no
10920 shlibpath_overrides_runpath=yes
10924 shlibpath_overrides_runpath=yes
10929 libname_spec='$name'
10932 library_names_spec='$libname${shared_ext} $libname.a'
10933 dynamic_linker='OS/2 ld.exe'
10934 shlibpath_var=LIBPATH
10937 osf3* | osf4* | osf5*)
10941 soname_spec='${libname}${release}${shared_ext}$major'
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 shlibpath_var=LD_LIBRARY_PATH
10944 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10945 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10957 soname_spec='${libname}${release}${shared_ext}$major'
10958 shlibpath_var=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath=yes
10960 hardcode_into_libs=yes
10961 # ldd complains unless libraries are executable
10962 postinstall_cmds='chmod +x $lib'
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10968 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 if test "$with_gnu_ld" = yes; then
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 case $host_vendor in
10984 shlibpath_overrides_runpath=no
10986 runpath_var=LD_RUN_PATH
10994 shlibpath_overrides_runpath=no
10995 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11001 if test -d /usr/nec ;then
11003 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11004 soname_spec='$libname${shared_ext}.$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11009 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11010 version_type=freebsd-elf
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11014 soname_spec='${libname}${release}${shared_ext}$major'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath=yes
11017 hardcode_into_libs=yes
11018 if test "$with_gnu_ld" = yes; then
11019 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11021 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11024 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11028 sys_lib_dlsearch_path_spec='/usr/lib'
11032 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath=no
11039 hardcode_into_libs=yes
11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 soname_spec='${libname}${release}${shared_ext}$major'
11046 shlibpath_var=LD_LIBRARY_PATH
11053 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11054 $as_echo "$dynamic_linker" >&6; }
11055 test "$dynamic_linker" = no && can_build_shared=no
11057 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11058 if test "$GCC" = yes; then
11059 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11062 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11063 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11065 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11066 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11155 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11158 if test -n "$hardcode_libdir_flag_spec" ||
11159 test -n "$runpath_var" ||
11160 test "X$hardcode_automatic" = "Xyes" ; then
11162 # We can hardcode non-existent directories.
11163 if test "$hardcode_direct" != no &&
11164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11165 # have to relink, otherwise we might link with an installed library
11166 # when we should be linking with a yet-to-be-installed one
11167 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11168 test "$hardcode_minus_L" != no; then
11169 # Linking always hardcodes the temporary library directory.
11170 hardcode_action=relink
11172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11173 hardcode_action=immediate
11176 # We cannot hardcode anything, or else we can only hardcode existing
11178 hardcode_action=unsupported
11180 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11181 $as_echo "$hardcode_action" >&6; }
11183 if test "$hardcode_action" = relink ||
11184 test "$inherit_rpath" = yes; then
11185 # Fast installation is not supported
11186 enable_fast_install=no
11187 elif test "$shlibpath_overrides_runpath" = yes ||
11188 test "$enable_shared" = no; then
11189 # Fast installation is not necessary
11190 enable_fast_install=needless
11198 if test "x$enable_dlopen" != xyes; then
11199 enable_dlopen=unknown
11200 enable_dlopen_self=unknown
11201 enable_dlopen_self_static=unknown
11208 lt_cv_dlopen="load_add_on"
11210 lt_cv_dlopen_self=yes
11213 mingw* | pw32* | cegcc*)
11214 lt_cv_dlopen="LoadLibrary"
11219 lt_cv_dlopen="dlopen"
11224 # if libdl is installed we need to link against it
11225 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11228 $as_echo_n "(cached) " >&6
11230 ac_check_lib_save_LIBS=$LIBS
11232 cat >conftest.$ac_ext <<_ACEOF
11235 cat confdefs.h >>conftest.$ac_ext
11236 cat >>conftest.$ac_ext <<_ACEOF
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (ac_try="$ac_link"
11256 case "(($ac_try" in
11257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11258 *) ac_try_echo=$ac_try;;
11260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11261 $as_echo "$ac_try_echo") >&5
11262 (eval "$ac_link") 2>conftest.er1
11264 grep -v '^ *+' conftest.er1 >conftest.err
11266 cat conftest.err >&5
11267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } && {
11269 test -z "$ac_c_werror_flag" ||
11270 test ! -s conftest.err
11271 } && test -s conftest$ac_exeext && {
11272 test "$cross_compiling" = yes ||
11273 $as_test_x conftest$ac_exeext
11275 ac_cv_lib_dl_dlopen=yes
11277 $as_echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.$ac_ext >&5
11280 ac_cv_lib_dl_dlopen=no
11283 rm -rf conftest.dSYM
11284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11291 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11294 lt_cv_dlopen="dyld"
11296 lt_cv_dlopen_self=yes
11303 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11304 $as_echo_n "checking for shl_load... " >&6; }
11305 if test "${ac_cv_func_shl_load+set}" = set; then
11306 $as_echo_n "(cached) " >&6
11308 cat >conftest.$ac_ext <<_ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11314 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11316 #define shl_load innocuous_shl_load
11318 /* System header to define __stub macros and hopefully few prototypes,
11319 which can conflict with char shl_load (); below.
11320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11321 <limits.h> exists even on freestanding compilers. */
11324 # include <limits.h>
11326 # include <assert.h>
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11338 /* The GNU C library defines this for functions which it implements
11339 to always fail with ENOSYS. Some functions are actually named
11340 something starting with __ and the normal name is an alias. */
11341 #if defined __stub_shl_load || defined __stub___shl_load
11348 return shl_load ();
11353 rm -f conftest.$ac_objext conftest$ac_exeext
11354 if { (ac_try="$ac_link"
11355 case "(($ac_try" in
11356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11357 *) ac_try_echo=$ac_try;;
11359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11360 $as_echo "$ac_try_echo") >&5
11361 (eval "$ac_link") 2>conftest.er1
11363 grep -v '^ *+' conftest.er1 >conftest.err
11365 cat conftest.err >&5
11366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } && {
11368 test -z "$ac_c_werror_flag" ||
11369 test ! -s conftest.err
11370 } && test -s conftest$ac_exeext && {
11371 test "$cross_compiling" = yes ||
11372 $as_test_x conftest$ac_exeext
11374 ac_cv_func_shl_load=yes
11376 $as_echo "$as_me: failed program was:" >&5
11377 sed 's/^/| /' conftest.$ac_ext >&5
11379 ac_cv_func_shl_load=no
11382 rm -rf conftest.dSYM
11383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11384 conftest$ac_exeext conftest.$ac_ext
11386 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11387 $as_echo "$ac_cv_func_shl_load" >&6; }
11388 if test "x$ac_cv_func_shl_load" = x""yes; then
11389 lt_cv_dlopen="shl_load"
11391 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11394 $as_echo_n "(cached) " >&6
11396 ac_check_lib_save_LIBS=$LIBS
11398 cat >conftest.$ac_ext <<_ACEOF
11401 cat confdefs.h >>conftest.$ac_ext
11402 cat >>conftest.$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11415 return shl_load ();
11420 rm -f conftest.$ac_objext conftest$ac_exeext
11421 if { (ac_try="$ac_link"
11422 case "(($ac_try" in
11423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11424 *) ac_try_echo=$ac_try;;
11426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11427 $as_echo "$ac_try_echo") >&5
11428 (eval "$ac_link") 2>conftest.er1
11430 grep -v '^ *+' conftest.er1 >conftest.err
11432 cat conftest.err >&5
11433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); } && {
11435 test -z "$ac_c_werror_flag" ||
11436 test ! -s conftest.err
11437 } && test -s conftest$ac_exeext && {
11438 test "$cross_compiling" = yes ||
11439 $as_test_x conftest$ac_exeext
11441 ac_cv_lib_dld_shl_load=yes
11443 $as_echo "$as_me: failed program was:" >&5
11444 sed 's/^/| /' conftest.$ac_ext >&5
11446 ac_cv_lib_dld_shl_load=no
11449 rm -rf conftest.dSYM
11450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11455 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11456 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11457 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11459 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11460 $as_echo_n "checking for dlopen... " >&6; }
11461 if test "${ac_cv_func_dlopen+set}" = set; then
11462 $as_echo_n "(cached) " >&6
11464 cat >conftest.$ac_ext <<_ACEOF
11467 cat confdefs.h >>conftest.$ac_ext
11468 cat >>conftest.$ac_ext <<_ACEOF
11469 /* end confdefs.h. */
11470 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11472 #define dlopen innocuous_dlopen
11474 /* System header to define __stub macros and hopefully few prototypes,
11475 which can conflict with char dlopen (); below.
11476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11477 <limits.h> exists even on freestanding compilers. */
11480 # include <limits.h>
11482 # include <assert.h>
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11494 /* The GNU C library defines this for functions which it implements
11495 to always fail with ENOSYS. Some functions are actually named
11496 something starting with __ and the normal name is an alias. */
11497 #if defined __stub_dlopen || defined __stub___dlopen
11509 rm -f conftest.$ac_objext conftest$ac_exeext
11510 if { (ac_try="$ac_link"
11511 case "(($ac_try" in
11512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11513 *) ac_try_echo=$ac_try;;
11515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11516 $as_echo "$ac_try_echo") >&5
11517 (eval "$ac_link") 2>conftest.er1
11519 grep -v '^ *+' conftest.er1 >conftest.err
11521 cat conftest.err >&5
11522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } && {
11524 test -z "$ac_c_werror_flag" ||
11525 test ! -s conftest.err
11526 } && test -s conftest$ac_exeext && {
11527 test "$cross_compiling" = yes ||
11528 $as_test_x conftest$ac_exeext
11530 ac_cv_func_dlopen=yes
11532 $as_echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.$ac_ext >&5
11535 ac_cv_func_dlopen=no
11538 rm -rf conftest.dSYM
11539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11540 conftest$ac_exeext conftest.$ac_ext
11542 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11543 $as_echo "$ac_cv_func_dlopen" >&6; }
11544 if test "x$ac_cv_func_dlopen" = x""yes; then
11545 lt_cv_dlopen="dlopen"
11547 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11548 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11549 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11550 $as_echo_n "(cached) " >&6
11552 ac_check_lib_save_LIBS=$LIBS
11554 cat >conftest.$ac_ext <<_ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11576 rm -f conftest.$ac_objext conftest$ac_exeext
11577 if { (ac_try="$ac_link"
11578 case "(($ac_try" in
11579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11583 $as_echo "$ac_try_echo") >&5
11584 (eval "$ac_link") 2>conftest.er1
11586 grep -v '^ *+' conftest.er1 >conftest.err
11588 cat conftest.err >&5
11589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); } && {
11591 test -z "$ac_c_werror_flag" ||
11592 test ! -s conftest.err
11593 } && test -s conftest$ac_exeext && {
11594 test "$cross_compiling" = yes ||
11595 $as_test_x conftest$ac_exeext
11597 ac_cv_lib_dl_dlopen=yes
11599 $as_echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 ac_cv_lib_dl_dlopen=no
11605 rm -rf conftest.dSYM
11606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_lib_save_LIBS
11610 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11611 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11612 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11613 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11615 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11616 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11617 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11618 $as_echo_n "(cached) " >&6
11620 ac_check_lib_save_LIBS=$LIBS
11621 LIBS="-lsvld $LIBS"
11622 cat >conftest.$ac_ext <<_ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (ac_try="$ac_link"
11646 case "(($ac_try" in
11647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11648 *) ac_try_echo=$ac_try;;
11650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11651 $as_echo "$ac_try_echo") >&5
11652 (eval "$ac_link") 2>conftest.er1
11654 grep -v '^ *+' conftest.er1 >conftest.err
11656 cat conftest.err >&5
11657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } && {
11659 test -z "$ac_c_werror_flag" ||
11660 test ! -s conftest.err
11661 } && test -s conftest$ac_exeext && {
11662 test "$cross_compiling" = yes ||
11663 $as_test_x conftest$ac_exeext
11665 ac_cv_lib_svld_dlopen=yes
11667 $as_echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11670 ac_cv_lib_svld_dlopen=no
11673 rm -rf conftest.dSYM
11674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11675 conftest$ac_exeext conftest.$ac_ext
11676 LIBS=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11679 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11680 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11681 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11683 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11684 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11685 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11686 $as_echo_n "(cached) " >&6
11688 ac_check_lib_save_LIBS=$LIBS
11690 cat >conftest.$ac_ext <<_ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11707 return dld_link ();
11712 rm -f conftest.$ac_objext conftest$ac_exeext
11713 if { (ac_try="$ac_link"
11714 case "(($ac_try" in
11715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11716 *) ac_try_echo=$ac_try;;
11718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11719 $as_echo "$ac_try_echo") >&5
11720 (eval "$ac_link") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest$ac_exeext && {
11730 test "$cross_compiling" = yes ||
11731 $as_test_x conftest$ac_exeext
11733 ac_cv_lib_dld_dld_link=yes
11735 $as_echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.$ac_ext >&5
11738 ac_cv_lib_dld_dld_link=no
11741 rm -rf conftest.dSYM
11742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11747 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11748 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11749 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11770 if test "x$lt_cv_dlopen" != xno; then
11776 case $lt_cv_dlopen in
11778 save_CPPFLAGS="$CPPFLAGS"
11779 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11781 save_LDFLAGS="$LDFLAGS"
11782 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11785 LIBS="$lt_cv_dlopen_libs $LIBS"
11787 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11788 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11789 if test "${lt_cv_dlopen_self+set}" = set; then
11790 $as_echo_n "(cached) " >&6
11792 if test "$cross_compiling" = yes; then :
11793 lt_cv_dlopen_self=cross
11795 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11796 lt_status=$lt_dlunknown
11797 cat > conftest.$ac_ext <<_LT_EOF
11798 #line 11798 "configure"
11799 #include "confdefs.h"
11808 # define LT_DLGLOBAL RTLD_GLOBAL
11811 # define LT_DLGLOBAL DL_GLOBAL
11813 # define LT_DLGLOBAL 0
11817 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11818 find out it does not work in some platform. */
11819 #ifndef LT_DLLAZY_OR_NOW
11821 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11824 # define LT_DLLAZY_OR_NOW DL_LAZY
11827 # define LT_DLLAZY_OR_NOW RTLD_NOW
11830 # define LT_DLLAZY_OR_NOW DL_NOW
11832 # define LT_DLLAZY_OR_NOW 0
11839 void fnord() { int i=42;}
11842 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11843 int status = $lt_dlunknown;
11847 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11848 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11849 /* dlclose (self); */
11857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11858 (eval $ac_link) 2>&5
11860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11862 (./conftest; exit; ) >&5 2>/dev/null
11864 case x$lt_status in
11865 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11866 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11867 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11870 # compilation failed
11871 lt_cv_dlopen_self=no
11878 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11879 $as_echo "$lt_cv_dlopen_self" >&6; }
11881 if test "x$lt_cv_dlopen_self" = xyes; then
11882 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11883 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11884 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11885 if test "${lt_cv_dlopen_self_static+set}" = set; then
11886 $as_echo_n "(cached) " >&6
11888 if test "$cross_compiling" = yes; then :
11889 lt_cv_dlopen_self_static=cross
11891 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11892 lt_status=$lt_dlunknown
11893 cat > conftest.$ac_ext <<_LT_EOF
11894 #line 11894 "configure"
11895 #include "confdefs.h"
11904 # define LT_DLGLOBAL RTLD_GLOBAL
11907 # define LT_DLGLOBAL DL_GLOBAL
11909 # define LT_DLGLOBAL 0
11913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11914 find out it does not work in some platform. */
11915 #ifndef LT_DLLAZY_OR_NOW
11917 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11920 # define LT_DLLAZY_OR_NOW DL_LAZY
11923 # define LT_DLLAZY_OR_NOW RTLD_NOW
11926 # define LT_DLLAZY_OR_NOW DL_NOW
11928 # define LT_DLLAZY_OR_NOW 0
11935 void fnord() { int i=42;}
11938 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11939 int status = $lt_dlunknown;
11943 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11944 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11945 /* dlclose (self); */
11953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11954 (eval $ac_link) 2>&5
11956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11958 (./conftest; exit; ) >&5 2>/dev/null
11960 case x$lt_status in
11961 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11962 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11963 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11966 # compilation failed
11967 lt_cv_dlopen_self_static=no
11974 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11975 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11978 CPPFLAGS="$save_CPPFLAGS"
11979 LDFLAGS="$save_LDFLAGS"
11984 case $lt_cv_dlopen_self in
11985 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11986 *) enable_dlopen_self=unknown ;;
11989 case $lt_cv_dlopen_self_static in
11990 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11991 *) enable_dlopen_self_static=unknown ;;
12013 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12014 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12015 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12016 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12017 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12018 { $as_echo "$as_me:$LINENO: result: yes" >&5
12019 $as_echo "yes" >&6; }
12021 # FIXME - insert some real tests, host_os isn't really good enough
12024 if test -n "$STRIP" ; then
12025 striplib="$STRIP -x"
12026 old_striplib="$STRIP -S"
12027 { $as_echo "$as_me:$LINENO: result: yes" >&5
12028 $as_echo "yes" >&6; }
12030 { $as_echo "$as_me:$LINENO: result: no" >&5
12031 $as_echo "no" >&6; }
12035 { $as_echo "$as_me:$LINENO: result: no" >&5
12036 $as_echo "no" >&6; }
12052 # Report which library types will actually be built
12053 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12054 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12055 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12056 $as_echo "$can_build_shared" >&6; }
12058 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12059 $as_echo_n "checking whether to build shared libraries... " >&6; }
12060 test "$can_build_shared" = "no" && enable_shared=no
12062 # On AIX, shared libraries and static libraries use the same namespace, and
12063 # are all built from PIC.
12066 test "$enable_shared" = yes && enable_static=no
12067 if test -n "$RANLIB"; then
12068 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12069 postinstall_cmds='$RANLIB $lib'
12074 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12075 test "$enable_shared" = yes && enable_static=no
12079 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12080 $as_echo "$enable_shared" >&6; }
12082 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12083 $as_echo_n "checking whether to build static libraries... " >&6; }
12084 # Make sure either enable_shared or enable_static is yes.
12085 test "$enable_shared" = yes || enable_static=yes
12086 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12087 $as_echo "$enable_static" >&6; }
12094 ac_cpp='$CPP $CPPFLAGS'
12095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12113 ac_config_commands="$ac_config_commands libtool"
12118 # Only expand once:
12121 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION="$VERSION"
12122 { $as_echo "$as_me:$LINENO: checking out linker version info $PACKAGE_VERSION " >&5
12123 $as_echo_n "checking out linker version info $PACKAGE_VERSION ... " >&6; }
12124 MINOR_VERSION=`echo $PACKAGE_VERSION`
12125 MAJOR_VERSION=`echo "$MINOR_VERSION" | sed -e 's/[.].*//'`
12126 MINOR_VERSION=`echo "$MINOR_VERSION" | sed -e "s/^$MAJOR_VERSION//" -e 's/^.//'`
12127 MICRO_VERSION="$MINOR_VERSION"
12128 MINOR_VERSION=`echo "$MICRO_VERSION" | sed -e 's/[.].*//'`
12129 MICRO_VERSION=`echo "$MICRO_VERSION" | sed -e "s/^$MINOR_VERSION//" -e 's/^.//'`
12130 PATCH_VERSION="$MICRO_VERSION"
12131 MICRO_VERSION=`echo "$PATCH_VERSION" | sed -e 's/[^0-9].*//'`
12132 PATCH_VERSION=`echo "$PATCH_VERSION" | sed -e "s/^$MICRO_VERSION//" -e 's/[-.]//'`
12133 if test "_$MICRO_VERSION" = "_" ; then MICRO_VERSION="0" ; fi
12134 if test "_$MINOR_VERSION" = "_" ; then MINOR_VERSION="$MAJOR_VERSION" ; MAJOR_VERSION="0" ; fi
12135 MINOR_VERSION=`echo "$MINOR_VERSION" | sed -e 's/[^0-9].*//'`
12136 RELEASE_INFO="-release $MAJOR_VERSION"
12137 VERSION_INFO="-version-info $MINOR_VERSION:$MICRO_VERSION"
12138 { $as_echo "$as_me:$LINENO: result: /$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&5
12139 $as_echo "/$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&6; }
12144 # -----------------------------------------------------------------------
12145 { $as_echo "$as_me:$LINENO: result: creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
12146 $as_echo "creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
12147 test -d zzip || mkdir zzip
12148 sed -f $srcdir/zzip/_msvc.sed $srcdir/config.h.in >zzip/_msvc.in
12149 ac_config_headers="$ac_config_headers config.h"
12151 ac_config_commands="$ac_config_commands zzip/_config.h"
12153 ac_config_commands="$ac_config_commands zzip/_msvc.h"
12155 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12156 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12157 # Check whether --enable-maintainer-mode was given.
12158 if test "${enable_maintainer_mode+set}" = set; then
12159 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12161 USE_MAINTAINER_MODE=no
12164 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12165 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12166 if test $USE_MAINTAINER_MODE = yes; then
12167 MAINTAINER_MODE_TRUE=
12168 MAINTAINER_MODE_FALSE='#'
12170 MAINTAINER_MODE_TRUE='#'
12171 MAINTAINER_MODE_FALSE=
12174 MAINT=$MAINTAINER_MODE_TRUE
12179 # we need the expanded forms...
12180 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12181 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12183 { $as_echo "$as_me:$LINENO: checking our pkgconfig libname" >&5
12184 $as_echo_n "checking our pkgconfig libname... " >&6; }
12185 test ".$ax_create_pkgconfig_libname" != "." || \
12186 ax_create_pkgconfig_libname="`basename zzip/zziplib.pc .pc`"
12187 test ".$ax_create_pkgconfig_libname" != "." || \
12188 ax_create_pkgconfig_libname="$PACKAGE"
12189 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
12190 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
12191 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_libname" >&5
12192 $as_echo "$ax_create_pkgconfig_libname" >&6; }
12194 { $as_echo "$as_me:$LINENO: checking our pkgconfig version" >&5
12195 $as_echo_n "checking our pkgconfig version... " >&6; }
12196 test ".$ax_create_pkgconfig_version" != "." || \
12197 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
12198 test ".$ax_create_pkgconfig_version" != "." || \
12199 ax_create_pkgconfig_version="$VERSION"
12200 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
12201 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
12202 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_version" >&5
12203 $as_echo "$ax_create_pkgconfig_version" >&6; }
12205 { $as_echo "$as_me:$LINENO: checking our pkgconfig_libdir" >&5
12206 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
12207 test ".$pkgconfig_libdir" = "." && \
12208 pkgconfig_libdir='${libdir}/pkgconfig'
12209 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
12210 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
12211 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
12212 { $as_echo "$as_me:$LINENO: result: $pkgconfig_libdir" >&5
12213 $as_echo "$pkgconfig_libdir" >&6; }
12214 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
12215 { $as_echo "$as_me:$LINENO: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
12216 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
12219 { $as_echo "$as_me:$LINENO: checking our pkgconfig_libfile" >&5
12220 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
12221 test ".$pkgconfig_libfile" != "." || \
12222 pkgconfig_libfile="`basename zzip/zziplib.pc`"
12223 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
12224 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
12225 { $as_echo "$as_me:$LINENO: result: $pkgconfig_libfile" >&5
12226 $as_echo "$pkgconfig_libfile" >&6; }
12227 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
12228 { $as_echo "$as_me:$LINENO: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
12229 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
12232 { $as_echo "$as_me:$LINENO: checking our package / suffix" >&5
12233 $as_echo_n "checking our package / suffix... " >&6; }
12234 ax_create_pkgconfig_suffix="$program_suffix"
12235 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
12236 { $as_echo "$as_me:$LINENO: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
12237 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
12239 { $as_echo "$as_me:$LINENO: checking our pkgconfig description" >&5
12240 $as_echo_n "checking our pkgconfig description... " >&6; }
12241 ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
12242 test ".$ax_create_pkgconfig_description" != "." || \
12243 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
12244 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
12245 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
12246 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_description" >&5
12247 $as_echo "$ax_create_pkgconfig_description" >&6; }
12249 { $as_echo "$as_me:$LINENO: checking our pkgconfig requires" >&5
12250 $as_echo_n "checking our pkgconfig requires... " >&6; }
12251 ax_create_pkgconfig_requires="zzip-zlib-config"
12252 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
12253 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
12254 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_requires" >&5
12255 $as_echo "$ax_create_pkgconfig_requires" >&6; }
12257 { $as_echo "$as_me:$LINENO: checking our pkgconfig ext libs" >&5
12258 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
12259 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
12260 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
12261 ax_create_pkgconfig_libs="-lzzip"
12262 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
12263 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
12264 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_libs" >&5
12265 $as_echo "$ax_create_pkgconfig_libs" >&6; }
12267 { $as_echo "$as_me:$LINENO: checking our pkgconfig cppflags" >&5
12268 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
12269 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
12270 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
12271 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
12272 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_cppflags" >&5
12273 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
12275 { $as_echo "$as_me:$LINENO: checking our pkgconfig ldflags" >&5
12276 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
12277 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
12278 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
12279 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
12280 { $as_echo "$as_me:$LINENO: result: $ax_create_pkgconfig_ldflags" >&5
12281 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
12283 test ".$ax_create_pkgconfig_generate" != "." || \
12284 ax_create_pkgconfig_generate="zzip/zziplib.pc"
12285 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
12286 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
12287 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
12288 { $as_echo "$as_me:$LINENO: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
12289 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
12291 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
12292 ax_create_pkgconfig_src_libdir=`pwd`
12293 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
12294 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12295 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
12296 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
12297 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
12298 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
12299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12303 /^X\(\/\/\)[^/].*/{
12316 test ! -d $ax_create_pkgconfig_src_libdir/src || \
12317 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
12319 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
12320 { $as_echo "$as_me:$LINENO: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
12321 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
12324 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
12325 ax_create_pkgconfig_src_headers=`pwd`
12326 v="$ac_top_srcdir" ;
12327 test ".$v" != "." || v="$ax_spec_dir"
12328 test ".$v" != "." || v="$srcdir"
12329 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
12330 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
12331 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12332 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
12333 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
12334 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
12335 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
12336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12340 /^X\(\/\/\)[^/].*/{
12353 test ! -d $ax_create_pkgconfig_src_headers/include || \
12354 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
12355 { $as_echo "$as_me:$LINENO: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
12356 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
12360 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
12362 # -----------------------------------------------------------------------
12366 if test -z "$ac_cv_pax_tar_tool"; then
12367 # Extract the first word of "pax", so it can be a program name with args.
12368 set dummy pax; ac_word=$2
12369 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12370 $as_echo_n "checking for $ac_word... " >&6; }
12371 if test "${ac_cv_path_PAX+set}" = set; then
12372 $as_echo_n "(cached) " >&6
12376 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12380 for as_dir in $PATH
12383 test -z "$as_dir" && as_dir=.
12384 for ac_exec_ext in '' $ac_executable_extensions; do
12385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12386 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
12387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12394 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
12398 PAX=$ac_cv_path_PAX
12399 if test -n "$PAX"; then
12400 { $as_echo "$as_me:$LINENO: result: $PAX" >&5
12401 $as_echo "$PAX" >&6; }
12403 { $as_echo "$as_me:$LINENO: result: no" >&5
12404 $as_echo "no" >&6; }
12408 if test "$ac_cv_path_PAX" != ":"; then
12409 ac_cv_pax_tar_tool="pax"
12411 # Extract the first word of "gnutar", so it can be a program name with args.
12412 set dummy gnutar; ac_word=$2
12413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if test "${ac_cv_path_GNUTAR+set}" = set; then
12416 $as_echo_n "(cached) " >&6
12420 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
12431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12438 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
12442 GNUTAR=$ac_cv_path_GNUTAR
12443 if test -n "$GNUTAR"; then
12444 { $as_echo "$as_me:$LINENO: result: $GNUTAR" >&5
12445 $as_echo "$GNUTAR" >&6; }
12447 { $as_echo "$as_me:$LINENO: result: no" >&5
12448 $as_echo "no" >&6; }
12452 if test "$ac_cv_path_GNUTAR" != ":"; then
12453 ac_cv_pax_tar_tool="gnutar"
12455 # Extract the first word of "gtar", so it can be a program name with args.
12456 set dummy gtar; ac_word=$2
12457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12458 $as_echo_n "checking for $ac_word... " >&6; }
12459 if test "${ac_cv_path_GTAR+set}" = set; then
12460 $as_echo_n "(cached) " >&6
12464 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
12467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12468 for as_dir in $PATH
12471 test -z "$as_dir" && as_dir=.
12472 for ac_exec_ext in '' $ac_executable_extensions; do
12473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12474 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
12475 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12482 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
12486 GTAR=$ac_cv_path_GTAR
12487 if test -n "$GTAR"; then
12488 { $as_echo "$as_me:$LINENO: result: $GTAR" >&5
12489 $as_echo "$GTAR" >&6; }
12491 { $as_echo "$as_me:$LINENO: result: no" >&5
12492 $as_echo "no" >&6; }
12496 if test "$ac_cv_path_GTAR" != ":"; then
12497 ac_cv_pax_tar_tool="gtar"
12499 # Extract the first word of "tar", so it can be a program name with args.
12500 set dummy tar; ac_word=$2
12501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12502 $as_echo_n "checking for $ac_word... " >&6; }
12503 if test "${ac_cv_path_TAR+set}" = set; then
12504 $as_echo_n "(cached) " >&6
12508 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
12511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12512 for as_dir in $PATH
12515 test -z "$as_dir" && as_dir=.
12516 for ac_exec_ext in '' $ac_executable_extensions; do
12517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12518 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
12519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12526 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
12530 TAR=$ac_cv_path_TAR
12531 if test -n "$TAR"; then
12532 { $as_echo "$as_me:$LINENO: result: $TAR" >&5
12533 $as_echo "$TAR" >&6; }
12535 { $as_echo "$as_me:$LINENO: result: no" >&5
12536 $as_echo "no" >&6; }
12540 if test "$ac_cv_path_TAR" != ":"; then
12541 ac_cv_pax_tar_tool="tar"
12544 { $as_echo "$as_me:$LINENO: checking for portable tar tool" >&5
12545 $as_echo_n "checking for portable tar tool... " >&6; }
12546 { $as_echo "$as_me:$LINENO: result: $ac_cv_pax_tar_tool" >&5
12547 $as_echo "$ac_cv_pax_tar_tool" >&6; }
12550 { $as_echo "$as_me:$LINENO: checking for invokation create portable tar archives" >&5
12551 $as_echo_n "checking for invokation create portable tar archives... " >&6; }
12552 if test "$ac_cv_pax_tar_tool" = "gnutar"; then
12553 ax_pax_tar_create="'$ac_cv_path_GNUTAR' cf"
12554 elif test "$ac_cv_pax_tar_tool" = "gtar"; then
12555 ax_pax_tar_create="'$ac_cv_path_GTAR' cf"
12556 elif test "$ac_cv_pax_tar_tool" = "pax"; then
12557 ax_pax_tar_create="'$ac_cv_path_PAX' -w -f"
12558 if "$ac_cv_path_PAX" --help 2>&1 | grep "pax.*-[a-zA-Z]*O" ; then
12559 ax_pax_tar_extract="'$ac_cv_path_PAX' -w -O -f"
12561 elif test "$ac_cv_pax_tar_tool" = "tar"; then
12562 ax_pax_tar_create="'$ac_cv_path_TAR' cf"
12564 ax_pax_tar_create=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
12566 { $as_echo "$as_me:$LINENO: result: $ax_pax_tar_create" >&5
12567 $as_echo "$ax_pax_tar_create" >&6; }
12569 PAX_TAR_CREATE="$ax_pax_tar_create"
12575 if test -z "$ac_cv_pax_tar_tool"; then
12576 # Extract the first word of "pax", so it can be a program name with args.
12577 set dummy pax; ac_word=$2
12578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12579 $as_echo_n "checking for $ac_word... " >&6; }
12580 if test "${ac_cv_path_PAX+set}" = set; then
12581 $as_echo_n "(cached) " >&6
12585 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
12588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12589 for as_dir in $PATH
12592 test -z "$as_dir" && as_dir=.
12593 for ac_exec_ext in '' $ac_executable_extensions; do
12594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12595 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
12596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12603 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
12607 PAX=$ac_cv_path_PAX
12608 if test -n "$PAX"; then
12609 { $as_echo "$as_me:$LINENO: result: $PAX" >&5
12610 $as_echo "$PAX" >&6; }
12612 { $as_echo "$as_me:$LINENO: result: no" >&5
12613 $as_echo "no" >&6; }
12617 if test "$ac_cv_path_PAX" != ":"; then
12618 ac_cv_pax_tar_tool="pax"
12620 # Extract the first word of "gnutar", so it can be a program name with args.
12621 set dummy gnutar; ac_word=$2
12622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12623 $as_echo_n "checking for $ac_word... " >&6; }
12624 if test "${ac_cv_path_GNUTAR+set}" = set; then
12625 $as_echo_n "(cached) " >&6
12629 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
12632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12633 for as_dir in $PATH
12636 test -z "$as_dir" && as_dir=.
12637 for ac_exec_ext in '' $ac_executable_extensions; do
12638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12639 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
12640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12647 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
12651 GNUTAR=$ac_cv_path_GNUTAR
12652 if test -n "$GNUTAR"; then
12653 { $as_echo "$as_me:$LINENO: result: $GNUTAR" >&5
12654 $as_echo "$GNUTAR" >&6; }
12656 { $as_echo "$as_me:$LINENO: result: no" >&5
12657 $as_echo "no" >&6; }
12661 if test "$ac_cv_path_GNUTAR" != ":"; then
12662 ac_cv_pax_tar_tool="gnutar"
12664 # Extract the first word of "gtar", so it can be a program name with args.
12665 set dummy gtar; ac_word=$2
12666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if test "${ac_cv_path_GTAR+set}" = set; then
12669 $as_echo_n "(cached) " >&6
12673 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
12676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12677 for as_dir in $PATH
12680 test -z "$as_dir" && as_dir=.
12681 for ac_exec_ext in '' $ac_executable_extensions; do
12682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12683 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
12684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12691 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
12695 GTAR=$ac_cv_path_GTAR
12696 if test -n "$GTAR"; then
12697 { $as_echo "$as_me:$LINENO: result: $GTAR" >&5
12698 $as_echo "$GTAR" >&6; }
12700 { $as_echo "$as_me:$LINENO: result: no" >&5
12701 $as_echo "no" >&6; }
12705 if test "$ac_cv_path_GTAR" != ":"; then
12706 ac_cv_pax_tar_tool="gtar"
12708 # Extract the first word of "tar", so it can be a program name with args.
12709 set dummy tar; ac_word=$2
12710 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if test "${ac_cv_path_TAR+set}" = set; then
12713 $as_echo_n "(cached) " >&6
12717 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
12720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721 for as_dir in $PATH
12724 test -z "$as_dir" && as_dir=.
12725 for ac_exec_ext in '' $ac_executable_extensions; do
12726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12727 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
12728 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12735 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
12739 TAR=$ac_cv_path_TAR
12740 if test -n "$TAR"; then
12741 { $as_echo "$as_me:$LINENO: result: $TAR" >&5
12742 $as_echo "$TAR" >&6; }
12744 { $as_echo "$as_me:$LINENO: result: no" >&5
12745 $as_echo "no" >&6; }
12749 if test "$ac_cv_path_TAR" != ":"; then
12750 ac_cv_pax_tar_tool="tar"
12753 { $as_echo "$as_me:$LINENO: checking for portable tar tool" >&5
12754 $as_echo_n "checking for portable tar tool... " >&6; }
12755 { $as_echo "$as_me:$LINENO: result: $ac_cv_pax_tar_tool" >&5
12756 $as_echo "$ac_cv_pax_tar_tool" >&6; }
12759 { $as_echo "$as_me:$LINENO: checking for invokation extract portable tar archives" >&5
12760 $as_echo_n "checking for invokation extract portable tar archives... " >&6; }
12761 if test "$ac_cv_pax_tar_tool" = "gnutar"; then
12762 ax_pax_tar_extract="'$ac_cv_path_GNUTAR' xf"
12763 elif test "$ac_cv_pax_tar_tool" = "gtar"; then
12764 ax_pax_tar_extract="'$ac_cv_path_GTAR' xf"
12765 elif test "$ac_cv_pax_tar_tool" = "pax"; then
12766 ax_pax_tar_extract="'$ac_cv_path_PAX' -r -f"
12767 if "$ac_cv_path_PAX" --help 2>&1 | grep "pax.*-[a-zA-Z]*O" ; then
12768 ax_pax_tar_extract="'$ac_cv_path_PAX' -r -O -f"
12770 elif test "$ac_cv_pax_tar_tool" = "tar"; then
12771 ax_pax_tar_extract="'$ac_cv_path_TAR' xf"
12773 ax_pax_tar_extract=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
12775 { $as_echo "$as_me:$LINENO: result: $ax_pax_tar_extract" >&5
12776 $as_echo "$ax_pax_tar_extract" >&6; }
12778 PAX_TAR_EXTRACT="$ax_pax_tar_extract"
12782 for ac_prog in perl5 perl
12784 # Extract the first word of "$ac_prog", so it can be a program name with args.
12785 set dummy $ac_prog; ac_word=$2
12786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12787 $as_echo_n "checking for $ac_word... " >&6; }
12788 if test "${ac_cv_path_PERL+set}" = set; then
12789 $as_echo_n "(cached) " >&6
12793 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12797 for as_dir in $PATH
12800 test -z "$as_dir" && as_dir=.
12801 for ac_exec_ext in '' $ac_executable_extensions; do
12802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12803 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12804 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12814 PERL=$ac_cv_path_PERL
12815 if test -n "$PERL"; then
12816 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
12817 $as_echo "$PERL" >&6; }
12819 { $as_echo "$as_me:$LINENO: result: no" >&5
12820 $as_echo "no" >&6; }
12824 test -n "$PERL" && break
12826 test -n "$PERL" || PERL="echo no perl found for"
12828 for ac_prog in python2.2 python2.3 python
12830 # Extract the first word of "$ac_prog", so it can be a program name with args.
12831 set dummy $ac_prog; ac_word=$2
12832 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if test "${ac_cv_path_PYTHON+set}" = set; then
12835 $as_echo_n "(cached) " >&6
12839 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 PYTHON=$ac_cv_path_PYTHON
12861 if test -n "$PYTHON"; then
12862 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
12863 $as_echo "$PYTHON" >&6; }
12865 { $as_echo "$as_me:$LINENO: result: no" >&5
12866 $as_echo "no" >&6; }
12870 test -n "$PYTHON" && break
12872 test -n "$PYTHON" || PYTHON="echo no python found for"
12874 for ac_prog in zip pkzip
12876 # Extract the first word of "$ac_prog", so it can be a program name with args.
12877 set dummy $ac_prog; ac_word=$2
12878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12879 $as_echo_n "checking for $ac_word... " >&6; }
12880 if test "${ac_cv_path_MKZIP+set}" = set; then
12881 $as_echo_n "(cached) " >&6
12885 ac_cv_path_MKZIP="$MKZIP" # Let the user override the test with a path.
12888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889 for as_dir in $PATH
12892 test -z "$as_dir" && as_dir=.
12893 for ac_exec_ext in '' $ac_executable_extensions; do
12894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12895 ac_cv_path_MKZIP="$as_dir/$ac_word$ac_exec_ext"
12896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12906 MKZIP=$ac_cv_path_MKZIP
12907 if test -n "$MKZIP"; then
12908 { $as_echo "$as_me:$LINENO: result: $MKZIP" >&5
12909 $as_echo "$MKZIP" >&6; }
12911 { $as_echo "$as_me:$LINENO: result: no" >&5
12912 $as_echo "no" >&6; }
12916 test -n "$MKZIP" && break
12918 test -n "$MKZIP" || MKZIP=":"
12920 for ac_prog in xmlto
12922 # Extract the first word of "$ac_prog", so it can be a program name with args.
12923 set dummy $ac_prog; ac_word=$2
12924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12925 $as_echo_n "checking for $ac_word... " >&6; }
12926 if test "${ac_cv_path_XMLTO+set}" = set; then
12927 $as_echo_n "(cached) " >&6
12931 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
12942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12952 XMLTO=$ac_cv_path_XMLTO
12953 if test -n "$XMLTO"; then
12954 { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
12955 $as_echo "$XMLTO" >&6; }
12957 { $as_echo "$as_me:$LINENO: result: no" >&5
12958 $as_echo "no" >&6; }
12962 test -n "$XMLTO" && break
12964 test -n "$XMLTO" || XMLTO=":"
12967 { $as_echo "$as_me:$LINENO: checking for inline" >&5
12968 $as_echo_n "checking for inline... " >&6; }
12969 if test "${ac_cv_c_inline+set}" = set; then
12970 $as_echo_n "(cached) " >&6
12973 for ac_kw in inline __inline__ __inline; do
12974 cat >conftest.$ac_ext <<_ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 #ifndef __cplusplus
12982 static $ac_kw foo_t static_foo () {return 0; }
12983 $ac_kw foo_t foo () {return 0; }
12987 rm -f conftest.$ac_objext
12988 if { (ac_try="$ac_compile"
12989 case "(($ac_try" in
12990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12991 *) ac_try_echo=$ac_try;;
12993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12994 $as_echo "$ac_try_echo") >&5
12995 (eval "$ac_compile") 2>conftest.er1
12997 grep -v '^ *+' conftest.er1 >conftest.err
12999 cat conftest.err >&5
13000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } && {
13002 test -z "$ac_c_werror_flag" ||
13003 test ! -s conftest.err
13004 } && test -s conftest.$ac_objext; then
13005 ac_cv_c_inline=$ac_kw
13007 $as_echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13014 test "$ac_cv_c_inline" != no && break
13018 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13019 $as_echo "$ac_cv_c_inline" >&6; }
13022 case $ac_cv_c_inline in
13025 case $ac_cv_c_inline in
13027 *) ac_val=$ac_cv_c_inline;;
13029 cat >>confdefs.h <<_ACEOF
13030 #ifndef __cplusplus
13031 #define inline $ac_val
13037 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13038 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13039 if test "${ac_cv_c_const+set}" = set; then
13040 $as_echo_n "(cached) " >&6
13042 cat >conftest.$ac_ext <<_ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13052 /* FIXME: Include the comments suggested by Paul. */
13053 #ifndef __cplusplus
13054 /* Ultrix mips cc rejects this. */
13055 typedef int charset[2];
13057 /* SunOS 4.1.1 cc rejects this. */
13058 char const *const *pcpcc;
13060 /* NEC SVR4.0.2 mips cc rejects this. */
13061 struct point {int x, y;};
13062 static struct point const zero = {0,0};
13063 /* AIX XL C 1.02.0.0 rejects this.
13064 It does not let you subtract one const X* pointer from another in
13065 an arm of an if-expression whose if-part is not a constant
13067 const char *g = "string";
13068 pcpcc = &g + (g ? g-g : 0);
13069 /* HPUX 7.0 cc rejects these. */
13071 ppc = (char**) pcpcc;
13072 pcpcc = (char const *const *) ppc;
13073 { /* SCO 3.2v4 cc rejects this. */
13075 char const *s = 0 ? (char *) 0 : (char const *) 0;
13080 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13081 int x[] = {25, 17};
13082 const int *foo = &x[0];
13085 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13086 typedef const int *iptr;
13090 { /* AIX XL C 1.02.0.0 rejects this saying
13091 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13092 struct s { int j; const int *ap[3]; };
13093 struct s *b; b->j = 5;
13095 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13096 const int foo = 10;
13097 if (!foo) return 0;
13099 return !cs[0] && !zero.x;
13106 rm -f conftest.$ac_objext
13107 if { (ac_try="$ac_compile"
13108 case "(($ac_try" in
13109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13110 *) ac_try_echo=$ac_try;;
13112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13113 $as_echo "$ac_try_echo") >&5
13114 (eval "$ac_compile") 2>conftest.er1
13116 grep -v '^ *+' conftest.er1 >conftest.err
13118 cat conftest.err >&5
13119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } && {
13121 test -z "$ac_c_werror_flag" ||
13122 test ! -s conftest.err
13123 } && test -s conftest.$ac_objext; then
13126 $as_echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.$ac_ext >&5
13132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13134 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13135 $as_echo "$ac_cv_c_const" >&6; }
13136 if test $ac_cv_c_const = no; then
13138 cat >>confdefs.h <<\_ACEOF
13144 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5
13145 $as_echo_n "checking for C restrict keyword... " >&6; }
13146 if test "${acx_cv_c_restrict+set}" = set; then
13147 $as_echo_n "(cached) " >&6
13149 acx_cv_c_restrict=unsupported
13152 ac_cpp='$CPP $CPPFLAGS'
13153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13157 # Try the official restrict keyword, then gcc's __restrict__, then
13158 # SGI's __restrict. __restrict has slightly different semantics than
13159 # restrict (it's a bit stronger, in that __restrict pointers can't
13160 # overlap even with non __restrict pointers), but I think it should be
13161 # okay under the circumstances where restrict is normally used.
13162 for acx_kw in restrict __restrict__ __restrict; do
13163 cat >conftest.$ac_ext <<_ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13178 rm -f conftest.$ac_objext
13179 if { (ac_try="$ac_compile"
13180 case "(($ac_try" in
13181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 *) ac_try_echo=$ac_try;;
13184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13185 $as_echo "$ac_try_echo") >&5
13186 (eval "$ac_compile") 2>conftest.er1
13188 grep -v '^ *+' conftest.er1 >conftest.err
13190 cat conftest.err >&5
13191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } && {
13193 test -z "$ac_c_werror_flag" ||
13194 test ! -s conftest.err
13195 } && test -s conftest.$ac_objext; then
13196 acx_cv_c_restrict=$acx_kw; break
13198 $as_echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13207 ac_cpp='$CPP $CPPFLAGS'
13208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13214 { $as_echo "$as_me:$LINENO: result: $acx_cv_c_restrict" >&5
13215 $as_echo "$acx_cv_c_restrict" >&6; }
13216 if test "$acx_cv_c_restrict" != "restrict"; then
13217 acx_kw="$acx_cv_c_restrict"
13218 if test "$acx_kw" = unsupported; then acx_kw=""; fi
13220 cat >>confdefs.h <<_ACEOF
13221 #define restrict $acx_kw
13226 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13227 $as_echo_n "checking for ANSI C header files... " >&6; }
13228 if test "${ac_cv_header_stdc+set}" = set; then
13229 $as_echo_n "(cached) " >&6
13231 cat >conftest.$ac_ext <<_ACEOF
13234 cat confdefs.h >>conftest.$ac_ext
13235 cat >>conftest.$ac_ext <<_ACEOF
13236 /* end confdefs.h. */
13237 #include <stdlib.h>
13238 #include <stdarg.h>
13239 #include <string.h>
13250 rm -f conftest.$ac_objext
13251 if { (ac_try="$ac_compile"
13252 case "(($ac_try" in
13253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254 *) ac_try_echo=$ac_try;;
13256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13257 $as_echo "$ac_try_echo") >&5
13258 (eval "$ac_compile") 2>conftest.er1
13260 grep -v '^ *+' conftest.er1 >conftest.err
13262 cat conftest.err >&5
13263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } && {
13265 test -z "$ac_c_werror_flag" ||
13266 test ! -s conftest.err
13267 } && test -s conftest.$ac_objext; then
13268 ac_cv_header_stdc=yes
13270 $as_echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13273 ac_cv_header_stdc=no
13276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13278 if test $ac_cv_header_stdc = yes; then
13279 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13280 cat >conftest.$ac_ext <<_ACEOF
13283 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13286 #include <string.h>
13289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13290 $EGREP "memchr" >/dev/null 2>&1; then
13293 ac_cv_header_stdc=no
13299 if test $ac_cv_header_stdc = yes; then
13300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13301 cat >conftest.$ac_ext <<_ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 #include <stdlib.h>
13310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13311 $EGREP "free" >/dev/null 2>&1; then
13314 ac_cv_header_stdc=no
13320 if test $ac_cv_header_stdc = yes; then
13321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13322 if test "$cross_compiling" = yes; then
13325 cat >conftest.$ac_ext <<_ACEOF
13328 cat confdefs.h >>conftest.$ac_ext
13329 cat >>conftest.$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13332 #include <stdlib.h>
13333 #if ((' ' & 0x0FF) == 0x020)
13334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13337 # define ISLOWER(c) \
13338 (('a' <= (c) && (c) <= 'i') \
13339 || ('j' <= (c) && (c) <= 'r') \
13340 || ('s' <= (c) && (c) <= 'z'))
13341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13349 for (i = 0; i < 256; i++)
13350 if (XOR (islower (i), ISLOWER (i))
13351 || toupper (i) != TOUPPER (i))
13356 rm -f conftest$ac_exeext
13357 if { (ac_try="$ac_link"
13358 case "(($ac_try" in
13359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13360 *) ac_try_echo=$ac_try;;
13362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13363 $as_echo "$ac_try_echo") >&5
13364 (eval "$ac_link") 2>&5
13366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13368 { (case "(($ac_try" in
13369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13370 *) ac_try_echo=$ac_try;;
13372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13373 $as_echo "$ac_try_echo") >&5
13374 (eval "$ac_try") 2>&5
13376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13380 $as_echo "$as_me: program exited with status $ac_status" >&5
13381 $as_echo "$as_me: failed program was:" >&5
13382 sed 's/^/| /' conftest.$ac_ext >&5
13384 ( exit $ac_status )
13385 ac_cv_header_stdc=no
13387 rm -rf conftest.dSYM
13388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13394 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13395 $as_echo "$ac_cv_header_stdc" >&6; }
13396 if test $ac_cv_header_stdc = yes; then
13398 cat >>confdefs.h <<\_ACEOF
13399 #define STDC_HEADERS 1
13409 ac_header_dirent=no
13410 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13411 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13412 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13413 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13415 $as_echo_n "(cached) " >&6
13417 cat >conftest.$ac_ext <<_ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #include <sys/types.h>
13435 rm -f conftest.$ac_objext
13436 if { (ac_try="$ac_compile"
13437 case "(($ac_try" in
13438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13439 *) ac_try_echo=$ac_try;;
13441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13442 $as_echo "$ac_try_echo") >&5
13443 (eval "$ac_compile") 2>conftest.er1
13445 grep -v '^ *+' conftest.er1 >conftest.err
13447 cat conftest.err >&5
13448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } && {
13450 test -z "$ac_c_werror_flag" ||
13451 test ! -s conftest.err
13452 } && test -s conftest.$ac_objext; then
13453 eval "$as_ac_Header=yes"
13455 $as_echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13458 eval "$as_ac_Header=no"
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13463 ac_res=`eval 'as_val=${'$as_ac_Header'}
13464 $as_echo "$as_val"'`
13465 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13466 $as_echo "$ac_res" >&6; }
13467 as_val=`eval 'as_val=${'$as_ac_Header'}
13468 $as_echo "$as_val"'`
13469 if test "x$as_val" = x""yes; then
13470 cat >>confdefs.h <<_ACEOF
13471 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13474 ac_header_dirent=$ac_hdr; break
13478 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13479 if test $ac_header_dirent = dirent.h; then
13480 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
13481 $as_echo_n "checking for library containing opendir... " >&6; }
13482 if test "${ac_cv_search_opendir+set}" = set; then
13483 $as_echo_n "(cached) " >&6
13485 ac_func_search_save_LIBS=$LIBS
13486 cat >conftest.$ac_ext <<_ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13508 for ac_lib in '' dir; do
13509 if test -z "$ac_lib"; then
13510 ac_res="none required"
13513 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13515 rm -f conftest.$ac_objext conftest$ac_exeext
13516 if { (ac_try="$ac_link"
13517 case "(($ac_try" in
13518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13519 *) ac_try_echo=$ac_try;;
13521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13522 $as_echo "$ac_try_echo") >&5
13523 (eval "$ac_link") 2>conftest.er1
13525 grep -v '^ *+' conftest.er1 >conftest.err
13527 cat conftest.err >&5
13528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } && {
13530 test -z "$ac_c_werror_flag" ||
13531 test ! -s conftest.err
13532 } && test -s conftest$ac_exeext && {
13533 test "$cross_compiling" = yes ||
13534 $as_test_x conftest$ac_exeext
13536 ac_cv_search_opendir=$ac_res
13538 $as_echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.$ac_ext >&5
13544 rm -rf conftest.dSYM
13545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13547 if test "${ac_cv_search_opendir+set}" = set; then
13551 if test "${ac_cv_search_opendir+set}" = set; then
13554 ac_cv_search_opendir=no
13556 rm conftest.$ac_ext
13557 LIBS=$ac_func_search_save_LIBS
13559 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13560 $as_echo "$ac_cv_search_opendir" >&6; }
13561 ac_res=$ac_cv_search_opendir
13562 if test "$ac_res" != no; then
13563 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13568 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
13569 $as_echo_n "checking for library containing opendir... " >&6; }
13570 if test "${ac_cv_search_opendir+set}" = set; then
13571 $as_echo_n "(cached) " >&6
13573 ac_func_search_save_LIBS=$LIBS
13574 cat >conftest.$ac_ext <<_ACEOF
13577 cat confdefs.h >>conftest.$ac_ext
13578 cat >>conftest.$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13596 for ac_lib in '' x; do
13597 if test -z "$ac_lib"; then
13598 ac_res="none required"
13601 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (ac_try="$ac_link"
13605 case "(($ac_try" in
13606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13607 *) ac_try_echo=$ac_try;;
13609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13610 $as_echo "$ac_try_echo") >&5
13611 (eval "$ac_link") 2>conftest.er1
13613 grep -v '^ *+' conftest.er1 >conftest.err
13615 cat conftest.err >&5
13616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } && {
13618 test -z "$ac_c_werror_flag" ||
13619 test ! -s conftest.err
13620 } && test -s conftest$ac_exeext && {
13621 test "$cross_compiling" = yes ||
13622 $as_test_x conftest$ac_exeext
13624 ac_cv_search_opendir=$ac_res
13626 $as_echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.$ac_ext >&5
13632 rm -rf conftest.dSYM
13633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13635 if test "${ac_cv_search_opendir+set}" = set; then
13639 if test "${ac_cv_search_opendir+set}" = set; then
13642 ac_cv_search_opendir=no
13644 rm conftest.$ac_ext
13645 LIBS=$ac_func_search_save_LIBS
13647 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13648 $as_echo "$ac_cv_search_opendir" >&6; }
13649 ac_res=$ac_cv_search_opendir
13650 if test "$ac_res" != no; then
13651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13663 for ac_header in stdint.h unistd.h windows.h winnt.h winbase.h sys/int_types.h
13665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13667 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13668 $as_echo_n "checking for $ac_header... " >&6; }
13669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13670 $as_echo_n "(cached) " >&6
13672 ac_res=`eval 'as_val=${'$as_ac_Header'}
13673 $as_echo "$as_val"'`
13674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13675 $as_echo "$ac_res" >&6; }
13677 # Is the header compilable?
13678 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13679 $as_echo_n "checking $ac_header usability... " >&6; }
13680 cat >conftest.$ac_ext <<_ACEOF
13683 cat confdefs.h >>conftest.$ac_ext
13684 cat >>conftest.$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13686 $ac_includes_default
13687 #include <$ac_header>
13689 rm -f conftest.$ac_objext
13690 if { (ac_try="$ac_compile"
13691 case "(($ac_try" in
13692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13693 *) ac_try_echo=$ac_try;;
13695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13696 $as_echo "$ac_try_echo") >&5
13697 (eval "$ac_compile") 2>conftest.er1
13699 grep -v '^ *+' conftest.er1 >conftest.err
13701 cat conftest.err >&5
13702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } && {
13704 test -z "$ac_c_werror_flag" ||
13705 test ! -s conftest.err
13706 } && test -s conftest.$ac_objext; then
13707 ac_header_compiler=yes
13709 $as_echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.$ac_ext >&5
13712 ac_header_compiler=no
13715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13716 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13717 $as_echo "$ac_header_compiler" >&6; }
13719 # Is the header present?
13720 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13721 $as_echo_n "checking $ac_header presence... " >&6; }
13722 cat >conftest.$ac_ext <<_ACEOF
13725 cat confdefs.h >>conftest.$ac_ext
13726 cat >>conftest.$ac_ext <<_ACEOF
13727 /* end confdefs.h. */
13728 #include <$ac_header>
13730 if { (ac_try="$ac_cpp conftest.$ac_ext"
13731 case "(($ac_try" in
13732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13733 *) ac_try_echo=$ac_try;;
13735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13736 $as_echo "$ac_try_echo") >&5
13737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13739 grep -v '^ *+' conftest.er1 >conftest.err
13741 cat conftest.err >&5
13742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } >/dev/null && {
13744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13745 test ! -s conftest.err
13747 ac_header_preproc=yes
13749 $as_echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.$ac_ext >&5
13752 ac_header_preproc=no
13755 rm -f conftest.err conftest.$ac_ext
13756 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13757 $as_echo "$ac_header_preproc" >&6; }
13759 # So? What about this header?
13760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13763 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13765 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13766 ac_header_preproc=yes
13769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13770 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13772 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13773 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13774 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13775 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13776 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13778 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13780 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13784 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13785 $as_echo_n "checking for $ac_header... " >&6; }
13786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13787 $as_echo_n "(cached) " >&6
13789 eval "$as_ac_Header=\$ac_header_preproc"
13791 ac_res=`eval 'as_val=${'$as_ac_Header'}
13792 $as_echo "$as_val"'`
13793 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13794 $as_echo "$ac_res" >&6; }
13797 as_val=`eval 'as_val=${'$as_ac_Header'}
13798 $as_echo "$as_val"'`
13799 if test "x$as_val" = x""yes; then
13800 cat >>confdefs.h <<_ACEOF
13801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13812 for ac_header in sys/types.h sys/mman.h sys/stat.h sys/param.h
13814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13816 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13817 $as_echo_n "checking for $ac_header... " >&6; }
13818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13819 $as_echo_n "(cached) " >&6
13821 ac_res=`eval 'as_val=${'$as_ac_Header'}
13822 $as_echo "$as_val"'`
13823 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13824 $as_echo "$ac_res" >&6; }
13826 # Is the header compilable?
13827 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13828 $as_echo_n "checking $ac_header usability... " >&6; }
13829 cat >conftest.$ac_ext <<_ACEOF
13832 cat confdefs.h >>conftest.$ac_ext
13833 cat >>conftest.$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13835 $ac_includes_default
13836 #include <$ac_header>
13838 rm -f conftest.$ac_objext
13839 if { (ac_try="$ac_compile"
13840 case "(($ac_try" in
13841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13842 *) ac_try_echo=$ac_try;;
13844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13845 $as_echo "$ac_try_echo") >&5
13846 (eval "$ac_compile") 2>conftest.er1
13848 grep -v '^ *+' conftest.er1 >conftest.err
13850 cat conftest.err >&5
13851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } && {
13853 test -z "$ac_c_werror_flag" ||
13854 test ! -s conftest.err
13855 } && test -s conftest.$ac_objext; then
13856 ac_header_compiler=yes
13858 $as_echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13861 ac_header_compiler=no
13864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13865 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13866 $as_echo "$ac_header_compiler" >&6; }
13868 # Is the header present?
13869 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13870 $as_echo_n "checking $ac_header presence... " >&6; }
13871 cat >conftest.$ac_ext <<_ACEOF
13874 cat confdefs.h >>conftest.$ac_ext
13875 cat >>conftest.$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13877 #include <$ac_header>
13879 if { (ac_try="$ac_cpp conftest.$ac_ext"
13880 case "(($ac_try" in
13881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13882 *) ac_try_echo=$ac_try;;
13884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13885 $as_echo "$ac_try_echo") >&5
13886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13888 grep -v '^ *+' conftest.er1 >conftest.err
13890 cat conftest.err >&5
13891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } >/dev/null && {
13893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13894 test ! -s conftest.err
13896 ac_header_preproc=yes
13898 $as_echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 ac_header_preproc=no
13904 rm -f conftest.err conftest.$ac_ext
13905 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13906 $as_echo "$ac_header_preproc" >&6; }
13908 # So? What about this header?
13909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13912 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13914 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13915 ac_header_preproc=yes
13918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13919 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13921 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13922 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13923 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13924 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13925 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13926 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13927 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13929 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13933 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13934 $as_echo_n "checking for $ac_header... " >&6; }
13935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13936 $as_echo_n "(cached) " >&6
13938 eval "$as_ac_Header=\$ac_header_preproc"
13940 ac_res=`eval 'as_val=${'$as_ac_Header'}
13941 $as_echo "$as_val"'`
13942 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13943 $as_echo "$ac_res" >&6; }
13946 as_val=`eval 'as_val=${'$as_ac_Header'}
13947 $as_echo "$as_val"'`
13948 if test "x$as_val" = x""yes; then
13949 cat >>confdefs.h <<_ACEOF
13950 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13960 for ac_header in io.h direct.h zlib.h byteswap.h
13962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13965 $as_echo_n "checking for $ac_header... " >&6; }
13966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13967 $as_echo_n "(cached) " >&6
13969 ac_res=`eval 'as_val=${'$as_ac_Header'}
13970 $as_echo "$as_val"'`
13971 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13972 $as_echo "$ac_res" >&6; }
13974 # Is the header compilable?
13975 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13976 $as_echo_n "checking $ac_header usability... " >&6; }
13977 cat >conftest.$ac_ext <<_ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 $ac_includes_default
13984 #include <$ac_header>
13986 rm -f conftest.$ac_objext
13987 if { (ac_try="$ac_compile"
13988 case "(($ac_try" in
13989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13990 *) ac_try_echo=$ac_try;;
13992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13993 $as_echo "$ac_try_echo") >&5
13994 (eval "$ac_compile") 2>conftest.er1
13996 grep -v '^ *+' conftest.er1 >conftest.err
13998 cat conftest.err >&5
13999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } && {
14001 test -z "$ac_c_werror_flag" ||
14002 test ! -s conftest.err
14003 } && test -s conftest.$ac_objext; then
14004 ac_header_compiler=yes
14006 $as_echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 ac_header_compiler=no
14012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14013 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14014 $as_echo "$ac_header_compiler" >&6; }
14016 # Is the header present?
14017 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14018 $as_echo_n "checking $ac_header presence... " >&6; }
14019 cat >conftest.$ac_ext <<_ACEOF
14022 cat confdefs.h >>conftest.$ac_ext
14023 cat >>conftest.$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025 #include <$ac_header>
14027 if { (ac_try="$ac_cpp conftest.$ac_ext"
14028 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14033 $as_echo "$ac_try_echo") >&5
14034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14036 grep -v '^ *+' conftest.er1 >conftest.err
14038 cat conftest.err >&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } >/dev/null && {
14041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14042 test ! -s conftest.err
14044 ac_header_preproc=yes
14046 $as_echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.$ac_ext >&5
14049 ac_header_preproc=no
14052 rm -f conftest.err conftest.$ac_ext
14053 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14054 $as_echo "$ac_header_preproc" >&6; }
14056 # So? What about this header?
14057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14060 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14062 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14063 ac_header_preproc=yes
14066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14067 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14069 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14071 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14073 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14074 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14075 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14077 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14082 $as_echo_n "checking for $ac_header... " >&6; }
14083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14084 $as_echo_n "(cached) " >&6
14086 eval "$as_ac_Header=\$ac_header_preproc"
14088 ac_res=`eval 'as_val=${'$as_ac_Header'}
14089 $as_echo "$as_val"'`
14090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14091 $as_echo "$ac_res" >&6; }
14094 as_val=`eval 'as_val=${'$as_ac_Header'}
14095 $as_echo "$as_val"'`
14096 if test "x$as_val" = x""yes; then
14097 cat >>confdefs.h <<_ACEOF
14098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14106 for ac_header in fnmatch.h
14108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14110 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14111 $as_echo_n "checking for $ac_header... " >&6; }
14112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14113 $as_echo_n "(cached) " >&6
14115 ac_res=`eval 'as_val=${'$as_ac_Header'}
14116 $as_echo "$as_val"'`
14117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14118 $as_echo "$ac_res" >&6; }
14120 # Is the header compilable?
14121 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14122 $as_echo_n "checking $ac_header usability... " >&6; }
14123 cat >conftest.$ac_ext <<_ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129 $ac_includes_default
14130 #include <$ac_header>
14132 rm -f conftest.$ac_objext
14133 if { (ac_try="$ac_compile"
14134 case "(($ac_try" in
14135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14136 *) ac_try_echo=$ac_try;;
14138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14139 $as_echo "$ac_try_echo") >&5
14140 (eval "$ac_compile") 2>conftest.er1
14142 grep -v '^ *+' conftest.er1 >conftest.err
14144 cat conftest.err >&5
14145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } && {
14147 test -z "$ac_c_werror_flag" ||
14148 test ! -s conftest.err
14149 } && test -s conftest.$ac_objext; then
14150 ac_header_compiler=yes
14152 $as_echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 ac_header_compiler=no
14158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14160 $as_echo "$ac_header_compiler" >&6; }
14162 # Is the header present?
14163 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14164 $as_echo_n "checking $ac_header presence... " >&6; }
14165 cat >conftest.$ac_ext <<_ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171 #include <$ac_header>
14173 if { (ac_try="$ac_cpp conftest.$ac_ext"
14174 case "(($ac_try" in
14175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14176 *) ac_try_echo=$ac_try;;
14178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14179 $as_echo "$ac_try_echo") >&5
14180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14182 grep -v '^ *+' conftest.er1 >conftest.err
14184 cat conftest.err >&5
14185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } >/dev/null && {
14187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14188 test ! -s conftest.err
14190 ac_header_preproc=yes
14192 $as_echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.$ac_ext >&5
14195 ac_header_preproc=no
14198 rm -f conftest.err conftest.$ac_ext
14199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14200 $as_echo "$ac_header_preproc" >&6; }
14202 # So? What about this header?
14203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14206 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14208 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14209 ac_header_preproc=yes
14212 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14213 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14215 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14217 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14219 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14221 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14223 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14227 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14228 $as_echo_n "checking for $ac_header... " >&6; }
14229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14230 $as_echo_n "(cached) " >&6
14232 eval "$as_ac_Header=\$ac_header_preproc"
14234 ac_res=`eval 'as_val=${'$as_ac_Header'}
14235 $as_echo "$as_val"'`
14236 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14237 $as_echo "$ac_res" >&6; }
14240 as_val=`eval 'as_val=${'$as_ac_Header'}
14241 $as_echo "$as_val"'`
14242 if test "x$as_val" = x""yes; then
14243 cat >>confdefs.h <<_ACEOF
14244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14253 for ac_func in strcasecmp strndup
14255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14256 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14257 $as_echo_n "checking for $ac_func... " >&6; }
14258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14259 $as_echo_n "(cached) " >&6
14261 cat >conftest.$ac_ext <<_ACEOF
14264 cat confdefs.h >>conftest.$ac_ext
14265 cat >>conftest.$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14269 #define $ac_func innocuous_$ac_func
14271 /* System header to define __stub macros and hopefully few prototypes,
14272 which can conflict with char $ac_func (); below.
14273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14274 <limits.h> exists even on freestanding compilers. */
14277 # include <limits.h>
14279 # include <assert.h>
14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
14291 /* The GNU C library defines this for functions which it implements
14292 to always fail with ENOSYS. Some functions are actually named
14293 something starting with __ and the normal name is an alias. */
14294 #if defined __stub_$ac_func || defined __stub___$ac_func
14301 return $ac_func ();
14306 rm -f conftest.$ac_objext conftest$ac_exeext
14307 if { (ac_try="$ac_link"
14308 case "(($ac_try" in
14309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14310 *) ac_try_echo=$ac_try;;
14312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14313 $as_echo "$ac_try_echo") >&5
14314 (eval "$ac_link") 2>conftest.er1
14316 grep -v '^ *+' conftest.er1 >conftest.err
14318 cat conftest.err >&5
14319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest$ac_exeext && {
14324 test "$cross_compiling" = yes ||
14325 $as_test_x conftest$ac_exeext
14327 eval "$as_ac_var=yes"
14329 $as_echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 eval "$as_ac_var=no"
14335 rm -rf conftest.dSYM
14336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14337 conftest$ac_exeext conftest.$ac_ext
14339 ac_res=`eval 'as_val=${'$as_ac_var'}
14340 $as_echo "$as_val"'`
14341 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14342 $as_echo "$ac_res" >&6; }
14343 as_val=`eval 'as_val=${'$as_ac_var'}
14344 $as_echo "$as_val"'`
14345 if test "x$as_val" = x""yes; then
14346 cat >>confdefs.h <<_ACEOF
14347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14354 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
14355 $as_echo_n "checking for off_t... " >&6; }
14356 if test "${ac_cv_type_off_t+set}" = set; then
14357 $as_echo_n "(cached) " >&6
14359 ac_cv_type_off_t=no
14360 cat >conftest.$ac_ext <<_ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 $ac_includes_default
14370 if (sizeof (off_t))
14376 rm -f conftest.$ac_objext
14377 if { (ac_try="$ac_compile"
14378 case "(($ac_try" in
14379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14380 *) ac_try_echo=$ac_try;;
14382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14383 $as_echo "$ac_try_echo") >&5
14384 (eval "$ac_compile") 2>conftest.er1
14386 grep -v '^ *+' conftest.er1 >conftest.err
14388 cat conftest.err >&5
14389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } && {
14391 test -z "$ac_c_werror_flag" ||
14392 test ! -s conftest.err
14393 } && test -s conftest.$ac_objext; then
14394 cat >conftest.$ac_ext <<_ACEOF
14397 cat confdefs.h >>conftest.$ac_ext
14398 cat >>conftest.$ac_ext <<_ACEOF
14399 /* end confdefs.h. */
14400 $ac_includes_default
14404 if (sizeof ((off_t)))
14410 rm -f conftest.$ac_objext
14411 if { (ac_try="$ac_compile"
14412 case "(($ac_try" in
14413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14414 *) ac_try_echo=$ac_try;;
14416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14417 $as_echo "$ac_try_echo") >&5
14418 (eval "$ac_compile") 2>conftest.er1
14420 grep -v '^ *+' conftest.er1 >conftest.err
14422 cat conftest.err >&5
14423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } && {
14425 test -z "$ac_c_werror_flag" ||
14426 test ! -s conftest.err
14427 } && test -s conftest.$ac_objext; then
14430 $as_echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14433 ac_cv_type_off_t=yes
14436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14438 $as_echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14446 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14447 $as_echo "$ac_cv_type_off_t" >&6; }
14448 if test "x$ac_cv_type_off_t" = x""yes; then
14452 cat >>confdefs.h <<_ACEOF
14453 #define off_t long int
14458 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
14459 $as_echo_n "checking for size_t... " >&6; }
14460 if test "${ac_cv_type_size_t+set}" = set; then
14461 $as_echo_n "(cached) " >&6
14463 ac_cv_type_size_t=no
14464 cat >conftest.$ac_ext <<_ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 $ac_includes_default
14474 if (sizeof (size_t))
14480 rm -f conftest.$ac_objext
14481 if { (ac_try="$ac_compile"
14482 case "(($ac_try" in
14483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14484 *) ac_try_echo=$ac_try;;
14486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14487 $as_echo "$ac_try_echo") >&5
14488 (eval "$ac_compile") 2>conftest.er1
14490 grep -v '^ *+' conftest.er1 >conftest.err
14492 cat conftest.err >&5
14493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } && {
14495 test -z "$ac_c_werror_flag" ||
14496 test ! -s conftest.err
14497 } && test -s conftest.$ac_objext; then
14498 cat >conftest.$ac_ext <<_ACEOF
14501 cat confdefs.h >>conftest.$ac_ext
14502 cat >>conftest.$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 $ac_includes_default
14508 if (sizeof ((size_t)))
14514 rm -f conftest.$ac_objext
14515 if { (ac_try="$ac_compile"
14516 case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14521 $as_echo "$ac_try_echo") >&5
14522 (eval "$ac_compile") 2>conftest.er1
14524 grep -v '^ *+' conftest.er1 >conftest.err
14526 cat conftest.err >&5
14527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); } && {
14529 test -z "$ac_c_werror_flag" ||
14530 test ! -s conftest.err
14531 } && test -s conftest.$ac_objext; then
14534 $as_echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.$ac_ext >&5
14537 ac_cv_type_size_t=yes
14540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14542 $as_echo "$as_me: failed program was:" >&5
14543 sed 's/^/| /' conftest.$ac_ext >&5
14548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14550 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14551 $as_echo "$ac_cv_type_size_t" >&6; }
14552 if test "x$ac_cv_type_size_t" = x""yes; then
14556 cat >>confdefs.h <<_ACEOF
14557 #define size_t unsigned int
14562 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
14563 $as_echo_n "checking for ssize_t... " >&6; }
14564 if test "${ac_cv_type_ssize_t+set}" = set; then
14565 $as_echo_n "(cached) " >&6
14567 ac_cv_type_ssize_t=no
14568 cat >conftest.$ac_ext <<_ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14578 if (sizeof (ssize_t))
14584 rm -f conftest.$ac_objext
14585 if { (ac_try="$ac_compile"
14586 case "(($ac_try" in
14587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588 *) ac_try_echo=$ac_try;;
14590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14591 $as_echo "$ac_try_echo") >&5
14592 (eval "$ac_compile") 2>conftest.er1
14594 grep -v '^ *+' conftest.er1 >conftest.err
14596 cat conftest.err >&5
14597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } && {
14599 test -z "$ac_c_werror_flag" ||
14600 test ! -s conftest.err
14601 } && test -s conftest.$ac_objext; then
14602 cat >conftest.$ac_ext <<_ACEOF
14605 cat confdefs.h >>conftest.$ac_ext
14606 cat >>conftest.$ac_ext <<_ACEOF
14607 /* end confdefs.h. */
14608 $ac_includes_default
14612 if (sizeof ((ssize_t)))
14618 rm -f conftest.$ac_objext
14619 if { (ac_try="$ac_compile"
14620 case "(($ac_try" in
14621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14622 *) ac_try_echo=$ac_try;;
14624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14625 $as_echo "$ac_try_echo") >&5
14626 (eval "$ac_compile") 2>conftest.er1
14628 grep -v '^ *+' conftest.er1 >conftest.err
14630 cat conftest.err >&5
14631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest.$ac_objext; then
14638 $as_echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14641 ac_cv_type_ssize_t=yes
14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14646 $as_echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14655 $as_echo "$ac_cv_type_ssize_t" >&6; }
14656 if test "x$ac_cv_type_ssize_t" = x""yes; then
14660 cat >>confdefs.h <<_ACEOF
14661 #define ssize_t int
14666 { $as_echo "$as_me:$LINENO: checking for off64_t" >&5
14667 $as_echo_n "checking for off64_t... " >&6; }
14668 if test "${ac_cv_type_off64_t+set}" = set; then
14669 $as_echo_n "(cached) " >&6
14671 ac_cv_type_off64_t=no
14672 cat >conftest.$ac_ext <<_ACEOF
14675 cat confdefs.h >>conftest.$ac_ext
14676 cat >>conftest.$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14678 $ac_includes_default
14682 if (sizeof (off64_t))
14688 rm -f conftest.$ac_objext
14689 if { (ac_try="$ac_compile"
14690 case "(($ac_try" in
14691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14695 $as_echo "$ac_try_echo") >&5
14696 (eval "$ac_compile") 2>conftest.er1
14698 grep -v '^ *+' conftest.er1 >conftest.err
14700 cat conftest.err >&5
14701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest.$ac_objext; then
14706 cat >conftest.$ac_ext <<_ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14712 $ac_includes_default
14716 if (sizeof ((off64_t)))
14722 rm -f conftest.$ac_objext
14723 if { (ac_try="$ac_compile"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14729 $as_echo "$ac_try_echo") >&5
14730 (eval "$ac_compile") 2>conftest.er1
14732 grep -v '^ *+' conftest.er1 >conftest.err
14734 cat conftest.err >&5
14735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } && {
14737 test -z "$ac_c_werror_flag" ||
14738 test ! -s conftest.err
14739 } && test -s conftest.$ac_objext; then
14742 $as_echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14745 ac_cv_type_off64_t=yes
14748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14750 $as_echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14758 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off64_t" >&5
14759 $as_echo "$ac_cv_type_off64_t" >&6; }
14760 if test "x$ac_cv_type_off64_t" = x""yes; then
14764 cat >>confdefs.h <<_ACEOF
14765 #define off64_t _zzip_off_t
14770 { $as_echo "$as_me:$LINENO: checking for __int64" >&5
14771 $as_echo_n "checking for __int64... " >&6; }
14772 if test "${ac_cv_type___int64+set}" = set; then
14773 $as_echo_n "(cached) " >&6
14775 ac_cv_type___int64=no
14776 cat >conftest.$ac_ext <<_ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14782 $ac_includes_default
14786 if (sizeof (__int64))
14792 rm -f conftest.$ac_objext
14793 if { (ac_try="$ac_compile"
14794 case "(($ac_try" in
14795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14796 *) ac_try_echo=$ac_try;;
14798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14799 $as_echo "$ac_try_echo") >&5
14800 (eval "$ac_compile") 2>conftest.er1
14802 grep -v '^ *+' conftest.er1 >conftest.err
14804 cat conftest.err >&5
14805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } && {
14807 test -z "$ac_c_werror_flag" ||
14808 test ! -s conftest.err
14809 } && test -s conftest.$ac_objext; then
14810 cat >conftest.$ac_ext <<_ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 $ac_includes_default
14820 if (sizeof ((__int64)))
14826 rm -f conftest.$ac_objext
14827 if { (ac_try="$ac_compile"
14828 case "(($ac_try" in
14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14830 *) ac_try_echo=$ac_try;;
14832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14833 $as_echo "$ac_try_echo") >&5
14834 (eval "$ac_compile") 2>conftest.er1
14836 grep -v '^ *+' conftest.er1 >conftest.err
14838 cat conftest.err >&5
14839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } && {
14841 test -z "$ac_c_werror_flag" ||
14842 test ! -s conftest.err
14843 } && test -s conftest.$ac_objext; then
14846 $as_echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_cv_type___int64=yes
14852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14854 $as_echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14862 { $as_echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
14863 $as_echo "$ac_cv_type___int64" >&6; }
14864 if test "x$ac_cv_type___int64" = x""yes; then
14868 cat >>confdefs.h <<_ACEOF
14869 #define __int64 long long
14874 { $as_echo "$as_me:$LINENO: checking size of short" >&5
14875 $as_echo_n "checking size of short... " >&6; }
14876 if test "${ac_cv_sizeof_short+set}" = set; then
14877 $as_echo_n "(cached) " >&6
14879 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
14880 cat >conftest.$ac_ext <<_ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 #include "confdefs.h"
14887 #include <sys/types.h>
14893 switch (0) case 0: case (sizeof (short) == $ac_size):;
14898 rm -f conftest.$ac_objext
14899 if { (ac_try="$ac_compile"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14905 $as_echo "$ac_try_echo") >&5
14906 (eval "$ac_compile") 2>conftest.er1
14908 grep -v '^ *+' conftest.er1 >conftest.err
14910 cat conftest.err >&5
14911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } && {
14913 test -z "$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14915 } && test -s conftest.$ac_objext; then
14916 ac_cv_sizeof_short=$ac_size
14918 $as_echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14925 if test x$ac_cv_sizeof_short != x ; then break; fi
14930 if test x$ac_cv_sizeof_short = x ; then
14931 { { $as_echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
14932 $as_echo "$as_me: error: cannot determine a size for short" >&2;}
14933 { (exit 1); exit 1; }; }
14935 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14936 $as_echo "$ac_cv_sizeof_short" >&6; }
14938 cat >>confdefs.h <<_ACEOF
14939 #define SIZEOF_SHORT $ac_cv_sizeof_short
14943 { $as_echo "$as_me:$LINENO: checking size of int" >&5
14944 $as_echo_n "checking size of int... " >&6; }
14945 if test "${ac_cv_sizeof_int+set}" = set; then
14946 $as_echo_n "(cached) " >&6
14948 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
14949 cat >conftest.$ac_ext <<_ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14955 #include "confdefs.h"
14956 #include <sys/types.h>
14962 switch (0) case 0: case (sizeof (int) == $ac_size):;
14967 rm -f conftest.$ac_objext
14968 if { (ac_try="$ac_compile"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14974 $as_echo "$ac_try_echo") >&5
14975 (eval "$ac_compile") 2>conftest.er1
14977 grep -v '^ *+' conftest.er1 >conftest.err
14979 cat conftest.err >&5
14980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } && {
14982 test -z "$ac_c_werror_flag" ||
14983 test ! -s conftest.err
14984 } && test -s conftest.$ac_objext; then
14985 ac_cv_sizeof_int=$ac_size
14987 $as_echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994 if test x$ac_cv_sizeof_int != x ; then break; fi
14999 if test x$ac_cv_sizeof_int = x ; then
15000 { { $as_echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
15001 $as_echo "$as_me: error: cannot determine a size for int" >&2;}
15002 { (exit 1); exit 1; }; }
15004 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15005 $as_echo "$ac_cv_sizeof_int" >&6; }
15007 cat >>confdefs.h <<_ACEOF
15008 #define SIZEOF_INT $ac_cv_sizeof_int
15012 { $as_echo "$as_me:$LINENO: checking size of long" >&5
15013 $as_echo_n "checking size of long... " >&6; }
15014 if test "${ac_cv_sizeof_long+set}" = set; then
15015 $as_echo_n "(cached) " >&6
15017 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
15018 cat >conftest.$ac_ext <<_ACEOF
15021 cat confdefs.h >>conftest.$ac_ext
15022 cat >>conftest.$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15024 #include "confdefs.h"
15025 #include <sys/types.h>
15031 switch (0) case 0: case (sizeof (long) == $ac_size):;
15036 rm -f conftest.$ac_objext
15037 if { (ac_try="$ac_compile"
15038 case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15043 $as_echo "$ac_try_echo") >&5
15044 (eval "$ac_compile") 2>conftest.er1
15046 grep -v '^ *+' conftest.er1 >conftest.err
15048 cat conftest.err >&5
15049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } && {
15051 test -z "$ac_c_werror_flag" ||
15052 test ! -s conftest.err
15053 } && test -s conftest.$ac_objext; then
15054 ac_cv_sizeof_long=$ac_size
15056 $as_echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15063 if test x$ac_cv_sizeof_long != x ; then break; fi
15068 if test x$ac_cv_sizeof_long = x ; then
15069 { { $as_echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
15070 $as_echo "$as_me: error: cannot determine a size for long" >&2;}
15071 { (exit 1); exit 1; }; }
15073 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15074 $as_echo "$ac_cv_sizeof_long" >&6; }
15076 cat >>confdefs.h <<_ACEOF
15077 #define SIZEOF_LONG $ac_cv_sizeof_long
15082 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15083 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15084 if test "${ac_cv_c_bigendian+set}" = set; then
15085 $as_echo_n "(cached) " >&6
15087 ac_cv_c_bigendian=unknown
15088 # See if we're dealing with a universal compiler.
15089 cat >conftest.$ac_ext <<_ACEOF
15092 cat confdefs.h >>conftest.$ac_ext
15093 cat >>conftest.$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 #ifndef __APPLE_CC__
15096 not a universal capable compiler
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15108 $as_echo "$ac_try_echo") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15111 grep -v '^ *+' conftest.er1 >conftest.err
15113 cat conftest.err >&5
15114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.$ac_objext; then
15120 # Check for potential -arch flags. It is not universal unless
15121 # there are some -arch flags. Note that *ppc* also matches
15122 # ppc64. This check is also rather less than ideal.
15123 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
15124 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
15127 $as_echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15134 if test $ac_cv_c_bigendian = unknown; then
15135 # See if sys/param.h defines the BYTE_ORDER macro.
15136 cat >conftest.$ac_ext <<_ACEOF
15139 cat confdefs.h >>conftest.$ac_ext
15140 cat >>conftest.$ac_ext <<_ACEOF
15141 /* end confdefs.h. */
15142 #include <sys/types.h>
15143 #include <sys/param.h>
15148 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15149 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15151 bogus endian macros
15158 rm -f conftest.$ac_objext
15159 if { (ac_try="$ac_compile"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15165 $as_echo "$ac_try_echo") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15168 grep -v '^ *+' conftest.er1 >conftest.err
15170 cat conftest.err >&5
15171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 # It does; now see whether it defined to BIG_ENDIAN or not.
15177 cat >conftest.$ac_ext <<_ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15183 #include <sys/types.h>
15184 #include <sys/param.h>
15189 #if BYTE_ORDER != BIG_ENDIAN
15197 rm -f conftest.$ac_objext
15198 if { (ac_try="$ac_compile"
15199 case "(($ac_try" in
15200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15204 $as_echo "$ac_try_echo") >&5
15205 (eval "$ac_compile") 2>conftest.er1
15207 grep -v '^ *+' conftest.er1 >conftest.err
15209 cat conftest.err >&5
15210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } && {
15212 test -z "$ac_c_werror_flag" ||
15213 test ! -s conftest.err
15214 } && test -s conftest.$ac_objext; then
15215 ac_cv_c_bigendian=yes
15217 $as_echo "$as_me: failed program was:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15220 ac_cv_c_bigendian=no
15223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15225 $as_echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15233 if test $ac_cv_c_bigendian = unknown; then
15234 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15235 cat >conftest.$ac_ext <<_ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 #include <limits.h>
15246 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15247 bogus endian macros
15254 rm -f conftest.$ac_objext
15255 if { (ac_try="$ac_compile"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15261 $as_echo "$ac_try_echo") >&5
15262 (eval "$ac_compile") 2>conftest.er1
15264 grep -v '^ *+' conftest.er1 >conftest.err
15266 cat conftest.err >&5
15267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } && {
15269 test -z "$ac_c_werror_flag" ||
15270 test ! -s conftest.err
15271 } && test -s conftest.$ac_objext; then
15272 # It does; now see whether it defined to _BIG_ENDIAN or not.
15273 cat >conftest.$ac_ext <<_ACEOF
15276 cat confdefs.h >>conftest.$ac_ext
15277 cat >>conftest.$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 #include <limits.h>
15284 #ifndef _BIG_ENDIAN
15292 rm -f conftest.$ac_objext
15293 if { (ac_try="$ac_compile"
15294 case "(($ac_try" in
15295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15296 *) ac_try_echo=$ac_try;;
15298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15299 $as_echo "$ac_try_echo") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15302 grep -v '^ *+' conftest.er1 >conftest.err
15304 cat conftest.err >&5
15305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_cv_c_bigendian=yes
15312 $as_echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_c_bigendian=no
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 $as_echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.$ac_ext >&5
15326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15328 if test $ac_cv_c_bigendian = unknown; then
15329 # Compile a test program.
15330 if test "$cross_compiling" = yes; then
15331 # Try to guess by grepping values from an object file.
15332 cat >conftest.$ac_ext <<_ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15338 short int ascii_mm[] =
15339 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15340 short int ascii_ii[] =
15341 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15342 int use_ascii (int i) {
15343 return ascii_mm[i] + ascii_ii[i];
15345 short int ebcdic_ii[] =
15346 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15347 short int ebcdic_mm[] =
15348 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15349 int use_ebcdic (int i) {
15350 return ebcdic_mm[i] + ebcdic_ii[i];
15357 return use_ascii (foo) == use_ebcdic (foo);
15362 rm -f conftest.$ac_objext
15363 if { (ac_try="$ac_compile"
15364 case "(($ac_try" in
15365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15366 *) ac_try_echo=$ac_try;;
15368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15369 $as_echo "$ac_try_echo") >&5
15370 (eval "$ac_compile") 2>conftest.er1
15372 grep -v '^ *+' conftest.er1 >conftest.err
15374 cat conftest.err >&5
15375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_c_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest.$ac_objext; then
15380 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15381 ac_cv_c_bigendian=yes
15383 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15384 if test "$ac_cv_c_bigendian" = unknown; then
15385 ac_cv_c_bigendian=no
15387 # finding both strings is unlikely to happen, but who knows?
15388 ac_cv_c_bigendian=unknown
15392 $as_echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400 cat >conftest.$ac_ext <<_ACEOF
15403 cat confdefs.h >>conftest.$ac_ext
15404 cat >>conftest.$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15406 $ac_includes_default
15411 /* Are we little or big endian? From Harbison&Steele. */
15415 char c[sizeof (long int)];
15418 return u.c[sizeof (long int) - 1] == 1;
15424 rm -f conftest$ac_exeext
15425 if { (ac_try="$ac_link"
15426 case "(($ac_try" in
15427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428 *) ac_try_echo=$ac_try;;
15430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15431 $as_echo "$ac_try_echo") >&5
15432 (eval "$ac_link") 2>&5
15434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15436 { (case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15441 $as_echo "$ac_try_echo") >&5
15442 (eval "$ac_try") 2>&5
15444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_c_bigendian=no
15448 $as_echo "$as_me: program exited with status $ac_status" >&5
15449 $as_echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15452 ( exit $ac_status )
15453 ac_cv_c_bigendian=yes
15455 rm -rf conftest.dSYM
15456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15462 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15463 $as_echo "$ac_cv_c_bigendian" >&6; }
15464 case $ac_cv_c_bigendian in #(
15466 cat >>confdefs.h <<\_ACEOF
15467 #define WORDS_BIGENDIAN 1
15474 cat >>confdefs.h <<\_ACEOF
15475 #define AC_APPLE_UNIVERSAL_BUILD 1
15480 { { $as_echo "$as_me:$LINENO: error: unknown endianness
15481 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15482 $as_echo "$as_me: error: unknown endianness
15483 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15484 { (exit 1); exit 1; }; } ;;
15487 { $as_echo "$as_me:$LINENO: checking if pointers to integers require aligned access" >&5
15488 $as_echo_n "checking if pointers to integers require aligned access... " >&6; }
15489 if test "${ax_cv_have_aligned_access_required+set}" = set; then
15490 $as_echo_n "(cached) " >&6
15492 if test "$cross_compiling" = "yes"; then
15493 case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
15494 ax_cv_have_aligned_access_required="yes"
15497 if test "$cross_compiling" = yes; then
15498 ax_cv_have_aligned_access_required=no
15500 cat >conftest.$ac_ext <<_ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15508 #include <stdlib.h>
15512 char* string = malloc(40);
15514 for (i=0; i < 40; i++) string[[i]] = i;
15520 if (*p == *q) { return 1; }
15526 rm -f conftest$ac_exeext
15527 if { (ac_try="$ac_link"
15528 case "(($ac_try" in
15529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15530 *) ac_try_echo=$ac_try;;
15532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15533 $as_echo "$ac_try_echo") >&5
15534 (eval "$ac_link") 2>&5
15536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15538 { (case "(($ac_try" in
15539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;;
15542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15543 $as_echo "$ac_try_echo") >&5
15544 (eval "$ac_try") 2>&5
15546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ax_cv_have_aligned_access_required=yes
15550 $as_echo "$as_me: program exited with status $ac_status" >&5
15551 $as_echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.$ac_ext >&5
15554 ( exit $ac_status )
15555 ax_cv_have_aligned_access_required=no
15557 rm -rf conftest.dSYM
15558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15564 { $as_echo "$as_me:$LINENO: result: $ax_cv_have_aligned_access_required" >&5
15565 $as_echo "$ax_cv_have_aligned_access_required" >&6; }
15567 if test "$ax_cv_have_aligned_access_required" = yes ; then
15569 cat >>confdefs.h <<\_ACEOF
15570 #define HAVE_ALIGNED_ACCESS_REQUIRED 1
15575 # the default is _disabled_!! anyway, result is prefixed in zzip/_config.h!!
15576 # Check whether --enable-largefile was given.
15577 if test "${enable_largefile+set}" = set; then
15578 enableval=$enable_largefile;
15581 if test "$enable_largefile" != no; then
15583 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
15584 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15585 if test "${ac_cv_sys_largefile_CC+set}" = set; then
15586 $as_echo_n "(cached) " >&6
15588 ac_cv_sys_largefile_CC=no
15589 if test "$GCC" != yes; then
15592 # IRIX 6.2 and later do not support large files by default,
15593 # so use the C compiler's -n32 option if that helps.
15594 cat >conftest.$ac_ext <<_ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 #include <sys/types.h>
15601 /* Check that off_t can represent 2**63 - 1 correctly.
15602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15603 since some C++ compilers masquerading as C compilers
15604 incorrectly reject 9223372036854775807. */
15605 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15607 && LARGE_OFF_T % 2147483647 == 1)
15617 rm -f conftest.$ac_objext
15618 if { (ac_try="$ac_compile"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15624 $as_echo "$ac_try_echo") >&5
15625 (eval "$ac_compile") 2>conftest.er1
15627 grep -v '^ *+' conftest.er1 >conftest.err
15629 cat conftest.err >&5
15630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && {
15632 test -z "$ac_c_werror_flag" ||
15633 test ! -s conftest.err
15634 } && test -s conftest.$ac_objext; then
15637 $as_echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15643 rm -f core conftest.err conftest.$ac_objext
15645 rm -f conftest.$ac_objext
15646 if { (ac_try="$ac_compile"
15647 case "(($ac_try" in
15648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15649 *) ac_try_echo=$ac_try;;
15651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15652 $as_echo "$ac_try_echo") >&5
15653 (eval "$ac_compile") 2>conftest.er1
15655 grep -v '^ *+' conftest.er1 >conftest.err
15657 cat conftest.err >&5
15658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } && {
15660 test -z "$ac_c_werror_flag" ||
15661 test ! -s conftest.err
15662 } && test -s conftest.$ac_objext; then
15663 ac_cv_sys_largefile_CC=' -n32'; break
15665 $as_echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15671 rm -f core conftest.err conftest.$ac_objext
15675 rm -f conftest.$ac_ext
15678 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
15679 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15680 if test "$ac_cv_sys_largefile_CC" != no; then
15681 CC=$CC$ac_cv_sys_largefile_CC
15684 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15685 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15686 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
15687 $as_echo_n "(cached) " >&6
15690 cat >conftest.$ac_ext <<_ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 #include <sys/types.h>
15697 /* Check that off_t can represent 2**63 - 1 correctly.
15698 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15699 since some C++ compilers masquerading as C compilers
15700 incorrectly reject 9223372036854775807. */
15701 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15702 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15703 && LARGE_OFF_T % 2147483647 == 1)
15713 rm -f conftest.$ac_objext
15714 if { (ac_try="$ac_compile"
15715 case "(($ac_try" in
15716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15717 *) ac_try_echo=$ac_try;;
15719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15720 $as_echo "$ac_try_echo") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15723 grep -v '^ *+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 ac_cv_sys_file_offset_bits=no; break
15733 $as_echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740 cat >conftest.$ac_ext <<_ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 #define _FILE_OFFSET_BITS 64
15747 #include <sys/types.h>
15748 /* Check that off_t can represent 2**63 - 1 correctly.
15749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15750 since some C++ compilers masquerading as C compilers
15751 incorrectly reject 9223372036854775807. */
15752 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15754 && LARGE_OFF_T % 2147483647 == 1)
15764 rm -f conftest.$ac_objext
15765 if { (ac_try="$ac_compile"
15766 case "(($ac_try" in
15767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15768 *) ac_try_echo=$ac_try;;
15770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15771 $as_echo "$ac_try_echo") >&5
15772 (eval "$ac_compile") 2>conftest.er1
15774 grep -v '^ *+' conftest.er1 >conftest.err
15776 cat conftest.err >&5
15777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } && {
15779 test -z "$ac_c_werror_flag" ||
15780 test ! -s conftest.err
15781 } && test -s conftest.$ac_objext; then
15782 ac_cv_sys_file_offset_bits=64; break
15784 $as_echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15791 ac_cv_sys_file_offset_bits=unknown
15795 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
15796 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15797 case $ac_cv_sys_file_offset_bits in #(
15800 cat >>confdefs.h <<_ACEOF
15801 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15806 if test $ac_cv_sys_file_offset_bits = unknown; then
15807 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
15808 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15809 if test "${ac_cv_sys_large_files+set}" = set; then
15810 $as_echo_n "(cached) " >&6
15813 cat >conftest.$ac_ext <<_ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 #include <sys/types.h>
15820 /* Check that off_t can represent 2**63 - 1 correctly.
15821 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15822 since some C++ compilers masquerading as C compilers
15823 incorrectly reject 9223372036854775807. */
15824 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15825 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15826 && LARGE_OFF_T % 2147483647 == 1)
15836 rm -f conftest.$ac_objext
15837 if { (ac_try="$ac_compile"
15838 case "(($ac_try" in
15839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15840 *) ac_try_echo=$ac_try;;
15842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15843 $as_echo "$ac_try_echo") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 ac_cv_sys_large_files=no; break
15856 $as_echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15863 cat >conftest.$ac_ext <<_ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 #define _LARGE_FILES 1
15870 #include <sys/types.h>
15871 /* Check that off_t can represent 2**63 - 1 correctly.
15872 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15873 since some C++ compilers masquerading as C compilers
15874 incorrectly reject 9223372036854775807. */
15875 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15876 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15877 && LARGE_OFF_T % 2147483647 == 1)
15887 rm -f conftest.$ac_objext
15888 if { (ac_try="$ac_compile"
15889 case "(($ac_try" in
15890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15891 *) ac_try_echo=$ac_try;;
15893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15894 $as_echo "$ac_try_echo") >&5
15895 (eval "$ac_compile") 2>conftest.er1
15897 grep -v '^ *+' conftest.er1 >conftest.err
15899 cat conftest.err >&5
15900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } && {
15902 test -z "$ac_c_werror_flag" ||
15903 test ! -s conftest.err
15904 } && test -s conftest.$ac_objext; then
15905 ac_cv_sys_large_files=1; break
15907 $as_echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15914 ac_cv_sys_large_files=unknown
15918 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
15919 $as_echo "$ac_cv_sys_large_files" >&6; }
15920 case $ac_cv_sys_large_files in #(
15923 cat >>confdefs.h <<_ACEOF
15924 #define _LARGE_FILES $ac_cv_sys_large_files
15932 # we know about some internals of ac_sys_largefile here...
15933 { $as_echo "$as_me:$LINENO: checking whether system differentiates 64bit off_t by defines" >&5
15934 $as_echo_n "checking whether system differentiates 64bit off_t by defines... " >&6; }
15935 ac_cv_sys_largefile_sensitive="no"
15936 if test ".$ac_cv_sys_file_offset_bits$ac_cv_sys_large_files" != ".nono"
15937 then ac_cv_sys_largefile_sensitive="yes"
15939 cat >>confdefs.h <<\_ACEOF
15940 #define LARGEFILE_SENSITIVE 1
15944 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_sensitive" >&5
15945 $as_echo "$ac_cv_sys_largefile_sensitive" >&6; }
15947 test ".$LARGEFILE_CFLAGS" = "." && LARGEFILE_CFLAGS=""
15949 # Check whether --with-largefile was given.
15950 if test "${with_largefile+set}" = set; then
15951 withval=$with_largefile;
15953 with_largefile="no"
15956 if test ".$ac_cv_sys_largefile_sensitive" = ".no" ; then
15957 { $as_echo "$as_me:$LINENO: result: compiles library with the only off_t seen" >&5
15958 $as_echo "compiles library with the only off_t seen" >&6; }
15959 elif test ".$with_largefile" != ".no" ; then
15960 { $as_echo "$as_me:$LINENO: result: compiles library as 64bit off_t variant - and renaming some function names" >&5
15961 $as_echo "compiles library as 64bit off_t variant - and renaming some function names" >&6; }
15962 LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_LARGEFILE_SOURCE"
15963 { $as_echo "$as_me:$LINENO: result: ..adding CFLAGS $LARGEFILE_CFLAGS" >&5
15964 $as_echo "..adding CFLAGS $LARGEFILE_CFLAGS" >&6; }
15965 CFLAGS="$CFLAGS $LARGEFILE_CFLAGS"
15966 { $as_echo "$as_me:$LINENO: result: ..adding 64 into RELEASE_INFO for the libraries" >&5
15967 $as_echo "..adding 64 into RELEASE_INFO for the libraries" >&6; }
15968 RELEASE_INFO="$RELEASE_INFO-64"
15970 { $as_echo "$as_me:$LINENO: result: compiles library as 32bit off_t variant - largefile is not the default here" >&5
15971 $as_echo "compiles library as 32bit off_t variant - largefile is not the default here" >&6; }
15974 { $as_echo "$as_me:$LINENO: checking for zlib being found" >&5
15975 $as_echo_n "checking for zlib being found... " >&6; }
15976 if test "_$ac_cv_header_zlib_h" != "_yes" ; then
15977 { $as_echo "$as_me:$LINENO: result: ...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&5
15978 $as_echo "...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&6; }
15979 { $as_echo "$as_me:$LINENO: result: ...note: and when linkage fails you might also need to set some LDFLAGS" >&5
15980 $as_echo "...note: and when linkage fails you might also need to set some LDFLAGS" >&6; }
15983 { $as_echo "$as_me:$LINENO: result: ...note: both can be set by specifying the install prefix of the zlib library" >&5
15984 $as_echo "...note: both can be set by specifying the install prefix of the zlib library" >&6; }
15985 { $as_echo "$as_me:$LINENO: result: ...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&5
15986 $as_echo "...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&6; }
15988 *) if test -d $prefix/include ; then
15989 { $as_echo "$as_me:$LINENO: result: ...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&5
15990 $as_echo "...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&6; }
15991 { $as_echo "$as_me:$LINENO: result: ...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&5
15992 $as_echo "...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&6; }
15993 { $as_echo "$as_me:$LINENO: result: ...note: --with-zlib to configure call" >&5
15994 $as_echo "...note: --with-zlib to configure call" >&6; }
15998 { { $as_echo "$as_me:$LINENO: error: zlib.h not found: \"zlib\" is required to build \"$PACKAGE\"" >&5
15999 $as_echo "$as_me: error: zlib.h not found: \"zlib\" is required to build \"$PACKAGE\"" >&2;}
16000 { (exit 1); exit 1; }; }
16003 cat >conftest.c <<EOF
16005 const char* zlib_VeRsIoN = ZLIB_VERSION "dEtEcT";
16007 ZLIB_VERSION=`(eval "$ac_cpp conftest.c") 2>/dev/null \
16008 | grep zlib_VeRsIoN | sed -e 's,.*= *.,,' -e 's,. *.dEtEcT.*,,'`
16011 { $as_echo "$as_me:$LINENO: result: yes - $ZLIB_VERSION" >&5
16012 $as_echo "yes - $ZLIB_VERSION" >&6; }
16013 # ----------------------------------------------------------------
16014 { $as_echo "$as_me:$LINENO: checking docdir default" >&5
16015 $as_echo_n "checking docdir default... " >&6; }
16017 # Check whether --with-docdir was given.
16018 if test "${with_docdir+set}" = set; then
16019 withval=$with_docdir;
16024 case "${with_docdir}" in
16025 prefix/*) docdir=` echo "$withval" | sed 's/^prefix/${prefix}'` ;;
16026 datadir/*) docdir=` echo "$withval" | sed 's/^datadir/${datadir}'` ;;
16027 yes) docdir='${prefix}/doc' ;;
16028 no) docdir='${datadir}/doc' ;;
16029 /*|\\*|a-zA-Z:*) docdir="$with_docdir" ;;
16030 *) { $as_echo "$as_me:$LINENO: result: oops" >&5
16031 $as_echo "oops" >&6; }
16032 { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-docdir" >&5
16033 $as_echo "$as_me: error: bad value ${withval} for --with-docdir" >&2;}
16034 { (exit 1); exit 1; }; }
16038 { $as_echo "$as_me:$LINENO: result: $docdir" >&5
16039 $as_echo "$docdir" >&6; }
16040 # ----------------------------------------------------------------
16041 { $as_echo "$as_me:$LINENO: checking whether using debugging messages in libraries" >&5
16042 $as_echo_n "checking whether using debugging messages in libraries... " >&6; }
16044 # Check whether --with-debug was given.
16045 if test "${with_debug+set}" = set; then
16046 withval=$with_debug; case "${withval}" in
16047 yes|no) with_debug="$withval" ;;
16048 *) { $as_echo "$as_me:$LINENO: result: oops" >&5
16049 $as_echo "oops" >&6; }
16050 { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-debug" >&5
16051 $as_echo "$as_me: error: bad value ${withval} for --with-debug" >&2;}
16052 { (exit 1); exit 1; }; } ;;
16058 test "$with_debug" != "yes" && with_debug="no" # yes or no
16059 test "$with_debug" = "yes" && export CFLAGS="$CFLAGS -DDEBUG"
16060 result="$with_debug" ; test "$result" = "yes" && result="yes, added -DDEBUG"
16061 { $as_echo "$as_me:$LINENO: result: $result" >&5
16062 $as_echo "$result" >&6; }
16063 if test "$with_debug" = "yes" ; then if test -n "$RELEASE_INFO" ; then
16064 RELEASE_INFO="$RELEASE_INFO-dbg"
16065 { $as_echo "$as_me:$LINENO: result: modified release" >&5
16066 $as_echo "modified release" >&6; }
16068 # ----------------------------------------------------------------
16069 { $as_echo "$as_me:$LINENO: checking whether thread stack is too small for bufsiz buffers" >&5
16070 $as_echo_n "checking whether thread stack is too small for bufsiz buffers... " >&6; }
16071 # many embedded platforms, superthreaded systems and kernel usage
16072 # will severely limit the stackspace for its threads. Use _LOWSTK
16073 # compile-define on those platforms.
16075 # Check whether --with-lowstk was given.
16076 if test "${with_lowstk+set}" = set; then
16077 withval=$with_lowstk; case "${withval}" in
16078 yes|no|auto) with_lowstk="$withval" ;;
16079 *) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-lowstk" >&5
16080 $as_echo "$as_me: error: bad value ${withval} for --with-lowstk" >&2;}
16081 { (exit 1); exit 1; }; } ;;
16087 if test "$with_lowstk" = "auto"; then
16089 *-palmos-*) $with_lowstk="yes" ;;
16092 test "$with_lowstk" != "yes" && with_lowstk="no" # yes or no
16093 test "$with_lowstk" = "yes" && CFLAGS="$CFLAGS -D_LOWSTK"
16094 result="$with_lowstk" ; test "$result" = "yes" && result="yes, added -D_LOWSTK"
16095 { $as_echo "$as_me:$LINENO: result: $with_lowstk" >&5
16096 $as_echo "$with_lowstk" >&6; }
16097 # ---------------------------------------------------------------
16098 { $as_echo "$as_me:$LINENO: checking whether can use mmap for file scanning" >&5
16099 $as_echo_n "checking whether can use mmap for file scanning... " >&6; }
16100 # system with mmap are probably better performing an searching
16101 # and parsing - atleast memory consumption is far better
16102 # Check whether --enable-mmap was given.
16103 if test "${enable_mmap+set}" = set; then
16104 enableval=$enable_mmap; case "${enableval}" in
16105 yes|no|auto) enable_mmap="${enableval}" ;;
16106 *) { $as_echo "$as_me:$LINENO: result: oops" >&5
16107 $as_echo "oops" >&6; }
16108 { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-mmap" >&5
16109 $as_echo "$as_me: error: bad value ${enableval} for --disable-mmap" >&2;}
16110 { (exit 1); exit 1; }; } ;;
16116 if test "$enable_mmap" = "auto"
16118 test "$ac_cv_header_winbase_h" && enable_mmap="yes, winbase.h"
16119 test "$ac_cv_header_sys_mman_h" && enable_mmap="yes, sys/mman.h"
16121 case "$enable_mmap" in
16122 yes|yes,*) CFLAGS="$CFLAGS -D_USE_MMAP"
16123 { $as_echo "$as_me:$LINENO: result: $enable_mmap" >&5
16124 $as_echo "$enable_mmap" >&6; } ;;
16125 *) enable_mmap="no"
16126 { $as_echo "$as_me:$LINENO: result: no (just a bit slower)" >&5
16127 $as_echo "no (just a bit slower)" >&6; } ;;
16129 # ---------------------------------------------------------------
16130 { $as_echo "$as_me:$LINENO: checking whether making SDL parts" >&5
16131 $as_echo_n "checking whether making SDL parts... " >&6; }
16133 # Check whether --enable-sdl was given.
16134 if test "${enable_sdl+set}" = set; then
16135 enableval=$enable_sdl;
16140 if test "$enable_sdl" = "no" ; then
16141 { $as_echo "$as_me:$LINENO: result: no, disabled" >&5
16142 $as_echo "no, disabled" >&6; }
16144 enable_sdl=`sdl-config --version 2>/dev/null`
16145 case ".$enable_sdl" in
16146 .1.*) { $as_echo "$as_me:$LINENO: result: yes, for SDL $enable_sdl" >&5
16147 $as_echo "yes, for SDL $enable_sdl" >&6; }
16149 .2.*) { $as_echo "$as_me:$LINENO: result: yes, untested $enable_sdl" >&5
16150 $as_echo "yes, untested $enable_sdl" >&6; }
16152 *) { $as_echo "$as_me:$LINENO: result: no, $enable_sdl" >&5
16153 $as_echo "no, $enable_sdl" >&6; } ;;
16157 # ---------------------------------------------------------------
16158 { $as_echo "$as_me:$LINENO: checking running extra tests on make check" >&5
16159 $as_echo_n "checking running extra tests on make check... " >&6; }
16160 if test "MKZIP" != ":" ; then
16161 { $as_echo "$as_me:$LINENO: result: yes" >&5
16162 $as_echo "yes" >&6; }
16165 { $as_echo "$as_me:$LINENO: result: no" >&5
16166 $as_echo "no" >&6; }
16170 # ---------------------------------------------------------------
16171 { $as_echo "$as_me:$LINENO: checking link options" >&5
16172 $as_echo_n "checking link options... " >&6; }
16175 ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"
16179 ZZIPLIB_LDFLAGS="--export-dynamic"
16183 { $as_echo "$as_me:$LINENO: result: $ZZIPLIB_LDFLAGS $RESOLVES" >&5
16184 $as_echo "$ZZIPLIB_LDFLAGS $RESOLVES" >&6; }
16187 # ---------------------------------------------------------------
16188 { $as_echo "$as_me:$LINENO: checking auto silent in maintainer mode" >&5
16189 $as_echo_n "checking auto silent in maintainer mode... " >&6; }
16190 if test "$USE_MAINTAINER_MODE" = "no" ; then
16191 test ".$TIMEOUT" = "." && TIMEOUT="9"
16192 AUTOHEADER="sleep $TIMEOUT ; true || autoheader || skipped"
16193 AUTOMAKE="sleep $TIMEOUT ; true || automake || skipped"
16194 AUTOCONF="sleep $TIMEOUT ; true || autoconf || skipped"
16195 if test ".$LIBTOOL" != "." ; then
16196 LIBTOOL="$LIBTOOL --silent"
16197 { $as_echo "$as_me:$LINENO: result: libtool-silent, auto-sleep-9" >&5
16198 $as_echo "libtool-silent, auto-sleep-9" >&6; }
16200 { $as_echo "$as_me:$LINENO: result: auto-sleep-9" >&5
16201 $as_echo "auto-sleep-9" >&6; }
16204 { $as_echo "$as_me:$LINENO: result: no" >&5
16205 $as_echo "no" >&6; }
16208 { $as_echo "$as_me:$LINENO: checking CFLAGS frame-pointer" >&5
16209 $as_echo_n "checking CFLAGS frame-pointer... " >&6; }
16210 # Check whether --enable-frame-pointer was given.
16211 if test "${enable_frame_pointer+set}" = set; then
16212 enableval=$enable_frame_pointer;
16215 case ".$enable_frame_pointer" in
16216 .|.no|.no,*) test ".$enable_frame_pointer" = "." && enable_frame_pointer="no"
16217 CFLAGS=`echo " $CFLAGS " | sed -e 's/ -g / /'`
16218 if test ".$GCC" = ".yes" ; then
16219 CFLAGS="$CFLAGS -fomit-frame-pointer"
16220 { $as_echo "$as_me:$LINENO: result: $enable_frame_pointer, -fomit-frame-pointer added" >&5
16221 $as_echo "$enable_frame_pointer, -fomit-frame-pointer added" >&6; }
16223 { $as_echo "$as_me:$LINENO: result: $enable_frame_pointer, -g removed" >&5
16224 $as_echo "$enable_frame_pointer, -g removed" >&6; }
16226 *) { $as_echo "$as_me:$LINENO: result: $enable_frame_pointer, kept" >&5
16227 $as_echo "$enable_frame_pointer, kept" >&6; } ;;
16230 { $as_echo "$as_me:$LINENO: checking CFLAGS for maximum warnings" >&5
16231 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16232 if test "${ac_cv_cflags_warn_all+set}" = set; then
16233 $as_echo_n "(cached) " >&6
16235 ac_cv_cflags_warn_all="no, unknown"
16238 ac_cpp='$CPP $CPPFLAGS'
16239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16243 ac_save_CFLAGS="$CFLAGS"
16244 for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16245 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16246 cat >conftest.$ac_ext <<_ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16261 rm -f conftest.$ac_objext
16262 if { (ac_try="$ac_compile"
16263 case "(($ac_try" in
16264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16265 *) ac_try_echo=$ac_try;;
16267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16268 $as_echo "$ac_try_echo") >&5
16269 (eval "$ac_compile") 2>conftest.er1
16271 grep -v '^ *+' conftest.er1 >conftest.err
16273 cat conftest.err >&5
16274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } && {
16276 test -z "$ac_c_werror_flag" ||
16277 test ! -s conftest.err
16278 } && test -s conftest.$ac_objext; then
16279 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16281 $as_echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.$ac_ext >&5
16287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16289 CFLAGS="$ac_save_CFLAGS"
16291 ac_cpp='$CPP $CPPFLAGS'
16292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16298 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_warn_all" >&5
16299 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16300 case ".$ac_cv_cflags_warn_all" in
16305 if echo " $CFLAGS " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
16306 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_warn_all") >&5
16307 (: CFLAGS does contain $ac_cv_cflags_warn_all) 2>&5
16309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); }
16311 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\"") >&5
16312 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }
16316 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
16321 { $as_echo "$as_me:$LINENO: checking CFLAGS making strings readonly" >&5
16322 $as_echo_n "checking CFLAGS making strings readonly... " >&6; }
16323 if test "${ac_cv_cflags_no_writable_strings+set}" = set; then
16324 $as_echo_n "(cached) " >&6
16326 ac_cv_cflags_no_writable_strings="no, unknown"
16329 ac_cpp='$CPP $CPPFLAGS'
16330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16334 ac_save_CFLAGS="$CFLAGS"
16336 # -use_readonly_const is the default for IRIX C,
16337 # puts them into .rodata, but they are copied later.
16338 # need to be "-G0 -rdatashared" for strictmode but
16339 # I am not sure what effect that has really. - guidod
16340 for ac_arg in "-pedantic % -fno-writable-strings -Wwrite-strings" "-pedantic % -fconst-strings -Wwrite-strings" "-v -Xc % -xstrconst" "+w1 -Aa % +ESlit" "-w0 -std1 % -readonly_strings" "-fullwarn -use_readonly_const %% ok, its the default" #
16341 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16342 cat >conftest.$ac_ext <<_ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16357 rm -f conftest.$ac_objext
16358 if { (ac_try="$ac_compile"
16359 case "(($ac_try" in
16360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16361 *) ac_try_echo=$ac_try;;
16363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16364 $as_echo "$ac_try_echo") >&5
16365 (eval "$ac_compile") 2>conftest.er1
16367 grep -v '^ *+' conftest.er1 >conftest.err
16369 cat conftest.err >&5
16370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && {
16372 test -z "$ac_c_werror_flag" ||
16373 test ! -s conftest.err
16374 } && test -s conftest.$ac_objext; then
16375 ac_cv_cflags_no_writable_strings=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16377 $as_echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.$ac_ext >&5
16383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16385 case ".$ac_cv_cflags_no_writable_strings" in
16387 *) # sanity check - testing strcpy() from string.h
16388 cp config.log config.tmp
16389 cat >conftest.$ac_ext <<_ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 #include <string.h>
16401 if (strcpy (test, "test")) return 1;
16406 rm -f conftest.$ac_objext
16407 if { (ac_try="$ac_compile"
16408 case "(($ac_try" in
16409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16410 *) ac_try_echo=$ac_try;;
16412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16413 $as_echo "$ac_try_echo") >&5
16414 (eval "$ac_compile") 2>conftest.er1
16416 grep -v '^ *+' conftest.er1 >conftest.err
16418 cat conftest.err >&5
16419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } && {
16421 test -z "$ac_c_werror_flag" ||
16422 test ! -s conftest.err
16423 } && test -s conftest.$ac_objext; then
16424 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
16425 then ac_cv_cflags_no_writable_strings="no, suppressed, string.h," ; fi
16427 $as_echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16430 ac_cv_cflags_no_writable_strings="no, suppressed, string.h"
16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16437 CFLAGS="$ac_save_CFLAGS"
16439 ac_cpp='$CPP $CPPFLAGS'
16440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16446 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_no_writable_strings" >&5
16447 $as_echo "$ac_cv_cflags_no_writable_strings" >&6; }
16448 case ".$ac_cv_cflags_no_writable_strings" in
16453 if echo " $CFLAGS " | grep " $ac_cv_cflags_no_writable_strings " 2>&1 >/dev/null
16454 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_no_writable_strings") >&5
16455 (: CFLAGS does contain $ac_cv_cflags_no_writable_strings) 2>&5
16457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }
16459 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_no_writable_strings\"") >&5
16460 (: CFLAGS="$CFLAGS $ac_cv_cflags_no_writable_strings") 2>&5
16462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }
16464 CFLAGS="$CFLAGS $ac_cv_cflags_no_writable_strings"
16469 { $as_echo "$as_me:$LINENO: checking CFLAGS for strict prototypes" >&5
16470 $as_echo_n "checking CFLAGS for strict prototypes... " >&6; }
16471 if test "${ac_cv_cflags_strict_prototypes+set}" = set; then
16472 $as_echo_n "(cached) " >&6
16474 ac_cv_cflags_strict_prototypes="no, unknown"
16477 ac_cpp='$CPP $CPPFLAGS'
16478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16482 ac_save_CFLAGS="$CFLAGS"
16483 for ac_arg in "-pedantic % -fstrict-prototypes -Wstrict-prototypes" "-pedantic % -Wstrict-prototypes" "-pedantic % -Wmissing-prototypes" "-pedantic % -Werror-implicit-function-declaration" "-pedantic % -Wimplicit-function-declaration" #
16484 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16485 cat >conftest.$ac_ext <<_ACEOF
16488 cat confdefs.h >>conftest.$ac_ext
16489 cat >>conftest.$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16500 rm -f conftest.$ac_objext
16501 if { (ac_try="$ac_compile"
16502 case "(($ac_try" in
16503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16504 *) ac_try_echo=$ac_try;;
16506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16507 $as_echo "$ac_try_echo") >&5
16508 (eval "$ac_compile") 2>conftest.er1
16510 grep -v '^ *+' conftest.er1 >conftest.err
16512 cat conftest.err >&5
16513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } && {
16515 test -z "$ac_c_werror_flag" ||
16516 test ! -s conftest.err
16517 } && test -s conftest.$ac_objext; then
16518 ac_cv_cflags_strict_prototypes=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16520 $as_echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.$ac_ext >&5
16526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16528 case ".$ac_cv_cflags_strict_prototypes" in
16530 *) # sanity check with signal() from sys/signal.h
16531 cp config.log config.tmp
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <signal.h>
16543 if (signal (SIGINT, SIG_IGN) == SIG_DFL) return 1;
16544 if (signal (SIGINT, SIG_IGN) != SIG_DFL) return 2;
16549 rm -f conftest.$ac_objext
16550 if { (ac_try="$ac_compile"
16551 case "(($ac_try" in
16552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;;
16555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16556 $as_echo "$ac_try_echo") >&5
16557 (eval "$ac_compile") 2>conftest.er1
16559 grep -v '^ *+' conftest.er1 >conftest.err
16561 cat conftest.err >&5
16562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && {
16564 test -z "$ac_c_werror_flag" ||
16565 test ! -s conftest.err
16566 } && test -s conftest.$ac_objext; then
16567 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
16568 then if test `diff config.log config.tmp | grep -i warning | wc -l` != 1
16569 then ac_cv_cflags_strict_prototypes="no, suppressed, signal.h," ; fi ; fi
16571 $as_echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 ac_cv_cflags_strict_prototypes="no, suppressed, signal.h"
16577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581 CFLAGS="$ac_save_CFLAGS"
16583 ac_cpp='$CPP $CPPFLAGS'
16584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16590 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_strict_prototypes" >&5
16591 $as_echo "$ac_cv_cflags_strict_prototypes" >&6; }
16592 case ".$ac_cv_cflags_strict_prototypes" in
16597 if echo " $CFLAGS " | grep " $ac_cv_cflags_strict_prototypes " 2>&1 >/dev/null
16598 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_strict_prototypes") >&5
16599 (: CFLAGS does contain $ac_cv_cflags_strict_prototypes) 2>&5
16601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }
16603 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_strict_prototypes\"") >&5
16604 (: CFLAGS="$CFLAGS $ac_cv_cflags_strict_prototypes") 2>&5
16606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }
16608 CFLAGS="$CFLAGS $ac_cv_cflags_strict_prototypes"
16613 { $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Wpointer-arith" >&5
16614 $as_echo_n "checking CFLAGS for gcc -Wpointer-arith... " >&6; }
16615 if test "${ac_cv_cflags_gcc_option__Wpointer_arith+set}" = set; then
16616 $as_echo_n "(cached) " >&6
16618 ac_cv_cflags_gcc_option__Wpointer_arith="no, unknown"
16621 ac_cpp='$CPP $CPPFLAGS'
16622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16626 ac_save_CFLAGS="$CFLAGS"
16627 for ac_arg in "-pedantic -Werror % -Wpointer-arith" "-pedantic % -Wpointer-arith %% no, obsolete" #
16628 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16629 cat >conftest.$ac_ext <<_ACEOF
16632 cat confdefs.h >>conftest.$ac_ext
16633 cat >>conftest.$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16644 rm -f conftest.$ac_objext
16645 if { (ac_try="$ac_compile"
16646 case "(($ac_try" in
16647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16648 *) ac_try_echo=$ac_try;;
16650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16651 $as_echo "$ac_try_echo") >&5
16652 (eval "$ac_compile") 2>conftest.er1
16654 grep -v '^ *+' conftest.er1 >conftest.err
16656 cat conftest.err >&5
16657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest.$ac_objext; then
16662 ac_cv_cflags_gcc_option__Wpointer_arith=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16664 $as_echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 CFLAGS="$ac_save_CFLAGS"
16674 ac_cpp='$CPP $CPPFLAGS'
16675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16681 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wpointer_arith" >&5
16682 $as_echo "$ac_cv_cflags_gcc_option__Wpointer_arith" >&6; }
16683 case ".$ac_cv_cflags_gcc_option__Wpointer_arith" in
16687 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wpointer_arith " 2>&1 >/dev/null
16688 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wpointer_arith") >&5
16689 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wpointer_arith) 2>&5
16691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }
16693 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wpointer_arith\"") >&5
16694 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith") 2>&5
16696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }
16698 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith"
16703 { $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Wsign-compare" >&5
16704 $as_echo_n "checking CFLAGS for gcc -Wsign-compare... " >&6; }
16705 if test "${ac_cv_cflags_gcc_option__Wsign_compare+set}" = set; then
16706 $as_echo_n "(cached) " >&6
16708 ac_cv_cflags_gcc_option__Wsign_compare="no, unknown"
16711 ac_cpp='$CPP $CPPFLAGS'
16712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16716 ac_save_CFLAGS="$CFLAGS"
16717 for ac_arg in "-pedantic -Werror % -Wsign-compare" "-pedantic % -Wsign-compare %% no, obsolete" #
16718 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16719 cat >conftest.$ac_ext <<_ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16734 rm -f conftest.$ac_objext
16735 if { (ac_try="$ac_compile"
16736 case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16741 $as_echo "$ac_try_echo") >&5
16742 (eval "$ac_compile") 2>conftest.er1
16744 grep -v '^ *+' conftest.er1 >conftest.err
16746 cat conftest.err >&5
16747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && {
16749 test -z "$ac_c_werror_flag" ||
16750 test ! -s conftest.err
16751 } && test -s conftest.$ac_objext; then
16752 ac_cv_cflags_gcc_option__Wsign_compare=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16754 $as_echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.$ac_ext >&5
16760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16762 CFLAGS="$ac_save_CFLAGS"
16764 ac_cpp='$CPP $CPPFLAGS'
16765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16771 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wsign_compare" >&5
16772 $as_echo "$ac_cv_cflags_gcc_option__Wsign_compare" >&6; }
16773 case ".$ac_cv_cflags_gcc_option__Wsign_compare" in
16777 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wsign_compare " 2>&1 >/dev/null
16778 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wsign_compare") >&5
16779 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wsign_compare) 2>&5
16781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }
16783 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wsign_compare\"") >&5
16784 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare") 2>&5
16786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }
16788 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare"
16793 { $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Wmissing-declarations" >&5
16794 $as_echo_n "checking CFLAGS for gcc -Wmissing-declarations... " >&6; }
16795 if test "${ac_cv_cflags_gcc_option__Wmissing_declarations+set}" = set; then
16796 $as_echo_n "(cached) " >&6
16798 ac_cv_cflags_gcc_option__Wmissing_declarations="no, unknown"
16801 ac_cpp='$CPP $CPPFLAGS'
16802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16806 ac_save_CFLAGS="$CFLAGS"
16807 for ac_arg in "-pedantic -Werror % -Wmissing-declarations" "-pedantic % -Wmissing-declarations %% no, obsolete" #
16808 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16809 cat >conftest.$ac_ext <<_ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16824 rm -f conftest.$ac_objext
16825 if { (ac_try="$ac_compile"
16826 case "(($ac_try" in
16827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16828 *) ac_try_echo=$ac_try;;
16830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16831 $as_echo "$ac_try_echo") >&5
16832 (eval "$ac_compile") 2>conftest.er1
16834 grep -v '^ *+' conftest.er1 >conftest.err
16836 cat conftest.err >&5
16837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } && {
16839 test -z "$ac_c_werror_flag" ||
16840 test ! -s conftest.err
16841 } && test -s conftest.$ac_objext; then
16842 ac_cv_cflags_gcc_option__Wmissing_declarations=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16844 $as_echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.$ac_ext >&5
16850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16852 CFLAGS="$ac_save_CFLAGS"
16854 ac_cpp='$CPP $CPPFLAGS'
16855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16861 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wmissing_declarations" >&5
16862 $as_echo "$ac_cv_cflags_gcc_option__Wmissing_declarations" >&6; }
16863 case ".$ac_cv_cflags_gcc_option__Wmissing_declarations" in
16867 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wmissing_declarations " 2>&1 >/dev/null
16868 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wmissing_declarations") >&5
16869 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wmissing_declarations) 2>&5
16871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }
16873 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wmissing_declarations\"") >&5
16874 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations") 2>&5
16876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }
16878 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations"
16883 { $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Wdeclaration-after-statement" >&5
16884 $as_echo_n "checking CFLAGS for gcc -Wdeclaration-after-statement... " >&6; }
16885 if test "${ac_cv_cflags_gcc_option__Wdeclaration_after_statement+set}" = set; then
16886 $as_echo_n "(cached) " >&6
16888 ac_cv_cflags_gcc_option__Wdeclaration_after_statement="no, unknown"
16891 ac_cpp='$CPP $CPPFLAGS'
16892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16896 ac_save_CFLAGS="$CFLAGS"
16897 for ac_arg in "-pedantic -Werror % -Wdeclaration-after-statement" "-pedantic % -Wdeclaration-after-statement %% no, obsolete" #
16898 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16899 cat >conftest.$ac_ext <<_ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16914 rm -f conftest.$ac_objext
16915 if { (ac_try="$ac_compile"
16916 case "(($ac_try" in
16917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16918 *) ac_try_echo=$ac_try;;
16920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16921 $as_echo "$ac_try_echo") >&5
16922 (eval "$ac_compile") 2>conftest.er1
16924 grep -v '^ *+' conftest.er1 >conftest.err
16926 cat conftest.err >&5
16927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } && {
16929 test -z "$ac_c_werror_flag" ||
16930 test ! -s conftest.err
16931 } && test -s conftest.$ac_objext; then
16932 ac_cv_cflags_gcc_option__Wdeclaration_after_statement=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16934 $as_echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.$ac_ext >&5
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 CFLAGS="$ac_save_CFLAGS"
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&5
16952 $as_echo "$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&6; }
16953 case ".$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" in
16957 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wdeclaration_after_statement " 2>&1 >/dev/null
16958 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement") >&5
16959 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wdeclaration_after_statement) 2>&5
16961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }
16963 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement\"") >&5
16964 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement") 2>&5
16966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }
16968 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement"
16973 { $as_echo "$as_me:$LINENO: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5
16974 $as_echo_n "checking CFLAGS for gcc -Werror-implicit-function-declaration... " >&6; }
16975 if test "${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+set}" = set; then
16976 $as_echo_n "(cached) " >&6
16978 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration="no, unknown"
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16986 ac_save_CFLAGS="$CFLAGS"
16987 for ac_arg in "-pedantic -Werror % -Werror-implicit-function-declaration" "-pedantic % -Werror-implicit-function-declaration %% no, obsolete" #
16988 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16989 cat >conftest.$ac_ext <<_ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
17004 rm -f conftest.$ac_objext
17005 if { (ac_try="$ac_compile"
17006 case "(($ac_try" in
17007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17008 *) ac_try_echo=$ac_try;;
17010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17011 $as_echo "$ac_try_echo") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17014 grep -v '^ *+' conftest.er1 >conftest.err
17016 cat conftest.err >&5
17017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.$ac_objext; then
17022 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17024 $as_echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 CFLAGS="$ac_save_CFLAGS"
17034 ac_cpp='$CPP $CPPFLAGS'
17035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17041 { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5
17042 $as_echo "$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&6; }
17043 case ".$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" in
17047 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration " 2>&1 >/dev/null
17048 then { ($as_echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") >&5
17049 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration) 2>&5
17051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }
17053 else { ($as_echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\"") >&5
17054 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") 2>&5
17056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }
17058 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"
17063 # ---------------------------------------------------------------
17064 # The prefix default can be set in configure.ac (otherwise it is /usr/local)
17065 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17066 # Let make expand exec_prefix. Allows to override the makevar 'prefix' later
17067 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17069 # Check whether --enable-enable-default-pkgconfigdir was given.
17070 if test "${enable_enable_default_pkgconfigdir+set}" = set; then
17071 enableval=$enable_enable_default_pkgconfigdir;
17074 test ".$enable_default_pkgconfigdir" = "." && enable_default_pkgconfigdir="no"
17075 case ".$enable_default_pkgconfigdir" in
17076 .no) ax_warning_default_pkgconfig_def='${libdir}/pkgconfig' ;;
17078 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
17079 # Extract the first word of "pkg-config", so it can be a program name with args.
17080 set dummy pkg-config; ac_word=$2
17081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17082 $as_echo_n "checking for $ac_word... " >&6; }
17083 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17084 $as_echo_n "(cached) " >&6
17086 case $PKG_CONFIG in
17088 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17092 for as_dir in $PATH
17095 test -z "$as_dir" && as_dir=.
17096 for ac_exec_ext in '' $ac_executable_extensions; do
17097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17098 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17099 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17106 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17110 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17111 if test -n "$PKG_CONFIG"; then
17112 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17113 $as_echo "$PKG_CONFIG" >&6; }
17115 { $as_echo "$as_me:$LINENO: result: no" >&5
17116 $as_echo "no" >&6; }
17121 if test "$PKG_CONFIG" = "no"
17122 then ax_warning_default_pkgconfig_def="/tmp" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_def="/usr/lib/pkgconfig"
17123 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
17124 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17125 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
17126 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
17127 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
17128 $as_echo X"$ax_warning_default_pkgconfig_def" |
17129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17133 /^X\(\/\/\)[^/].*/{
17146 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
17147 ax_warning_default_pkgconfig_def="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
17148 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
17149 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17150 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
17151 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
17152 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
17153 $as_echo X"$ax_warning_default_pkgconfig_def" |
17154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17158 /^X\(\/\/\)[^/].*/{
17171 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
17172 ax_warning_default_pkgconfig_def="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
17174 if test -d "/usr/lib/pkgconfig" ; then
17175 ax_warning_default_pkgconfig_def="/usr/lib/pkgconfig"
17177 ax_warning_default_pkgconfig_def="/tmp"
17180 *) ax_warning_default_pkgconfig_def="$enable_default_pkgconfigdir" ;;
17182 ax_warning_default_pkgconfig_loc='$ax_warning_default_pkgconfig_def'
17184 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
17185 # Extract the first word of "pkg-config", so it can be a program name with args.
17186 set dummy pkg-config; ac_word=$2
17187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17188 $as_echo_n "checking for $ac_word... " >&6; }
17189 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17190 $as_echo_n "(cached) " >&6
17192 case $PKG_CONFIG in
17194 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17198 for as_dir in $PATH
17201 test -z "$as_dir" && as_dir=.
17202 for ac_exec_ext in '' $ac_executable_extensions; do
17203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17204 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17205 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17212 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17216 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17217 if test -n "$PKG_CONFIG"; then
17218 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17219 $as_echo "$PKG_CONFIG" >&6; }
17221 { $as_echo "$as_me:$LINENO: result: no" >&5
17222 $as_echo "no" >&6; }
17227 if test "$PKG_CONFIG" = "no"
17228 then ax_warning_default_pkgconfig_dir="/" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_dir="/usr/lib/pkgconfig"
17229 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
17230 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17231 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
17232 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
17233 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
17234 $as_echo X"$ax_warning_default_pkgconfig_dir" |
17235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17239 /^X\(\/\/\)[^/].*/{
17252 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
17253 ax_warning_default_pkgconfig_dir="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
17254 else ax_warning_default_pkgconfig_bin=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
17255 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17256 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
17257 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
17258 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
17259 $as_echo X"$ax_warning_default_pkgconfig_dir" |
17260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17264 /^X\(\/\/\)[^/].*/{
17277 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
17278 ax_warning_default_pkgconfig_dir="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
17280 if test -d "/usr/lib/pkgconfig" ; then
17281 ax_warning_default_pkgconfig_dir="/usr/lib/pkgconfig"
17283 ax_warning_default_pkgconfig_dir="/"
17286 { ($as_echo "$as_me:$LINENO: : last pkgconfig dir is assumed as \"\$ax_warning_default_pkgconfig_dir\"") >&5
17287 (: last pkgconfig dir is assumed as "$ax_warning_default_pkgconfig_dir") 2>&5
17289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }
17291 ax_warning_default_pkgconfig_dir=`eval "echo $ax_warning_default_pkgconfig_dir"`
17292 ax_warning_default_pkgconfig_dir=`eval "echo $ax_warning_default_pkgconfig_dir"`
17293 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
17294 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
17295 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
17296 ax_warning_default_pkgconfig_loc=`eval "echo $ax_warning_default_pkgconfig_loc"`
17297 for ax_warning_default_pkgconfig_dir in `echo "$PKG_CONFIG_PATH:$ax_warning_default_pkgconfig_dir" | sed -e 's,:, ,g'` ; do
17298 { ($as_echo "$as_me:$LINENO: : test \".\$ax_warning_default_pkgconfig_loc\" = \".\$ax_warning_default_pkgconfig_dir\"") >&5
17299 (: test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir") 2>&5
17301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }
17303 test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir" && break
17305 if test "$ax_warning_default_pkgconfig_loc" != "$ax_warning_default_pkgconfig_dir" ; then
17306 { $as_echo "$as_me:$LINENO: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&5
17307 $as_echo "$as_me: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&6;}
17308 { $as_echo "$as_me:$LINENO: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&5
17309 $as_echo "$as_me: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&6;}
17311 pkgconfigdir: the default pkgconfigdir of $ax_warning_default_pkgconfig_loc
17312 pkgconfigdir: is not listed in the dirlist where pkg-config will look for
17313 pkgconfigdir: package-configs - you can override the install-path using
17314 pkgconfigdir: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir
17315 pkgconfigdir: or set/append the directory to the environment variable
17316 pkgconfigdir: PKG_CONFIG_PATH="$ax_warning_default_pkgconfig_loc"
17320 pkgconfigdir="$ax_warning_default_pkgconfig_dir"
17323 # Check whether --enable-enable-default-aclocaldir was given.
17324 if test "${enable_enable_default_aclocaldir+set}" = set; then
17325 enableval=$enable_enable_default_aclocaldir;
17328 test ".$enable_default_aclocaldir" = "." && enable_default_aclocaldir="no"
17329 case ".$enable_default_aclocaldir" in
17330 .no) ax_warning_default_aclocal_def='${datadir}/aclocal' ;;
17332 if test ".$ACLOCAL" = "." ; then
17333 # Extract the first word of "aclocal", so it can be a program name with args.
17334 set dummy aclocal; ac_word=$2
17335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17336 $as_echo_n "checking for $ac_word... " >&6; }
17337 if test "${ac_cv_path_ACLOCAL+set}" = set; then
17338 $as_echo_n "(cached) " >&6
17342 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
17345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17346 for as_dir in $PATH
17349 test -z "$as_dir" && as_dir=.
17350 for ac_exec_ext in '' $ac_executable_extensions; do
17351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17352 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
17353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17360 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL=":"
17364 ACLOCAL=$ac_cv_path_ACLOCAL
17365 if test -n "$ACLOCAL"; then
17366 { $as_echo "$as_me:$LINENO: result: $ACLOCAL" >&5
17367 $as_echo "$ACLOCAL" >&6; }
17369 { $as_echo "$as_me:$LINENO: result: no" >&5
17370 $as_echo "no" >&6; }
17375 ax_warning_default_aclocal_bin="$ACLOCAL"
17376 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin="aclocal"
17377 ax_warning_default_aclocal_def=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
17378 test ".$ax_warning_default_aclocal_def" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_def="/usr/share/aclocal"
17379 test ".$ax_warning_default_aclocal_def" = "." && ax_warning_default_aclocal_def="/tmp" ;;
17380 *) ax_warning_default_aclocal_def="$enable_default_aclocaldir" ;;
17382 ax_warning_default_aclocal_loc='$ax_warning_default_aclocal_def'
17384 if test ".$ACLOCAL" = "." ; then
17385 # Extract the first word of "aclocal", so it can be a program name with args.
17386 set dummy aclocal; ac_word=$2
17387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17388 $as_echo_n "checking for $ac_word... " >&6; }
17389 if test "${ac_cv_path_ACLOCAL+set}" = set; then
17390 $as_echo_n "(cached) " >&6
17394 ac_cv_path_ACLOCAL="$ACLOCAL" # Let the user override the test with a path.
17397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17398 for as_dir in $PATH
17401 test -z "$as_dir" && as_dir=.
17402 for ac_exec_ext in '' $ac_executable_extensions; do
17403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17404 ac_cv_path_ACLOCAL="$as_dir/$ac_word$ac_exec_ext"
17405 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17412 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL=":"
17416 ACLOCAL=$ac_cv_path_ACLOCAL
17417 if test -n "$ACLOCAL"; then
17418 { $as_echo "$as_me:$LINENO: result: $ACLOCAL" >&5
17419 $as_echo "$ACLOCAL" >&6; }
17421 { $as_echo "$as_me:$LINENO: result: no" >&5
17422 $as_echo "no" >&6; }
17427 ax_warning_default_aclocal_bin="$ACLOCAL"
17428 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin="aclocal"
17429 ax_warning_default_aclocal_dir=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
17430 test ".$ax_warning_default_aclocal_dir" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_dir="/usr/share/aclocal"
17431 test ".$ax_warning_default_aclocal_dir" = "." && ax_warning_default_aclocal_dir="/tmp"
17432 ax_warning_default_aclocal_dir=`eval "echo $ax_warning_default_aclocal_dir"` # we need to expand
17433 ax_warning_default_aclocal_dir=`eval "echo $ax_warning_default_aclocal_dir"`
17434 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
17435 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
17436 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
17437 ax_warning_default_aclocal_loc=`eval "echo $ax_warning_default_aclocal_loc"`
17438 { ($as_echo "$as_me:$LINENO: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\"") >&5
17439 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
17441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }
17443 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
17444 if test -f "$ax_warning_default_aclocal_dir/dirlist" ; then
17445 for ax_warning_default_aclocal_dir in `cat $ax_warning_default_aclocal_dir/dirlist` $ax_warning_default_aclocal_dir ; do
17446 { ($as_echo "$as_me:$LINENO: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\"") >&5
17447 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
17449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }
17451 test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir" && break
17454 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
17455 { $as_echo "$as_me:$LINENO: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&5
17456 $as_echo "$as_me: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&6;}
17457 { $as_echo "$as_me:$LINENO: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&5
17458 $as_echo "$as_me: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&6;}
17460 aclocaldir: the default aclocaldir of $ax_warning_default_aclocal_loc
17461 aclocaldir: is not listed in the dirlist where aclocal will look
17462 aclocaldir: for macros - you can override the install-path using
17463 aclocaldir: make install aclocaldir=$ax_warning_default_aclocal_dir
17464 aclocaldir: or append the directory to aclocal reconfigures later as
17465 aclocaldir: aclocal -I $ax_warning_default_aclocal_loc
17466 aclocaldir: when an autoconf macro is needed from that directory
17471 aclocaldir="$ax_warning_default_aclocal_dir"
17475 ac_config_files="$ac_config_files Makefile zzip/Makefile zzipwrap/Makefile SDL/Makefile docs/Makefile test/Makefile bins/Makefile"
17477 cat >confcache <<\_ACEOF
17478 # This file is a shell script that caches the results of configure
17479 # tests run on this system so they can be shared between configure
17480 # scripts and configure runs, see configure's option --config-cache.
17481 # It is not useful on other systems. If it contains results you don't
17482 # want to keep, you may remove or edit it.
17484 # config.status only pays attention to the cache file if you give it
17485 # the --recheck option to rerun configure.
17487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17489 # following values.
17493 # The following way of writing the cache mishandles newlines in values,
17494 # but we know of no workaround that is simple, portable, and efficient.
17495 # So, we kill variables containing newlines.
17496 # Ultrix sh set writes to stderr and can't be redirected directly,
17497 # and sets the high bit in the cache file unless we assign to the vars.
17499 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17500 eval ac_val=\$$ac_var
17504 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17505 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17508 _ | IFS | as_nl) ;; #(
17509 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17510 *) $as_unset $ac_var ;;
17516 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17517 *${as_nl}ac_space=\ *)
17518 # `set' does not quote correctly, so add quotes (double-quote
17519 # substitution turns \\\\ into \\, and sed turns \\ into \).
17522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17525 # `set' quotes correctly as required by POSIX, so do not add quotes.
17526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17535 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17537 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17539 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17540 if test -w "$cache_file"; then
17541 test "x$cache_file" != "x/dev/null" &&
17542 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
17543 $as_echo "$as_me: updating cache $cache_file" >&6;}
17544 cat confcache >$cache_file
17546 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17547 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17552 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17553 # Let make expand exec_prefix.
17554 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17556 DEFS=-DHAVE_CONFIG_H
17560 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17561 # 1. Remove the extension, and $U if already installed.
17562 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17563 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17564 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17565 # will be set to the directory where LIBOBJS objects are built.
17566 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17567 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17569 LIBOBJS=$ac_libobjs
17571 LTLIBOBJS=$ac_ltlibobjs
17574 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17575 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17576 Usually this means the macro was only invoked conditionally." >&5
17577 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17578 Usually this means the macro was only invoked conditionally." >&2;}
17579 { (exit 1); exit 1; }; }
17581 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17582 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17583 Usually this means the macro was only invoked conditionally." >&5
17584 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17585 Usually this means the macro was only invoked conditionally." >&2;}
17586 { (exit 1); exit 1; }; }
17588 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17589 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17590 Usually this means the macro was only invoked conditionally." >&5
17591 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17592 Usually this means the macro was only invoked conditionally." >&2;}
17593 { (exit 1); exit 1; }; }
17597 : ${CONFIG_STATUS=./config.status}
17599 ac_clean_files_save=$ac_clean_files
17600 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17601 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17602 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17603 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17605 # Generated by $as_me.
17606 # Run this file to recreate the current configuration.
17607 # Compiler output produced by configure, useful for debugging
17608 # configure, is in config.log if it exists.
17611 ac_cs_recheck=false
17613 SHELL=\${CONFIG_SHELL-$SHELL}
17616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17617 ## --------------------- ##
17618 ## M4sh Initialization. ##
17619 ## --------------------- ##
17621 # Be more Bourne compatible
17622 DUALCASE=1; export DUALCASE # for MKS sh
17623 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17627 # is contrary to our usage. Disable this feature.
17628 alias -g '${1+"$@"}'='"$@"'
17629 setopt NO_GLOB_SUBST
17631 case `(set -o) 2>/dev/null` in
17632 *posix*) set -o posix ;;
17641 # Avoid depending upon Character Ranges.
17642 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17643 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17644 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17645 as_cr_digits='0123456789'
17646 as_cr_alnum=$as_cr_Letters$as_cr_digits
17651 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17652 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17655 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17656 as_echo='printf %s\n'
17657 as_echo_n='printf %s'
17659 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17660 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17661 as_echo_n='/usr/ucb/echo -n'
17663 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17664 as_echo_n_body='eval
17668 expr "X$arg" : "X\\(.*\\)$as_nl";
17669 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17671 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17673 export as_echo_n_body
17674 as_echo_n='sh -c $as_echo_n_body as_echo'
17676 export as_echo_body
17677 as_echo='sh -c $as_echo_body as_echo'
17680 # The user is always right.
17681 if test "${PATH_SEPARATOR+set}" != set; then
17683 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17684 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17689 # Support unset when possible.
17690 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17698 # We need space, tab and new line, in precisely that order. Quoting is
17699 # there to prevent editors from complaining about space-tab.
17700 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17701 # splitting by setting IFS to empty value.)
17704 # Find who we are. Look in the path if we contain no directory separator.
17706 *[\\/]* ) as_myself=$0 ;;
17707 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17708 for as_dir in $PATH
17711 test -z "$as_dir" && as_dir=.
17712 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17718 # We did not find ourselves, most probably we were run as `sh COMMAND'
17719 # in which case we are not to be found in the path.
17720 if test "x$as_myself" = x; then
17723 if test ! -f "$as_myself"; then
17724 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17725 { (exit 1); exit 1; }
17728 # Work around bugs in pre-3.0 UWIN ksh.
17729 for as_var in ENV MAIL MAILPATH
17730 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17742 # Required to use basename.
17743 if expr a : '\(a\)' >/dev/null 2>&1 &&
17744 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17750 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17751 as_basename=basename
17757 # Name of the executable.
17758 as_me=`$as_basename -- "$0" ||
17759 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17760 X"$0" : 'X\(//\)$' \| \
17761 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17763 sed '/^.*\/\([^/][^/]*\)\/*$/{
17782 as_lineno_1=$LINENO
17783 as_lineno_2=$LINENO
17784 test "x$as_lineno_1" != "x$as_lineno_2" &&
17785 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17788 # uniformly replaced by the line number. The first 'sed' inserts a
17789 # line-number line after each line using $LINENO; the second 'sed'
17790 # does the real work. The second script uses 'N' to pair each
17791 # line-number line with the line containing $LINENO, and appends
17792 # trailing '-' during substitution so that $LINENO is not a special
17793 # case at line end.
17794 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17795 # scripts with optimization help from Paolo Bonzini. Blame Lee
17796 # E. McMahon (1931-1989) for sed's syntax. :-)
17808 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17811 ' >$as_me.lineno &&
17812 chmod +x "$as_me.lineno" ||
17813 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17814 { (exit 1); exit 1; }; }
17816 # Don't try to exec as it changes $[0], causing all sort of problems
17817 # (the dirname of $[0] is not the place where we might find the
17818 # original and so on. Autoconf is especially sensitive to this).
17819 . "./$as_me.lineno"
17820 # Exit status is that of the last command.
17825 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17831 ECHO_C= ECHO_N= ECHO_T=
17832 case `echo -n x` in
17834 case `echo 'x\c'` in
17835 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17841 if expr a : '\(a\)' >/dev/null 2>&1 &&
17842 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17848 rm -f conf$$ conf$$.exe conf$$.file
17849 if test -d conf$$.dir; then
17850 rm -f conf$$.dir/conf$$.file
17853 mkdir conf$$.dir 2>/dev/null
17855 if (echo >conf$$.file) 2>/dev/null; then
17856 if ln -s conf$$.file conf$$ 2>/dev/null; then
17858 # ... but there are two gotchas:
17859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17861 # In both cases, we have to default to `cp -p'.
17862 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17864 elif ln conf$$.file conf$$ 2>/dev/null; then
17872 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17873 rmdir conf$$.dir 2>/dev/null
17875 if mkdir -p . 2>/dev/null; then
17878 test -d ./-p && rmdir ./-p
17882 if test -x / >/dev/null 2>&1; then
17883 as_test_x='test -x'
17885 if ls -dL / >/dev/null 2>&1; then
17892 if test -d "$1"; then
17898 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17899 ???[sx]*):;;*)false;;esac;fi
17903 as_executable_p=$as_test_x
17905 # Sed expression to map a string onto a valid CPP name.
17906 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17908 # Sed expression to map a string onto a valid variable name.
17909 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17914 # Save the log message, to keep $[0] and so on meaningful, and to
17915 # report actual input values of CONFIG_FILES etc. instead of their
17916 # values after options handling.
17918 This file was extended by $as_me, which was
17919 generated by GNU Autoconf 2.63. Invocation command line was
17921 CONFIG_FILES = $CONFIG_FILES
17922 CONFIG_HEADERS = $CONFIG_HEADERS
17923 CONFIG_LINKS = $CONFIG_LINKS
17924 CONFIG_COMMANDS = $CONFIG_COMMANDS
17927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17932 case $ac_config_files in *"
17933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17936 case $ac_config_headers in *"
17937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942 # Files that config.status was made for.
17943 config_files="$ac_config_files"
17944 config_headers="$ac_config_headers"
17945 config_commands="$ac_config_commands"
17949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17951 \`$as_me' instantiates files from templates according to the
17952 current configuration.
17954 Usage: $0 [OPTION]... [FILE]...
17956 -h, --help print this help, then exit
17957 -V, --version print version number and configuration settings, then exit
17958 -q, --quiet, --silent
17959 do not print progress messages
17960 -d, --debug don't remove temporary files
17961 --recheck update $as_me by reconfiguring in the same conditions
17962 --file=FILE[:TEMPLATE]
17963 instantiate the configuration file FILE
17964 --header=FILE[:TEMPLATE]
17965 instantiate the configuration header FILE
17967 Configuration files:
17970 Configuration headers:
17973 Configuration commands:
17976 Report bugs to <bug-autoconf@gnu.org>."
17979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17982 configured by $0, generated by GNU Autoconf 2.63,
17983 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17985 Copyright (C) 2008 Free Software Foundation, Inc.
17986 This config.status script is free software; the Free Software Foundation
17987 gives unlimited permission to copy, distribute and modify it."
17994 test -n "\$AWK" || AWK=awk
17997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17998 # The default lists apply if the user does not specify any file.
18004 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18005 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18016 # Handling of the options.
18017 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18019 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18020 $as_echo "$ac_cs_version"; exit ;;
18021 --debug | --debu | --deb | --de | --d | -d )
18023 --file | --fil | --fi | --f )
18026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18028 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
18029 ac_need_defaults=false;;
18030 --header | --heade | --head | --hea )
18033 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18035 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
18036 ac_need_defaults=false;;
18038 # Conflict between --help and --header
18039 { $as_echo "$as_me: error: ambiguous option: $1
18040 Try \`$0 --help' for more information." >&2
18041 { (exit 1); exit 1; }; };;
18042 --help | --hel | -h )
18043 $as_echo "$ac_cs_usage"; exit ;;
18044 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18045 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18048 # This is an error.
18049 -*) { $as_echo "$as_me: error: unrecognized option: $1
18050 Try \`$0 --help' for more information." >&2
18051 { (exit 1); exit 1; }; } ;;
18053 *) ac_config_targets="$ac_config_targets $1"
18054 ac_need_defaults=false ;;
18060 ac_configure_extra_args=
18062 if $ac_cs_silent; then
18064 ac_configure_extra_args="$ac_configure_extra_args --silent"
18068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18069 if \$ac_cs_recheck; then
18070 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18073 CONFIG_SHELL='$SHELL'
18074 export CONFIG_SHELL
18079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18084 ## Running $as_me. ##
18090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18094 ax_enable_builddir_srcdir="$srcdir" # $srcdir
18095 ax_enable_builddir_host="$HOST" # $HOST / $host
18096 ax_enable_builddir_version="$VERSION" # $VERSION
18097 ax_enable_builddir_package="$PACKAGE" # $PACKAGE
18098 ax_enable_builddir_sed="$ax_enable_builddir_sed" # $SED
18099 ax_enable_builddir="$ax_enable_builddir" # $SUB
18101 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18104 # The HP-UX ksh and POSIX shell print the target directory to stdout
18105 # if CDPATH is set.
18106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18108 sed_quote_subst='$sed_quote_subst'
18109 double_quote_subst='$double_quote_subst'
18110 delay_variable_subst='$delay_variable_subst'
18111 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18112 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18113 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18114 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18115 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18116 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18117 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18118 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18119 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18120 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18121 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18122 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18123 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18124 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18125 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18126 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18127 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18128 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18129 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18130 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18131 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18132 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18133 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18134 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18135 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18136 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18137 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18138 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18139 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18140 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18141 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18142 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18143 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18144 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18145 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18146 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18147 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18148 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18149 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18150 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18151 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18152 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18153 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18154 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18155 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18156 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18157 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18158 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18159 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18160 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18161 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18162 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18163 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18164 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18165 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18166 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18167 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18168 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18169 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18170 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18171 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18172 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18173 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18174 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18175 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18176 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18177 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18178 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18179 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18180 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18181 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18182 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18183 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18184 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18185 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18186 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18187 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18188 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18189 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18190 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18191 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18192 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18193 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18194 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18195 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18196 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18197 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18198 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18199 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18200 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18201 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18202 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18203 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18204 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18205 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18206 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18207 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18208 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18209 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18210 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18211 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18212 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18213 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18214 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18215 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18216 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18217 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18218 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18219 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18220 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18221 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18222 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18223 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18224 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18225 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18226 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18227 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18228 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18229 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18230 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18233 LTCFLAGS='$LTCFLAGS'
18234 compiler='$compiler_DEFAULT'
18236 # Quote evaled strings.
18247 deplibs_check_method \
18256 lt_cv_sys_global_symbol_pipe \
18257 lt_cv_sys_global_symbol_to_cdecl \
18258 lt_cv_sys_global_symbol_to_c_name_address \
18259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18262 lt_prog_compiler_no_builtin_flag \
18263 lt_prog_compiler_wl \
18264 lt_prog_compiler_pic \
18265 lt_prog_compiler_static \
18266 lt_cv_prog_compiler_c_o \
18274 export_dynamic_flag_spec \
18275 whole_archive_flag_spec \
18276 compiler_needs_object \
18278 allow_undefined_flag \
18279 no_undefined_flag \
18280 hardcode_libdir_flag_spec \
18281 hardcode_libdir_flag_spec_ld \
18282 hardcode_libdir_separator \
18287 variables_saved_for_relink \
18289 library_names_spec \
18294 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18295 *[\\\\\\\`\\"\\\$]*)
18296 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18299 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18304 # Double-quote double-evaled strings.
18305 for var in reload_cmds \
18306 old_postinstall_cmds \
18307 old_postuninstall_cmds \
18309 extract_expsyms_cmds \
18310 old_archive_from_new_cmds \
18311 old_archive_from_expsyms_cmds \
18313 archive_expsym_cmds \
18315 module_expsym_cmds \
18316 export_symbols_cmds \
18319 postuninstall_cmds \
18321 sys_lib_search_path_spec \
18322 sys_lib_dlsearch_path_spec; do
18323 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18324 *[\\\\\\\`\\"\\\$]*)
18325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18333 # Fix-up fallback echo if it was mangled by the above quoting rules.
18335 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18339 ac_aux_dir='$ac_aux_dir'
18340 xsi_shell='$xsi_shell'
18341 lt_shell_append='$lt_shell_append'
18343 # See if we are running on zsh, and set the options which allow our
18344 # commands through without removal of \ escapes INIT.
18345 if test -n "\${ZSH_VERSION+set}" ; then
18346 setopt NO_GLOB_SUBST
18352 TIMESTAMP='$TIMESTAMP'
18361 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
18362 pkgconfig_prefix='$prefix'
18363 pkgconfig_execprefix='$exec_prefix'
18364 pkgconfig_bindir='$bindir'
18365 pkgconfig_libdir='$libdir'
18366 pkgconfig_includedir='$includedir'
18367 pkgconfig_datarootdir='$datarootdir'
18368 pkgconfig_datadir='$datadir'
18369 pkgconfig_sysconfdir='$sysconfdir'
18370 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
18371 pkgconfig_package='$PACKAGE_NAME'
18372 pkgconfig_libname='$ax_create_pkgconfig_libname'
18373 pkgconfig_description='$ax_create_pkgconfig_description'
18374 pkgconfig_version='$ax_create_pkgconfig_version'
18375 pkgconfig_requires='$ax_create_pkgconfig_requires'
18376 pkgconfig_libs='$ax_create_pkgconfig_libs'
18377 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
18378 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
18379 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
18380 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
18385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18387 # Handling of arguments.
18388 for ac_config_target in $ac_config_targets
18390 case $ac_config_target in
18391 "buildir") CONFIG_COMMANDS="$CONFIG_COMMANDS buildir" ;;
18392 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18393 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18394 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18395 "zzip/_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS zzip/_config.h" ;;
18396 "zzip/_msvc.h") CONFIG_COMMANDS="$CONFIG_COMMANDS zzip/_msvc.h" ;;
18397 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
18398 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18399 "zzip/Makefile") CONFIG_FILES="$CONFIG_FILES zzip/Makefile" ;;
18400 "zzipwrap/Makefile") CONFIG_FILES="$CONFIG_FILES zzipwrap/Makefile" ;;
18401 "SDL/Makefile") CONFIG_FILES="$CONFIG_FILES SDL/Makefile" ;;
18402 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18403 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18404 "bins/Makefile") CONFIG_FILES="$CONFIG_FILES bins/Makefile" ;;
18406 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18407 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18408 { (exit 1); exit 1; }; };;
18413 # If the user did not use the arguments to specify the items to instantiate,
18414 # then the envvar interface is used. Set only those that are not.
18415 # We use the long form for the default assignment because of an extremely
18416 # bizarre bug on SunOS 4.1.3.
18417 if $ac_need_defaults; then
18418 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18419 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18423 # Have a temporary directory for convenience. Make it in the build tree
18424 # simply because there is no reason against having it here, and in addition,
18425 # creating and moving files from /tmp can sometimes cause problems.
18426 # Hook for its removal unless debugging.
18427 # Note that there is a small window in which the directory will not be cleaned:
18428 # after its creation but before its name has been assigned to `$tmp'.
18432 trap 'exit_status=$?
18433 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18435 trap '{ (exit 1); exit 1; }' 1 2 13 15
18437 # Create a (secure) tmp directory for tmp files.
18440 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18441 test -n "$tmp" && test -d "$tmp"
18444 tmp=./conf$$-$RANDOM
18445 (umask 077 && mkdir "$tmp")
18448 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18449 { (exit 1); exit 1; }
18452 # Set up the scripts for CONFIG_FILES section.
18453 # No need to generate them if there are no CONFIG_FILES.
18454 # This happens for instance with `./config.status config.h'.
18455 if test -n "$CONFIG_FILES"; then
18459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18463 ac_cs_awk_cr=$ac_cr
18466 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18471 echo "cat >conf$$subs.awk <<_ACEOF" &&
18472 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18474 } >conf$$subs.sh ||
18475 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18476 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18477 { (exit 1); exit 1; }; }
18478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18480 for ac_last_try in false false false false false :; do
18481 . ./conf$$subs.sh ||
18482 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18483 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18484 { (exit 1); exit 1; }; }
18486 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18487 if test $ac_delim_n = $ac_delim_num; then
18489 elif $ac_last_try; then
18490 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18491 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18492 { (exit 1); exit 1; }; }
18494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18497 rm -f conf$$subs.sh
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18500 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18504 s/^/S["/; s/!.*/"]=/
18514 s/\(.\{148\}\).*/\1/
18516 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18528 s/\(.\{148\}\).*/\1/
18530 s/["\\]/\\&/g; s/^/"/; s/$/"/
18534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18539 ' <conf$$subs.awk | sed '
18544 ' >>$CONFIG_STATUS || ac_write_fail=1
18545 rm -f conf$$subs.awk
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18548 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18549 for (key in S) S_is_set[key] = 1
18555 nfields = split(line, field, "@")
18557 len = length(field[1])
18558 for (i = 2; i < nfields; i++) {
18560 keylen = length(key)
18561 if (S_is_set[key]) {
18563 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18564 len += length(value) + length(field[++i])
18575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18576 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18577 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18580 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18581 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18582 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
18583 { (exit 1); exit 1; }; }
18586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18588 # trailing colons and then remove the whole line if VPATH becomes empty
18589 # (actually we leave an empty line to preserve line numbers).
18590 if test "x$srcdir" = x.; then
18591 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18592 s/:*\$(srcdir):*/:/
18593 s/:*\${srcdir}:*/:/
18595 s/^\([^=]*=[ ]*\):*/\1/
18601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18602 fi # test -n "$CONFIG_FILES"
18604 # Set up the scripts for CONFIG_HEADERS section.
18605 # No need to generate them if there are no CONFIG_HEADERS.
18606 # This happens for instance with `./config.status Makefile'.
18607 if test -n "$CONFIG_HEADERS"; then
18608 cat >"$tmp/defines.awk" <<\_ACAWK ||
18612 # Transform confdefs.h into an awk script `defines.awk', embedded as
18613 # here-document in config.status, that substitutes the proper values into
18614 # config.h.in to produce config.h.
18616 # Create a delimiter string that does not exist in confdefs.h, to ease
18617 # handling of long lines.
18619 for ac_last_try in false false :; do
18620 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18621 if test -z "$ac_t"; then
18623 elif $ac_last_try; then
18624 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18625 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18626 { (exit 1); exit 1; }; }
18628 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18632 # For the awk script, D is an array of macro values keyed by name,
18633 # likewise P contains macro parameters if any. Preserve backslash
18634 # newline sequences.
18636 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18638 s/.\{148\}/&'"$ac_delim"'/g
18641 s/^[ ]*#[ ]*define[ ][ ]*/ /
18648 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18650 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18654 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18655 D["\1"]=" \3\\\\\\n"\\/p
18657 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18662 s/.\{148\}/&'"$ac_delim"'/g
18667 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18670 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18672 ' <confdefs.h | sed '
18673 s/'"$ac_delim"'/"\\\
18674 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18677 for (key in D) D_is_set[key] = 1
18680 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18682 split(line, arg, " ")
18683 if (arg[1] == "#") {
18687 defundef = substr(arg[1], 2)
18690 split(mac1, mac2, "(") #)
18692 prefix = substr(line, 1, index(line, defundef) - 1)
18693 if (D_is_set[macro]) {
18694 # Preserve the white space surrounding the "#".
18695 print prefix "define", macro P[macro] D[macro]
18698 # Replace #undef with comments. This is necessary, for example,
18699 # in the case of _POSIX_SOURCE, which is predefined and required
18700 # on some systems where configure will not decide to define it.
18701 if (defundef == "undef") {
18702 print "/*", prefix defundef, macro, "*/"
18710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18711 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18712 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18713 { (exit 1); exit 1; }; }
18714 fi # test -n "$CONFIG_HEADERS"
18717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18722 :[FHLC]) ac_mode=$ac_tag; continue;;
18724 case $ac_mode$ac_tag in
18726 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18727 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18728 { (exit 1); exit 1; }; };;
18729 :[FH]-) ac_tag=-:-;;
18730 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18747 -) ac_f="$tmp/stdin";;
18748 *) # Look for the file first in the build tree, then in the source tree
18749 # (if the path is not absolute). The absolute path cannot be DOS-style,
18750 # because $ac_f cannot contain `:'.
18754 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18756 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18757 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18758 { (exit 1); exit 1; }; };;
18760 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18761 ac_file_inputs="$ac_file_inputs '$ac_f'"
18764 # Let's still pretend it is `configure' which instantiates (i.e., don't
18765 # use $as_me), people would be surprised to read:
18766 # /* config.h. Generated by config.status. */
18767 configure_input='Generated from '`
18768 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18770 if test x"$ac_file" != x-; then
18771 configure_input="$ac_file. $configure_input"
18772 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18773 $as_echo "$as_me: creating $ac_file" >&6;}
18775 # Neutralize special characters interpreted by sed in replacement strings.
18776 case $configure_input in #(
18777 *\&* | *\|* | *\\* )
18778 ac_sed_conf_input=`$as_echo "$configure_input" |
18779 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18780 *) ac_sed_conf_input=$configure_input;;
18784 *:-:* | *:-) cat >"$tmp/stdin" \
18785 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18786 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18787 { (exit 1); exit 1; }; } ;;
18792 ac_dir=`$as_dirname -- "$ac_file" ||
18793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18794 X"$ac_file" : 'X\(//\)[^/]' \| \
18795 X"$ac_file" : 'X\(//\)$' \| \
18796 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18797 $as_echo X"$ac_file" |
18798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18802 /^X\(\/\/\)[^/].*/{
18817 -*) as_dir=./$as_dir;;
18819 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18823 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18824 *) as_qdir=$as_dir;;
18826 as_dirs="'$as_qdir' $as_dirs"
18827 as_dir=`$as_dirname -- "$as_dir" ||
18828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18829 X"$as_dir" : 'X\(//\)[^/]' \| \
18830 X"$as_dir" : 'X\(//\)$' \| \
18831 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18832 $as_echo X"$as_dir" |
18833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18837 /^X\(\/\/\)[^/].*/{
18850 test -d "$as_dir" && break
18852 test -z "$as_dirs" || eval "mkdir $as_dirs"
18853 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18854 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18855 { (exit 1); exit 1; }; }; }
18859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18861 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18862 # A ".." for each directory in $ac_dir_suffix.
18863 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18864 case $ac_top_builddir_sub in
18865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18869 ac_abs_top_builddir=$ac_pwd
18870 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18871 # for backward compatibility:
18872 ac_top_builddir=$ac_top_build_prefix
18875 .) # We are building in place.
18877 ac_top_srcdir=$ac_top_builddir_sub
18878 ac_abs_top_srcdir=$ac_pwd ;;
18879 [\\/]* | ?:[\\/]* ) # Absolute name.
18880 ac_srcdir=$srcdir$ac_dir_suffix;
18881 ac_top_srcdir=$srcdir
18882 ac_abs_top_srcdir=$srcdir ;;
18883 *) # Relative name.
18884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18885 ac_top_srcdir=$ac_top_build_prefix$srcdir
18886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18898 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18899 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18901 ac_MKDIR_P=$MKDIR_P
18903 [\\/$]* | ?:[\\/]* ) ;;
18904 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18909 # If the template does not know about datarootdir, expand it.
18910 # FIXME: This hack should be removed a few years after 2.60.
18911 ac_datarootdir_hack=; ac_datarootdir_seen=
18924 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18925 *datarootdir*) ac_datarootdir_seen=yes;;
18926 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18927 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18928 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931 ac_datarootdir_hack='
18932 s&@datadir@&$datadir&g
18933 s&@docdir@&$docdir&g
18934 s&@infodir@&$infodir&g
18935 s&@localedir@&$localedir&g
18936 s&@mandir@&$mandir&g
18937 s&\\\${datarootdir}&$datarootdir&g' ;;
18941 # Neutralize VPATH when `$srcdir' = `.'.
18942 # Shell code in configure.ac might set extrasub.
18943 # FIXME: do we really want to maintain this feature?
18944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18945 ac_sed_extra="$ac_vpsub
18948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18951 s|@configure_input@|$ac_sed_conf_input|;t t
18952 s&@top_builddir@&$ac_top_builddir_sub&;t t
18953 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18954 s&@srcdir@&$ac_srcdir&;t t
18955 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18956 s&@top_srcdir@&$ac_top_srcdir&;t t
18957 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18958 s&@builddir@&$ac_builddir&;t t
18959 s&@abs_builddir@&$ac_abs_builddir&;t t
18960 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18961 s&@INSTALL@&$ac_INSTALL&;t t
18962 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18963 $ac_datarootdir_hack
18965 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18966 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18967 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18968 { (exit 1); exit 1; }; }
18970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18971 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18973 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18974 which seems to be undefined. Please make sure it is defined." >&5
18975 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18976 which seems to be undefined. Please make sure it is defined." >&2;}
18980 -) cat "$tmp/out" && rm -f "$tmp/out";;
18981 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18983 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18984 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18985 { (exit 1); exit 1; }; }
18991 if test x"$ac_file" != x-; then
18993 $as_echo "/* $configure_input */" \
18994 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18995 } >"$tmp/config.h" \
18996 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18997 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18998 { (exit 1); exit 1; }; }
18999 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19000 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19001 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19004 mv "$tmp/config.h" "$ac_file" \
19005 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19006 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19007 { (exit 1); exit 1; }; }
19010 $as_echo "/* $configure_input */" \
19011 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19012 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19013 $as_echo "$as_me: error: could not create -" >&2;}
19014 { (exit 1); exit 1; }; }
19016 # Compute "$ac_file"'s index in $config_headers.
19019 for _am_header in $config_headers :; do
19020 case $_am_header in
19021 $_am_arg | $_am_arg:* )
19024 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19027 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19028 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19029 X"$_am_arg" : 'X\(//\)[^/]' \| \
19030 X"$_am_arg" : 'X\(//\)$' \| \
19031 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19032 $as_echo X"$_am_arg" |
19033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19037 /^X\(\/\/\)[^/].*/{
19049 s/.*/./; q'`/stamp-h$_am_stamp_count
19052 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
19053 $as_echo "$as_me: executing $ac_file commands" >&6;}
19058 case $ac_file$ac_mode in
19059 "buildir":C) ac_top_srcdir="$ax_enable_builddir_srcdir"
19060 if test ".$ax_enable_builddir" = "." ; then
19061 if test -f "$top_srcdir/Makefile" ; then
19062 { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - left untouched" >&5
19063 $as_echo "$as_me: skipping top_srcdir/Makefile - left untouched" >&6;}
19065 { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - not created" >&5
19066 $as_echo "$as_me: skipping top_srcdir/Makefile - not created" >&6;}
19069 { $as_echo "$as_me:$LINENO: create top_srcdir/Makefile guessed from local Makefile" >&5
19070 $as_echo "$as_me: create top_srcdir/Makefile guessed from local Makefile" >&6;}
19071 x='`' ; cat >$tmp/conftemp.sed <<_EOF
19084 s/\\(\\n\\) /\\1 /g
19088 s/^srcdir *=.*/srcdir = ./
19089 s/^top_srcdir *=.*/top_srcdir = ./
19095 /^.*[=]/!s%\$% ; (cd \$(BUILD) \\&\\& \$(ISNOTSRCDIR) \\&\\& \$(MAKE) "\$\@") || exit ; \$(MAKE) done "RULE=\$\@"%
19097 test ".$USE_MAINTAINER_MODE" = ".no" || \
19098 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefile.sed~" ## DEBUGGING
19099 echo 'BUILD=`uname -msr | tr " /" "__"`.d' >$ac_top_srcdir/Makefile
19100 echo 'ISNOTSRCDIR=test ! -f configure' >>$ac_top_srcdir/Makefile
19101 $ax_enable_builddir_sed -f $tmp/conftemp.sed Makefile >>$ac_top_srcdir/Makefile
19102 echo 'done: ;@ if grep "$(RULE)-done .*:" Makefile > /dev/null; then echo $(MAKE) $(RULE)-done ; $(MAKE) $(RULE)-done ; else true ; fi' >> $ac_top_srcdir/Makefile
19103 if test -f "$ac_top_srcdir/Makefile.mk" ; then
19104 { $as_echo "$as_me:$LINENO: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&5
19105 $as_echo "$as_me: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&6;}
19106 cat $ac_top_srcdir/Makefile.mk >>$ac_top_srcdir/Makefile
19108 { $as_echo "$as_me:$LINENO: make uses BUILD=$ax_enable_builddir (on $ax_enable_builddir_host:)" >&5
19109 $as_echo "$as_me: make uses BUILD=$ax_enable_builddir (on $ax_enable_builddir_host:)" >&6;}
19112 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
19113 # Strip MF so we end up with the name of the file.
19114 mf=`echo "$mf" | sed -e 's/:.*$//'`
19115 # Check whether this is an Automake generated Makefile or not.
19116 # We used to match only the files named `Makefile.in', but
19117 # some people rename them; so instead we look at the file content.
19118 # Grep'ing the first line is not enough: some people post-process
19119 # each Makefile.in and add a new line on top of each file to say so.
19120 # Grep'ing the whole file is not good either: AIX grep has a line
19121 # limit of 2048, but all sed's we know have understand at least 4000.
19122 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19123 dirpart=`$as_dirname -- "$mf" ||
19124 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19125 X"$mf" : 'X\(//\)[^/]' \| \
19126 X"$mf" : 'X\(//\)$' \| \
19127 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19133 /^X\(\/\/\)[^/].*/{
19149 # Extract the definition of DEPDIR, am__include, and am__quote
19150 # from the Makefile without running `make'.
19151 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19152 test -z "$DEPDIR" && continue
19153 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19154 test -z "am__include" && continue
19155 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19156 # When using ansi2knr, U may be empty or an underscore; expand it
19157 U=`sed -n 's/^U = //p' < "$mf"`
19158 # Find all dependency output files, they are included files with
19159 # $(DEPDIR) in their names. We invoke sed twice because it is the
19160 # simplest approach to changing $(DEPDIR) to its actual value in the
19162 for file in `sed -n "
19163 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19165 # Make sure the directory exists.
19166 test -f "$dirpart/$file" && continue
19167 fdir=`$as_dirname -- "$file" ||
19168 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19169 X"$file" : 'X\(//\)[^/]' \| \
19170 X"$file" : 'X\(//\)$' \| \
19171 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19172 $as_echo X"$file" |
19173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19177 /^X\(\/\/\)[^/].*/{
19190 { as_dir=$dirpart/$fdir
19192 -*) as_dir=./$as_dir;;
19194 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19198 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19199 *) as_qdir=$as_dir;;
19201 as_dirs="'$as_qdir' $as_dirs"
19202 as_dir=`$as_dirname -- "$as_dir" ||
19203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19204 X"$as_dir" : 'X\(//\)[^/]' \| \
19205 X"$as_dir" : 'X\(//\)$' \| \
19206 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19207 $as_echo X"$as_dir" |
19208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19212 /^X\(\/\/\)[^/].*/{
19225 test -d "$as_dir" && break
19227 test -z "$as_dirs" || eval "mkdir $as_dirs"
19228 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19229 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19230 { (exit 1); exit 1; }; }; }
19231 # echo "creating $dirpart/$file"
19232 echo '# dummy' > "$dirpart/$file"
19238 # See if we are running on zsh, and set the options which allow our
19239 # commands through without removal of \ escapes.
19240 if test -n "${ZSH_VERSION+set}" ; then
19241 setopt NO_GLOB_SUBST
19244 cfgfile="${ofile}T"
19245 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19248 cat <<_LT_EOF >> "$cfgfile"
19251 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19252 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19253 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19254 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19256 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19257 # 2006, 2007, 2008 Free Software Foundation, Inc.
19258 # Written by Gordon Matzigkeit, 1996
19260 # This file is part of GNU Libtool.
19262 # GNU Libtool is free software; you can redistribute it and/or
19263 # modify it under the terms of the GNU General Public License as
19264 # published by the Free Software Foundation; either version 2 of
19265 # the License, or (at your option) any later version.
19267 # As a special exception to the GNU General Public License,
19268 # if you distribute this file as part of a program or library that
19269 # is built using GNU Libtool, you may include this file under the
19270 # same distribution terms that you use for the rest of that program.
19272 # GNU Libtool is distributed in the hope that it will be useful,
19273 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19274 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19275 # GNU General Public License for more details.
19277 # You should have received a copy of the GNU General Public License
19278 # along with GNU Libtool; see the file COPYING. If not, a copy
19279 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19280 # obtained by writing to the Free Software Foundation, Inc.,
19281 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19284 # The names of the tagged configurations supported by this script.
19287 # ### BEGIN LIBTOOL CONFIG
19289 # Assembler program.
19292 # DLL creation program.
19295 # Object dumper program.
19298 # Which release of libtool.m4 was used?
19299 macro_version=$macro_version
19300 macro_revision=$macro_revision
19302 # Whether or not to build shared libraries.
19303 build_libtool_libs=$enable_shared
19305 # Whether or not to build static libraries.
19306 build_old_libs=$enable_static
19308 # What type of objects to build.
19311 # Whether or not to optimize for fast installation.
19312 fast_install=$enable_fast_install
19315 host_alias=$host_alias
19319 # The build system.
19320 build_alias=$build_alias
19324 # A sed program that does not truncate output.
19327 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19328 Xsed="\$SED -e 1s/^X//"
19330 # A grep program that handles long lines.
19336 # A literal string matcher.
19339 # A BSD- or MS-compatible name lister.
19342 # Whether we need soft or hard links.
19345 # What is the maximum length of a command?
19346 max_cmd_len=$max_cmd_len
19348 # Object file suffix (normally "o").
19351 # Executable file suffix (normally "").
19354 # whether the shell understands "unset".
19357 # turn spaces into newlines.
19360 # turn newlines into spaces.
19363 # How to create reloadable object files.
19364 reload_flag=$lt_reload_flag
19365 reload_cmds=$lt_reload_cmds
19367 # Method to check whether dependent libraries are shared objects.
19368 deplibs_check_method=$lt_deplibs_check_method
19370 # Command to use when deplibs_check_method == "file_magic".
19371 file_magic_cmd=$lt_file_magic_cmd
19375 AR_FLAGS=$lt_AR_FLAGS
19377 # A symbol stripping program.
19380 # Commands used to install an old-style archive.
19382 old_postinstall_cmds=$lt_old_postinstall_cmds
19383 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19388 # LTCC compiler flags.
19389 LTCFLAGS=$lt_CFLAGS
19391 # Take the output of nm and produce a listing of raw symbols and C names.
19392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19394 # Transform the output of nm in a proper C declaration.
19395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19397 # Transform the output of nm in a C name address pair.
19398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19400 # Transform the output of nm in a C name address pair when lib prefix is needed.
19401 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19403 # The name of the directory that contains temporary libtool files.
19406 # Shell to use when invoking shell scripts.
19409 # An echo program that does not interpret backslashes.
19412 # Used to examine libraries when file_magic_cmd begins with "file".
19413 MAGIC_CMD=$MAGIC_CMD
19415 # Must we lock files when doing compilation?
19416 need_locks=$lt_need_locks
19418 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19419 DSYMUTIL=$lt_DSYMUTIL
19421 # Tool to change global to local symbols on Mac OS X.
19424 # Tool to manipulate fat objects and archives on Mac OS X.
19427 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19430 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19431 OTOOL64=$lt_OTOOL64
19433 # Old archive suffix (normally "a").
19436 # Shared library suffix (normally ".so").
19437 shrext_cmds=$lt_shrext_cmds
19439 # The commands to extract the exported symbol list from a shared archive.
19440 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19442 # Variables whose values should be saved in libtool wrapper scripts and
19443 # restored at link time.
19444 variables_saved_for_relink=$lt_variables_saved_for_relink
19446 # Do we need the "lib" prefix for modules?
19447 need_lib_prefix=$need_lib_prefix
19449 # Do we need a version for libraries?
19450 need_version=$need_version
19452 # Library versioning type.
19453 version_type=$version_type
19455 # Shared library runtime path variable.
19456 runpath_var=$runpath_var
19458 # Shared library path variable.
19459 shlibpath_var=$shlibpath_var
19461 # Is shlibpath searched before the hard-coded library search path?
19462 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19464 # Format of library name prefix.
19465 libname_spec=$lt_libname_spec
19467 # List of archive names. First name is the real one, the rest are links.
19468 # The last name is the one that the linker finds with -lNAME
19469 library_names_spec=$lt_library_names_spec
19471 # The coded name of the library, if different from the real name.
19472 soname_spec=$lt_soname_spec
19474 # Command to use after installation of a shared archive.
19475 postinstall_cmds=$lt_postinstall_cmds
19477 # Command to use after uninstallation of a shared archive.
19478 postuninstall_cmds=$lt_postuninstall_cmds
19480 # Commands used to finish a libtool library installation in a directory.
19481 finish_cmds=$lt_finish_cmds
19483 # As "finish_cmds", except a single script fragment to be evaled but
19485 finish_eval=$lt_finish_eval
19487 # Whether we should hardcode library paths into libraries.
19488 hardcode_into_libs=$hardcode_into_libs
19490 # Compile-time system search path for libraries.
19491 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19493 # Run-time system search path for libraries.
19494 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19496 # Whether dlopen is supported.
19497 dlopen_support=$enable_dlopen
19499 # Whether dlopen of programs is supported.
19500 dlopen_self=$enable_dlopen_self
19502 # Whether dlopen of statically linked programs is supported.
19503 dlopen_self_static=$enable_dlopen_self_static
19505 # Commands to strip libraries.
19506 old_striplib=$lt_old_striplib
19507 striplib=$lt_striplib
19510 # The linker used to build libraries.
19513 # Commands used to build an old-style archive.
19514 old_archive_cmds=$lt_old_archive_cmds
19516 # A language specific compiler.
19519 # Is the compiler the GNU compiler?
19522 # Compiler flag to turn off builtin functions.
19523 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19525 # How to pass a linker flag through the compiler.
19526 wl=$lt_lt_prog_compiler_wl
19528 # Additional compiler flags for building library objects.
19529 pic_flag=$lt_lt_prog_compiler_pic
19531 # Compiler flag to prevent dynamic linking.
19532 link_static_flag=$lt_lt_prog_compiler_static
19534 # Does compiler simultaneously support -c and -o options?
19535 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19537 # Whether or not to add -lc for building shared libraries.
19538 build_libtool_need_lc=$archive_cmds_need_lc
19540 # Whether or not to disallow shared libs when runtime libs are static.
19541 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19543 # Compiler flag to allow reflexive dlopens.
19544 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19546 # Compiler flag to generate shared objects directly from archives.
19547 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19549 # Whether the compiler copes with passing no objects directly.
19550 compiler_needs_object=$lt_compiler_needs_object
19552 # Create an old-style archive from a shared archive.
19553 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19555 # Create a temporary old-style archive to link instead of a shared archive.
19556 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19558 # Commands used to build a shared archive.
19559 archive_cmds=$lt_archive_cmds
19560 archive_expsym_cmds=$lt_archive_expsym_cmds
19562 # Commands used to build a loadable module if different from building
19563 # a shared archive.
19564 module_cmds=$lt_module_cmds
19565 module_expsym_cmds=$lt_module_expsym_cmds
19567 # Whether we are building with GNU ld or not.
19568 with_gnu_ld=$lt_with_gnu_ld
19570 # Flag that allows shared libraries with undefined symbols to be built.
19571 allow_undefined_flag=$lt_allow_undefined_flag
19573 # Flag that enforces no undefined symbols.
19574 no_undefined_flag=$lt_no_undefined_flag
19576 # Flag to hardcode \$libdir into a binary during linking.
19577 # This must work even if \$libdir does not exist
19578 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19580 # If ld is used when linking, flag to hardcode \$libdir into a binary
19581 # during linking. This must work even if \$libdir does not exist.
19582 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19584 # Whether we need a single "-rpath" flag with a separated argument.
19585 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19587 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19588 # DIR into the resulting binary.
19589 hardcode_direct=$hardcode_direct
19591 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19592 # DIR into the resulting binary and the resulting library dependency is
19593 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19594 # library is relocated.
19595 hardcode_direct_absolute=$hardcode_direct_absolute
19597 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19598 # into the resulting binary.
19599 hardcode_minus_L=$hardcode_minus_L
19601 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19602 # into the resulting binary.
19603 hardcode_shlibpath_var=$hardcode_shlibpath_var
19605 # Set to "yes" if building a shared library automatically hardcodes DIR
19606 # into the library and all subsequent libraries and executables linked
19608 hardcode_automatic=$hardcode_automatic
19610 # Set to yes if linker adds runtime paths of dependent libraries
19611 # to runtime path list.
19612 inherit_rpath=$inherit_rpath
19614 # Whether libtool must link a program against all its dependency libraries.
19615 link_all_deplibs=$link_all_deplibs
19617 # Fix the shell variable \$srcfile for the compiler.
19618 fix_srcfile_path=$lt_fix_srcfile_path
19620 # Set to "yes" if exported symbols are required.
19621 always_export_symbols=$always_export_symbols
19623 # The commands to list exported symbols.
19624 export_symbols_cmds=$lt_export_symbols_cmds
19626 # Symbols that should not be listed in the preloaded symbols.
19627 exclude_expsyms=$lt_exclude_expsyms
19629 # Symbols that must always be exported.
19630 include_expsyms=$lt_include_expsyms
19632 # Commands necessary for linking programs (against libraries) with templates.
19633 prelink_cmds=$lt_prelink_cmds
19635 # Specify filename containing input files.
19636 file_list_spec=$lt_file_list_spec
19638 # How to hardcode a shared library path into an executable.
19639 hardcode_action=$hardcode_action
19641 # ### END LIBTOOL CONFIG
19647 cat <<\_LT_EOF >> "$cfgfile"
19648 # AIX sometimes has problems with the GCC collect2 program. For some
19649 # reason, if we set the COLLECT_NAMES environment variable, the problems
19650 # vanish in a puff of smoke.
19651 if test "X${COLLECT_NAMES+set}" != Xset; then
19653 export COLLECT_NAMES
19660 ltmain="$ac_aux_dir/ltmain.sh"
19663 # We use sed instead of cat because bash on DJGPP gets confused if
19664 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19665 # text mode, it properly converts lines to CR/LF. This bash problem
19666 # is reportedly fixed, but why not run on old versions too?
19667 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19668 || (rm -f "$cfgfile"; exit 1)
19672 cat << \_LT_EOF >> "$cfgfile"
19674 # func_dirname file append nondir_replacement
19675 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19676 # otherwise set result to NONDIR_REPLACEMENT.
19680 */*) func_dirname_result="${1%/*}${2}" ;;
19681 * ) func_dirname_result="${3}" ;;
19685 # func_basename file
19688 func_basename_result="${1##*/}"
19691 # func_dirname_and_basename file append nondir_replacement
19692 # perform func_basename and func_dirname in a single function
19694 # dirname: Compute the dirname of FILE. If nonempty,
19695 # add APPEND to the result, otherwise set result
19696 # to NONDIR_REPLACEMENT.
19697 # value returned in "$func_dirname_result"
19698 # basename: Compute filename of FILE.
19699 # value retuned in "$func_basename_result"
19700 # Implementation must be kept synchronized with func_dirname
19701 # and func_basename. For efficiency, we do not delegate to
19702 # those functions but instead duplicate the functionality here.
19703 func_dirname_and_basename ()
19706 */*) func_dirname_result="${1%/*}${2}" ;;
19707 * ) func_dirname_result="${3}" ;;
19709 func_basename_result="${1##*/}"
19712 # func_stripname prefix suffix name
19713 # strip PREFIX and SUFFIX off of NAME.
19714 # PREFIX and SUFFIX must not contain globbing or regex special
19715 # characters, hashes, percent signs, but SUFFIX may contain a leading
19716 # dot (in which case that matches only a dot).
19719 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19720 # positional parameters, so assign one to ordinary parameter first.
19721 func_stripname_result=${3}
19722 func_stripname_result=${func_stripname_result#"${1}"}
19723 func_stripname_result=${func_stripname_result%"${2}"}
19729 func_opt_split_opt=${1%%=*}
19730 func_opt_split_arg=${1#*=}
19737 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19738 *) func_lo2o_result=${1} ;;
19742 # func_xform libobj-or-source
19745 func_xform_result=${1%.*}.lo
19748 # func_arith arithmetic-term...
19751 func_arith_result=$(( $* ))
19755 # STRING may not start with a hyphen.
19758 func_len_result=${#1}
19763 *) # Bourne compatible functions.
19764 cat << \_LT_EOF >> "$cfgfile"
19766 # func_dirname file append nondir_replacement
19767 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19768 # otherwise set result to NONDIR_REPLACEMENT.
19771 # Extract subdirectory from the argument.
19772 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19773 if test "X$func_dirname_result" = "X${1}"; then
19774 func_dirname_result="${3}"
19776 func_dirname_result="$func_dirname_result${2}"
19780 # func_basename file
19783 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19787 # func_stripname prefix suffix name
19788 # strip PREFIX and SUFFIX off of NAME.
19789 # PREFIX and SUFFIX must not contain globbing or regex special
19790 # characters, hashes, percent signs, but SUFFIX may contain a leading
19791 # dot (in which case that matches only a dot).
19792 # func_strip_suffix prefix name
19796 .*) func_stripname_result=`$ECHO "X${3}" \
19797 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19798 *) func_stripname_result=`$ECHO "X${3}" \
19799 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19804 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19805 my_sed_long_arg='1s/^-[^=]*=//'
19810 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19811 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19817 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19820 # func_xform libobj-or-source
19823 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19826 # func_arith arithmetic-term...
19829 func_arith_result=`expr "$@"`
19833 # STRING may not start with a hyphen.
19836 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19842 case $lt_shell_append in
19844 cat << \_LT_EOF >> "$cfgfile"
19846 # func_append var value
19847 # Append VALUE to the end of shell variable VAR.
19855 cat << \_LT_EOF >> "$cfgfile"
19857 # func_append var value
19858 # Append VALUE to the end of shell variable VAR.
19869 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19870 || (rm -f "$cfgfile"; exit 1)
19872 mv -f "$cfgfile" "$ofile" ||
19873 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19877 "zzip/_config.h":C) ac_prefix_conf_OUT=`echo zzip/_config.h`
19878 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
19879 ac_prefix_conf_PKG=`echo zzip`
19880 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
19881 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
19882 ac_prefix_conf_INP=`echo "config.h" | sed -e 's/ *//'`
19883 if test ".$ac_prefix_conf_INP" = "."; then
19884 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
19886 *.h) ac_prefix_conf_INP=$ac_file ;;
19889 test ".$ac_prefix_conf_INP" != "." && break
19892 if test ".$ac_prefix_conf_INP" = "."; then
19893 case "$ac_prefix_conf_OUT" in
19894 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
19896 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
19898 *) ac_prefix_conf_INP=config.h
19902 if test -z "$ac_prefix_conf_PKG" ; then
19903 { { $as_echo "$as_me:$LINENO: error: no prefix for _PREFIX_PKG_CONFIG_H" >&5
19904 $as_echo "$as_me: error: no prefix for _PREFIX_PKG_CONFIG_H" >&2;}
19905 { (exit 1); exit 1; }; }
19907 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
19908 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
19910 { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
19911 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
19912 if test -f $ac_prefix_conf_INP ; then
19913 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
19914 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
19915 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
19916 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
19917 echo "#endif/" >>conftest.prefix
19918 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
19919 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
19920 echo "#endif/" >> conftest.prefix
19921 # now executing _script on _DEF input to create _OUT output file
19922 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
19923 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
19924 echo ' ' >>$tmp/pconfig.h
19925 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
19927 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
19928 echo ' ' >>$tmp/pconfig.h
19929 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
19930 echo "#endif" >>$tmp/pconfig.h
19931 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
19932 { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5
19933 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
19935 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
19936 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19937 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
19938 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
19939 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
19940 $as_echo X"$ac_prefix_conf_OUT" |
19941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19945 /^X\(\/\/\)[^/].*/{
19960 -*) as_dir=./$as_dir;;
19962 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19966 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19967 *) as_qdir=$as_dir;;
19969 as_dirs="'$as_qdir' $as_dirs"
19970 as_dir=`$as_dirname -- "$as_dir" ||
19971 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19972 X"$as_dir" : 'X\(//\)[^/]' \| \
19973 X"$as_dir" : 'X\(//\)$' \| \
19974 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19975 $as_echo X"$as_dir" |
19976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19980 /^X\(\/\/\)[^/].*/{
19993 test -d "$as_dir" && break
19995 test -z "$as_dirs" || eval "mkdir $as_dirs"
19996 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19997 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19998 { (exit 1); exit 1; }; }; }
19999 rm -f "$ac_prefix_conf_OUT"
20000 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
20002 cp conftest.prefix _configs.sed
20004 { { $as_echo "$as_me:$LINENO: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&5
20005 $as_echo "$as_me: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&2;}
20006 { (exit 1); exit 1; }; }
20011 "zzip/_msvc.h":C) ac_prefix_conf_OUT=`echo zzip/_msvc.h`
20012 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
20013 ac_prefix_conf_PKG=`echo zzip`
20014 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
20015 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
20016 ac_prefix_conf_INP=`echo "zzip/_msvc.in" | sed -e 's/ *//'`
20017 if test ".$ac_prefix_conf_INP" = "."; then
20018 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
20020 *.h) ac_prefix_conf_INP=$ac_file ;;
20023 test ".$ac_prefix_conf_INP" != "." && break
20026 if test ".$ac_prefix_conf_INP" = "."; then
20027 case "$ac_prefix_conf_OUT" in
20028 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
20030 *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
20032 *) ac_prefix_conf_INP=config.h
20036 if test -z "$ac_prefix_conf_PKG" ; then
20037 { { $as_echo "$as_me:$LINENO: error: no prefix for _PREFIX_PKG_CONFIG_H" >&5
20038 $as_echo "$as_me: error: no prefix for _PREFIX_PKG_CONFIG_H" >&2;}
20039 { (exit 1); exit 1; }; }
20041 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
20042 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
20044 { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
20045 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
20046 if test -f $ac_prefix_conf_INP ; then
20047 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
20048 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
20049 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
20050 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
20051 echo "#endif/" >>conftest.prefix
20052 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
20053 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
20054 echo "#endif/" >> conftest.prefix
20055 # now executing _script on _DEF input to create _OUT output file
20056 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
20057 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
20058 echo ' ' >>$tmp/pconfig.h
20059 echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
20061 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
20062 echo ' ' >>$tmp/pconfig.h
20063 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
20064 echo "#endif" >>$tmp/pconfig.h
20065 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
20066 { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5
20067 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
20069 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
20070 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20071 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
20072 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
20073 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
20074 $as_echo X"$ac_prefix_conf_OUT" |
20075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20079 /^X\(\/\/\)[^/].*/{
20094 -*) as_dir=./$as_dir;;
20096 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20100 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20101 *) as_qdir=$as_dir;;
20103 as_dirs="'$as_qdir' $as_dirs"
20104 as_dir=`$as_dirname -- "$as_dir" ||
20105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20106 X"$as_dir" : 'X\(//\)[^/]' \| \
20107 X"$as_dir" : 'X\(//\)$' \| \
20108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20109 $as_echo X"$as_dir" |
20110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20114 /^X\(\/\/\)[^/].*/{
20127 test -d "$as_dir" && break
20129 test -z "$as_dirs" || eval "mkdir $as_dirs"
20130 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20131 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
20132 { (exit 1); exit 1; }; }; }
20133 rm -f "$ac_prefix_conf_OUT"
20134 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
20136 cp conftest.prefix _configs.sed
20138 { { $as_echo "$as_me:$LINENO: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&5
20139 $as_echo "$as_me: error: input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" >&2;}
20140 { (exit 1); exit 1; }; }
20145 "$ax_create_pkgconfig_generate":C)
20146 pkgconfig_generate="$ax_create_pkgconfig_generate"
20147 if test ! -f "$pkgconfig_generate.in"
20148 then generate="true"
20149 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
20150 then generate="true"
20151 else generate="false";
20153 if $generate ; then
20154 { $as_echo "$as_me:$LINENO: creating $pkgconfig_generate.in" >&5
20155 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
20156 cat > $pkgconfig_generate.in <<AXEOF
20157 # generated by configure / remove this line to disable regeneration
20159 exec_prefix=@exec_prefix@
20162 datarootdir=@datarootdir@
20164 sysconfdir=@sysconfdir@
20165 includedir=@includedir@
20169 Name: @PACKAGE_NAME@
20170 Description: @PACKAGE_DESCRIPTION@
20171 Version: @PACKAGE_VERSION@
20172 Requires: @PACKAGE_REQUIRES@
20173 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
20174 Cflags: -I\${includedir} @CPPFLAGS@
20176 fi # DONE generate $pkgconfig_generate.in
20177 { $as_echo "$as_me:$LINENO: creating $pkgconfig_generate" >&5
20178 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
20179 cat >conftest.sed <<AXEOF
20180 s|@prefix@|${pkgconfig_prefix}|
20181 s|@exec_prefix@|${pkgconfig_execprefix}|
20182 s|@bindir@|${pkgconfig_bindir}|
20183 s|@libdir@|${pkgconfig_libdir}|
20184 s|@datarootdir@|${pkgconfig_datarootdir}|
20185 s|@datadir@|${pkgconfig_datadir}|
20186 s|@sysconfdir@|${pkgconfig_sysconfdir}|
20187 s|@includedir@|${pkgconfig_includedir}|
20188 s|@suffix@|${pkgconfig_suffix}|
20189 s|@PACKAGE@|${pkgconfig_package}|
20190 s|@PACKAGE_NAME@|${pkgconfig_libname}|
20191 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
20192 s|@PACKAGE_VERSION@|${pkgconfig_version}|
20193 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
20194 s|@LIBS@|${pkgconfig_libs}|
20195 s|@LDFLAGS@|${pkgconfig_ldflags}|
20196 s|@CPPFLAGS@|${pkgconfig_cppflags}|
20198 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
20199 if test ! -s $pkgconfig_generate ; then
20200 { { $as_echo "$as_me:$LINENO: error: $pkgconfig_generate is empty" >&5
20201 $as_echo "$as_me: error: $pkgconfig_generate is empty" >&2;}
20202 { (exit 1); exit 1; }; }
20203 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
20204 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
20205 { $as_echo "$as_me:$LINENO: creating $pkgconfig_uninstalled" >&5
20206 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
20207 cat >conftest.sed <<AXEOF
20208 s|@prefix@|${pkgconfig_prefix}|
20209 s|@exec_prefix@|${pkgconfig_execprefix}|
20210 s|@bindir@|${pkgconfig_bindir}|
20211 s|@libdir@|${pkgconfig_src_libdir}|
20212 s|@datarootdir@|${pkgconfig_datarootdir}|
20213 s|@datadir@|${pkgconfig_datadir}|
20214 s|@sysconfdir@|${pkgconfig_sysconfdir}|
20215 s|@includedir@|${pkgconfig_src_headers}|
20216 s|@suffix@|${pkgconfig_suffix}|
20217 s|@PACKAGE@|${pkgconfig_package}|
20218 s|@PACKAGE_NAME@|${pkgconfig_libname}|
20219 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
20220 s|@PACKAGE_VERSION@|${pkgconfig_version}|
20221 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
20222 s|@LIBS@|${pkgconfig_libs}|
20223 s|@LDFLAGS@|${pkgconfig_ldflags}|
20224 s|@CPPFLAGS@|${pkgconfig_cppflags}|
20226 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
20227 if test ! -s $pkgconfig_uninstalled ; then
20228 { { $as_echo "$as_me:$LINENO: error: $pkgconfig_uninstalled is empty" >&5
20229 $as_echo "$as_me: error: $pkgconfig_uninstalled is empty" >&2;}
20230 { (exit 1); exit 1; }; }
20231 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
20232 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
20233 if test ".$pkgconfig_requires_add" != "." ; then
20234 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
20235 else pkgconfig_requires_add=":" ; fi
20236 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
20237 { $as_echo "$as_me:$LINENO: creating $pkgconfig_uninstalled" >&5
20238 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
20239 cat >conftest.sed <<AXEOF
20240 s|@prefix@|\"${pkgconfig_prefix}\"|
20241 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
20242 s|@bindir@|\"${pkgconfig_bindir}\"|
20243 s|@libdir@|\"${pkgconfig_src_libdir}\"|
20244 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
20245 s|@datadir@|\"${pkgconfig_datadir}\"|
20246 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
20247 s|@includedir@|\"${pkgconfig_src_headers}\"|
20248 s|@suffix@|\"${pkgconfig_suffix}\"|
20249 s|@PACKAGE@|\"${pkgconfig_package}\"|
20250 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
20251 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
20252 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
20253 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
20254 s|@LIBS@|\"${pkgconfig_libs}\"|
20255 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
20256 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
20257 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
20258 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
20259 s>Version: *>\\;\\; --modversion|--version) echo >
20260 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
20261 s>Libs: *>\\;\\; --libs) echo >
20262 s>Cflags: *>\\;\\; --cflags) echo >
20264 $pkgconfig_requires_add
20266 $pkgconfig_requires_add\\
20267 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
20268 ;; --uninstalled) exit 0 \\
20271 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
20272 if test ! -s $pkgconfig_uninstalled ; then
20273 { { $as_echo "$as_me:$LINENO: error: $pkgconfig_uninstalled is empty" >&5
20274 $as_echo "$as_me: error: $pkgconfig_uninstalled is empty" >&2;}
20275 { (exit 1); exit 1; }; }
20276 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
20283 { (exit 0); exit 0; }
20285 chmod +x $CONFIG_STATUS
20286 ac_clean_files=$ac_clean_files_save
20288 test $ac_write_fail = 0 ||
20289 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20290 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20291 { (exit 1); exit 1; }; }
20294 # configure is writing to config.log, and then calls config.status.
20295 # config.status does its own redirection, appending to config.log.
20296 # Unfortunately, on DOS this fails, as config.log is still kept open
20297 # by configure, so config.status won't be able to write to it; its
20298 # output is simply discarded. So we exec the FD to /dev/null,
20299 # effectively closing config.log, so it can be properly (re)opened and
20300 # appended to by config.status. When coming back to configure, we
20301 # need to make the FD available again.
20302 if test "$no_create" != yes; then
20304 ac_config_status_args=
20305 test "$silent" = yes &&
20306 ac_config_status_args="$ac_config_status_args --quiet"
20308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20311 # would make configure fail if this is the last instruction.
20312 $ac_cs_success || { (exit 1); exit 1; }
20314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20315 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20319 # libtool-1.4 specific, on zsh target the final requoting does one too much
20322 if grep "1.92" libtool >/dev/null ; then
20323 { $as_echo "$as_me:$LINENO: result: patching libtool on .so-sharedlib creation (zsh overquoting)" >&5
20324 $as_echo "patching libtool on .so-sharedlib creation (zsh overquoting)" >&6; }
20325 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
20326 sed -e '/archive_cmds=/s:[\\][\\][\\]*":\\":g' libtool >libtool.new
20327 (test -s libtool.new || rm libtool.new) 2>/dev/null
20328 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
20329 test -f libtool || mv libtool.old libtool
20334 # patch libtool to fix sys_lib_search_path (e.g. crosscompiling a win32 dll)
20335 if test "_$PATH_SEPARATOR" = "_:" ; then
20336 if grep "^sys_lib_search_path_spec.*:" libtool >/dev/null ; then
20337 { $as_echo "$as_me:$LINENO: result: patching libtool to fix sys_lib_search_path_spec" >&5
20338 $as_echo "patching libtool to fix sys_lib_search_path_spec" >&6; }
20339 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
20340 sed -e "/^sys_lib_search_path_spec/s/:/ /g" libtool >libtool.new
20341 (test -s libtool.new || rm libtool.new) 2>/dev/null
20342 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
20343 test -f libtool || mv libtool.old libtool
20347 # patch libtool to add HOST_CC sometimes needed in crosscompiling a win32 dll
20348 if grep "HOST_CC" libtool >/dev/null; then
20349 if test "$build" != "$host" ; then
20350 if test "_$HOST_CC" = "_" ; then
20352 for i in `echo $PATH | sed 's,:, ,g'` ; do
20353 test -x $i/cc && HOST_CC=$i/cc
20356 { $as_echo "$as_me:$LINENO: result: patching libtool to add HOST_CC=$HOST_CC" >&5
20357 $as_echo "patching libtool to add HOST_CC=$HOST_CC" >&6; }
20358 test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool)
20359 sed -e "/BEGIN.*LIBTOOL.*CONFIG/a\\
20360 HOST_CC=$HOST_CC" libtool >libtool.new
20361 (test -s libtool.new || rm libtool.new) 2>/dev/null
20362 test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !!
20363 test -f libtool || mv libtool.old libtool
20367 # ---------------------------------------------------------------
20368 echo '-----' $PACKAGE $VERSION $prefix
20369 $SHELL libtool --features || true
20370 echo "CFLAGS=$CFLAGS"
20371 test "$enable_mmap" != "no" && echo "enable mmap ($enable_mmap)"
20372 test "$enable_mmap" = "no" && echo "disable mmap ($enable_mmap)"
20373 test "$with_lowstk" != "no" && echo "with lowstk ($with_lowstk)"
20374 test "$with_lowstk" = "no" && echo "without lowstk ($with_lowstk)"
20375 test "$with_debug" != "no" && echo "with debug ($with_debug)"
20376 test "$with_debug" = "no" && echo "without debug ($with_debug)"
20377 # test -f ./zziplib.spec && echo warning - do not build in the source dirs
20378 echo '# make && make check && make install'