2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libzip 1.1.2.
5 # Report bugs to <libzip@nih.at>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and libzip@nih.at
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='libzip'
592 PACKAGE_TARNAME='libzip'
593 PACKAGE_VERSION='1.1.2'
594 PACKAGE_STRING='libzip 1.1.2'
595 PACKAGE_BUGREPORT='libzip@nih.at'
598 ac_unique_file="lib/zip_add.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
759 enable_dependency_tracking
770 ac_precious_vars='build_alias
781 # Initialize some variables set by options.
783 ac_init_version=false
784 ac_unrecognized_opts=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name=s,x,x,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
870 cache_file=config.cache ;;
872 -datadir | --datadir | --datadi | --datad)
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
898 eval enable_$ac_useropt=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
924 eval enable_$ac_useropt=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
939 -help | --help | --hel | --he | -h)
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 # Obsolete; use --without-fp.
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1088 -site=* | --site=* | --sit=*)
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=\$ac_optarg ;;
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1144 eval with_$ac_useropt=no ;;
1147 # Obsolete; use --with-x.
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $? "missing argument to $ac_option"
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1215 # Be sure to have absolute directory names.
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1228 target=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1242 test "$silent" = yes && exec 6>/dev/null
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error $? "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error $? "pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures libzip 1.1.2 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/libzip]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of libzip 1.1.2:";;
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --enable-silent-rules less verbose build output (undo: "make V=1")
1398 --disable-silent-rules verbose build output (undo: "make V=0")
1399 --enable-dependency-tracking
1400 do not reject slow dependency extractors
1401 --disable-dependency-tracking
1402 speeds up one-time build
1403 --disable-largefile omit support for large files
1404 --enable-shared[=PKGS] build shared libraries [default=yes]
1405 --enable-static[=PKGS] build static libraries [default=yes]
1406 --enable-fast-install[=PKGS]
1407 optimize for fast installation [default=yes]
1408 --disable-libtool-lock avoid locking (might break parallel builds)
1411 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1412 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1413 --with-zlib=PREFIX specify prefix for ZLIB library
1414 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1416 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1417 --with-sysroot=DIR Search for dependent libraries within DIR
1418 (or the compiler's sysroot if not specified).
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <libzip@nih.at>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1496 libzip configure 1.1.2
1497 generated by GNU Autoconf 2.69
1499 Copyright (C) 2012 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_link LINENO
1549 # -----------------------
1550 # Try to link conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 rm -f conftest.$ac_objext conftest$ac_exeext
1555 if { { ac_try="$ac_link"
1557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_link") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest$ac_exeext && {
1574 test "$cross_compiling" = yes ||
1575 test -x conftest$ac_exeext
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1585 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1586 # interfere with the next link command; also delete a directory that is
1587 # left behind by Apple's compiler. We do this before executing the actions.
1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_link
1594 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1595 # -------------------------------------------------------
1596 # Tests whether HEADER exists and can be compiled using the include files in
1597 # INCLUDES, setting the cache variable VAR accordingly.
1598 ac_fn_c_check_header_compile ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1611 if ac_fn_c_try_compile "$LINENO"; then :
1616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 } # ac_fn_c_check_header_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 if { { ac_try="$ac_cpp conftest.$ac_ext"
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_try_run LINENO
1663 # ----------------------
1664 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1665 # that executables *can* be run.
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 if { { ac_try="$ac_link"
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_link") 2>&5
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1680 { { case "(($ac_try" in
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_try") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; }; }; then :
1692 $as_echo "$as_me: program exited with status $ac_status" >&5
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1696 ac_retval=$ac_status
1698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status $ac_retval
1704 # ac_fn_c_check_func LINENO FUNC VAR
1705 # ----------------------------------
1706 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1707 ac_fn_c_check_func ()
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1717 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1719 #define $2 innocuous_$2
1721 /* System header to define __stub macros and hopefully few prototypes,
1722 which can conflict with char $2 (); below.
1723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1724 <limits.h> exists even on freestanding compilers. */
1727 # include <limits.h>
1729 # include <assert.h>
1734 /* Override any GCC internal prototype to avoid an error.
1735 Use char because int might match the return type of a GCC
1736 builtin and then its argument prototype would still apply. */
1741 /* The GNU C library defines this for functions which it implements
1742 to always fail with ENOSYS. Some functions are actually named
1743 something starting with __ and the normal name is an alias. */
1744 #if defined __stub_$2 || defined __stub___$2
1756 if ac_fn_c_try_link "$LINENO"; then :
1761 rm -f core conftest.err conftest.$ac_objext \
1762 conftest$ac_exeext conftest.$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_func
1771 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1774 # the include files in INCLUDES and setting the cache variable VAR
1776 ac_fn_c_check_header_mongrel ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if eval \${$3+:} false; then :
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1789 # Is the header compilable?
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1791 $as_echo_n "checking $2 usability... " >&6; }
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 ac_header_compiler=yes
1800 ac_header_compiler=no
1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1804 $as_echo "$ac_header_compiler" >&6; }
1806 # Is the header present?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1808 $as_echo_n "checking $2 presence... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1813 if ac_fn_c_try_cpp "$LINENO"; then :
1814 ac_header_preproc=yes
1816 ac_header_preproc=no
1818 rm -f conftest.err conftest.i conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1820 $as_echo "$ac_header_preproc" >&6; }
1822 # So? What about this header?
1823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1826 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1832 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1834 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1836 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1838 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1841 ( $as_echo "## ---------------------------- ##
1842 ## Report this to libzip@nih.at ##
1843 ## ---------------------------- ##"
1844 ) | sed "s/^/$as_me: WARNING: /" >&2
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6
1852 eval "$3=\$ac_header_compiler"
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 } # ac_fn_c_check_header_mongrel
1862 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1863 # -------------------------------------------
1864 # Tests whether TYPE exists after having included INCLUDES, setting cache
1865 # variable VAR accordingly.
1866 ac_fn_c_check_type ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1900 if ac_fn_c_try_compile "$LINENO"; then :
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 } # ac_fn_c_check_type
1916 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1917 # --------------------------------------------
1918 # Tries to find the compile-time value of EXPR in a program that includes
1919 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1921 ac_fn_c_compute_int ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 if test "$cross_compiling" = yes; then
1925 # Depending upon the size, compute the lo and hi bounds.
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1932 static int test_array [1 - 2 * !(($2) >= 0)];
1934 return test_array [0];
1940 if ac_fn_c_try_compile "$LINENO"; then :
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1949 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1951 return test_array [0];
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 ac_hi=$ac_mid; break
1960 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1961 if test $ac_lo -le $ac_mid; then
1965 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1976 static int test_array [1 - 2 * !(($2) < 0)];
1978 return test_array [0];
1984 if ac_fn_c_try_compile "$LINENO"; then :
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1993 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1995 return test_array [0];
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_lo=$ac_mid; break
2004 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2005 if test $ac_mid -le $ac_hi; then
2009 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 # Binary search between lo and hi bounds.
2020 while test "x$ac_lo" != "x$ac_hi"; do
2021 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2028 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2030 return test_array [0];
2036 if ac_fn_c_try_compile "$LINENO"; then :
2039 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2051 static long int longval () { return $2; }
2052 static unsigned long int ulongval () { return $2; }
2059 FILE *f = fopen ("conftest.val", "w");
2064 long int i = longval ();
2067 fprintf (f, "%ld", i);
2071 unsigned long int i = ulongval ();
2074 fprintf (f, "%lu", i);
2076 /* Do not output a trailing newline, as this causes \r\n confusion
2077 on some platforms. */
2078 return ferror (f) || fclose (f) != 0;
2084 if ac_fn_c_try_run "$LINENO"; then :
2085 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2090 conftest.$ac_objext conftest.beam conftest.$ac_ext
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 as_fn_set_status $ac_retval
2097 } # ac_fn_c_compute_int
2099 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2100 # ----------------------------------------------------
2101 # Tries to find if the field MEMBER exists in type AGGR, after including
2102 # INCLUDES, setting cache variable VAR accordingly.
2103 ac_fn_c_check_member ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2107 $as_echo_n "checking for $2.$3... " >&6; }
2108 if eval \${$4+:} false; then :
2109 $as_echo_n "(cached) " >&6
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2124 if ac_fn_c_try_compile "$LINENO"; then :
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2134 if (sizeof ac_aggr.$3)
2140 if ac_fn_c_try_compile "$LINENO"; then :
2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151 $as_echo "$ac_res" >&6; }
2152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2154 } # ac_fn_c_check_member
2156 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2157 # ---------------------------------------------
2158 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2160 ac_fn_c_check_decl ()
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 as_decl_name=`echo $2|sed 's/ *(.*//'`
2164 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2166 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2167 if eval \${$3+:} false; then :
2168 $as_echo_n "(cached) " >&6
2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2176 #ifndef $as_decl_name
2178 (void) $as_decl_use;
2180 (void) $as_decl_name;
2188 if ac_fn_c_try_compile "$LINENO"; then :
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197 $as_echo "$ac_res" >&6; }
2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200 } # ac_fn_c_check_decl
2201 cat >config.log <<_ACEOF
2202 This file contains any messages produced by compilers while
2203 running configure, to aid debugging if configure makes a mistake.
2205 It was created by libzip $as_me 1.1.2, which was
2206 generated by GNU Autoconf 2.69. Invocation command line was
2218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2230 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir=.
2242 $as_echo "PATH: $as_dir"
2258 # Keep a trace of the command line.
2259 # Strip out --no-create and --no-recursion so they do not pile up.
2260 # Strip out --silent because we don't want to record it for future runs.
2261 # Also quote any args containing shell meta-characters.
2262 # Make two passes to allow for proper duplicate-argument suppression.
2266 ac_must_keep_next=false
2272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274 | -silent | --silent | --silen | --sile | --sil)
2277 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2282 as_fn_append ac_configure_args1 " '$ac_arg'"
2283 if test $ac_must_keep_next = true; then
2284 ac_must_keep_next=false # Got value, back to normal.
2287 *=* | --config-cache | -C | -disable-* | --disable-* \
2288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2290 | -with-* | --with-* | -without-* | --without-* | --x)
2291 case "$ac_configure_args0 " in
2292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2295 -* ) ac_must_keep_next=true ;;
2298 as_fn_append ac_configure_args " '$ac_arg'"
2303 { ac_configure_args0=; unset ac_configure_args0;}
2304 { ac_configure_args1=; unset ac_configure_args1;}
2306 # When interrupted or exit'd, cleanup temporary files, and complete
2307 # config.log. We remove comments because anyway the quotes in there
2308 # would cause problems or look ugly.
2309 # WARNING: Use '\'' to represent an apostrophe within the trap.
2310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2311 trap 'exit_status=$?
2312 # Save into config.log some information that might help in debugging.
2316 $as_echo "## ---------------- ##
2317 ## Cache variables. ##
2318 ## ---------------- ##"
2320 # The following way of writing the cache mishandles newlines in values,
2322 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2323 eval ac_val=\$$ac_var
2327 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2331 _ | IFS | as_nl) ;; #(
2332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2333 *) { eval $ac_var=; unset $ac_var;} ;;
2338 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2339 *${as_nl}ac_space=\ *)
2341 "s/'\''/'\''\\\\'\'''\''/g;
2342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2352 $as_echo "## ----------------- ##
2353 ## Output variables. ##
2354 ## ----------------- ##"
2356 for ac_var in $ac_subst_vars
2358 eval ac_val=\$$ac_var
2360 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2362 $as_echo "$ac_var='\''$ac_val'\''"
2366 if test -n "$ac_subst_files"; then
2367 $as_echo "## ------------------- ##
2368 ## File substitutions. ##
2369 ## ------------------- ##"
2371 for ac_var in $ac_subst_files
2373 eval ac_val=\$$ac_var
2375 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2377 $as_echo "$ac_var='\''$ac_val'\''"
2382 if test -s confdefs.h; then
2383 $as_echo "## ----------- ##
2390 test "$ac_signal" != 0 &&
2391 $as_echo "$as_me: caught signal $ac_signal"
2392 $as_echo "$as_me: exit $exit_status"
2394 rm -f core *.core core.conftest.* &&
2395 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2398 for ac_signal in 1 2 13 15; do
2399 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2404 rm -f -r conftest* confdefs.h
2406 $as_echo "/* confdefs.h */" > confdefs.h
2408 # Predefined preprocessor variables.
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_NAME "$PACKAGE_NAME"
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_STRING "$PACKAGE_STRING"
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2430 cat >>confdefs.h <<_ACEOF
2431 #define PACKAGE_URL "$PACKAGE_URL"
2435 # Let the site file select an alternate cache file if it wants to.
2436 # Prefer an explicitly selected file to automatically selected ones.
2439 if test -n "$CONFIG_SITE"; then
2440 # We do not want a PATH search for config.site.
2441 case $CONFIG_SITE in #((
2442 -*) ac_site_file1=./$CONFIG_SITE;;
2443 */*) ac_site_file1=$CONFIG_SITE;;
2444 *) ac_site_file1=./$CONFIG_SITE;;
2446 elif test "x$prefix" != xNONE; then
2447 ac_site_file1=$prefix/share/config.site
2448 ac_site_file2=$prefix/etc/config.site
2450 ac_site_file1=$ac_default_prefix/share/config.site
2451 ac_site_file2=$ac_default_prefix/etc/config.site
2453 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2455 test "x$ac_site_file" = xNONE && continue
2456 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2458 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2459 sed 's/^/| /' "$ac_site_file" >&5
2461 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463 as_fn_error $? "failed to load site script $ac_site_file
2464 See \`config.log' for more details" "$LINENO" 5; }
2468 if test -r "$cache_file"; then
2469 # Some versions of bash will fail to source /dev/null (special files
2470 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2471 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2473 $as_echo "$as_me: loading cache $cache_file" >&6;}
2475 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2476 *) . "./$cache_file";;
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2481 $as_echo "$as_me: creating cache $cache_file" >&6;}
2485 # Check that the precious variables saved in the cache have kept the same
2487 ac_cache_corrupted=false
2488 for ac_var in $ac_precious_vars; do
2489 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2490 eval ac_new_set=\$ac_env_${ac_var}_set
2491 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2492 eval ac_new_val=\$ac_env_${ac_var}_value
2493 case $ac_old_set,$ac_new_set in
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2497 ac_cache_corrupted=: ;;
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2500 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2501 ac_cache_corrupted=: ;;
2504 if test "x$ac_old_val" != "x$ac_new_val"; then
2505 # differences in whitespace do not lead to failure.
2506 ac_old_val_w=`echo x $ac_old_val`
2507 ac_new_val_w=`echo x $ac_new_val`
2508 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2510 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2511 ac_cache_corrupted=:
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2514 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2515 eval $ac_var=\$ac_old_val
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2518 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2520 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2523 # Pass precious variables to config.status.
2524 if test "$ac_new_set" = set; then
2526 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2527 *) ac_arg=$ac_var=$ac_new_val ;;
2529 case " $ac_configure_args " in
2530 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2531 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2535 if $ac_cache_corrupted; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2539 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2540 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2542 ## -------------------- ##
2543 ## Main body of script. ##
2544 ## -------------------- ##
2547 ac_cpp='$CPP $CPPFLAGS'
2548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 ac_config_headers="$ac_config_headers config.h"
2557 am__api_version='1.15'
2560 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2561 if test -f "$ac_dir/install-sh"; then
2563 ac_install_sh="$ac_aux_dir/install-sh -c"
2565 elif test -f "$ac_dir/install.sh"; then
2567 ac_install_sh="$ac_aux_dir/install.sh -c"
2569 elif test -f "$ac_dir/shtool"; then
2571 ac_install_sh="$ac_aux_dir/shtool install -c"
2575 if test -z "$ac_aux_dir"; then
2576 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2579 # These three variables are undocumented and unsupported,
2580 # and are intended to be withdrawn in a future Autoconf release.
2581 # They can cause serious problems if a builder's source tree is in a directory
2582 # whose full name contains unusual characters.
2583 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2584 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2585 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2588 # Find a good install program. We prefer a C program (faster),
2589 # so one script is as good as another. But avoid the broken or
2590 # incompatible versions:
2591 # SysV /etc/install, /usr/sbin/install
2592 # SunOS /usr/etc/install
2593 # IRIX /sbin/install
2595 # AmigaOS /C/install, which installs bootblocks on floppy discs
2596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2599 # OS/2's system install, which has a completely different semantic
2600 # ./install, which can be erroneously created by make from ./install.sh.
2601 # Reject install programs that cannot install multiple files.
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2603 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2604 if test -z "$INSTALL"; then
2605 if ${ac_cv_path_install+:} false; then :
2606 $as_echo_n "(cached) " >&6
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 # Account for people who put trailing slashes in PATH elements.
2614 case $as_dir/ in #((
2615 ./ | .// | /[cC]/* | \
2616 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2617 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2620 # OSF1 and SCO ODT 3.0 have their own names for install.
2621 # Don't use installbsd from OSF since it installs stuff as root
2623 for ac_prog in ginstall scoinst install; do
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2626 if test $ac_prog = install &&
2627 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2628 # AIX install. It has an incompatible calling convention.
2630 elif test $ac_prog = install &&
2631 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2632 # program-specific install script used by HP pwplus--don't use.
2635 rm -rf conftest.one conftest.two conftest.dir
2636 echo one > conftest.one
2637 echo two > conftest.two
2639 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2640 test -s conftest.one && test -s conftest.two &&
2641 test -s conftest.dir/conftest.one &&
2642 test -s conftest.dir/conftest.two
2644 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2657 rm -rf conftest.one conftest.two conftest.dir
2660 if test "${ac_cv_path_install+set}" = set; then
2661 INSTALL=$ac_cv_path_install
2663 # As a last resort, use the slow shell script. Don't cache a
2664 # value for INSTALL within a source directory, because that will
2665 # break other packages using the cache if that directory is
2666 # removed, or if the value is a relative name.
2667 INSTALL=$ac_install_sh
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2671 $as_echo "$INSTALL" >&6; }
2673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2674 # It thinks the first close brace ends the variable substitution.
2675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2679 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2682 $as_echo_n "checking whether build environment is sane... " >&6; }
2683 # Reject unsafe characters in $srcdir or the absolute working directory
2684 # name. Accept space and tab only in the latter.
2688 *[\\\"\#\$\&\'\`$am_lf]*)
2689 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2692 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2693 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2696 # Do 'set' in a subshell so we don't clobber the current shell's
2697 # arguments. Must try -L first in case configure is actually a
2698 # symlink; some systems play weird games with the mod time of symlinks
2699 # (eg FreeBSD returns the mod time of the symlink's containing
2703 for am_try in 1 2; do
2704 echo "timestamp, slept: $am_has_slept" > conftest.file
2705 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2706 if test "$*" = "X"; then
2708 set X `ls -t "$srcdir/configure" conftest.file`
2710 if test "$*" != "X $srcdir/configure conftest.file" \
2711 && test "$*" != "X conftest.file $srcdir/configure"; then
2713 # If neither matched, then we have a broken ls. This can happen
2714 # if, for instance, CONFIG_SHELL is bash and it inherits a
2715 # broken ls alias from the environment. This has actually
2716 # happened. Such a system could not be considered "sane".
2717 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2718 alias in your environment" "$LINENO" 5
2720 if test "$2" = conftest.file || test $am_try -eq 2; then
2727 test "$2" = conftest.file
2733 as_fn_error $? "newly created file is older than distributed files!
2734 Check your system clock" "$LINENO" 5
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2737 $as_echo "yes" >&6; }
2738 # If we didn't sleep, we still need to ensure time stamps of config.status and
2739 # generated files are strictly newer.
2741 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2748 test "$program_prefix" != NONE &&
2749 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2750 # Use a double $ so make ignores it.
2751 test "$program_suffix" != NONE &&
2752 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2753 # Double any \ or $.
2754 # By default was `s,x,x', remove it if useless.
2755 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2756 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2758 # Expand $ac_aux_dir to an absolute path.
2759 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2761 if test x"${MISSING+set}" != xset; then
2764 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2766 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2769 # Use eval to expand $SHELL
2770 if eval "$MISSING --is-lightweight"; then
2771 am_missing_run="$MISSING "
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2775 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2778 if test x"${install_sh+set}" != xset; then
2781 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2783 install_sh="\${SHELL} $am_aux_dir/install-sh"
2787 # Installed binaries are usually stripped using 'strip' when the user
2788 # run "make install-strip". However 'strip' might not be the right
2789 # tool to use in cross-compilation environments, therefore Automake
2790 # will honor the 'STRIP' environment variable to overrule this program.
2791 if test "$cross_compiling" != no; then
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2794 set dummy ${ac_tool_prefix}strip; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_STRIP+:} false; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$STRIP"; then
2801 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 STRIP=$ac_cv_prog_STRIP
2821 if test -n "$STRIP"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2823 $as_echo "$STRIP" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2831 if test -z "$ac_cv_prog_STRIP"; then
2833 # Extract the first word of "strip", so it can be a program name with args.
2834 set dummy strip; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$ac_ct_STRIP"; then
2841 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_STRIP="strip"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2861 if test -n "$ac_ct_STRIP"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2863 $as_echo "$ac_ct_STRIP" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2869 if test "x$ac_ct_STRIP" = x; then
2872 case $cross_compiling:$ac_tool_warned in
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2876 ac_tool_warned=yes ;;
2881 STRIP="$ac_cv_prog_STRIP"
2885 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2888 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2889 if test -z "$MKDIR_P"; then
2890 if ${ac_cv_path_mkdir+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2897 test -z "$as_dir" && as_dir=.
2898 for ac_prog in mkdir gmkdir; do
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2901 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2902 'mkdir (GNU coreutils) '* | \
2903 'mkdir (coreutils) '* | \
2904 'mkdir (fileutils) '4.1*)
2905 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2915 test -d ./--version && rmdir ./--version
2916 if test "${ac_cv_path_mkdir+set}" = set; then
2917 MKDIR_P="$ac_cv_path_mkdir -p"
2919 # As a last resort, use the slow shell script. Don't cache a
2920 # value for MKDIR_P within a source directory, because that will
2921 # break other packages using the cache if that directory is
2922 # removed, or if the value is a relative name.
2923 MKDIR_P="$ac_install_sh -d"
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2927 $as_echo "$MKDIR_P" >&6; }
2929 for ac_prog in gawk mawk nawk awk
2931 # Extract the first word of "$ac_prog", so it can be a program name with args.
2932 set dummy $ac_prog; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_AWK+:} false; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$AWK"; then
2939 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_AWK="$ac_prog"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$AWK"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2961 $as_echo "$AWK" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2968 test -n "$AWK" && break
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2972 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2974 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2975 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2976 $as_echo_n "(cached) " >&6
2978 cat >conftest.make <<\_ACEOF
2981 @echo '@@@%%%=$(MAKE)=@@@%%%'
2983 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2984 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2986 eval ac_cv_prog_make_${ac_make}_set=yes;;
2988 eval ac_cv_prog_make_${ac_make}_set=no;;
2992 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2994 $as_echo "yes" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
2999 SET_MAKE="MAKE=${MAKE-make}"
3002 rm -rf .tst 2>/dev/null
3003 mkdir .tst 2>/dev/null
3004 if test -d .tst; then
3009 rmdir .tst 2>/dev/null
3011 # Check whether --enable-silent-rules was given.
3012 if test "${enable_silent_rules+set}" = set; then :
3013 enableval=$enable_silent_rules;
3016 case $enable_silent_rules in # (((
3017 yes) AM_DEFAULT_VERBOSITY=0;;
3018 no) AM_DEFAULT_VERBOSITY=1;;
3019 *) AM_DEFAULT_VERBOSITY=1;;
3021 am_make=${MAKE-make}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3023 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3024 if ${am_cv_make_support_nested_variables+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 if $as_echo 'TRUE=$(BAR$(V))
3033 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3034 am_cv_make_support_nested_variables=yes
3036 am_cv_make_support_nested_variables=no
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3040 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3041 if test $am_cv_make_support_nested_variables = yes; then
3043 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3045 AM_V=$AM_DEFAULT_VERBOSITY
3046 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3050 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3051 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3052 # is not polluted with repeated "-I."
3053 am__isrc=' -I$(srcdir)'
3054 # test to see if srcdir already configured
3055 if test -f $srcdir/config.status; then
3056 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3060 # test whether we have cygpath
3061 if test -z "$CYGPATH_W"; then
3062 if (cygpath --version) >/dev/null 2>/dev/null; then
3063 CYGPATH_W='cygpath -w'
3070 # Define the identity of the package.
3075 cat >>confdefs.h <<_ACEOF
3076 #define PACKAGE "$PACKAGE"
3080 cat >>confdefs.h <<_ACEOF
3081 #define VERSION "$VERSION"
3084 # Some tools Automake needs.
3086 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3089 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3092 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3095 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3098 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3100 # For better backward compatibility. To be removed once Automake 1.9.x
3101 # dies out for good. For more background, see:
3102 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3103 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3104 mkdir_p='$(MKDIR_P)'
3106 # We need awk for the "check" target (and possibly the TAP driver). The
3107 # system "awk" is bad on some platforms.
3108 # Always define AMTAR for backward compatibility. Yes, it's still used
3109 # in the wild :-( We should find a proper way to deprecate it ...
3113 # We'll loop over all known methods to create a tar archive until one works.
3114 _am_tools='gnutar pax cpio none'
3116 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3123 # POSIX will say in a future version that running "rm -f" with no argument
3124 # is OK; and we want to be able to make that assumption in our Makefile
3125 # recipes. So use an aggressive probe to check that the usage we want is
3126 # actually supported "in the wild" to an acceptable degree.
3127 # See automake bug#10828.
3128 # To make any issue more visible, cause the running configure to be aborted
3129 # by default if the 'rm' program in use doesn't match our expectations; the
3130 # user can still override this though.
3131 if rm -f && rm -fr && rm -rf; then : OK; else
3135 Your 'rm' program seems unable to run without file operands specified
3136 on the command line, even when the '-f' option is present. This is contrary
3137 to the behaviour of most rm programs out there, and not conforming with
3138 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3140 Please tell bug-automake@gnu.org about your system, including the value
3141 of your $PATH and any error possibly output before this message. This
3142 can help us improve future automake versions.
3145 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3146 echo 'Configuration will proceed anyway, since you have set the' >&2
3147 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3151 Aborting the configuration process, to ensure you take notice of the issue.
3153 You can download and install GNU coreutils to get an 'rm' implementation
3154 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3156 If you want to complete the configuration process using your problematic
3157 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3158 to "yes", and re-run configure.
3161 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3166 # Make sure we can run config.sub.
3167 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3168 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3171 $as_echo_n "checking build system type... " >&6; }
3172 if ${ac_cv_build+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 ac_build_alias=$build_alias
3176 test "x$ac_build_alias" = x &&
3177 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3178 test "x$ac_build_alias" = x &&
3179 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3180 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3181 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3185 $as_echo "$ac_cv_build" >&6; }
3186 case $ac_cv_build in
3188 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3191 ac_save_IFS=$IFS; IFS='-'
3197 # Remember, the first character of IFS is used to create $*,
3198 # except with old shells:
3201 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3205 $as_echo_n "checking host system type... " >&6; }
3206 if ${ac_cv_host+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 if test "x$host_alias" = x; then
3210 ac_cv_host=$ac_cv_build
3212 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3213 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3218 $as_echo "$ac_cv_host" >&6; }
3221 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3224 ac_save_IFS=$IFS; IFS='-'
3230 # Remember, the first character of IFS is used to create $*,
3231 # except with old shells:
3234 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3239 PKG_CONFIG_RPATH=-Wl,-R\${libdir};;
3247 ac_cpp='$CPP $CPPFLAGS'
3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if ${ac_cv_prog_CC+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$CC"; then
3260 ac_cv_prog_CC="$CC" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test -n "$CC"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3282 $as_echo "$CC" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$ac_cv_prog_CC"; then
3292 # Extract the first word of "gcc", so it can be a program name with args.
3293 set dummy gcc; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$ac_ct_CC"; then
3300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir=.
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3309 ac_cv_prog_ac_ct_CC="gcc"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3320 if test -n "$ac_ct_CC"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3322 $as_echo "$ac_ct_CC" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 if test "x$ac_ct_CC" = x; then
3331 case $cross_compiling:$ac_tool_warned in
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3343 if test -z "$CC"; then
3344 if test -n "$ac_tool_prefix"; then
3345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3346 set dummy ${ac_tool_prefix}cc; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_CC+:} false; then :
3350 $as_echo_n "(cached) " >&6
3352 if test -n "$CC"; then
3353 ac_cv_prog_CC="$CC" # Let the user override the test.
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_CC="${ac_tool_prefix}cc"
3363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 if test -n "$CC"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3384 if test -z "$CC"; then
3385 # Extract the first word of "cc", so it can be a program name with args.
3386 set dummy cc; ac_word=$2
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388 $as_echo_n "checking for $ac_word... " >&6; }
3389 if ${ac_cv_prog_CC+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 if test -n "$CC"; then
3393 ac_cv_prog_CC="$CC" # Let the user override the test.
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir=.
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3404 ac_prog_rejected=yes
3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 if test $ac_prog_rejected = yes; then
3416 # We found a bogon in the path, so make sure we never use it.
3417 set dummy $ac_cv_prog_CC
3419 if test $# != 0; then
3420 # We chose a different compiler from the bogus one.
3421 # However, it has the same basename, so the bogon will be chosen
3422 # first if we set CC to just the basename; use the full file name.
3424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3430 if test -n "$CC"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3432 $as_echo "$CC" >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3440 if test -z "$CC"; then
3441 if test -n "$ac_tool_prefix"; then
3442 for ac_prog in cl.exe
3444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3447 $as_echo_n "checking for $ac_word... " >&6; }
3448 if ${ac_cv_prog_CC+:} false; then :
3449 $as_echo_n "(cached) " >&6
3451 if test -n "$CC"; then
3452 ac_cv_prog_CC="$CC" # Let the user override the test.
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 if test -n "$CC"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3474 $as_echo "$CC" >&6; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3481 test -n "$CC" && break
3484 if test -z "$CC"; then
3486 for ac_prog in cl.exe
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 if test -n "$ac_ct_CC"; then
3496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3505 ac_cv_prog_ac_ct_CC="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3516 if test -n "$ac_ct_CC"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3518 $as_echo "$ac_ct_CC" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$ac_ct_CC" && break
3528 if test "x$ac_ct_CC" = x; then
3531 case $cross_compiling:$ac_tool_warned in
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3535 ac_tool_warned=yes ;;
3544 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546 as_fn_error $? "no acceptable C compiler found in \$PATH
3547 See \`config.log' for more details" "$LINENO" 5; }
3549 # Provide some information about the compiler.
3550 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3553 for ac_option in --version -v -V -qversion; do
3554 { { ac_try="$ac_compiler $ac_option >&5"
3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3560 $as_echo "$ac_try_echo"; } >&5
3561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3563 if test -s conftest.err; then
3565 ... rest of stderr output deleted ...
3566 10q' conftest.err >conftest.er1
3567 cat conftest.er1 >&5
3569 rm -f conftest.er1 conftest.err
3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571 test $ac_status = 0; }
3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575 /* end confdefs.h. */
3585 ac_clean_files_save=$ac_clean_files
3586 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3587 # Try to create an executable without -o first, disregard a.out.
3588 # It will help us diagnose broken compilers, and finding out an intuition
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3591 $as_echo_n "checking whether the C compiler works... " >&6; }
3592 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3594 # The possible output files:
3595 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3598 for ac_file in $ac_files
3601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3602 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3607 if { { ac_try="$ac_link_default"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link_default") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3621 # so that the user can short-circuit this test for compilers unknown to
3623 for ac_file in $ac_files ''
3625 test -f "$ac_file" || continue
3627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3630 # We found the default executable, but exeext='' is most
3634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3638 # We set ac_cv_exeext here because the later test for it is not
3639 # safe: cross compilers may not add the suffix if given an `-o'
3640 # argument, so we may need to know it at that point already.
3641 # Even if this section looks crufty: it has the advantage of
3648 test "$ac_cv_exeext" = no && ac_cv_exeext=
3653 if test -z "$ac_file"; then :
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3656 $as_echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661 as_fn_error 77 "C compiler cannot create executables
3662 See \`config.log' for more details" "$LINENO" 5; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3665 $as_echo "yes" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3668 $as_echo_n "checking for C compiler default output file name... " >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3670 $as_echo "$ac_file" >&6; }
3671 ac_exeext=$ac_cv_exeext
3673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3674 ac_clean_files=$ac_clean_files_save
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3676 $as_echo_n "checking for suffix of executables... " >&6; }
3677 if { { ac_try="$ac_link"
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 $as_echo "$ac_try_echo"; } >&5
3684 (eval "$ac_link") 2>&5
3686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3687 test $ac_status = 0; }; then :
3688 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3689 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3690 # work properly (i.e., refer to `conftest.exe'), while it won't with
3692 for ac_file in conftest.exe conftest conftest.*; do
3693 test -f "$ac_file" || continue
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3696 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3705 See \`config.log' for more details" "$LINENO" 5; }
3707 rm -f conftest conftest$ac_cv_exeext
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3709 $as_echo "$ac_cv_exeext" >&6; }
3711 rm -f conftest.$ac_ext
3712 EXEEXT=$ac_cv_exeext
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3720 FILE *f = fopen ("conftest.out", "w");
3721 return ferror (f) || fclose (f) != 0;
3727 ac_clean_files="$ac_clean_files conftest.out"
3728 # Check that the compiler produces executables we can run. If not, either
3729 # the compiler is broken, or we cross compile.
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3731 $as_echo_n "checking whether we are cross compiling... " >&6; }
3732 if test "$cross_compiling" != yes; then
3733 { { ac_try="$ac_link"
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3739 $as_echo "$ac_try_echo"; } >&5
3740 (eval "$ac_link") 2>&5
3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743 test $ac_status = 0; }
3744 if { ac_try='./conftest$ac_cv_exeext'
3745 { { case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3750 $as_echo "$ac_try_echo"; } >&5
3751 (eval "$ac_try") 2>&5
3753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754 test $ac_status = 0; }; }; then
3757 if test "$cross_compiling" = maybe; then
3760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3762 as_fn_error $? "cannot run C compiled programs.
3763 If you meant to cross compile, use \`--host'.
3764 See \`config.log' for more details" "$LINENO" 5; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3769 $as_echo "$cross_compiling" >&6; }
3771 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3772 ac_clean_files=$ac_clean_files_save
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3774 $as_echo_n "checking for suffix of object files... " >&6; }
3775 if ${ac_cv_objext+:} false; then :
3776 $as_echo_n "(cached) " >&6
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 rm -f conftest.o conftest.obj
3790 if { { ac_try="$ac_compile"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3796 $as_echo "$ac_try_echo"; } >&5
3797 (eval "$ac_compile") 2>&5
3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800 test $ac_status = 0; }; then :
3801 for ac_file in conftest.o conftest.obj conftest.*; do
3802 test -f "$ac_file" || continue;
3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3810 $as_echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 as_fn_error $? "cannot compute suffix of object files: cannot compile
3816 See \`config.log' for more details" "$LINENO" 5; }
3818 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3821 $as_echo "$ac_cv_objext" >&6; }
3822 OBJEXT=$ac_cv_objext
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3825 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3826 if ${ac_cv_c_compiler_gnu+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3843 if ac_fn_c_try_compile "$LINENO"; then :
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3854 if test $ac_compiler_gnu = yes; then
3859 ac_test_CFLAGS=${CFLAGS+set}
3860 ac_save_CFLAGS=$CFLAGS
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3863 if ${ac_cv_prog_cc_g+:} false; then :
3864 $as_echo_n "(cached) " >&6
3866 ac_save_c_werror_flag=$ac_c_werror_flag
3867 ac_c_werror_flag=yes
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3881 if ac_fn_c_try_compile "$LINENO"; then :
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3896 if ac_fn_c_try_compile "$LINENO"; then :
3899 ac_c_werror_flag=$ac_save_c_werror_flag
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 if ac_fn_c_try_compile "$LINENO"; then :
3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920 ac_c_werror_flag=$ac_save_c_werror_flag
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3923 $as_echo "$ac_cv_prog_cc_g" >&6; }
3924 if test "$ac_test_CFLAGS" = set; then
3925 CFLAGS=$ac_save_CFLAGS
3926 elif test $ac_cv_prog_cc_g = yes; then
3927 if test "$GCC" = yes; then
3933 if test "$GCC" = yes; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3940 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3941 if ${ac_cv_prog_cc_c89+:} false; then :
3942 $as_echo_n "(cached) " >&6
3944 ac_cv_prog_cc_c89=no
3946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h. */
3951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3952 struct buf { int x; };
3953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3954 static char *e (p, i)
3960 static char *f (char * (*g) (char **, int), char **p, ...)
3965 s = g (p, va_arg (v,int));
3970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3971 function prototypes and stuff, but not '\xHH' hex character constants.
3972 These don't provoke an error unfortunately, instead are silently treated
3973 as 'x'. The following induces an error, until -std is added to get
3974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3975 array size at least. It's necessary to write '\x00'==0 to get something
3976 that's true only with -std. */
3977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3980 inside strings and character constants. */
3982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3984 int test (int i, double x);
3985 struct s1 {int (*f) (int a);};
3986 struct s2 {int (*f) (double a);};
3987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4001 CC="$ac_save_CC $ac_arg"
4002 if ac_fn_c_try_compile "$LINENO"; then :
4003 ac_cv_prog_cc_c89=$ac_arg
4005 rm -f core conftest.err conftest.$ac_objext
4006 test "x$ac_cv_prog_cc_c89" != "xno" && break
4008 rm -f conftest.$ac_ext
4013 case "x$ac_cv_prog_cc_c89" in
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4016 $as_echo "none needed" >&6; } ;;
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4019 $as_echo "unsupported" >&6; } ;;
4021 CC="$CC $ac_cv_prog_cc_c89"
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4023 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4025 if test "x$ac_cv_prog_cc_c89" != xno; then :
4030 ac_cpp='$CPP $CPPFLAGS'
4031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4036 ac_cpp='$CPP $CPPFLAGS'
4037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4041 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4042 if ${am_cv_prog_cc_c_o+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 # Make sure it works both with $CC and with simple cc.
4057 # Following AC_PROG_CC_C_O, we do the test twice because some
4058 # compilers refuse to overwrite an existing .o file with -o,
4059 # though they will create one.
4060 am_cv_prog_cc_c_o=yes
4062 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4063 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } \
4067 && test -f conftest2.$ac_objext; then
4070 am_cv_prog_cc_c_o=no
4074 rm -f core conftest*
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4078 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4079 if test "$am_cv_prog_cc_c_o" != yes; then
4080 # Losing compiler, so override with the script.
4081 # FIXME: It is wrong to rewrite CC.
4082 # But if we don't then we get into trouble of one sort or another.
4083 # A longer-term fix would be to have automake use am__CC in this case,
4084 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4085 CC="$am_aux_dir/compile $CC"
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4093 DEPDIR="${am__leading_dot}deps"
4095 ac_config_commands="$ac_config_commands depfiles"
4098 am_make=${MAKE-make}
4099 cat > confinc << 'END'
4101 @echo this is the am__doit target
4104 # If we don't find an include directive, just comment out the code.
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4106 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4110 # First try GNU make style include.
4111 echo "include confinc" > confmf
4112 # Ignore all kinds of additional output from 'make'.
4113 case `$am_make -s -f confmf 2> /dev/null` in #(
4114 *the\ am__doit\ target*)
4120 # Now try BSD make style include.
4121 if test "$am__include" = "#"; then
4122 echo '.include "confinc"' > confmf
4123 case `$am_make -s -f confmf 2> /dev/null` in #(
4124 *the\ am__doit\ target*)
4125 am__include=.include
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4134 $as_echo "$_am_result" >&6; }
4135 rm -f confinc confmf
4137 # Check whether --enable-dependency-tracking was given.
4138 if test "${enable_dependency_tracking+set}" = set; then :
4139 enableval=$enable_dependency_tracking;
4142 if test "x$enable_dependency_tracking" != xno; then
4143 am_depcomp="$ac_aux_dir/depcomp"
4147 if test "x$enable_dependency_tracking" != xno; then
4157 depcc="$CC" am_compiler_list=
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4160 $as_echo_n "checking dependency style of $depcc... " >&6; }
4161 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4165 # We make a subdir and do the tests there. Otherwise we can end up
4166 # making bogus files that we don't know about and never remove. For
4167 # instance it was reported that on HP-UX the gcc test will end up
4168 # making a dummy file named 'D' -- because '-MD' means "put the output
4172 # Copy depcomp to subdir because otherwise we won't find it if we're
4173 # using a relative directory.
4174 cp "$am_depcomp" conftest.dir
4176 # We will build objects and dependencies in a subdirectory because
4177 # it helps to detect inapplicable dependency modes. For instance
4178 # both Tru64's cc and ICC support -MD to output dependencies as a
4179 # side effect of compilation, but ICC will put the dependencies in
4180 # the current directory while Tru64 will put them in the object
4184 am_cv_CC_dependencies_compiler_type=none
4185 if test "$am_compiler_list" = ""; then
4186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4189 case " $depcc " in #(
4190 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4193 for depmode in $am_compiler_list; do
4194 # Setup a source with many dependencies, because some compilers
4195 # like to wrap large dependency lists on column 80 (with \), and
4196 # we should not choose a depcomp mode which is confused by this.
4198 # We need to recreate these files for each test, as the compiler may
4199 # overwrite some of them when testing with obscure command lines.
4200 # This happens at least with the AIX C compiler.
4202 for i in 1 2 3 4 5 6; do
4203 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4204 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4205 # Solaris 10 /bin/sh.
4206 echo '/* dummy */' > sub/conftst$i.h
4208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4210 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4211 # mode. It turns out that the SunPro C++ compiler does not properly
4212 # handle '-M -o', and we need to detect this. Also, some Intel
4213 # versions had trouble with output in subdirs.
4214 am__obj=sub/conftest.${OBJEXT-o}
4215 am__minus_obj="-o $am__obj"
4218 # This depmode causes a compiler race in universal mode.
4219 test "$am__universal" = false || continue
4222 # After this tag, mechanisms are not by side-effect, so they'll
4223 # only be used when explicitly requested.
4224 if test "x$enable_dependency_tracking" = xyes; then
4230 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4231 # This compiler won't grok '-c -o', but also, the minuso test has
4232 # not run yet. These depmodes are late enough in the game, and
4233 # so weak that their functioning should not be impacted.
4234 am__obj=conftest.${OBJEXT-o}
4239 if depmode=$depmode \
4240 source=sub/conftest.c object=$am__obj \
4241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4243 >/dev/null 2>conftest.err &&
4244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4248 # icc doesn't choke on unknown options, it will just issue warnings
4249 # or remarks (even with -Werror). So we grep stderr for any message
4250 # that says an option was ignored or not supported.
4251 # When given -MP, icc 7.0 and 7.1 complain thusly:
4252 # icc: Command line warning: ignoring option '-M'; no argument required
4253 # The diagnosis changed in icc 8.0:
4254 # icc: Command line remark: option '-MP' not supported
4255 if (grep 'ignoring option' conftest.err ||
4256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4257 am_cv_CC_dependencies_compiler_type=$depmode
4266 am_cv_CC_dependencies_compiler_type=none
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4271 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4272 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4275 test "x$enable_dependency_tracking" != xno \
4276 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4278 am__fastdepCC_FALSE='#'
4280 am__fastdepCC_TRUE='#'
4281 am__fastdepCC_FALSE=
4286 # Check whether --enable-largefile was given.
4287 if test "${enable_largefile+set}" = set; then :
4288 enableval=$enable_largefile;
4291 if test "$enable_largefile" != no; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4294 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4295 if ${ac_cv_sys_largefile_CC+:} false; then :
4296 $as_echo_n "(cached) " >&6
4298 ac_cv_sys_largefile_CC=no
4299 if test "$GCC" != yes; then
4302 # IRIX 6.2 and later do not support large files by default,
4303 # so use the C compiler's -n32 option if that helps.
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #include <sys/types.h>
4307 /* Check that off_t can represent 2**63 - 1 correctly.
4308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4309 since some C++ compilers masquerading as C compilers
4310 incorrectly reject 9223372036854775807. */
4311 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4313 && LARGE_OFF_T % 2147483647 == 1)
4323 if ac_fn_c_try_compile "$LINENO"; then :
4326 rm -f core conftest.err conftest.$ac_objext
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_cv_sys_largefile_CC=' -n32'; break
4331 rm -f core conftest.err conftest.$ac_objext
4335 rm -f conftest.$ac_ext
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4339 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4340 if test "$ac_cv_sys_largefile_CC" != no; then
4341 CC=$CC$ac_cv_sys_largefile_CC
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4345 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4346 if ${ac_cv_sys_file_offset_bits+:} false; then :
4347 $as_echo_n "(cached) " >&6
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4352 #include <sys/types.h>
4353 /* Check that off_t can represent 2**63 - 1 correctly.
4354 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4355 since some C++ compilers masquerading as C compilers
4356 incorrectly reject 9223372036854775807. */
4357 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4358 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4359 && LARGE_OFF_T % 2147483647 == 1)
4369 if ac_fn_c_try_compile "$LINENO"; then :
4370 ac_cv_sys_file_offset_bits=no; break
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4375 #define _FILE_OFFSET_BITS 64
4376 #include <sys/types.h>
4377 /* Check that off_t can represent 2**63 - 1 correctly.
4378 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4379 since some C++ compilers masquerading as C compilers
4380 incorrectly reject 9223372036854775807. */
4381 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4382 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4383 && LARGE_OFF_T % 2147483647 == 1)
4393 if ac_fn_c_try_compile "$LINENO"; then :
4394 ac_cv_sys_file_offset_bits=64; break
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 ac_cv_sys_file_offset_bits=unknown
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4402 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4403 case $ac_cv_sys_file_offset_bits in #(
4406 cat >>confdefs.h <<_ACEOF
4407 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4412 if test $ac_cv_sys_file_offset_bits = unknown; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4414 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4415 if ${ac_cv_sys_large_files+:} false; then :
4416 $as_echo_n "(cached) " >&6
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4421 #include <sys/types.h>
4422 /* Check that off_t can represent 2**63 - 1 correctly.
4423 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4424 since some C++ compilers masquerading as C compilers
4425 incorrectly reject 9223372036854775807. */
4426 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4427 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4428 && LARGE_OFF_T % 2147483647 == 1)
4438 if ac_fn_c_try_compile "$LINENO"; then :
4439 ac_cv_sys_large_files=no; break
4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4444 #define _LARGE_FILES 1
4445 #include <sys/types.h>
4446 /* Check that off_t can represent 2**63 - 1 correctly.
4447 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4448 since some C++ compilers masquerading as C compilers
4449 incorrectly reject 9223372036854775807. */
4450 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4451 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4452 && LARGE_OFF_T % 2147483647 == 1)
4462 if ac_fn_c_try_compile "$LINENO"; then :
4463 ac_cv_sys_large_files=1; break
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 ac_cv_sys_large_files=unknown
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4471 $as_echo "$ac_cv_sys_large_files" >&6; }
4472 case $ac_cv_sys_large_files in #(
4475 cat >>confdefs.h <<_ACEOF
4476 #define _LARGE_FILES $ac_cv_sys_large_files
4489 # Check whether --with-zlib was given.
4490 if test "${with_zlib+set}" = set; then :
4497 if test "$with_zlib" != "yes"
4499 if test -f "$with_zlib"/zlib.h
4501 # PREFIX is to uninstalled version in distribution directory
4502 CFLAGS="$CFLAGS -I$with_zlib"
4503 LDFLAGS="$LDFLAGS -L$with_zlib"
4504 else if test -f "$with_zlib"/include/zlib.h
4506 # PREFIX is installation prefix
4507 CFLAGS="$CFLAGS -I$with_zlib/include"
4508 LDFLAGS="$LDFLAGS -L$with_zlib/lib"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
4514 $as_echo_n "checking for main in -lz... " >&6; }
4515 if ${ac_cv_lib_z_main+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 ac_check_lib_save_LIBS=$LIBS
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4532 if ac_fn_c_try_link "$LINENO"; then :
4533 ac_cv_lib_z_main=yes
4537 rm -f core conftest.err conftest.$ac_objext \
4538 conftest$ac_exeext conftest.$ac_ext
4539 LIBS=$ac_check_lib_save_LIBS
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
4542 $as_echo "$ac_cv_lib_z_main" >&6; }
4543 if test "x$ac_cv_lib_z_main" = xyes; then :
4544 cat >>confdefs.h <<_ACEOF
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking new ZLIB version" >&5
4553 $as_echo_n "checking new ZLIB version... " >&6; }
4554 if ${id_cv_lib_zlib_ok+:} false; then :
4555 $as_echo_n "(cached) " >&6
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4563 extern ZEXPORT int unzOpen (const char *path);
4568 if ac_fn_c_try_compile "$LINENO"; then :
4569 id_cv_lib_zlib_ok=yes
4571 id_cv_lib_zlib_ok=no
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $id_cv_lib_zlib_ok" >&5
4576 $as_echo "$id_cv_lib_zlib_ok" >&6; }
4577 if test "$id_cv_lib_zlib_ok" = "no"
4579 as_fn_error $? "ZLIB version too old, please install at least v1.1.2" "$LINENO" 5
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4587 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4592 macro_version='2.4.2'
4593 macro_revision='1.3337'
4607 ltmain="$ac_aux_dir/ltmain.sh"
4609 # Backslashify metacharacters that are still active within
4610 # double-quoted strings.
4611 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4613 # Same as above, but do not quote variable references.
4614 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4616 # Sed substitution to delay expansion of an escaped shell variable in a
4617 # double_quote_subst'ed string.
4618 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4620 # Sed substitution to delay expansion of an escaped single quote.
4621 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4623 # Sed substitution to avoid accidental globbing in evaled expressions
4624 no_glob_subst='s/\*/\\\*/g'
4626 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4627 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4628 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4631 $as_echo_n "checking how to print strings... " >&6; }
4632 # Test print first, because it will be a builtin if present.
4633 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4634 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4636 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4639 # Use this function as a fallback that always works.
4640 func_fallback_echo ()
4642 eval 'cat <<_LTECHO_EOF
4646 ECHO='func_fallback_echo'
4649 # func_echo_all arg...
4650 # Invoke $ECHO with all args, space-separated.
4657 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4658 $as_echo "printf" >&6; } ;;
4659 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4660 $as_echo "print -r" >&6; } ;;
4661 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4662 $as_echo "cat" >&6; } ;;
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4679 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4680 if ${ac_cv_path_SED+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4684 for ac_i in 1 2 3 4 5 6 7; do
4685 ac_script="$ac_script$as_nl$ac_script"
4687 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4688 { ac_script=; unset ac_script;}
4689 if test -z "$SED"; then
4690 ac_path_SED_found=false
4691 # Loop through the user's path and test for each of PROGNAME-LIST
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_prog in sed gsed; do
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4700 as_fn_executable_p "$ac_path_SED" || continue
4701 # Check for GNU ac_path_SED and select it if it is found.
4702 # Check for GNU $ac_path_SED
4703 case `"$ac_path_SED" --version 2>&1` in
4705 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4708 $as_echo_n 0123456789 >"conftest.in"
4711 cat "conftest.in" "conftest.in" >"conftest.tmp"
4712 mv "conftest.tmp" "conftest.in"
4713 cp "conftest.in" "conftest.nl"
4714 $as_echo '' >> "conftest.nl"
4715 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4717 as_fn_arith $ac_count + 1 && ac_count=$as_val
4718 if test $ac_count -gt ${ac_path_SED_max-0}; then
4719 # Best one so far, save it but keep looking for a better one
4720 ac_cv_path_SED="$ac_path_SED"
4721 ac_path_SED_max=$ac_count
4723 # 10*(2^10) chars as input seems more than enough
4724 test $ac_count -gt 10 && break
4726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4729 $ac_path_SED_found && break 3
4734 if test -z "$ac_cv_path_SED"; then
4735 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4743 $as_echo "$ac_cv_path_SED" >&6; }
4744 SED="$ac_cv_path_SED"
4747 test -z "$SED" && SED=sed
4748 Xsed="$SED -e 1s/^X//"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4761 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4762 if ${ac_cv_path_GREP+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -z "$GREP"; then
4766 ac_path_GREP_found=false
4767 # Loop through the user's path and test for each of PROGNAME-LIST
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4772 test -z "$as_dir" && as_dir=.
4773 for ac_prog in grep ggrep; do
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4776 as_fn_executable_p "$ac_path_GREP" || continue
4777 # Check for GNU ac_path_GREP and select it if it is found.
4778 # Check for GNU $ac_path_GREP
4779 case `"$ac_path_GREP" --version 2>&1` in
4781 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4784 $as_echo_n 0123456789 >"conftest.in"
4787 cat "conftest.in" "conftest.in" >"conftest.tmp"
4788 mv "conftest.tmp" "conftest.in"
4789 cp "conftest.in" "conftest.nl"
4790 $as_echo 'GREP' >> "conftest.nl"
4791 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4792 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4793 as_fn_arith $ac_count + 1 && ac_count=$as_val
4794 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4795 # Best one so far, save it but keep looking for a better one
4796 ac_cv_path_GREP="$ac_path_GREP"
4797 ac_path_GREP_max=$ac_count
4799 # 10*(2^10) chars as input seems more than enough
4800 test $ac_count -gt 10 && break
4802 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4805 $ac_path_GREP_found && break 3
4810 if test -z "$ac_cv_path_GREP"; then
4811 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4814 ac_cv_path_GREP=$GREP
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4819 $as_echo "$ac_cv_path_GREP" >&6; }
4820 GREP="$ac_cv_path_GREP"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4824 $as_echo_n "checking for egrep... " >&6; }
4825 if ${ac_cv_path_EGREP+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4829 then ac_cv_path_EGREP="$GREP -E"
4831 if test -z "$EGREP"; then
4832 ac_path_EGREP_found=false
4833 # Loop through the user's path and test for each of PROGNAME-LIST
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4838 test -z "$as_dir" && as_dir=.
4839 for ac_prog in egrep; do
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4842 as_fn_executable_p "$ac_path_EGREP" || continue
4843 # Check for GNU ac_path_EGREP and select it if it is found.
4844 # Check for GNU $ac_path_EGREP
4845 case `"$ac_path_EGREP" --version 2>&1` in
4847 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4850 $as_echo_n 0123456789 >"conftest.in"
4853 cat "conftest.in" "conftest.in" >"conftest.tmp"
4854 mv "conftest.tmp" "conftest.in"
4855 cp "conftest.in" "conftest.nl"
4856 $as_echo 'EGREP' >> "conftest.nl"
4857 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4858 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4859 as_fn_arith $ac_count + 1 && ac_count=$as_val
4860 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4861 # Best one so far, save it but keep looking for a better one
4862 ac_cv_path_EGREP="$ac_path_EGREP"
4863 ac_path_EGREP_max=$ac_count
4865 # 10*(2^10) chars as input seems more than enough
4866 test $ac_count -gt 10 && break
4868 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4871 $ac_path_EGREP_found && break 3
4876 if test -z "$ac_cv_path_EGREP"; then
4877 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4880 ac_cv_path_EGREP=$EGREP
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4886 $as_echo "$ac_cv_path_EGREP" >&6; }
4887 EGREP="$ac_cv_path_EGREP"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4891 $as_echo_n "checking for fgrep... " >&6; }
4892 if ${ac_cv_path_FGREP+:} false; then :
4893 $as_echo_n "(cached) " >&6
4895 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4896 then ac_cv_path_FGREP="$GREP -F"
4898 if test -z "$FGREP"; then
4899 ac_path_FGREP_found=false
4900 # Loop through the user's path and test for each of PROGNAME-LIST
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4905 test -z "$as_dir" && as_dir=.
4906 for ac_prog in fgrep; do
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4909 as_fn_executable_p "$ac_path_FGREP" || continue
4910 # Check for GNU ac_path_FGREP and select it if it is found.
4911 # Check for GNU $ac_path_FGREP
4912 case `"$ac_path_FGREP" --version 2>&1` in
4914 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4917 $as_echo_n 0123456789 >"conftest.in"
4920 cat "conftest.in" "conftest.in" >"conftest.tmp"
4921 mv "conftest.tmp" "conftest.in"
4922 cp "conftest.in" "conftest.nl"
4923 $as_echo 'FGREP' >> "conftest.nl"
4924 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4925 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4926 as_fn_arith $ac_count + 1 && ac_count=$as_val
4927 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4928 # Best one so far, save it but keep looking for a better one
4929 ac_cv_path_FGREP="$ac_path_FGREP"
4930 ac_path_FGREP_max=$ac_count
4932 # 10*(2^10) chars as input seems more than enough
4933 test $ac_count -gt 10 && break
4935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4938 $ac_path_FGREP_found && break 3
4943 if test -z "$ac_cv_path_FGREP"; then
4944 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4947 ac_cv_path_FGREP=$FGREP
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4953 $as_echo "$ac_cv_path_FGREP" >&6; }
4954 FGREP="$ac_cv_path_FGREP"
4957 test -z "$GREP" && GREP=grep
4977 # Check whether --with-gnu-ld was given.
4978 if test "${with_gnu_ld+set}" = set; then :
4979 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4985 if test "$GCC" = yes; then
4986 # Check if gcc -print-prog-name=ld gives a path.
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4988 $as_echo_n "checking for ld used by $CC... " >&6; }
4991 # gcc leaves a trailing carriage return which upsets mingw
4992 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4994 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4997 # Accept absolute paths.
4999 re_direlt='/[^/][^/]*/\.\./'
5000 # Canonicalize the pathname of ld
5001 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5002 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5003 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5005 test -z "$LD" && LD="$ac_prog"
5008 # If it fails, then pretend we aren't using GCC.
5012 # If it is relative, then search for the first ld in PATH.
5016 elif test "$with_gnu_ld" = yes; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5018 $as_echo_n "checking for GNU ld... " >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5021 $as_echo_n "checking for non-GNU ld... " >&6; }
5023 if ${lt_cv_path_LD+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -z "$LD"; then
5027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5028 for ac_dir in $PATH; do
5030 test -z "$ac_dir" && ac_dir=.
5031 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5032 lt_cv_path_LD="$ac_dir/$ac_prog"
5033 # Check to see if the program is GNU ld. I'd rather use --version,
5034 # but apparently some variants of GNU ld only accept -v.
5035 # Break only if it was the GNU/non-GNU ld that we prefer.
5036 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5037 *GNU* | *'with BFD'*)
5038 test "$with_gnu_ld" != no && break
5041 test "$with_gnu_ld" != yes && break
5048 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5053 if test -n "$LD"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5055 $as_echo "$LD" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5060 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5062 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5063 if ${lt_cv_prog_gnu_ld+:} false; then :
5064 $as_echo_n "(cached) " >&6
5066 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5067 case `$LD -v 2>&1 </dev/null` in
5068 *GNU* | *'with BFD'*)
5069 lt_cv_prog_gnu_ld=yes
5072 lt_cv_prog_gnu_ld=no
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5077 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5078 with_gnu_ld=$lt_cv_prog_gnu_ld
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5089 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5090 if ${lt_cv_path_NM+:} false; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$NM"; then
5094 # Let the user override the test.
5097 lt_nm_to_check="${ac_tool_prefix}nm"
5098 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5099 lt_nm_to_check="$lt_nm_to_check nm"
5101 for lt_tmp_nm in $lt_nm_to_check; do
5102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5103 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5105 test -z "$ac_dir" && ac_dir=.
5106 tmp_nm="$ac_dir/$lt_tmp_nm"
5107 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5108 # Check to see if the nm accepts a BSD-compat flag.
5109 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5110 # nm: unknown option "B" ignored
5111 # Tru64's nm complains that /dev/null is an invalid object file
5112 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5113 */dev/null* | *'Invalid file or object type'*)
5114 lt_cv_path_NM="$tmp_nm -B"
5118 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5120 lt_cv_path_NM="$tmp_nm -p"
5124 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5125 continue # so that we can try to find one that supports BSD flags
5134 : ${lt_cv_path_NM=no}
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5138 $as_echo "$lt_cv_path_NM" >&6; }
5139 if test "$lt_cv_path_NM" != "no"; then
5142 # Didn't find any BSD compatible name lister, look for dumpbin.
5143 if test -n "$DUMPBIN"; then :
5144 # Let the user override the test.
5146 if test -n "$ac_tool_prefix"; then
5147 for ac_prog in dumpbin "link -dump"
5149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_DUMPBIN+:} false; then :
5154 $as_echo_n "(cached) " >&6
5156 if test -n "$DUMPBIN"; then
5157 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 DUMPBIN=$ac_cv_prog_DUMPBIN
5177 if test -n "$DUMPBIN"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5179 $as_echo "$DUMPBIN" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5186 test -n "$DUMPBIN" && break
5189 if test -z "$DUMPBIN"; then
5190 ac_ct_DUMPBIN=$DUMPBIN
5191 for ac_prog in dumpbin "link -dump"
5193 # Extract the first word of "$ac_prog", so it can be a program name with args.
5194 set dummy $ac_prog; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$ac_ct_DUMPBIN"; then
5201 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5221 if test -n "$ac_ct_DUMPBIN"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5223 $as_echo "$ac_ct_DUMPBIN" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5230 test -n "$ac_ct_DUMPBIN" && break
5233 if test "x$ac_ct_DUMPBIN" = x; then
5236 case $cross_compiling:$ac_tool_warned in
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned=yes ;;
5242 DUMPBIN=$ac_ct_DUMPBIN
5246 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5248 DUMPBIN="$DUMPBIN -symbols"
5256 if test "$DUMPBIN" != ":"; then
5260 test -z "$NM" && NM=nm
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5268 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5269 if ${lt_cv_nm_interface+:} false; then :
5270 $as_echo_n "(cached) " >&6
5272 lt_cv_nm_interface="BSD nm"
5273 echo "int some_variable = 0;" > conftest.$ac_ext
5274 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5275 (eval "$ac_compile" 2>conftest.err)
5276 cat conftest.err >&5
5277 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5278 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5279 cat conftest.err >&5
5280 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5281 cat conftest.out >&5
5282 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5283 lt_cv_nm_interface="MS dumpbin"
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5288 $as_echo "$lt_cv_nm_interface" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5291 $as_echo_n "checking whether ln -s works... " >&6; }
5293 if test "$LN_S" = "ln -s"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5298 $as_echo "no, using $LN_S" >&6; }
5301 # find the maximum length of command line arguments
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5303 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5304 if ${lt_cv_sys_max_cmd_len+:} false; then :
5305 $as_echo_n "(cached) " >&6
5312 # On DJGPP, this test can blow up pretty badly due to problems in libc
5313 # (any single argument exceeding 2000 bytes causes a buffer overrun
5314 # during glob expansion). Even if it were fixed, the result of this
5315 # check would be larger than it should be.
5316 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5320 # Under GNU Hurd, this test is not required because there is
5321 # no limit to the length of command line arguments.
5322 # Libtool will interpret -1 as no limit whatsoever
5323 lt_cv_sys_max_cmd_len=-1;
5326 cygwin* | mingw* | cegcc*)
5327 # On Win9x/ME, this test blows up -- it succeeds, but takes
5328 # about 5 minutes as the teststring grows exponentially.
5329 # Worse, since 9x/ME are not pre-emptively multitasking,
5330 # you end up with a "frozen" computer, even though with patience
5331 # the test eventually succeeds (with a max line length of 256k).
5332 # Instead, let's just punt: use the minimum linelength reported by
5333 # all of the supported platforms: 8192 (on NT/2K/XP).
5334 lt_cv_sys_max_cmd_len=8192;
5338 # On MiNT this can take a long time and run out of memory.
5339 lt_cv_sys_max_cmd_len=8192;
5343 # On AmigaOS with pdksh, this test takes hours, literally.
5344 # So we just punt and use a minimum line length of 8192.
5345 lt_cv_sys_max_cmd_len=8192;
5348 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5349 # This has been around since 386BSD, at least. Likely further.
5350 if test -x /sbin/sysctl; then
5351 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5352 elif test -x /usr/sbin/sysctl; then
5353 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5355 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5357 # And add a safety zone
5358 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5359 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5363 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5364 lt_cv_sys_max_cmd_len=196608
5368 # The test takes a long time on OS/2.
5369 lt_cv_sys_max_cmd_len=8192
5373 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5374 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5375 # nice to cause kernel panics so lets avoid the loop below.
5376 # First set a reasonable default.
5377 lt_cv_sys_max_cmd_len=16384
5379 if test -x /sbin/sysconfig; then
5380 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5381 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5386 lt_cv_sys_max_cmd_len=102400
5388 sysv5* | sco5v6* | sysv4.2uw2*)
5389 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5390 if test -n "$kargmax"; then
5391 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5393 lt_cv_sys_max_cmd_len=32768
5397 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5398 if test -n "$lt_cv_sys_max_cmd_len"; then
5399 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5400 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5402 # Make teststring a little bigger before we do anything with it.
5403 # a 1K string should be a reasonable start.
5404 for i in 1 2 3 4 5 6 7 8 ; do
5405 teststring=$teststring$teststring
5407 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5408 # If test is not a shell built-in, we'll probably end up computing a
5409 # maximum length that is only half of the actual maximum length, but
5411 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5412 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5413 test $i != 17 # 1/2 MB should be enough
5416 teststring=$teststring$teststring
5418 # Only check the string length outside the loop.
5419 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5421 # Add a significant safety factor because C++ compilers can tack on
5422 # massive amounts of additional arguments before passing them to the
5423 # linker. It appears as though 1/2 is a usable value.
5424 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5431 if test -n $lt_cv_sys_max_cmd_len ; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5433 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5436 $as_echo "none" >&6; }
5438 max_cmd_len=$lt_cv_sys_max_cmd_len
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5450 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5451 # Try some XSI features
5454 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5456 && eval 'test $(( 1 + 1 )) -eq 2 \
5457 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5460 $as_echo "$xsi_shell" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5464 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5466 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5468 && lt_shell_append=yes
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5470 $as_echo "$lt_shell_append" >&6; }
5473 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5483 # test EBCDIC or ASCII
5484 case `echo X|tr X '\101'` in
5485 A) # ASCII based system
5486 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5487 lt_SP2NL='tr \040 \012'
5488 lt_NL2SP='tr \015\012 \040\040'
5490 *) # EBCDIC based system
5491 lt_SP2NL='tr \100 \n'
5492 lt_NL2SP='tr \r\n \100\100'
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5505 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5506 if ${lt_cv_to_host_file_cmd+:} false; then :
5507 $as_echo_n "(cached) " >&6
5512 *-*-mingw* ) # actually msys
5513 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5516 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5518 * ) # otherwise, assume *nix
5519 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5525 *-*-mingw* ) # actually msys
5526 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5529 lt_cv_to_host_file_cmd=func_convert_file_noop
5531 * ) # otherwise, assume *nix
5532 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5536 * ) # unhandled hosts (and "normal" native builds)
5537 lt_cv_to_host_file_cmd=func_convert_file_noop
5543 to_host_file_cmd=$lt_cv_to_host_file_cmd
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5545 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5552 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5553 if ${lt_cv_to_tool_file_cmd+:} false; then :
5554 $as_echo_n "(cached) " >&6
5556 #assume ordinary cross tools, or native build.
5557 lt_cv_to_tool_file_cmd=func_convert_file_noop
5561 *-*-mingw* ) # actually msys
5562 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5570 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5572 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5579 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5580 if ${lt_cv_ld_reload_flag+:} false; then :
5581 $as_echo_n "(cached) " >&6
5583 lt_cv_ld_reload_flag='-r'
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5586 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5587 reload_flag=$lt_cv_ld_reload_flag
5588 case $reload_flag in
5590 *) reload_flag=" $reload_flag" ;;
5592 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5594 cygwin* | mingw* | pw32* | cegcc*)
5595 if test "$GCC" != yes; then
5600 if test "$GCC" = yes; then
5601 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5603 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5618 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_OBJDUMP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$OBJDUMP"; then
5625 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 OBJDUMP=$ac_cv_prog_OBJDUMP
5645 if test -n "$OBJDUMP"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5647 $as_echo "$OBJDUMP" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5655 if test -z "$ac_cv_prog_OBJDUMP"; then
5656 ac_ct_OBJDUMP=$OBJDUMP
5657 # Extract the first word of "objdump", so it can be a program name with args.
5658 set dummy objdump; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$ac_ct_OBJDUMP"; then
5665 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5685 if test -n "$ac_ct_OBJDUMP"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5687 $as_echo "$ac_ct_OBJDUMP" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5693 if test "x$ac_ct_OBJDUMP" = x; then
5696 case $cross_compiling:$ac_tool_warned in
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned=yes ;;
5702 OBJDUMP=$ac_ct_OBJDUMP
5705 OBJDUMP="$ac_cv_prog_OBJDUMP"
5708 test -z "$OBJDUMP" && OBJDUMP=objdump
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5719 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5720 if ${lt_cv_deplibs_check_method+:} false; then :
5721 $as_echo_n "(cached) " >&6
5723 lt_cv_file_magic_cmd='$MAGIC_CMD'
5724 lt_cv_file_magic_test_file=
5725 lt_cv_deplibs_check_method='unknown'
5726 # Need to set the preceding variable on all platforms that support
5727 # interlibrary dependencies.
5728 # 'none' -- dependencies not supported.
5729 # `unknown' -- same as none, but documents that we really don't know.
5730 # 'pass_all' -- all dependencies passed with no checks.
5731 # 'test_compile' -- check by making test program.
5732 # 'file_magic [[regex]]' -- check by looking for files in library path
5733 # which responds to the $file_magic_cmd with a given extended regex.
5734 # If you have `file' or equivalent on your system and you're not sure
5735 # whether `pass_all' will *always* work, you probably want this one.
5739 lt_cv_deplibs_check_method=pass_all
5743 lt_cv_deplibs_check_method=pass_all
5747 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5748 lt_cv_file_magic_cmd='/usr/bin/file -L'
5749 lt_cv_file_magic_test_file=/shlib/libc.so
5753 # func_win32_libid is a shell function defined in ltmain.sh
5754 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5755 lt_cv_file_magic_cmd='func_win32_libid'
5759 # Base MSYS/MinGW do not provide the 'file' command needed by
5760 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5761 # unless we find 'file', for example because we are cross-compiling.
5762 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5763 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5764 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5765 lt_cv_file_magic_cmd='func_win32_libid'
5767 # Keep this pattern in sync with the one in func_win32_libid.
5768 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5769 lt_cv_file_magic_cmd='$OBJDUMP -f'
5774 # use the weaker test based on 'objdump'. See mingw*.
5775 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5776 lt_cv_file_magic_cmd='$OBJDUMP -f'
5779 darwin* | rhapsody*)
5780 lt_cv_deplibs_check_method=pass_all
5783 freebsd* | dragonfly*)
5784 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5787 # Not sure whether the presence of OpenBSD here was a mistake.
5788 # Let's accept both of them until this is cleared up.
5789 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5790 lt_cv_file_magic_cmd=/usr/bin/file
5791 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5795 lt_cv_deplibs_check_method=pass_all
5800 lt_cv_deplibs_check_method=pass_all
5804 lt_cv_deplibs_check_method=pass_all
5807 hpux10.20* | hpux11*)
5808 lt_cv_file_magic_cmd=/usr/bin/file
5811 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5812 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5815 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5816 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5819 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5820 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5826 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5827 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5830 irix5* | irix6* | nonstopux*)
5832 *-32|*"-32 ") libmagic=32-bit;;
5833 *-n32|*"-n32 ") libmagic=N32;;
5834 *-64|*"-64 ") libmagic=64-bit;;
5835 *) libmagic=never-match;;
5837 lt_cv_deplibs_check_method=pass_all
5840 # This must be glibc/ELF.
5841 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5842 lt_cv_deplibs_check_method=pass_all
5846 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5847 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5849 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5854 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5855 lt_cv_file_magic_cmd=/usr/bin/file
5856 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5860 lt_cv_deplibs_check_method=pass_all
5864 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5865 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5871 osf3* | osf4* | osf5*)
5872 lt_cv_deplibs_check_method=pass_all
5876 lt_cv_deplibs_check_method=pass_all
5880 lt_cv_deplibs_check_method=pass_all
5883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5884 lt_cv_deplibs_check_method=pass_all
5888 case $host_vendor in
5890 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]'
5891 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5894 lt_cv_deplibs_check_method=pass_all
5897 lt_cv_file_magic_cmd='/bin/file'
5898 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5901 lt_cv_file_magic_cmd='/bin/file'
5902 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5903 lt_cv_file_magic_test_file=/lib/libc.so
5906 lt_cv_deplibs_check_method=pass_all
5909 lt_cv_deplibs_check_method=pass_all
5915 lt_cv_deplibs_check_method=pass_all
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5921 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5925 if test "$build" = "$host"; then
5928 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5931 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5937 file_magic_cmd=$lt_cv_file_magic_cmd
5938 deplibs_check_method=$lt_cv_deplibs_check_method
5939 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5962 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5964 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_DLLTOOL+:} false; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$DLLTOOL"; then
5971 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 DLLTOOL=$ac_cv_prog_DLLTOOL
5991 if test -n "$DLLTOOL"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5993 $as_echo "$DLLTOOL" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6001 if test -z "$ac_cv_prog_DLLTOOL"; then
6002 ac_ct_DLLTOOL=$DLLTOOL
6003 # Extract the first word of "dlltool", so it can be a program name with args.
6004 set dummy dlltool; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6008 $as_echo_n "(cached) " >&6
6010 if test -n "$ac_ct_DLLTOOL"; then
6011 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6031 if test -n "$ac_ct_DLLTOOL"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6033 $as_echo "$ac_ct_DLLTOOL" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6039 if test "x$ac_ct_DLLTOOL" = x; then
6042 case $cross_compiling:$ac_tool_warned in
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046 ac_tool_warned=yes ;;
6048 DLLTOOL=$ac_ct_DLLTOOL
6051 DLLTOOL="$ac_cv_prog_DLLTOOL"
6054 test -z "$DLLTOOL" && DLLTOOL=dlltool
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6066 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6067 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6068 $as_echo_n "(cached) " >&6
6070 lt_cv_sharedlib_from_linklib_cmd='unknown'
6073 cygwin* | mingw* | pw32* | cegcc*)
6074 # two different shell functions defined in ltmain.sh
6075 # decide which to use based on capabilities of $DLLTOOL
6076 case `$DLLTOOL --help 2>&1` in
6077 *--identify-strict*)
6078 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6081 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6086 # fallback: assume linklib IS sharedlib
6087 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6093 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6094 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6095 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6103 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_AR+:} false; then :
6111 $as_echo_n "(cached) " >&6
6113 if test -n "$AR"; then
6114 ac_cv_prog_AR="$AR" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 if test -n "$AR"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6136 $as_echo "$AR" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6143 test -n "$AR" && break
6146 if test -z "$AR"; then
6150 # Extract the first word of "$ac_prog", so it can be a program name with args.
6151 set dummy $ac_prog; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6155 $as_echo_n "(cached) " >&6
6157 if test -n "$ac_ct_AR"; then
6158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_ac_ct_AR="$ac_prog"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6178 if test -n "$ac_ct_AR"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6180 $as_echo "$ac_ct_AR" >&6; }
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6187 test -n "$ac_ct_AR" && break
6190 if test "x$ac_ct_AR" = x; then
6193 case $cross_compiling:$ac_tool_warned in
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6217 $as_echo_n "checking for archiver @FILE support... " >&6; }
6218 if ${lt_cv_ar_at_file+:} false; then :
6219 $as_echo_n "(cached) " >&6
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6233 if ac_fn_c_try_compile "$LINENO"; then :
6234 echo conftest.$ac_objext > conftest.lst
6235 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6236 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6237 (eval $lt_ar_try) 2>&5
6239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6240 test $ac_status = 0; }
6241 if test "$ac_status" -eq 0; then
6242 # Ensure the archiver fails upon bogus file names.
6243 rm -f conftest.$ac_objext libconftest.a
6244 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6245 (eval $lt_ar_try) 2>&5
6247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248 test $ac_status = 0; }
6249 if test "$ac_status" -ne 0; then
6253 rm -f conftest.* libconftest.a
6256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6260 $as_echo "$lt_cv_ar_at_file" >&6; }
6262 if test "x$lt_cv_ar_at_file" = xno; then
6265 archiver_list_spec=$lt_cv_ar_at_file
6274 if test -n "$ac_tool_prefix"; then
6275 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6276 set dummy ${ac_tool_prefix}strip; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_STRIP+:} false; then :
6280 $as_echo_n "(cached) " >&6
6282 if test -n "$STRIP"; then
6283 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302 STRIP=$ac_cv_prog_STRIP
6303 if test -n "$STRIP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6305 $as_echo "$STRIP" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6313 if test -z "$ac_cv_prog_STRIP"; then
6315 # Extract the first word of "strip", so it can be a program name with args.
6316 set dummy strip; ac_word=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 $as_echo_n "checking for $ac_word... " >&6; }
6319 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6322 if test -n "$ac_ct_STRIP"; then
6323 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_ac_ct_STRIP="strip"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6343 if test -n "$ac_ct_STRIP"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6345 $as_echo "$ac_ct_STRIP" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6351 if test "x$ac_ct_STRIP" = x; then
6354 case $cross_compiling:$ac_tool_warned in
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6358 ac_tool_warned=yes ;;
6363 STRIP="$ac_cv_prog_STRIP"
6366 test -z "$STRIP" && STRIP=:
6373 if test -n "$ac_tool_prefix"; then
6374 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6375 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if ${ac_cv_prog_RANLIB+:} false; then :
6379 $as_echo_n "(cached) " >&6
6381 if test -n "$RANLIB"; then
6382 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 RANLIB=$ac_cv_prog_RANLIB
6402 if test -n "$RANLIB"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6404 $as_echo "$RANLIB" >&6; }
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6412 if test -z "$ac_cv_prog_RANLIB"; then
6413 ac_ct_RANLIB=$RANLIB
6414 # Extract the first word of "ranlib", so it can be a program name with args.
6415 set dummy ranlib; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6419 $as_echo_n "(cached) " >&6
6421 if test -n "$ac_ct_RANLIB"; then
6422 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6431 ac_cv_prog_ac_ct_RANLIB="ranlib"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6442 if test -n "$ac_ct_RANLIB"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6444 $as_echo "$ac_ct_RANLIB" >&6; }
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6450 if test "x$ac_ct_RANLIB" = x; then
6453 case $cross_compiling:$ac_tool_warned in
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6457 ac_tool_warned=yes ;;
6459 RANLIB=$ac_ct_RANLIB
6462 RANLIB="$ac_cv_prog_RANLIB"
6465 test -z "$RANLIB" && RANLIB=:
6472 # Determine commands to create old-style static archives.
6473 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6474 old_postinstall_cmds='chmod 644 $oldlib'
6475 old_postuninstall_cmds=
6477 if test -n "$RANLIB"; then
6480 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6483 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6486 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6491 lock_old_archive_extraction=yes ;;
6493 lock_old_archive_extraction=no ;;
6534 # If no C compiler was specified, use CC.
6537 # If no C compiler flags were specified, use CFLAGS.
6538 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6540 # Allow CC to be a program name with arguments.
6544 # Check for command to grab the raw symbol name followed by C symbol from nm.
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6546 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6547 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6548 $as_echo_n "(cached) " >&6
6551 # These are sane defaults that work on at least a few old systems.
6552 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6554 # Character class describing NM global symbol codes.
6555 symcode='[BCDEGRST]'
6557 # Regexp to match symbols that can be accessed directly from C.
6558 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6560 # Define system-specific variables.
6565 cygwin* | mingw* | pw32* | cegcc*)
6566 symcode='[ABCDGISTW]'
6569 if test "$host_cpu" = ia64; then
6570 symcode='[ABCDEGRST]'
6574 symcode='[BCDEGRST]'
6577 symcode='[BCDEGQRST]'
6588 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6596 # If we're using GNU nm, then use its standard symbol codes.
6597 case `$NM -V 2>&1` in
6598 *GNU* | *'with BFD'*)
6599 symcode='[ABCDGIRSTW]' ;;
6602 # Transform an extracted symbol line into a proper C declaration.
6603 # Some systems (esp. on ia64) link data and code symbols differently,
6604 # so use this general approach.
6605 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6607 # Transform an extracted symbol line into symbol name and symbol address
6608 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6609 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'"
6611 # Handle CRLF in mingw tool chain
6615 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6619 # Try without a prefix underscore, then with it.
6620 for ac_symprfx in "" "_"; do
6622 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6623 symxfrm="\\1 $ac_symprfx\\2 \\2"
6625 # Write the raw and C identifiers.
6626 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6627 # Fake it for dumpbin and say T for any non-static function
6628 # and D for any global variable.
6629 # Also find C++ and __fastcall symbols from MSVC++,
6630 # which start with @ or ?.
6631 lt_cv_sys_global_symbol_pipe="$AWK '"\
6632 " {last_section=section; section=\$ 3};"\
6633 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6634 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6635 " \$ 0!~/External *\|/{next};"\
6636 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6637 " {if(hide[section]) next};"\
6638 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6639 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6640 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6641 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6642 " ' prfx=^$ac_symprfx"
6644 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6646 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6648 # Check to see that the pipe works correctly.
6652 cat > conftest.$ac_ext <<_LT_EOF
6657 void nm_test_func(void);
6658 void nm_test_func(void){}
6662 int main(){nm_test_var='a';nm_test_func();return(0);}
6665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6666 (eval $ac_compile) 2>&5
6668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6669 test $ac_status = 0; }; then
6670 # Now try to grab the symbols.
6672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6673 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6676 test $ac_status = 0; } && test -s "$nlist"; then
6677 # Try sorting and uniquifying the output.
6678 if sort "$nlist" | uniq > "$nlist"T; then
6679 mv -f "$nlist"T "$nlist"
6684 # Make sure that we snagged all the symbols we need.
6685 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6686 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6687 cat <<_LT_EOF > conftest.$ac_ext
6688 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6689 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6690 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6691 relocations are performed -- see ld's documentation on pseudo-relocs. */
6692 # define LT_DLSYM_CONST
6693 #elif defined(__osf__)
6694 /* This system does not cope well with relocations in const data. */
6695 # define LT_DLSYM_CONST
6697 # define LT_DLSYM_CONST const
6705 # Now generate the symbol file.
6706 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6708 cat <<_LT_EOF >> conftest.$ac_ext
6710 /* The mapping between symbol names and symbols. */
6711 LT_DLSYM_CONST struct {
6715 lt__PROGRAM__LTX_preloaded_symbols[] =
6717 { "@PROGRAM@", (void *) 0 },
6719 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6720 cat <<\_LT_EOF >> conftest.$ac_ext
6724 /* This works around a problem in FreeBSD linker */
6725 #ifdef FREEBSD_WORKAROUND
6726 static const void *lt_preloaded_setup() {
6727 return lt__PROGRAM__LTX_preloaded_symbols;
6735 # Now try linking the two files.
6736 mv conftest.$ac_objext conftstm.$ac_objext
6737 lt_globsym_save_LIBS=$LIBS
6738 lt_globsym_save_CFLAGS=$CFLAGS
6739 LIBS="conftstm.$ac_objext"
6740 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6742 (eval $ac_link) 2>&5
6744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6745 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6748 LIBS=$lt_globsym_save_LIBS
6749 CFLAGS=$lt_globsym_save_CFLAGS
6751 echo "cannot find nm_test_func in $nlist" >&5
6754 echo "cannot find nm_test_var in $nlist" >&5
6757 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6760 echo "$progname: failed program was:" >&5
6761 cat conftest.$ac_ext >&5
6763 rm -rf conftest* conftst*
6765 # Do not use the global_symbol_pipe unless it works.
6766 if test "$pipe_works" = yes; then
6769 lt_cv_sys_global_symbol_pipe=
6775 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6776 lt_cv_sys_global_symbol_to_cdecl=
6778 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6780 $as_echo "failed" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6783 $as_echo "ok" >&6; }
6786 # Response file support.
6787 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6788 nm_file_list_spec='@'
6789 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6790 nm_file_list_spec='@'
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6820 $as_echo_n "checking for sysroot... " >&6; }
6822 # Check whether --with-sysroot was given.
6823 if test "${with_sysroot+set}" = set; then :
6824 withval=$with_sysroot;
6831 case ${with_sysroot} in #(
6833 if test "$GCC" = yes; then
6834 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6838 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6844 $as_echo "${with_sysroot}" >&6; }
6845 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6850 $as_echo "${lt_sysroot:-no}" >&6; }
6856 # Check whether --enable-libtool-lock was given.
6857 if test "${enable_libtool_lock+set}" = set; then :
6858 enableval=$enable_libtool_lock;
6861 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6863 # Some flags need to be propagated to the compiler or linker for good
6867 # Find out which ABI we are using.
6868 echo 'int i;' > conftest.$ac_ext
6869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6870 (eval $ac_compile) 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873 test $ac_status = 0; }; then
6874 case `/usr/bin/file conftest.$ac_objext` in
6886 # Find out which ABI we are using.
6887 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6889 (eval $ac_compile) 2>&5
6891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892 test $ac_status = 0; }; then
6893 if test "$lt_cv_prog_gnu_ld" = yes; then
6894 case `/usr/bin/file conftest.$ac_objext` in
6896 LD="${LD-ld} -melf32bsmip"
6899 LD="${LD-ld} -melf32bmipn32"
6902 LD="${LD-ld} -melf64bmip"
6906 case `/usr/bin/file conftest.$ac_objext` in
6922 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6923 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6924 # Find out which ABI we are using.
6925 echo 'int i;' > conftest.$ac_ext
6926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6927 (eval $ac_compile) 2>&5
6929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6930 test $ac_status = 0; }; then
6931 case `/usr/bin/file conftest.o` in
6934 x86_64-*kfreebsd*-gnu)
6935 LD="${LD-ld} -m elf_i386_fbsd"
6938 LD="${LD-ld} -m elf_i386"
6940 ppc64-*linux*|powerpc64-*linux*)
6941 LD="${LD-ld} -m elf32ppclinux"
6944 LD="${LD-ld} -m elf_s390"
6947 LD="${LD-ld} -m elf32_sparc"
6953 x86_64-*kfreebsd*-gnu)
6954 LD="${LD-ld} -m elf_x86_64_fbsd"
6957 LD="${LD-ld} -m elf_x86_64"
6959 ppc*-*linux*|powerpc*-*linux*)
6960 LD="${LD-ld} -m elf64ppc"
6962 s390*-*linux*|s390*-*tpf*)
6963 LD="${LD-ld} -m elf64_s390"
6966 LD="${LD-ld} -m elf64_sparc"
6976 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6977 SAVE_CFLAGS="$CFLAGS"
6978 CFLAGS="$CFLAGS -belf"
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6980 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6981 if ${lt_cv_cc_needs_belf+:} false; then :
6982 $as_echo_n "(cached) " >&6
6985 ac_cpp='$CPP $CPPFLAGS'
6986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6991 /* end confdefs.h. */
7001 if ac_fn_c_try_link "$LINENO"; then :
7002 lt_cv_cc_needs_belf=yes
7004 lt_cv_cc_needs_belf=no
7006 rm -f core conftest.err conftest.$ac_objext \
7007 conftest$ac_exeext conftest.$ac_ext
7009 ac_cpp='$CPP $CPPFLAGS'
7010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7016 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7017 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7018 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7019 CFLAGS="$SAVE_CFLAGS"
7023 # Find out which ABI we are using.
7024 echo 'int i;' > conftest.$ac_ext
7025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7026 (eval $ac_compile) 2>&5
7028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7029 test $ac_status = 0; }; then
7030 case `/usr/bin/file conftest.o` in
7032 case $lt_cv_prog_gnu_ld in
7036 LD="${LD-ld} -m elf_x86_64"
7039 LD="${LD-ld} -m elf64_sparc"
7042 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7043 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7048 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7060 need_locks="$enable_libtool_lock"
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}mt; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$MANIFEST_TOOL"; then
7071 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7080 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7091 if test -n "$MANIFEST_TOOL"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7093 $as_echo "$MANIFEST_TOOL" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7102 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7103 # Extract the first word of "mt", so it can be a program name with args.
7104 set dummy mt; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7108 $as_echo_n "(cached) " >&6
7110 if test -n "$ac_ct_MANIFEST_TOOL"; then
7111 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7131 if test -n "$ac_ct_MANIFEST_TOOL"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7133 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7139 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7142 case $cross_compiling:$ac_tool_warned in
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned=yes ;;
7148 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7151 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7154 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7156 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7157 if ${lt_cv_path_mainfest_tool+:} false; then :
7158 $as_echo_n "(cached) " >&6
7160 lt_cv_path_mainfest_tool=no
7161 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7162 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7163 cat conftest.err >&5
7164 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7165 lt_cv_path_mainfest_tool=yes
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7170 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7171 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7181 rhapsody* | darwin*)
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$DSYMUTIL"; then
7191 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7211 if test -n "$DSYMUTIL"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7213 $as_echo "$DSYMUTIL" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_DSYMUTIL"; then
7222 ac_ct_DSYMUTIL=$DSYMUTIL
7223 # Extract the first word of "dsymutil", so it can be a program name with args.
7224 set dummy dsymutil; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7228 $as_echo_n "(cached) " >&6
7230 if test -n "$ac_ct_DSYMUTIL"; then
7231 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7251 if test -n "$ac_ct_DSYMUTIL"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7253 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_DSYMUTIL" = x; then
7262 case $cross_compiling:$ac_tool_warned in
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned=yes ;;
7268 DSYMUTIL=$ac_ct_DSYMUTIL
7271 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7274 if test -n "$ac_tool_prefix"; then
7275 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7276 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if ${ac_cv_prog_NMEDIT+:} false; then :
7280 $as_echo_n "(cached) " >&6
7282 if test -n "$NMEDIT"; then
7283 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 NMEDIT=$ac_cv_prog_NMEDIT
7303 if test -n "$NMEDIT"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7305 $as_echo "$NMEDIT" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7313 if test -z "$ac_cv_prog_NMEDIT"; then
7314 ac_ct_NMEDIT=$NMEDIT
7315 # Extract the first word of "nmedit", so it can be a program name with args.
7316 set dummy nmedit; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$ac_ct_NMEDIT"; then
7323 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7343 if test -n "$ac_ct_NMEDIT"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7345 $as_echo "$ac_ct_NMEDIT" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7351 if test "x$ac_ct_NMEDIT" = x; then
7354 case $cross_compiling:$ac_tool_warned in
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7358 ac_tool_warned=yes ;;
7360 NMEDIT=$ac_ct_NMEDIT
7363 NMEDIT="$ac_cv_prog_NMEDIT"
7366 if test -n "$ac_tool_prefix"; then
7367 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7368 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if ${ac_cv_prog_LIPO+:} false; then :
7372 $as_echo_n "(cached) " >&6
7374 if test -n "$LIPO"; then
7375 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 LIPO=$ac_cv_prog_LIPO
7395 if test -n "$LIPO"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7397 $as_echo "$LIPO" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7405 if test -z "$ac_cv_prog_LIPO"; then
7407 # Extract the first word of "lipo", so it can be a program name with args.
7408 set dummy lipo; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 if test -n "$ac_ct_LIPO"; then
7415 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_ac_ct_LIPO="lipo"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7435 if test -n "$ac_ct_LIPO"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7437 $as_echo "$ac_ct_LIPO" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7443 if test "x$ac_ct_LIPO" = x; then
7446 case $cross_compiling:$ac_tool_warned in
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7450 ac_tool_warned=yes ;;
7455 LIPO="$ac_cv_prog_LIPO"
7458 if test -n "$ac_tool_prefix"; then
7459 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7460 set dummy ${ac_tool_prefix}otool; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_OTOOL+:} false; then :
7464 $as_echo_n "(cached) " >&6
7466 if test -n "$OTOOL"; then
7467 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 OTOOL=$ac_cv_prog_OTOOL
7487 if test -n "$OTOOL"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7489 $as_echo "$OTOOL" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7497 if test -z "$ac_cv_prog_OTOOL"; then
7499 # Extract the first word of "otool", so it can be a program name with args.
7500 set dummy otool; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7504 $as_echo_n "(cached) " >&6
7506 if test -n "$ac_ct_OTOOL"; then
7507 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7513 test -z "$as_dir" && as_dir=.
7514 for ac_exec_ext in '' $ac_executable_extensions; do
7515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_ac_ct_OTOOL="otool"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7527 if test -n "$ac_ct_OTOOL"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7529 $as_echo "$ac_ct_OTOOL" >&6; }
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7535 if test "x$ac_ct_OTOOL" = x; then
7538 case $cross_compiling:$ac_tool_warned in
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7542 ac_tool_warned=yes ;;
7547 OTOOL="$ac_cv_prog_OTOOL"
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7552 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_OTOOL64+:} false; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$OTOOL64"; then
7559 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 OTOOL64=$ac_cv_prog_OTOOL64
7579 if test -n "$OTOOL64"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7581 $as_echo "$OTOOL64" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_OTOOL64"; then
7590 ac_ct_OTOOL64=$OTOOL64
7591 # Extract the first word of "otool64", so it can be a program name with args.
7592 set dummy otool64; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$ac_ct_OTOOL64"; then
7599 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_OTOOL64="otool64"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7619 if test -n "$ac_ct_OTOOL64"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7621 $as_echo "$ac_ct_OTOOL64" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_OTOOL64" = x; then
7630 case $cross_compiling:$ac_tool_warned in
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned=yes ;;
7636 OTOOL64=$ac_ct_OTOOL64
7639 OTOOL64="$ac_cv_prog_OTOOL64"
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7669 $as_echo_n "checking for -single_module linker flag... " >&6; }
7670 if ${lt_cv_apple_cc_single_mod+:} false; then :
7671 $as_echo_n "(cached) " >&6
7673 lt_cv_apple_cc_single_mod=no
7674 if test -z "${LT_MULTI_MODULE}"; then
7675 # By default we will add the -single_module flag. You can override
7676 # by either setting the environment variable LT_MULTI_MODULE
7677 # non-empty at configure time, or by adding -multi_module to the
7679 rm -rf libconftest.dylib*
7680 echo "int foo(void){return 1;}" > conftest.c
7681 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7682 -dynamiclib -Wl,-single_module conftest.c" >&5
7683 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7684 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7686 # If there is a non-empty error log, and "single_module"
7687 # appears in it, assume the flag caused a linker warning
7688 if test -s conftest.err && $GREP single_module conftest.err; then
7689 cat conftest.err >&5
7690 # Otherwise, if the output was created with a 0 exit code from
7691 # the compiler, it worked.
7692 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7693 lt_cv_apple_cc_single_mod=yes
7695 cat conftest.err >&5
7697 rm -rf libconftest.dylib*
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7702 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7705 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7706 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7707 $as_echo_n "(cached) " >&6
7709 lt_cv_ld_exported_symbols_list=no
7710 save_LDFLAGS=$LDFLAGS
7711 echo "_main" > conftest.sym
7712 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7724 if ac_fn_c_try_link "$LINENO"; then :
7725 lt_cv_ld_exported_symbols_list=yes
7727 lt_cv_ld_exported_symbols_list=no
7729 rm -f core conftest.err conftest.$ac_objext \
7730 conftest$ac_exeext conftest.$ac_ext
7731 LDFLAGS="$save_LDFLAGS"
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7735 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7738 $as_echo_n "checking for -force_load linker flag... " >&6; }
7739 if ${lt_cv_ld_force_load+:} false; then :
7740 $as_echo_n "(cached) " >&6
7742 lt_cv_ld_force_load=no
7743 cat > conftest.c << _LT_EOF
7744 int forced_loaded() { return 2;}
7746 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7747 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7748 echo "$AR cru libconftest.a conftest.o" >&5
7749 $AR cru libconftest.a conftest.o 2>&5
7750 echo "$RANLIB libconftest.a" >&5
7751 $RANLIB libconftest.a 2>&5
7752 cat > conftest.c << _LT_EOF
7753 int main() { return 0;}
7755 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7756 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7758 if test -s conftest.err && $GREP force_load conftest.err; then
7759 cat conftest.err >&5
7760 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7761 lt_cv_ld_force_load=yes
7763 cat conftest.err >&5
7765 rm -f conftest.err libconftest.a conftest conftest.c
7766 rm -rf conftest.dSYM
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7770 $as_echo "$lt_cv_ld_force_load" >&6; }
7772 rhapsody* | darwin1.[012])
7773 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7775 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7776 darwin*) # darwin 5.x on
7777 # if running on 10.5 or later, the deployment target defaults
7778 # to the OS version, if on x86, and 10.4, the deployment
7779 # target defaults to 10.4. Don't you love it?
7780 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7781 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7782 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7784 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7786 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7790 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7791 _lt_dar_single_mod='$single_module'
7793 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7794 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7796 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7798 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7799 _lt_dsymutil='~$DSYMUTIL $lib || :'
7807 ac_cpp='$CPP $CPPFLAGS'
7808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7812 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7813 # On Suns, sometimes $CPP names a directory.
7814 if test -n "$CPP" && test -d "$CPP"; then
7817 if test -z "$CPP"; then
7818 if ${ac_cv_prog_CPP+:} false; then :
7819 $as_echo_n "(cached) " >&6
7821 # Double quotes because CPP needs to be expanded
7822 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7825 for ac_c_preproc_warn_flag in '' yes
7827 # Use a header file that comes with gcc, so configuring glibc
7828 # with a fresh cross-compiler works.
7829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7830 # <limits.h> exists even on freestanding compilers.
7831 # On the NeXT, cc -E runs the code through the compiler's parser,
7832 # not just through cpp. "Syntax error" is here to catch this case.
7833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7836 # include <limits.h>
7838 # include <assert.h>
7842 if ac_fn_c_try_cpp "$LINENO"; then :
7845 # Broken: fails on valid input.
7848 rm -f conftest.err conftest.i conftest.$ac_ext
7850 # OK, works on sane cases. Now check whether nonexistent headers
7851 # can be detected and how.
7852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7854 #include <ac_nonexistent.h>
7856 if ac_fn_c_try_cpp "$LINENO"; then :
7857 # Broken: success on invalid input.
7860 # Passes both tests.
7864 rm -f conftest.err conftest.i conftest.$ac_ext
7867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7868 rm -f conftest.i conftest.err conftest.$ac_ext
7869 if $ac_preproc_ok; then :
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7882 $as_echo "$CPP" >&6; }
7884 for ac_c_preproc_warn_flag in '' yes
7886 # Use a header file that comes with gcc, so configuring glibc
7887 # with a fresh cross-compiler works.
7888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7889 # <limits.h> exists even on freestanding compilers.
7890 # On the NeXT, cc -E runs the code through the compiler's parser,
7891 # not just through cpp. "Syntax error" is here to catch this case.
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7895 # include <limits.h>
7897 # include <assert.h>
7901 if ac_fn_c_try_cpp "$LINENO"; then :
7904 # Broken: fails on valid input.
7907 rm -f conftest.err conftest.i conftest.$ac_ext
7909 # OK, works on sane cases. Now check whether nonexistent headers
7910 # can be detected and how.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ac_nonexistent.h>
7915 if ac_fn_c_try_cpp "$LINENO"; then :
7916 # Broken: success on invalid input.
7919 # Passes both tests.
7923 rm -f conftest.err conftest.i conftest.$ac_ext
7926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7927 rm -f conftest.i conftest.err conftest.$ac_ext
7928 if $ac_preproc_ok; then :
7931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7933 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7934 See \`config.log' for more details" "$LINENO" 5; }
7938 ac_cpp='$CPP $CPPFLAGS'
7939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7945 $as_echo_n "checking for ANSI C header files... " >&6; }
7946 if ${ac_cv_header_stdc+:} false; then :
7947 $as_echo_n "(cached) " >&6
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7964 if ac_fn_c_try_compile "$LINENO"; then :
7965 ac_cv_header_stdc=yes
7967 ac_cv_header_stdc=no
7969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7971 if test $ac_cv_header_stdc = yes; then
7972 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7979 $EGREP "memchr" >/dev/null 2>&1; then :
7982 ac_cv_header_stdc=no
7988 if test $ac_cv_header_stdc = yes; then
7989 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7996 $EGREP "free" >/dev/null 2>&1; then :
7999 ac_cv_header_stdc=no
8005 if test $ac_cv_header_stdc = yes; then
8006 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8007 if test "$cross_compiling" = yes; then :
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8014 #if ((' ' & 0x0FF) == 0x020)
8015 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8016 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8018 # define ISLOWER(c) \
8019 (('a' <= (c) && (c) <= 'i') \
8020 || ('j' <= (c) && (c) <= 'r') \
8021 || ('s' <= (c) && (c) <= 'z'))
8022 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8025 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8030 for (i = 0; i < 256; i++)
8031 if (XOR (islower (i), ISLOWER (i))
8032 || toupper (i) != TOUPPER (i))
8037 if ac_fn_c_try_run "$LINENO"; then :
8040 ac_cv_header_stdc=no
8042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8043 conftest.$ac_objext conftest.beam conftest.$ac_ext
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8049 $as_echo "$ac_cv_header_stdc" >&6; }
8050 if test $ac_cv_header_stdc = yes; then
8052 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8056 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8057 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8058 inttypes.h stdint.h unistd.h
8060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8064 cat >>confdefs.h <<_ACEOF
8065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 for ac_header in dlfcn.h
8075 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8077 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8078 cat >>confdefs.h <<_ACEOF
8079 #define HAVE_DLFCN_H 1
8100 # Check whether --enable-shared was given.
8101 if test "${enable_shared+set}" = set; then :
8102 enableval=$enable_shared; p=${PACKAGE-default}
8104 yes) enable_shared=yes ;;
8105 no) enable_shared=no ;;
8108 # Look at the argument we got. We use all the common list separators.
8109 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8110 for pkg in $enableval; do
8112 if test "X$pkg" = "X$p"; then
8131 # Check whether --enable-static was given.
8132 if test "${enable_static+set}" = set; then :
8133 enableval=$enable_static; p=${PACKAGE-default}
8135 yes) enable_static=yes ;;
8136 no) enable_static=no ;;
8139 # Look at the argument we got. We use all the common list separators.
8140 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8141 for pkg in $enableval; do
8143 if test "X$pkg" = "X$p"; then
8163 # Check whether --with-pic was given.
8164 if test "${with_pic+set}" = set; then :
8165 withval=$with_pic; lt_p=${PACKAGE-default}
8167 yes|no) pic_mode=$withval ;;
8170 # Look at the argument we got. We use all the common list separators.
8171 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8172 for lt_pkg in $withval; do
8174 if test "X$lt_pkg" = "X$lt_p"; then
8186 test -z "$pic_mode" && pic_mode=default
8194 # Check whether --enable-fast-install was given.
8195 if test "${enable_fast_install+set}" = set; then :
8196 enableval=$enable_fast_install; p=${PACKAGE-default}
8198 yes) enable_fast_install=yes ;;
8199 no) enable_fast_install=no ;;
8201 enable_fast_install=no
8202 # Look at the argument we got. We use all the common list separators.
8203 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8204 for pkg in $enableval; do
8206 if test "X$pkg" = "X$p"; then
8207 enable_fast_install=yes
8214 enable_fast_install=yes
8227 # This can be used to rebuild libtool when needed
8228 LIBTOOL_DEPS="$ltmain"
8230 # Always use our own libtool.
8231 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8262 test -z "$LN_S" && LN_S="ln -s"
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if ${lt_cv_objdir+:} false; then :
8284 $as_echo_n "(cached) " >&6
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8291 # MS-DOS does not allow filenames that begin with a dot.
8294 rmdir .libs 2>/dev/null
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8318 export COLLECT_NAMES
8325 can_build_shared=yes
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8334 old_CFLAGS="$CFLAGS"
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8343 for cc_temp in $compiler""; do
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8362 $as_echo_n "(cached) " >&6
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8428 $as_echo_n "(cached) " >&6
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8495 # Use C for the default configuration in the libtool script
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8505 # Source file extension for C test sources.
8508 # Object file extension for compiled C test sources.
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8524 # If no C compiler was specified, use CC.
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8530 # Allow CC to be a program name with arguments.
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8557 lt_prog_compiler_no_builtin_flag=
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8570 $as_echo_n "(cached) " >&6
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8623 if test "$GCC" = yes; then
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_static='-static'
8629 # All AIX code is PIC.
8630 if test "$host_cpu" = ia64; then
8631 # AIX 5 now supports IA64 processor
8632 lt_prog_compiler_static='-Bstatic'
8639 # see comment about AmigaOS4 .so support
8640 lt_prog_compiler_pic='-fPIC'
8643 # FIXME: we need at least 68020 code to build shared libraries, but
8644 # adding the `-m68020' flag to GCC prevents building anything better,
8646 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8652 # PIC is the default for these OSes.
8655 mingw* | cygwin* | pw32* | os2* | cegcc*)
8656 # This hack is so that the source file can tell whether it is being
8657 # built for inclusion in a dll (and should export symbols for example).
8658 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8659 # (--disable-auto-import) libraries
8660 lt_prog_compiler_pic='-DDLL_EXPORT'
8663 darwin* | rhapsody*)
8664 # PIC is the default on this platform
8665 # Common symbols not allowed in MH_DYLIB files
8666 lt_prog_compiler_pic='-fno-common'
8670 # PIC is the default for Haiku.
8671 # The "-static" flag exists, but is broken.
8672 lt_prog_compiler_static=
8676 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8677 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8678 # sets the default TLS model and affects inlining.
8684 lt_prog_compiler_pic='-fPIC'
8690 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8691 # Instead, we relocate shared libraries at runtime.
8695 # Just because we use GCC doesn't mean we suddenly get shared libraries
8696 # on systems that don't support them.
8697 lt_prog_compiler_can_build_shared=no
8702 # QNX uses GNU C++, but need to define -shared option too, otherwise
8704 lt_prog_compiler_pic='-fPIC -shared'
8708 if test -d /usr/nec; then
8709 lt_prog_compiler_pic=-Kconform_pic
8714 lt_prog_compiler_pic='-fPIC'
8718 case $cc_basename in
8719 nvcc*) # Cuda Compiler Driver 2.2
8720 lt_prog_compiler_wl='-Xlinker '
8721 if test -n "$lt_prog_compiler_pic"; then
8722 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8727 # PORTME Check for flag to pass linker flags through the system compiler.
8730 lt_prog_compiler_wl='-Wl,'
8731 if test "$host_cpu" = ia64; then
8732 # AIX 5 now supports IA64 processor
8733 lt_prog_compiler_static='-Bstatic'
8735 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8739 mingw* | cygwin* | pw32* | os2* | cegcc*)
8740 # This hack is so that the source file can tell whether it is being
8741 # built for inclusion in a dll (and should export symbols for example).
8742 lt_prog_compiler_pic='-DDLL_EXPORT'
8745 hpux9* | hpux10* | hpux11*)
8746 lt_prog_compiler_wl='-Wl,'
8747 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8754 lt_prog_compiler_pic='+Z'
8757 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8758 lt_prog_compiler_static='${wl}-a ${wl}archive'
8761 irix5* | irix6* | nonstopux*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # PIC (with -KPIC) is the default.
8764 lt_prog_compiler_static='-non_shared'
8767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8768 case $cc_basename in
8769 # old Intel for x86_64 which still supported -KPIC.
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-static'
8775 # icc used to be incompatible with GCC.
8776 # ICC 10 doesn't accept -KPIC any more.
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-fPIC'
8780 lt_prog_compiler_static='-static'
8782 # Lahey Fortran 8.1.
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='--shared'
8786 lt_prog_compiler_static='--static'
8789 # NAG Fortran compiler
8790 lt_prog_compiler_wl='-Wl,-Wl,,'
8791 lt_prog_compiler_pic='-PIC'
8792 lt_prog_compiler_static='-Bstatic'
8794 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8795 # Portland Group compilers (*not* the Pentium gcc compiler,
8796 # which looks to be a dead project)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-fpic'
8799 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl='-Wl,'
8803 # All Alpha code is PIC.
8804 lt_prog_compiler_static='-non_shared'
8806 xl* | bgxl* | bgf* | mpixl*)
8807 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_pic='-qpic'
8810 lt_prog_compiler_static='-qstaticlink'
8813 case `$CC -V 2>&1 | sed 5q` in
8814 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8815 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_wl=''
8820 *Sun\ F* | *Sun*Fortran*)
8821 lt_prog_compiler_pic='-KPIC'
8822 lt_prog_compiler_static='-Bstatic'
8823 lt_prog_compiler_wl='-Qoption ld '
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8829 lt_prog_compiler_wl='-Wl,'
8831 *Intel*\ [CF]*Compiler*)
8832 lt_prog_compiler_wl='-Wl,'
8833 lt_prog_compiler_pic='-fPIC'
8834 lt_prog_compiler_static='-static'
8837 lt_prog_compiler_wl='-Wl,'
8838 lt_prog_compiler_pic='-fpic'
8839 lt_prog_compiler_static='-Bstatic'
8847 lt_prog_compiler_pic='-KPIC'
8848 lt_prog_compiler_static='-Bstatic'
8852 # QNX uses GNU C++, but need to define -shared option too, otherwise
8854 lt_prog_compiler_pic='-fPIC -shared'
8857 osf3* | osf4* | osf5*)
8858 lt_prog_compiler_wl='-Wl,'
8859 # All OSF/1 code is PIC.
8860 lt_prog_compiler_static='-non_shared'
8864 lt_prog_compiler_static='-non_shared'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8870 case $cc_basename in
8871 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8872 lt_prog_compiler_wl='-Qoption ld ';;
8874 lt_prog_compiler_wl='-Wl,';;
8879 lt_prog_compiler_wl='-Qoption ld '
8880 lt_prog_compiler_pic='-PIC'
8881 lt_prog_compiler_static='-Bstatic'
8884 sysv4 | sysv4.2uw2* | sysv4.3*)
8885 lt_prog_compiler_wl='-Wl,'
8886 lt_prog_compiler_pic='-KPIC'
8887 lt_prog_compiler_static='-Bstatic'
8891 if test -d /usr/nec ;then
8892 lt_prog_compiler_pic='-Kconform_pic'
8893 lt_prog_compiler_static='-Bstatic'
8897 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8898 lt_prog_compiler_wl='-Wl,'
8899 lt_prog_compiler_pic='-KPIC'
8900 lt_prog_compiler_static='-Bstatic'
8904 lt_prog_compiler_wl='-Wl,'
8905 lt_prog_compiler_can_build_shared=no
8909 lt_prog_compiler_pic='-pic'
8910 lt_prog_compiler_static='-Bstatic'
8914 lt_prog_compiler_can_build_shared=no
8920 # For platforms which do not support PIC, -DPIC is meaningless:
8922 lt_prog_compiler_pic=
8925 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8930 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8931 if ${lt_cv_prog_compiler_pic+:} false; then :
8932 $as_echo_n "(cached) " >&6
8934 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8937 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8938 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8941 # Check to make sure the PIC flag actually works.
8943 if test -n "$lt_prog_compiler_pic"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8945 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8946 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8947 $as_echo_n "(cached) " >&6
8949 lt_cv_prog_compiler_pic_works=no
8950 ac_outfile=conftest.$ac_objext
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8952 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8953 # Insert the option either (1) after the last *FLAGS variable, or
8954 # (2) before a word containing "conftest.", or (3) at the end.
8955 # Note that $ac_compile itself does not contain backslashes and begins
8956 # with a dollar sign (not a hyphen), so the echo should work correctly.
8957 # The option is referenced via a variable to avoid confusing sed.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>conftest.err)
8965 cat conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s "$ac_outfile"; then
8968 # The compiler can only warn and ignore the option if not recognized
8969 # So say no if there are warnings other than the usual output.
8970 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8971 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8972 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8973 lt_cv_prog_compiler_pic_works=yes
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8980 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8982 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8983 case $lt_prog_compiler_pic in
8985 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8988 lt_prog_compiler_pic=
8989 lt_prog_compiler_can_build_shared=no
9005 # Check to make sure the static flag actually works.
9007 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9009 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9010 if ${lt_cv_prog_compiler_static_works+:} false; then :
9011 $as_echo_n "(cached) " >&6
9013 lt_cv_prog_compiler_static_works=no
9014 save_LDFLAGS="$LDFLAGS"
9015 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9016 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9017 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9018 # The linker can only warn and ignore the option if not recognized
9019 # So say no if there are warnings
9020 if test -s conftest.err; then
9021 # Append any errors to the config.log.
9022 cat conftest.err 1>&5
9023 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9024 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9025 if diff conftest.exp conftest.er2 >/dev/null; then
9026 lt_cv_prog_compiler_static_works=yes
9029 lt_cv_prog_compiler_static_works=yes
9033 LDFLAGS="$save_LDFLAGS"
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9037 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9039 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9042 lt_prog_compiler_static=
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9053 if ${lt_cv_prog_compiler_c_o+:} false; then :
9054 $as_echo_n "(cached) " >&6
9056 lt_cv_prog_compiler_c_o=no
9057 $RM -r conftest 2>/dev/null
9061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9063 lt_compiler_flag="-o out/conftest2.$ac_objext"
9064 # Insert the option either (1) after the last *FLAGS variable, or
9065 # (2) before a word containing "conftest.", or (3) at the end.
9066 # Note that $ac_compile itself does not contain backslashes and begins
9067 # with a dollar sign (not a hyphen), so the echo should work correctly.
9068 lt_compile=`echo "$ac_compile" | $SED \
9069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9071 -e 's:$: $lt_compiler_flag:'`
9072 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9073 (eval "$lt_compile" 2>out/conftest.err)
9075 cat out/conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9079 # The compiler can only warn and ignore the option if not recognized
9080 # So say no if there are warnings
9081 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9082 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9083 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9084 lt_cv_prog_compiler_c_o=yes
9089 # SGI C++ compiler will create directory out/ii_files/ for
9090 # template instantiation
9091 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9092 $RM out/* && rmdir out
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9099 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9108 if ${lt_cv_prog_compiler_c_o+:} false; then :
9109 $as_echo_n "(cached) " >&6
9111 lt_cv_prog_compiler_c_o=no
9112 $RM -r conftest 2>/dev/null
9116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9118 lt_compiler_flag="-o out/conftest2.$ac_objext"
9119 # Insert the option either (1) after the last *FLAGS variable, or
9120 # (2) before a word containing "conftest.", or (3) at the end.
9121 # Note that $ac_compile itself does not contain backslashes and begins
9122 # with a dollar sign (not a hyphen), so the echo should work correctly.
9123 lt_compile=`echo "$ac_compile" | $SED \
9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126 -e 's:$: $lt_compiler_flag:'`
9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128 (eval "$lt_compile" 2>out/conftest.err)
9130 cat out/conftest.err >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9134 # The compiler can only warn and ignore the option if not recognized
9135 # So say no if there are warnings
9136 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9137 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9138 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9139 lt_cv_prog_compiler_c_o=yes
9144 # SGI C++ compiler will create directory out/ii_files/ for
9145 # template instantiation
9146 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9147 $RM out/* && rmdir out
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9159 hard_links="nottested"
9160 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9161 # do not overwrite the value of need_locks provided by the user
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9163 $as_echo_n "checking if we can lock with hard links... " >&6; }
9166 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9168 ln conftest.a conftest.b 2>&5 || hard_links=no
9169 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9171 $as_echo "$hard_links" >&6; }
9172 if test "$hard_links" = no; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9174 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9187 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9190 allow_undefined_flag=
9191 always_export_symbols=no
9193 archive_expsym_cmds=
9194 compiler_needs_object=no
9195 enable_shared_with_static_runtimes=no
9196 export_dynamic_flag_spec=
9197 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9198 hardcode_automatic=no
9200 hardcode_direct_absolute=no
9201 hardcode_libdir_flag_spec=
9202 hardcode_libdir_separator=
9204 hardcode_shlibpath_var=unsupported
9206 link_all_deplibs=unknown
9209 old_archive_from_new_cmds=
9210 old_archive_from_expsyms_cmds=
9211 thread_safe_flag_spec=
9212 whole_archive_flag_spec=
9213 # include_expsyms should be a list of space-separated symbols to be *always*
9214 # included in the symbol list
9216 # exclude_expsyms can be an extended regexp of symbols to exclude
9217 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9218 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9219 # as well as any symbol that contains `d'.
9220 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9221 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9222 # platforms (ab)use it in PIC code, but their linkers get confused if
9223 # the symbol is explicitly referenced. Since portable code cannot
9224 # rely on this symbol name, it's probably fine to never include it in
9225 # preloaded symbol tables.
9226 # Exclude shared library initialization/finalization symbols.
9227 extract_expsyms_cmds=
9230 cygwin* | mingw* | pw32* | cegcc*)
9231 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9232 # When not using gcc, we currently assume that we are using
9233 # Microsoft Visual C++.
9234 if test "$GCC" != yes; then
9239 # we just hope/assume this is gcc and not c89 (= MSVC++)
9249 # On some targets, GNU ld is compatible enough with the native linker
9250 # that we're better off using the native interface for both.
9251 lt_use_gnu_ld_interface=no
9252 if test "$with_gnu_ld" = yes; then
9255 # The AIX port of GNU ld has always aspired to compatibility
9256 # with the native linker. However, as the warning in the GNU ld
9257 # block says, versions before 2.19.5* couldn't really create working
9258 # shared libraries, regardless of the interface used.
9259 case `$LD -v 2>&1` in
9260 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9261 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9262 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9264 lt_use_gnu_ld_interface=yes
9269 lt_use_gnu_ld_interface=yes
9274 if test "$lt_use_gnu_ld_interface" = yes; then
9275 # If archive_cmds runs LD, not CC, wlarc should be empty
9278 # Set some defaults for GNU ld with shared library support. These
9279 # are reset later if shared libraries are not supported. Putting them
9280 # here allows them to be overridden if necessary.
9281 runpath_var=LD_RUN_PATH
9282 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283 export_dynamic_flag_spec='${wl}--export-dynamic'
9284 # ancient GNU ld didn't support --whole-archive et. al.
9285 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9286 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9288 whole_archive_flag_spec=
9290 supports_anon_versioning=no
9291 case `$LD -v 2>&1` in
9292 *GNU\ gold*) supports_anon_versioning=yes ;;
9293 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9294 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9295 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9296 *\ 2.11.*) ;; # other 2.11 versions
9297 *) supports_anon_versioning=yes ;;
9300 # See if GNU ld supports shared libraries.
9303 # On AIX/PPC, the GNU linker is very broken
9304 if test "$host_cpu" != ia64; then
9308 *** Warning: the GNU linker, at least up to release 2.19, is reported
9309 *** to be unable to reliably create shared libraries on AIX.
9310 *** Therefore, libtool is disabling shared libraries support. If you
9311 *** really care for shared libraries, you may want to install binutils
9312 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9313 *** You will then need to restart the configuration process.
9322 # see comment about AmigaOS4 .so support
9323 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9324 archive_expsym_cmds=''
9327 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)'
9328 hardcode_libdir_flag_spec='-L$libdir'
9329 hardcode_minus_L=yes
9335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9336 allow_undefined_flag=unsupported
9337 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9338 # support --undefined. This deserves some investigation. FIXME
9339 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 cygwin* | mingw* | pw32* | cegcc*)
9346 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9347 # as there is no search path for DLLs.
9348 hardcode_libdir_flag_spec='-L$libdir'
9349 export_dynamic_flag_spec='${wl}--export-all-symbols'
9350 allow_undefined_flag=unsupported
9351 always_export_symbols=no
9352 enable_shared_with_static_runtimes=yes
9353 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9354 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9356 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9357 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9358 # If the export-symbols file already is a .def file (1st line
9359 # is EXPORTS), use it as is; otherwise, prepend...
9360 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9361 cp $export_symbols $output_objdir/$soname.def;
9363 echo EXPORTS > $output_objdir/$soname.def;
9364 cat $export_symbols >> $output_objdir/$soname.def;
9366 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 link_all_deplibs=yes
9379 hardcode_shlibpath_var=no
9380 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9381 export_dynamic_flag_spec='${wl}-E'
9382 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9383 # Instead, shared libraries are loaded at an image base (0x10000000 by
9384 # default) and relocated if they conflict, which is a slow very memory
9385 # consuming and fragmenting process. To avoid this, we pick a random,
9386 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9387 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9388 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9389 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'
9392 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9394 if test "$host_os" = linux-dietlibc; then
9395 case $cc_basename in
9396 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9399 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9400 && test "$tmp_diet" = no
9402 tmp_addflag=' $pic_flag'
9403 tmp_sharedflag='-shared'
9404 case $cc_basename,$host_cpu in
9405 pgcc*) # Portland Group C compiler
9406 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9407 tmp_addflag=' $pic_flag'
9409 pgf77* | pgf90* | pgf95* | pgfortran*)
9410 # Portland Group f77 and f90 compilers
9411 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9412 tmp_addflag=' $pic_flag -Mnomain' ;;
9413 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9414 tmp_addflag=' -i_dynamic' ;;
9415 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9416 tmp_addflag=' -i_dynamic -nofor_main' ;;
9417 ifc* | ifort*) # Intel Fortran compiler
9418 tmp_addflag=' -nofor_main' ;;
9419 lf95*) # Lahey Fortran 8.1
9420 whole_archive_flag_spec=
9421 tmp_sharedflag='--shared' ;;
9422 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9423 tmp_sharedflag='-qmkshrobj'
9425 nvcc*) # Cuda Compiler Driver 2.2
9426 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9427 compiler_needs_object=yes
9430 case `$CC -V 2>&1 | sed 5q` in
9431 *Sun\ C*) # Sun C 5.9
9432 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9433 compiler_needs_object=yes
9434 tmp_sharedflag='-G' ;;
9435 *Sun\ F*) # Sun Fortran 8.3
9436 tmp_sharedflag='-G' ;;
9438 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 if test "x$supports_anon_versioning" = xyes; then
9441 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9442 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9443 echo "local: *; };" >> $output_objdir/$libname.ver~
9444 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9447 case $cc_basename in
9448 xlf* | bgf* | bgxlf* | mpixlf*)
9449 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9450 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9451 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9452 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9453 if test "x$supports_anon_versioning" = xyes; then
9454 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9455 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9456 echo "local: *; };" >> $output_objdir/$libname.ver~
9457 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9467 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9468 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9471 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9472 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9477 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9481 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9482 *** create shared libraries on Solaris systems. Therefore, libtool
9483 *** is disabling shared libraries support. We urge you to upgrade GNU
9484 *** binutils to release 2.9.1 or newer. Another option is to modify
9485 *** your PATH or compiler configuration so that the native linker is
9486 *** used, and then restart.
9489 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9497 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9498 case `$LD -v 2>&1` in
9499 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9503 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9504 *** reliably create shared libraries on SCO systems. Therefore, libtool
9505 *** is disabling shared libraries support. We urge you to upgrade GNU
9506 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9507 *** your PATH or compiler configuration so that the native linker is
9508 *** used, and then restart.
9513 # For security reasons, it is highly recommended that you always
9514 # use absolute paths for naming shared libraries, and exclude the
9515 # DT_RUNPATH tag from executables and libraries. But doing so
9516 # requires that you compile everything twice, which is a pain.
9517 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9518 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9520 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9529 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9532 hardcode_shlibpath_var=no
9536 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9537 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9538 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9545 if test "$ld_shlibs" = no; then
9547 hardcode_libdir_flag_spec=
9548 export_dynamic_flag_spec=
9549 whole_archive_flag_spec=
9552 # PORTME fill in a description of your system's linker (not GNU ld)
9555 allow_undefined_flag=unsupported
9556 always_export_symbols=yes
9557 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'
9558 # Note: this linker hardcodes the directories in LIBPATH if there
9559 # are no directories specified by -L.
9560 hardcode_minus_L=yes
9561 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9562 # Neither direct hardcoding nor static linking is supported with a
9564 hardcode_direct=unsupported
9569 if test "$host_cpu" = ia64; then
9570 # On IA64, the linker does run time linking by default, so we don't
9571 # have to do anything special.
9572 aix_use_runtimelinking=no
9573 exp_sym_flag='-Bexport'
9576 # If we're using GNU nm, then we don't want the "-C" option.
9577 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9578 # Also, AIX nm treats weak defined symbols like other global
9579 # defined symbols, whereas GNU nm marks them as "W".
9580 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9581 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9583 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'
9585 aix_use_runtimelinking=no
9587 # Test if we are trying to use run time linking or normal
9588 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9589 # need to do runtime linking.
9590 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9591 for ld_flag in $LDFLAGS; do
9592 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9593 aix_use_runtimelinking=yes
9600 exp_sym_flag='-bexport'
9601 no_entry_flag='-bnoentry'
9604 # When large executables or shared objects are built, AIX ld can
9605 # have problems creating the table of contents. If linking a library
9606 # or program results in "error TOC overflow" add -mminimal-toc to
9607 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9608 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9612 hardcode_direct_absolute=yes
9613 hardcode_libdir_separator=':'
9614 link_all_deplibs=yes
9615 file_list_spec='${wl}-f,'
9617 if test "$GCC" = yes; then
9618 case $host_os in aix4.[012]|aix4.[012].*)
9619 # We only want to do this on AIX 4.2 and lower, the check
9620 # below for broken collect2 doesn't work under 4.3+
9621 collect2name=`${CC} -print-prog-name=collect2`
9622 if test -f "$collect2name" &&
9623 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9625 # We have reworked collect2
9628 # We have old collect2
9629 hardcode_direct=unsupported
9630 # It fails to find uninstalled libraries when the uninstalled
9631 # path is not listed in the libpath. Setting hardcode_minus_L
9632 # to unsupported forces relinking
9633 hardcode_minus_L=yes
9634 hardcode_libdir_flag_spec='-L$libdir'
9635 hardcode_libdir_separator=
9639 shared_flag='-shared'
9640 if test "$aix_use_runtimelinking" = yes; then
9641 shared_flag="$shared_flag "'${wl}-G'
9645 if test "$host_cpu" = ia64; then
9646 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9647 # chokes on -Wl,-G. The following line is correct:
9650 if test "$aix_use_runtimelinking" = yes; then
9651 shared_flag='${wl}-G'
9653 shared_flag='${wl}-bM:SRE'
9658 export_dynamic_flag_spec='${wl}-bexpall'
9659 # It seems that -bexpall does not export symbols beginning with
9660 # underscore (_), so it is better to generate a list of symbols to export.
9661 always_export_symbols=yes
9662 if test "$aix_use_runtimelinking" = yes; then
9663 # Warning - without using the other runtime loading flags (-brtl),
9664 # -berok will link without error, but may produce a broken library.
9665 allow_undefined_flag='-berok'
9666 # Determine the default libpath from the value encoded in an
9668 if test "${lt_cv_aix_libpath+set}" = set; then
9669 aix_libpath=$lt_cv_aix_libpath
9671 if ${lt_cv_aix_libpath_+:} false; then :
9672 $as_echo_n "(cached) " >&6
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9685 if ac_fn_c_try_link "$LINENO"; then :
9687 lt_aix_libpath_sed='
9688 /Import File Strings/,/^$/ {
9690 s/^0 *\([^ ]*\) *$/\1/
9694 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9695 # Check for a 64-bit object if we didn't find anything.
9696 if test -z "$lt_cv_aix_libpath_"; then
9697 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 if test -z "$lt_cv_aix_libpath_"; then
9703 lt_cv_aix_libpath_="/usr/lib:/lib"
9708 aix_libpath=$lt_cv_aix_libpath_
9711 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9712 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9714 if test "$host_cpu" = ia64; then
9715 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9716 allow_undefined_flag="-z nodefs"
9717 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"
9719 # Determine the default libpath from the value encoded in an
9721 if test "${lt_cv_aix_libpath+set}" = set; then
9722 aix_libpath=$lt_cv_aix_libpath
9724 if ${lt_cv_aix_libpath_+:} false; then :
9725 $as_echo_n "(cached) " >&6
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9738 if ac_fn_c_try_link "$LINENO"; then :
9740 lt_aix_libpath_sed='
9741 /Import File Strings/,/^$/ {
9743 s/^0 *\([^ ]*\) *$/\1/
9747 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9748 # Check for a 64-bit object if we didn't find anything.
9749 if test -z "$lt_cv_aix_libpath_"; then
9750 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9753 rm -f core conftest.err conftest.$ac_objext \
9754 conftest$ac_exeext conftest.$ac_ext
9755 if test -z "$lt_cv_aix_libpath_"; then
9756 lt_cv_aix_libpath_="/usr/lib:/lib"
9761 aix_libpath=$lt_cv_aix_libpath_
9764 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9765 # Warning - without using the other run time loading flags,
9766 # -berok will link without error, but may produce a broken library.
9767 no_undefined_flag=' ${wl}-bernotok'
9768 allow_undefined_flag=' ${wl}-berok'
9769 if test "$with_gnu_ld" = yes; then
9770 # We only use this code for GNU lds that support --whole-archive.
9771 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9773 # Exported symbols can be pulled into shared objects from archives
9774 whole_archive_flag_spec='$convenience'
9776 archive_cmds_need_lc=yes
9777 # This is similar to how AIX traditionally builds its shared libraries.
9778 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'
9786 # see comment about AmigaOS4 .so support
9787 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788 archive_expsym_cmds=''
9791 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)'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_minus_L=yes
9799 export_dynamic_flag_spec=-rdynamic
9802 cygwin* | mingw* | pw32* | cegcc*)
9803 # When not using gcc, we currently assume that we are using
9804 # Microsoft Visual C++.
9805 # hardcode_libdir_flag_spec is actually meaningless, as there is
9806 # no search path for DLLs.
9807 case $cc_basename in
9810 hardcode_libdir_flag_spec=' '
9811 allow_undefined_flag=unsupported
9812 always_export_symbols=yes
9814 # Tell ltmain to make .lib files, not .a files.
9816 # Tell ltmain to make .dll files, not .so files.
9818 # FIXME: Setting linknames here is a bad hack.
9819 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9820 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9821 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9823 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9825 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9827 # The linker will not automatically build a static lib if we build a DLL.
9828 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9829 enable_shared_with_static_runtimes=yes
9830 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9831 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9833 old_postinstall_cmds='chmod 644 $oldlib'
9834 postlink_cmds='lt_outputfile="@OUTPUT@"~
9835 lt_tool_outputfile="@TOOL_OUTPUT@"~
9836 case $lt_outputfile in
9839 lt_outputfile="$lt_outputfile.exe"
9840 lt_tool_outputfile="$lt_tool_outputfile.exe"
9843 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9844 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9845 $RM "$lt_outputfile.manifest";
9849 # Assume MSVC wrapper
9850 hardcode_libdir_flag_spec=' '
9851 allow_undefined_flag=unsupported
9852 # Tell ltmain to make .lib files, not .a files.
9854 # Tell ltmain to make .dll files, not .so files.
9856 # FIXME: Setting linknames here is a bad hack.
9857 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9858 # The linker will automatically build a .lib file if we build a DLL.
9859 old_archive_from_new_cmds='true'
9860 # FIXME: Should let the user specify the lib program.
9861 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9862 enable_shared_with_static_runtimes=yes
9867 darwin* | rhapsody*)
9870 archive_cmds_need_lc=no
9872 hardcode_automatic=yes
9873 hardcode_shlibpath_var=unsupported
9874 if test "$lt_cv_ld_force_load" = "yes"; then
9875 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9878 whole_archive_flag_spec=''
9880 link_all_deplibs=yes
9881 allow_undefined_flag="$_lt_dar_allow_undefined"
9882 case $cc_basename in
9883 ifort*) _lt_dar_can_shared=yes ;;
9884 *) _lt_dar_can_shared=$GCC ;;
9886 if test "$_lt_dar_can_shared" = "yes"; then
9887 output_verbose_link_cmd=func_echo_all
9888 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9889 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9890 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}"
9891 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}"
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901 hardcode_libdir_flag_spec='-L$libdir'
9902 hardcode_shlibpath_var=no
9905 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9906 # support. Future versions do this automatically, but an explicit c++rt0.o
9907 # does not break anything, and helps significantly (at the cost of a little
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9911 hardcode_libdir_flag_spec='-R$libdir'
9913 hardcode_shlibpath_var=no
9916 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9918 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_minus_L=yes
9921 hardcode_shlibpath_var=no
9924 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9925 freebsd* | dragonfly*)
9926 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9927 hardcode_libdir_flag_spec='-R$libdir'
9929 hardcode_shlibpath_var=no
9933 if test "$GCC" = yes; then
9934 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9936 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'
9938 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_separator=:
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9945 export_dynamic_flag_spec='${wl}-E'
9949 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9950 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9952 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9954 if test "$with_gnu_ld" = no; then
9955 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9956 hardcode_libdir_separator=:
9958 hardcode_direct_absolute=yes
9959 export_dynamic_flag_spec='${wl}-E'
9960 # hardcode_minus_L: Not really in the search PATH,
9961 # but as the default location of the library.
9962 hardcode_minus_L=yes
9967 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9970 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9973 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9982 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9989 # Older versions of the 11.00 compiler do not understand -b yet
9990 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9992 $as_echo_n "checking if $CC understands -b... " >&6; }
9993 if ${lt_cv_prog_compiler__b+:} false; then :
9994 $as_echo_n "(cached) " >&6
9996 lt_cv_prog_compiler__b=no
9997 save_LDFLAGS="$LDFLAGS"
9998 LDFLAGS="$LDFLAGS -b"
9999 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10000 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10001 # The linker can only warn and ignore the option if not recognized
10002 # So say no if there are warnings
10003 if test -s conftest.err; then
10004 # Append any errors to the config.log.
10005 cat conftest.err 1>&5
10006 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10008 if diff conftest.exp conftest.er2 >/dev/null; then
10009 lt_cv_prog_compiler__b=yes
10012 lt_cv_prog_compiler__b=yes
10016 LDFLAGS="$save_LDFLAGS"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10020 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10022 if test x"$lt_cv_prog_compiler__b" = xyes; then
10023 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10031 if test "$with_gnu_ld" = no; then
10032 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10033 hardcode_libdir_separator=:
10038 hardcode_shlibpath_var=no
10041 hardcode_direct=yes
10042 hardcode_direct_absolute=yes
10043 export_dynamic_flag_spec='${wl}-E'
10045 # hardcode_minus_L: Not really in the search PATH,
10046 # but as the default location of the library.
10047 hardcode_minus_L=yes
10053 irix5* | irix6* | nonstopux*)
10054 if test "$GCC" = yes; then
10055 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10056 # Try to use the -exported_symbol ld option, if it does not
10057 # work, assume that -exports_file does not work either and
10058 # implicitly export all symbols.
10059 # This should be the same for all languages, so no per-tag cache variable.
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10061 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10062 if ${lt_cv_irix_exported_symbol+:} false; then :
10063 $as_echo_n "(cached) " >&6
10065 save_LDFLAGS="$LDFLAGS"
10066 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 int foo (void) { return 0; }
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 lt_cv_irix_exported_symbol=yes
10074 lt_cv_irix_exported_symbol=no
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 LDFLAGS="$save_LDFLAGS"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10081 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10082 if test "$lt_cv_irix_exported_symbol" = yes; then
10083 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10087 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10089 archive_cmds_need_lc='no'
10090 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10091 hardcode_libdir_separator=:
10093 link_all_deplibs=yes
10097 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10098 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10100 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10102 hardcode_libdir_flag_spec='-R$libdir'
10103 hardcode_direct=yes
10104 hardcode_shlibpath_var=no
10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_direct=yes
10110 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10111 hardcode_libdir_separator=:
10112 hardcode_shlibpath_var=no
10119 if test -f /usr/libexec/ld.so; then
10120 hardcode_direct=yes
10121 hardcode_shlibpath_var=no
10122 hardcode_direct_absolute=yes
10123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10124 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10126 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10127 export_dynamic_flag_spec='${wl}-E'
10130 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10131 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-R$libdir'
10135 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10136 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10146 hardcode_libdir_flag_spec='-L$libdir'
10147 hardcode_minus_L=yes
10148 allow_undefined_flag=unsupported
10149 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'
10150 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10154 if test "$GCC" = yes; then
10155 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10156 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10158 allow_undefined_flag=' -expect_unresolved \*'
10159 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10161 archive_cmds_need_lc='no'
10162 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10163 hardcode_libdir_separator=:
10166 osf4* | osf5*) # as osf3* with the addition of -msym flag
10167 if test "$GCC" = yes; then
10168 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10169 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10170 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10172 allow_undefined_flag=' -expect_unresolved \*'
10173 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10174 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~
10175 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10177 # Both c and cxx compiler support -rpath directly
10178 hardcode_libdir_flag_spec='-rpath $libdir'
10180 archive_cmds_need_lc='no'
10181 hardcode_libdir_separator=:
10185 no_undefined_flag=' -z defs'
10186 if test "$GCC" = yes; then
10188 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10190 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10192 case `$CC -V 2>&1` in
10195 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10197 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10201 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10203 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10207 hardcode_libdir_flag_spec='-R$libdir'
10208 hardcode_shlibpath_var=no
10210 solaris2.[0-5] | solaris2.[0-5].*) ;;
10212 # The compiler driver will combine and reorder linker options,
10213 # but understands `-z linker_flag'. GCC discards it without `$wl',
10214 # but is careful enough not to reorder.
10215 # Supported since Solaris 2.6 (maybe 2.5.1?)
10216 if test "$GCC" = yes; then
10217 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10219 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10223 link_all_deplibs=yes
10227 if test "x$host_vendor" = xsequent; then
10228 # Use $CC to link under sequent, because it throws in some extra .o
10229 # files that make .init and .fini sections work.
10230 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10234 hardcode_libdir_flag_spec='-L$libdir'
10235 hardcode_direct=yes
10236 hardcode_minus_L=yes
10237 hardcode_shlibpath_var=no
10241 case $host_vendor in
10243 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10244 hardcode_direct=yes # is this really true???
10247 ## LD is ld it makes a PLAMLIB
10248 ## CC just makes a GrossModule.
10249 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10250 reload_cmds='$CC -r -o $output$reload_objs'
10254 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10255 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10258 runpath_var='LD_RUN_PATH'
10259 hardcode_shlibpath_var=no
10263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10264 hardcode_shlibpath_var=no
10265 export_dynamic_flag_spec='-Bexport'
10269 if test -d /usr/nec; then
10270 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10271 hardcode_shlibpath_var=no
10272 runpath_var=LD_RUN_PATH
10273 hardcode_runpath_var=yes
10278 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10279 no_undefined_flag='${wl}-z,text'
10280 archive_cmds_need_lc=no
10281 hardcode_shlibpath_var=no
10282 runpath_var='LD_RUN_PATH'
10284 if test "$GCC" = yes; then
10285 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10293 sysv5* | sco3.2v5* | sco5v6*)
10294 # Note: We can NOT use -z defs as we might desire, because we do not
10295 # link with -lc, and that would cause any symbols used from libc to
10296 # always be unresolved, which means just about no library would
10297 # ever link correctly. If we're not using GNU ld we use -z text
10298 # though, which does catch some bad symbols but isn't as heavy-handed
10300 no_undefined_flag='${wl}-z,text'
10301 allow_undefined_flag='${wl}-z,nodefs'
10302 archive_cmds_need_lc=no
10303 hardcode_shlibpath_var=no
10304 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10305 hardcode_libdir_separator=':'
10306 link_all_deplibs=yes
10307 export_dynamic_flag_spec='${wl}-Bexport'
10308 runpath_var='LD_RUN_PATH'
10310 if test "$GCC" = yes; then
10311 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10314 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10321 hardcode_libdir_flag_spec='-L$libdir'
10322 hardcode_shlibpath_var=no
10330 if test x$host_vendor = xsni; then
10332 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10333 export_dynamic_flag_spec='${wl}-Blargedynsym'
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10340 $as_echo "$ld_shlibs" >&6; }
10341 test "$ld_shlibs" = no && can_build_shared=no
10343 with_gnu_ld=$with_gnu_ld
10360 # Do we need to explicitly link libc?
10362 case "x$archive_cmds_need_lc" in
10364 # Assume -lc should be added
10365 archive_cmds_need_lc=yes
10367 if test "$enable_shared" = yes && test "$GCC" = yes; then
10368 case $archive_cmds in
10370 # FIXME: we may have to deal with multi-command sequences.
10373 # Test whether the compiler implicitly links with -lc since on some
10374 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10375 # to ld, don't add -lc before -lgcc.
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10378 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10379 $as_echo_n "(cached) " >&6
10382 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10385 (eval $ac_compile) 2>&5
10387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10388 test $ac_status = 0; } 2>conftest.err; then
10391 libobjs=conftest.$ac_objext
10393 wl=$lt_prog_compiler_wl
10394 pic_flag=$lt_prog_compiler_pic
10400 lt_save_allow_undefined_flag=$allow_undefined_flag
10401 allow_undefined_flag=
10402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10403 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10406 test $ac_status = 0; }
10408 lt_cv_archive_cmds_need_lc=no
10410 lt_cv_archive_cmds_need_lc=yes
10412 allow_undefined_flag=$lt_save_allow_undefined_flag
10414 cat conftest.err 1>&5
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10420 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10421 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10580 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10582 if test "$GCC" = yes; then
10584 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10585 *) lt_awk_arg="/^libraries:/" ;;
10588 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10589 *) lt_sed_strip_eq="s,=/,/,g" ;;
10591 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10592 case $lt_search_path_spec in
10594 # if the path contains ";" then we assume it to be the separator
10595 # otherwise default to the standard path separator (i.e. ":") - it is
10596 # assumed that no part of a normal pathname contains ";" but that should
10597 # okay in the real world where ";" in dirpaths is itself problematic.
10598 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10601 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10604 # Ok, now we have the path, separated by spaces, we can step through it
10605 # and add multilib dir if necessary.
10606 lt_tmp_lt_search_path_spec=
10607 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10608 for lt_sys_path in $lt_search_path_spec; do
10609 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10610 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10612 test -d "$lt_sys_path" && \
10613 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10616 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10617 BEGIN {RS=" "; FS="/|\n";} {
10620 for (lt_i = NF; lt_i > 0; lt_i--) {
10621 if ($lt_i != "" && $lt_i != ".") {
10622 if ($lt_i == "..") {
10625 if (lt_count == 0) {
10626 lt_foo="/" $lt_i lt_foo;
10633 if (lt_foo != "") { lt_freq[lt_foo]++; }
10634 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10636 # AWK program above erroneously prepends '/' to C:/dos/paths
10639 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10640 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10642 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10644 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10646 library_names_spec=
10647 libname_spec='lib$name'
10651 postuninstall_cmds=
10655 shlibpath_overrides_runpath=unknown
10657 dynamic_linker="$host_os ld.so"
10658 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10659 need_lib_prefix=unknown
10660 hardcode_into_libs=no
10662 # when you set need_version to no, make sure it does not cause -set_version
10663 # flags to be left without arguments
10664 need_version=unknown
10668 version_type=linux # correct to gnu/linux during the next big refactor
10669 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10670 shlibpath_var=LIBPATH
10672 # AIX 3 has no versioning support, so we append a major version to the name.
10673 soname_spec='${libname}${release}${shared_ext}$major'
10677 version_type=linux # correct to gnu/linux during the next big refactor
10680 hardcode_into_libs=yes
10681 if test "$host_cpu" = ia64; then
10682 # AIX 5 supports IA64
10683 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10684 shlibpath_var=LD_LIBRARY_PATH
10686 # With GCC up to 2.95.x, collect2 would create an import file
10687 # for dependence libraries. The import file would start with
10688 # the line `#! .'. This would cause the generated library to
10689 # depend on `.', always an invalid library. This was fixed in
10690 # development snapshots of GCC prior to 3.0.
10692 aix4 | aix4.[01] | aix4.[01].*)
10693 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10695 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10698 can_build_shared=no
10702 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10703 # soname into executable. Probably we can add versioning support to
10704 # collect2, so additional links can be useful in future.
10705 if test "$aix_use_runtimelinking" = yes; then
10706 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10707 # instead of lib<name>.a to let people know that these are not
10708 # typical AIX shared libraries.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 # We preserve .a as extension for shared libraries through AIX4.2
10712 # and later when we are not doing run time linking.
10713 library_names_spec='${libname}${release}.a $libname.a'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10716 shlibpath_var=LIBPATH
10723 # Since July 2007 AmigaOS4 officially supports .so libraries.
10724 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 library_names_spec='$libname.ixlibrary $libname.a'
10729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10730 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10736 library_names_spec='${libname}${shared_ext}'
10737 dynamic_linker="$host_os ld.so"
10738 shlibpath_var=LIBRARY_PATH
10742 version_type=linux # correct to gnu/linux during the next big refactor
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10747 shlibpath_var=LD_LIBRARY_PATH
10748 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10749 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10750 # the default ld.so.conf also contains /usr/contrib/lib and
10751 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10752 # libtool to hard-code these into programs
10755 cygwin* | mingw* | pw32* | cegcc*)
10756 version_type=windows
10761 case $GCC,$cc_basename in
10764 library_names_spec='$libname.dll.a'
10765 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10766 postinstall_cmds='base_file=`basename \${file}`~
10767 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10768 dldir=$destdir/`dirname \$dlpath`~
10769 test -d \$dldir || mkdir -p \$dldir~
10770 $install_prog $dir/$dlname \$dldir/$dlname~
10771 chmod a+x \$dldir/$dlname~
10772 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10773 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10775 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10776 dlpath=$dir/\$dldll~
10778 shlibpath_overrides_runpath=yes
10782 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10783 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10785 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10788 # MinGW DLLs use traditional 'lib' prefix
10789 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10792 # pw32 DLLs use 'pw' prefix rather than 'lib'
10793 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10796 dynamic_linker='Win32 ld.exe'
10801 libname_spec='$name'
10802 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10803 library_names_spec='${libname}.dll.lib'
10807 sys_lib_search_path_spec=
10810 for lt_path in $LIB
10813 # Let DOS variable expansion print the short 8.3 style file name.
10814 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10815 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10818 # Convert to MSYS style.
10819 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10822 # Convert to unix form, then to dos form, then back to unix form
10823 # but this time dos style (no spaces!) so that the unix form looks
10824 # like /cygdrive/c/PROGRA~1:/cygdr...
10825 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10826 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10827 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10830 sys_lib_search_path_spec="$LIB"
10831 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10832 # It is most probably a Windows format PATH.
10833 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10835 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10837 # FIXME: find the short name or the path components, as spaces are
10838 # common. (e.g. "Program Files" -> "PROGRA~1")
10842 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10843 postinstall_cmds='base_file=`basename \${file}`~
10844 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10845 dldir=$destdir/`dirname \$dlpath`~
10846 test -d \$dldir || mkdir -p \$dldir~
10847 $install_prog $dir/$dlname \$dldir/$dlname'
10848 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10849 dlpath=$dir/\$dldll~
10851 shlibpath_overrides_runpath=yes
10852 dynamic_linker='Win32 link.exe'
10856 # Assume MSVC wrapper
10857 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10858 dynamic_linker='Win32 ld.exe'
10861 # FIXME: first we should search . and the directory the executable is in
10865 darwin* | rhapsody*)
10866 dynamic_linker="$host_os dyld"
10867 version_type=darwin
10870 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10871 soname_spec='${libname}${release}${major}$shared_ext'
10872 shlibpath_overrides_runpath=yes
10873 shlibpath_var=DYLD_LIBRARY_PATH
10874 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10876 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10877 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10881 version_type=linux # correct to gnu/linux during the next big refactor
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10889 freebsd* | dragonfly*)
10890 # DragonFly does not have aout. When/if they implement a new
10891 # versioning mechanism, adjust this.
10892 if test -x /usr/bin/objformat; then
10893 objformat=`/usr/bin/objformat`
10896 freebsd[23].*) objformat=aout ;;
10897 *) objformat=elf ;;
10900 version_type=freebsd-$objformat
10901 case $version_type in
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10912 shlibpath_var=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath=yes
10917 freebsd3.[01]* | freebsdelf3.[01]*)
10918 shlibpath_overrides_runpath=yes
10919 hardcode_into_libs=yes
10921 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10922 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10923 shlibpath_overrides_runpath=no
10924 hardcode_into_libs=yes
10926 *) # from 4.6 on, and DragonFly
10927 shlibpath_overrides_runpath=yes
10928 hardcode_into_libs=yes
10934 version_type=linux # correct to gnu/linux during the next big refactor
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=no
10941 hardcode_into_libs=yes
10945 version_type=linux # correct to gnu/linux during the next big refactor
10948 dynamic_linker="$host_os runtime_loader"
10949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10950 soname_spec='${libname}${release}${shared_ext}$major'
10951 shlibpath_var=LIBRARY_PATH
10952 shlibpath_overrides_runpath=yes
10953 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10954 hardcode_into_libs=yes
10957 hpux9* | hpux10* | hpux11*)
10958 # Give a soname corresponding to the major version so that dld.sl refuses to
10959 # link against other versions.
10966 hardcode_into_libs=yes
10967 dynamic_linker="$host_os dld.so"
10968 shlibpath_var=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10971 soname_spec='${libname}${release}${shared_ext}$major'
10972 if test "X$HPUX_IA64_MODE" = X32; then
10973 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10975 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10977 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10981 hardcode_into_libs=yes
10982 dynamic_linker="$host_os dld.sl"
10983 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10984 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10988 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10992 dynamic_linker="$host_os dld.sl"
10993 shlibpath_var=SHLIB_PATH
10994 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10996 soname_spec='${libname}${release}${shared_ext}$major'
10999 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11000 postinstall_cmds='chmod 555 $lib'
11001 # or fails outright, so override atomically:
11002 install_override_mode=555
11006 version_type=linux # correct to gnu/linux during the next big refactor
11009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11010 soname_spec='${libname}${release}${shared_ext}$major'
11011 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath=no
11014 hardcode_into_libs=yes
11017 irix5* | irix6* | nonstopux*)
11019 nonstopux*) version_type=nonstopux ;;
11021 if test "$lt_cv_prog_gnu_ld" = yes; then
11022 version_type=linux # correct to gnu/linux during the next big refactor
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11032 irix5* | nonstopux*)
11033 libsuff= shlibsuff=
11036 case $LD in # libtool.m4 will add one of these switches to LD
11037 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11038 libsuff= shlibsuff= libmagic=32-bit;;
11039 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11040 libsuff=32 shlibsuff=N32 libmagic=N32;;
11041 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11042 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11043 *) libsuff= shlibsuff= libmagic=never-match;;
11047 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11048 shlibpath_overrides_runpath=no
11049 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11050 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11051 hardcode_into_libs=yes
11054 # No shared lib support for Linux oldld, aout, or coff.
11055 linux*oldld* | linux*aout* | linux*coff*)
11059 # This must be glibc/ELF.
11060 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11061 version_type=linux # correct to gnu/linux during the next big refactor
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath=no
11070 # Some binutils ld are patched to set DT_RUNPATH
11071 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11072 $as_echo_n "(cached) " >&6
11074 lt_cv_shlibpath_overrides_runpath=no
11075 save_LDFLAGS=$LDFLAGS
11076 save_libdir=$libdir
11077 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11078 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11092 lt_cv_shlibpath_overrides_runpath=yes
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LDFLAGS=$save_LDFLAGS
11098 libdir=$save_libdir
11102 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11104 # This implies no fast_install, which is unacceptable.
11105 # Some rework will be needed to allow for fast_install
11106 # before this can be enabled.
11107 hardcode_into_libs=yes
11109 # Append ld.so.conf contents to the search path
11110 if test -f /etc/ld.so.conf; then
11111 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;s/"//g;/^$/d' | tr '\n' ' '`
11112 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11115 # We used to test for /lib/ld.so.1 and disable shared libraries on
11116 # powerpc, because MkLinux only supported shared libraries with the
11117 # GNU dynamic linker. Since this was broken with cross compilers,
11118 # most powerpc-linux boxes support dynamic linking these days and
11119 # people can always --disable-shared, the test was removed, and we
11120 # assume the GNU/Linux dynamic linker is in use.
11121 dynamic_linker='GNU/Linux ld.so'
11128 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11130 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11131 dynamic_linker='NetBSD (a.out) ld.so'
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 dynamic_linker='NetBSD ld.elf_so'
11137 shlibpath_var=LD_LIBRARY_PATH
11138 shlibpath_overrides_runpath=yes
11139 hardcode_into_libs=yes
11143 version_type=linux # correct to gnu/linux during the next big refactor
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 shlibpath_var=LD_LIBRARY_PATH
11146 shlibpath_overrides_runpath=yes
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 shlibpath_overrides_runpath=no
11157 hardcode_into_libs=yes
11158 dynamic_linker='ldqnx.so'
11163 sys_lib_dlsearch_path_spec="/usr/lib"
11165 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11167 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11168 *) need_version=no ;;
11170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11171 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11175 openbsd2.[89] | openbsd2.[89].*)
11176 shlibpath_overrides_runpath=no
11179 shlibpath_overrides_runpath=yes
11183 shlibpath_overrides_runpath=yes
11188 libname_spec='$name'
11191 library_names_spec='$libname${shared_ext} $libname.a'
11192 dynamic_linker='OS/2 ld.exe'
11193 shlibpath_var=LIBPATH
11196 osf3* | osf4* | osf5*)
11200 soname_spec='${libname}${release}${shared_ext}$major'
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 shlibpath_var=LD_LIBRARY_PATH
11203 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11204 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11212 version_type=linux # correct to gnu/linux during the next big refactor
11215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11216 soname_spec='${libname}${release}${shared_ext}$major'
11217 shlibpath_var=LD_LIBRARY_PATH
11218 shlibpath_overrides_runpath=yes
11219 hardcode_into_libs=yes
11220 # ldd complains unless libraries are executable
11221 postinstall_cmds='chmod +x $lib'
11226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11227 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11228 shlibpath_var=LD_LIBRARY_PATH
11229 shlibpath_overrides_runpath=yes
11230 if test "$with_gnu_ld" = yes; then
11237 version_type=linux # correct to gnu/linux during the next big refactor
11238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11239 soname_spec='${libname}${release}${shared_ext}$major'
11240 shlibpath_var=LD_LIBRARY_PATH
11241 case $host_vendor in
11243 shlibpath_overrides_runpath=no
11245 runpath_var=LD_RUN_PATH
11253 shlibpath_overrides_runpath=no
11254 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11260 if test -d /usr/nec ;then
11261 version_type=linux # correct to gnu/linux during the next big refactor
11262 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11263 soname_spec='$libname${shared_ext}.$major'
11264 shlibpath_var=LD_LIBRARY_PATH
11268 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11269 version_type=freebsd-elf
11272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11273 soname_spec='${libname}${release}${shared_ext}$major'
11274 shlibpath_var=LD_LIBRARY_PATH
11275 shlibpath_overrides_runpath=yes
11276 hardcode_into_libs=yes
11277 if test "$with_gnu_ld" = yes; then
11278 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11280 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11283 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11287 sys_lib_dlsearch_path_spec='/usr/lib'
11291 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11292 version_type=linux # correct to gnu/linux during the next big refactor
11295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=no
11298 hardcode_into_libs=yes
11302 version_type=linux # correct to gnu/linux during the next big refactor
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 soname_spec='${libname}${release}${shared_ext}$major'
11305 shlibpath_var=LD_LIBRARY_PATH
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11313 $as_echo "$dynamic_linker" >&6; }
11314 test "$dynamic_linker" = no && can_build_shared=no
11316 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11317 if test "$GCC" = yes; then
11318 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11321 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11322 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11324 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11325 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11420 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11422 if test -n "$hardcode_libdir_flag_spec" ||
11423 test -n "$runpath_var" ||
11424 test "X$hardcode_automatic" = "Xyes" ; then
11426 # We can hardcode non-existent directories.
11427 if test "$hardcode_direct" != no &&
11428 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11429 # have to relink, otherwise we might link with an installed library
11430 # when we should be linking with a yet-to-be-installed one
11431 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11432 test "$hardcode_minus_L" != no; then
11433 # Linking always hardcodes the temporary library directory.
11434 hardcode_action=relink
11436 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11437 hardcode_action=immediate
11440 # We cannot hardcode anything, or else we can only hardcode existing
11442 hardcode_action=unsupported
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11445 $as_echo "$hardcode_action" >&6; }
11447 if test "$hardcode_action" = relink ||
11448 test "$inherit_rpath" = yes; then
11449 # Fast installation is not supported
11450 enable_fast_install=no
11451 elif test "$shlibpath_overrides_runpath" = yes ||
11452 test "$enable_shared" = no; then
11453 # Fast installation is not necessary
11454 enable_fast_install=needless
11462 if test "x$enable_dlopen" != xyes; then
11463 enable_dlopen=unknown
11464 enable_dlopen_self=unknown
11465 enable_dlopen_self_static=unknown
11472 lt_cv_dlopen="load_add_on"
11474 lt_cv_dlopen_self=yes
11477 mingw* | pw32* | cegcc*)
11478 lt_cv_dlopen="LoadLibrary"
11483 lt_cv_dlopen="dlopen"
11488 # if libdl is installed we need to link against it
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11491 if ${ac_cv_lib_dl_dlopen+:} false; then :
11492 $as_echo_n "(cached) " >&6
11494 ac_check_lib_save_LIBS=$LIBS
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11514 if ac_fn_c_try_link "$LINENO"; then :
11515 ac_cv_lib_dl_dlopen=yes
11517 ac_cv_lib_dl_dlopen=no
11519 rm -f core conftest.err conftest.$ac_objext \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_lib_save_LIBS
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11524 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11525 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11526 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11529 lt_cv_dlopen="dyld"
11531 lt_cv_dlopen_self=yes
11538 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11539 if test "x$ac_cv_func_shl_load" = xyes; then :
11540 lt_cv_dlopen="shl_load"
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11543 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11544 if ${ac_cv_lib_dld_shl_load+:} false; then :
11545 $as_echo_n "(cached) " >&6
11547 ac_check_lib_save_LIBS=$LIBS
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11562 return shl_load ();
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 ac_cv_lib_dld_shl_load=yes
11570 ac_cv_lib_dld_shl_load=no
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11577 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11578 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11579 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11581 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11582 if test "x$ac_cv_func_dlopen" = xyes; then :
11583 lt_cv_dlopen="dlopen"
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11586 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11587 if ${ac_cv_lib_dl_dlopen+:} false; then :
11588 $as_echo_n "(cached) " >&6
11590 ac_check_lib_save_LIBS=$LIBS
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11595 /* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11610 if ac_fn_c_try_link "$LINENO"; then :
11611 ac_cv_lib_dl_dlopen=yes
11613 ac_cv_lib_dl_dlopen=no
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_lib_save_LIBS
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11620 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11621 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11622 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11625 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11626 if ${ac_cv_lib_svld_dlopen+:} false; then :
11627 $as_echo_n "(cached) " >&6
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-lsvld $LIBS"
11631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11634 /* Override any GCC internal prototype to avoid an error.
11635 Use char because int might match the return type of a GCC
11636 builtin and then its argument prototype would still apply. */
11649 if ac_fn_c_try_link "$LINENO"; then :
11650 ac_cv_lib_svld_dlopen=yes
11652 ac_cv_lib_svld_dlopen=no
11654 rm -f core conftest.err conftest.$ac_objext \
11655 conftest$ac_exeext conftest.$ac_ext
11656 LIBS=$ac_check_lib_save_LIBS
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11659 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11660 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11661 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11664 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11665 if ${ac_cv_lib_dld_dld_link+:} false; then :
11666 $as_echo_n "(cached) " >&6
11668 ac_check_lib_save_LIBS=$LIBS
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11683 return dld_link ();
11688 if ac_fn_c_try_link "$LINENO"; then :
11689 ac_cv_lib_dld_dld_link=yes
11691 ac_cv_lib_dld_dld_link=no
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_lib_save_LIBS
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11698 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11699 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11700 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11721 if test "x$lt_cv_dlopen" != xno; then
11727 case $lt_cv_dlopen in
11729 save_CPPFLAGS="$CPPFLAGS"
11730 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11732 save_LDFLAGS="$LDFLAGS"
11733 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11736 LIBS="$lt_cv_dlopen_libs $LIBS"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11739 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11740 if ${lt_cv_dlopen_self+:} false; then :
11741 $as_echo_n "(cached) " >&6
11743 if test "$cross_compiling" = yes; then :
11744 lt_cv_dlopen_self=cross
11746 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11747 lt_status=$lt_dlunknown
11748 cat > conftest.$ac_ext <<_LT_EOF
11749 #line $LINENO "configure"
11750 #include "confdefs.h"
11759 # define LT_DLGLOBAL RTLD_GLOBAL
11762 # define LT_DLGLOBAL DL_GLOBAL
11764 # define LT_DLGLOBAL 0
11768 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11769 find out it does not work in some platform. */
11770 #ifndef LT_DLLAZY_OR_NOW
11772 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11775 # define LT_DLLAZY_OR_NOW DL_LAZY
11778 # define LT_DLLAZY_OR_NOW RTLD_NOW
11781 # define LT_DLLAZY_OR_NOW DL_NOW
11783 # define LT_DLLAZY_OR_NOW 0
11790 /* When -fvisbility=hidden is used, assume the code has been annotated
11791 correspondingly for the symbols needed. */
11792 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11793 int fnord () __attribute__((visibility("default")));
11796 int fnord () { return 42; }
11799 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11800 int status = $lt_dlunknown;
11804 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11807 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11808 else puts (dlerror ());
11810 /* dlclose (self); */
11818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11819 (eval $ac_link) 2>&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11822 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11823 (./conftest; exit; ) >&5 2>/dev/null
11825 case x$lt_status in
11826 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11827 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11828 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11831 # compilation failed
11832 lt_cv_dlopen_self=no
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11840 $as_echo "$lt_cv_dlopen_self" >&6; }
11842 if test "x$lt_cv_dlopen_self" = xyes; then
11843 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11845 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11846 if ${lt_cv_dlopen_self_static+:} false; then :
11847 $as_echo_n "(cached) " >&6
11849 if test "$cross_compiling" = yes; then :
11850 lt_cv_dlopen_self_static=cross
11852 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11853 lt_status=$lt_dlunknown
11854 cat > conftest.$ac_ext <<_LT_EOF
11855 #line $LINENO "configure"
11856 #include "confdefs.h"
11865 # define LT_DLGLOBAL RTLD_GLOBAL
11868 # define LT_DLGLOBAL DL_GLOBAL
11870 # define LT_DLGLOBAL 0
11874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11875 find out it does not work in some platform. */
11876 #ifndef LT_DLLAZY_OR_NOW
11878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11881 # define LT_DLLAZY_OR_NOW DL_LAZY
11884 # define LT_DLLAZY_OR_NOW RTLD_NOW
11887 # define LT_DLLAZY_OR_NOW DL_NOW
11889 # define LT_DLLAZY_OR_NOW 0
11896 /* When -fvisbility=hidden is used, assume the code has been annotated
11897 correspondingly for the symbols needed. */
11898 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11899 int fnord () __attribute__((visibility("default")));
11902 int fnord () { return 42; }
11905 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11906 int status = $lt_dlunknown;
11910 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11913 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11914 else puts (dlerror ());
11916 /* dlclose (self); */
11924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11925 (eval $ac_link) 2>&5
11927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11929 (./conftest; exit; ) >&5 2>/dev/null
11931 case x$lt_status in
11932 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11933 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11934 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11937 # compilation failed
11938 lt_cv_dlopen_self_static=no
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11946 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11949 CPPFLAGS="$save_CPPFLAGS"
11950 LDFLAGS="$save_LDFLAGS"
11955 case $lt_cv_dlopen_self in
11956 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11957 *) enable_dlopen_self=unknown ;;
11960 case $lt_cv_dlopen_self_static in
11961 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11962 *) enable_dlopen_self_static=unknown ;;
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11985 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11986 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11987 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11988 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11990 $as_echo "yes" >&6; }
11992 # FIXME - insert some real tests, host_os isn't really good enough
11995 if test -n "$STRIP" ; then
11996 striplib="$STRIP -x"
11997 old_striplib="$STRIP -S"
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999 $as_echo "yes" >&6; }
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002 $as_echo "no" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12007 $as_echo "no" >&6; }
12023 # Report which library types will actually be built
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12025 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12027 $as_echo "$can_build_shared" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12030 $as_echo_n "checking whether to build shared libraries... " >&6; }
12031 test "$can_build_shared" = "no" && enable_shared=no
12033 # On AIX, shared libraries and static libraries use the same namespace, and
12034 # are all built from PIC.
12037 test "$enable_shared" = yes && enable_static=no
12038 if test -n "$RANLIB"; then
12039 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12040 postinstall_cmds='$RANLIB $lib'
12045 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12046 test "$enable_shared" = yes && enable_static=no
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12051 $as_echo "$enable_shared" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12054 $as_echo_n "checking whether to build static libraries... " >&6; }
12055 # Make sure either enable_shared or enable_static is yes.
12056 test "$enable_shared" = yes || enable_static=yes
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12058 $as_echo "$enable_static" >&6; }
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12086 ac_config_commands="$ac_config_commands libtool"
12091 # Only expand once:
12095 for ac_func in _close _dup _fdopen _fileno _open _setmode _snprintf _strdup _stricmp fileno fseeko ftello getopt getprogname open setmode snprintf strcasecmp strdup stricmp
12097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12100 cat >>confdefs.h <<_ACEOF
12101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12107 for ac_func in mkstemp
12109 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
12110 if test "x$ac_cv_func_mkstemp" = xyes; then :
12111 cat >>confdefs.h <<_ACEOF
12112 #define HAVE_MKSTEMP 1
12116 case " $LIBOBJS " in
12117 *" mkstemp.$ac_objext "* ) ;;
12118 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines __progname" >&5
12127 $as_echo_n "checking if libc defines __progname... " >&6; }
12128 if ${ac_cv_libc_defines___progname+:} false; then :
12129 $as_echo_n "(cached) " >&6
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12137 extern char *__progname; printf("%s", __progname);
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 ac_cv_libc_defines___progname="yes"
12145 ac_cv_libc_defines___progname="no"
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines___progname" >&5
12152 $as_echo "$ac_cv_libc_defines___progname" >&6; }
12153 if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
12155 $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
12160 for ac_header in fts.h stdbool.h strings.h unistd.h
12162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12163 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12165 cat >>confdefs.h <<_ACEOF
12166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12174 ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
12175 if test "x$ac_cv_type_int8_t" = xyes; then :
12177 cat >>confdefs.h <<_ACEOF
12178 #define HAVE_INT8_T 1
12184 ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
12185 if test "x$ac_cv_type_int16_t" = xyes; then :
12187 cat >>confdefs.h <<_ACEOF
12188 #define HAVE_INT16_T 1
12194 ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
12195 if test "x$ac_cv_type_int32_t" = xyes; then :
12197 cat >>confdefs.h <<_ACEOF
12198 #define HAVE_INT32_T 1
12204 ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12205 if test "x$ac_cv_type_int64_t" = xyes; then :
12207 cat >>confdefs.h <<_ACEOF
12208 #define HAVE_INT64_T 1
12214 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
12215 if test "x$ac_cv_type_uint8_t" = xyes; then :
12217 cat >>confdefs.h <<_ACEOF
12218 #define HAVE_UINT8_T 1
12224 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
12225 if test "x$ac_cv_type_uint16_t" = xyes; then :
12227 cat >>confdefs.h <<_ACEOF
12228 #define HAVE_UINT16_T 1
12234 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
12235 if test "x$ac_cv_type_uint32_t" = xyes; then :
12237 cat >>confdefs.h <<_ACEOF
12238 #define HAVE_UINT32_T 1
12244 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12245 if test "x$ac_cv_type_uint64_t" = xyes; then :
12247 cat >>confdefs.h <<_ACEOF
12248 #define HAVE_UINT64_T 1
12254 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12255 if test "x$ac_cv_type_ssize_t" = xyes; then :
12257 cat >>confdefs.h <<_ACEOF
12258 #define HAVE_SSIZE_T 1
12265 # The cast to long int works around a bug in the HP C Compiler
12266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12268 # This bug is HP SR number 8606223364.
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12270 $as_echo_n "checking size of short... " >&6; }
12271 if ${ac_cv_sizeof_short+:} false; then :
12272 $as_echo_n "(cached) " >&6
12274 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12277 if test "$ac_cv_type_short" = yes; then
12278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12280 as_fn_error 77 "cannot compute sizeof (short)
12281 See \`config.log' for more details" "$LINENO" 5; }
12283 ac_cv_sizeof_short=0
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12289 $as_echo "$ac_cv_sizeof_short" >&6; }
12293 cat >>confdefs.h <<_ACEOF
12294 #define SIZEOF_SHORT $ac_cv_sizeof_short
12298 # The cast to long int works around a bug in the HP C Compiler
12299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12301 # This bug is HP SR number 8606223364.
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12303 $as_echo_n "checking size of int... " >&6; }
12304 if ${ac_cv_sizeof_int+:} false; then :
12305 $as_echo_n "(cached) " >&6
12307 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12310 if test "$ac_cv_type_int" = yes; then
12311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12313 as_fn_error 77 "cannot compute sizeof (int)
12314 See \`config.log' for more details" "$LINENO" 5; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12322 $as_echo "$ac_cv_sizeof_int" >&6; }
12326 cat >>confdefs.h <<_ACEOF
12327 #define SIZEOF_INT $ac_cv_sizeof_int
12331 # The cast to long int works around a bug in the HP C Compiler
12332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12334 # This bug is HP SR number 8606223364.
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12336 $as_echo_n "checking size of long... " >&6; }
12337 if ${ac_cv_sizeof_long+:} false; then :
12338 $as_echo_n "(cached) " >&6
12340 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12343 if test "$ac_cv_type_long" = yes; then
12344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12346 as_fn_error 77 "cannot compute sizeof (long)
12347 See \`config.log' for more details" "$LINENO" 5; }
12349 ac_cv_sizeof_long=0
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12355 $as_echo "$ac_cv_sizeof_long" >&6; }
12359 cat >>confdefs.h <<_ACEOF
12360 #define SIZEOF_LONG $ac_cv_sizeof_long
12364 # The cast to long int works around a bug in the HP C Compiler
12365 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12366 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12367 # This bug is HP SR number 8606223364.
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12369 $as_echo_n "checking size of long long... " >&6; }
12370 if ${ac_cv_sizeof_long_long+:} false; then :
12371 $as_echo_n "(cached) " >&6
12373 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12376 if test "$ac_cv_type_long_long" = yes; then
12377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12379 as_fn_error 77 "cannot compute sizeof (long long)
12380 See \`config.log' for more details" "$LINENO" 5; }
12382 ac_cv_sizeof_long_long=0
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12388 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12392 cat >>confdefs.h <<_ACEOF
12393 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12397 # The cast to long int works around a bug in the HP C Compiler
12398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12400 # This bug is HP SR number 8606223364.
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12402 $as_echo_n "checking size of off_t... " >&6; }
12403 if ${ac_cv_sizeof_off_t+:} false; then :
12404 $as_echo_n "(cached) " >&6
12406 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
12409 if test "$ac_cv_type_off_t" = yes; then
12410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12412 as_fn_error 77 "cannot compute sizeof (off_t)
12413 See \`config.log' for more details" "$LINENO" 5; }
12415 ac_cv_sizeof_off_t=0
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12421 $as_echo "$ac_cv_sizeof_off_t" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12430 # The cast to long int works around a bug in the HP C Compiler
12431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12433 # This bug is HP SR number 8606223364.
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12435 $as_echo_n "checking size of size_t... " >&6; }
12436 if ${ac_cv_sizeof_size_t+:} false; then :
12437 $as_echo_n "(cached) " >&6
12439 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
12442 if test "$ac_cv_type_size_t" = yes; then
12443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12445 as_fn_error 77 "cannot compute sizeof (size_t)
12446 See \`config.log' for more details" "$LINENO" 5; }
12448 ac_cv_sizeof_size_t=0
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
12454 $as_echo "$ac_cv_sizeof_size_t" >&6; }
12458 cat >>confdefs.h <<_ACEOF
12459 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12465 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12466 if ${ac_cv_struct_tm+:} false; then :
12467 $as_echo_n "(cached) " >&6
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12471 #include <sys/types.h>
12478 int *p = &tm.tm_sec;
12484 if ac_fn_c_try_compile "$LINENO"; then :
12485 ac_cv_struct_tm=time.h
12487 ac_cv_struct_tm=sys/time.h
12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12492 $as_echo "$ac_cv_struct_tm" >&6; }
12493 if test $ac_cv_struct_tm = sys/time.h; then
12495 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12499 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
12500 #include <$ac_cv_struct_tm>
12503 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
12505 cat >>confdefs.h <<_ACEOF
12506 #define HAVE_STRUCT_TM_TM_ZONE 1
12512 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
12514 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
12517 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
12519 if test "x$ac_cv_have_decl_tzname" = xyes; then :
12525 cat >>confdefs.h <<_ACEOF
12526 #define HAVE_DECL_TZNAME $ac_have_decl
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
12530 $as_echo_n "checking for tzname... " >&6; }
12531 if ${ac_cv_var_tzname+:} false; then :
12532 $as_echo_n "(cached) " >&6
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 #if !HAVE_DECL_TZNAME
12538 extern char *tzname[];
12544 return tzname[0][0];
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 ac_cv_var_tzname=yes
12552 ac_cv_var_tzname=no
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
12558 $as_echo "$ac_cv_var_tzname" >&6; }
12559 if test $ac_cv_var_tzname = yes; then
12561 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
12569 *bsd*) MANFMT=mdoc;;
12580 if test -n "$GCC"; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
12582 $as_echo_n "checking for simple visibility declarations... " >&6; }
12583 if ${gl_cv_cc_visibility+:} false; then :
12584 $as_echo_n "(cached) " >&6
12587 gl_save_CFLAGS="$CFLAGS"
12588 CFLAGS="$CFLAGS -fvisibility=hidden"
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
12592 extern __attribute__((__visibility__("default"))) int exportedvar;
12593 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
12594 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
12603 if ac_fn_c_try_compile "$LINENO"; then :
12604 gl_cv_cc_visibility=yes
12606 gl_cv_cc_visibility=no
12608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12609 CFLAGS="$gl_save_CFLAGS"
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
12613 $as_echo "$gl_cv_cc_visibility" >&6; }
12614 if test $gl_cv_cc_visibility = yes; then
12615 CFLAG_VISIBILITY="-fvisibility=hidden"
12622 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_VISIBILITY $HAVE_VISIBILITY
12628 ac_config_files="$ac_config_files Makefile libzip.pc libzip-uninstalled.pc examples/Makefile man/Makefile lib/Makefile regress/Makefile src/Makefile"
12630 cat >confcache <<\_ACEOF
12631 # This file is a shell script that caches the results of configure
12632 # tests run on this system so they can be shared between configure
12633 # scripts and configure runs, see configure's option --config-cache.
12634 # It is not useful on other systems. If it contains results you don't
12635 # want to keep, you may remove or edit it.
12637 # config.status only pays attention to the cache file if you give it
12638 # the --recheck option to rerun configure.
12640 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12641 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12642 # following values.
12646 # The following way of writing the cache mishandles newlines in values,
12647 # but we know of no workaround that is simple, portable, and efficient.
12648 # So, we kill variables containing newlines.
12649 # Ultrix sh set writes to stderr and can't be redirected directly,
12650 # and sets the high bit in the cache file unless we assign to the vars.
12652 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12653 eval ac_val=\$$ac_var
12657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12661 _ | IFS | as_nl) ;; #(
12662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12663 *) { eval $ac_var=; unset $ac_var;} ;;
12669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12670 *${as_nl}ac_space=\ *)
12671 # `set' does not quote correctly, so add quotes: double-quote
12672 # substitution turns \\\\ into \\, and sed turns \\ into \.
12675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12678 # `set' quotes correctly as required by POSIX, so do not add quotes.
12679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12693 if test -w "$cache_file"; then
12694 if test "x$cache_file" != "x/dev/null"; then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12696 $as_echo "$as_me: updating cache $cache_file" >&6;}
12697 if test ! -f "$cache_file" || test -h "$cache_file"; then
12698 cat confcache >"$cache_file"
12700 case $cache_file in #(
12702 mv -f confcache "$cache_file"$$ &&
12703 mv -f "$cache_file"$$ "$cache_file" ;; #(
12705 mv -f confcache "$cache_file" ;;
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12711 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12716 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12717 # Let make expand exec_prefix.
12718 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12720 DEFS=-DHAVE_CONFIG_H
12725 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12726 # 1. Remove the extension, and $U if already installed.
12727 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12728 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12729 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12730 # will be set to the directory where LIBOBJS objects are built.
12731 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12732 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12734 LIBOBJS=$ac_libobjs
12736 LTLIBOBJS=$ac_ltlibobjs
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12740 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12741 if test -n "$am_sleep_pid"; then
12742 # Hide warnings about reused PIDs.
12743 wait $am_sleep_pid 2>/dev/null
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12746 $as_echo "done" >&6; }
12747 if test -n "$EXEEXT"; then
12749 am__EXEEXT_FALSE='#'
12751 am__EXEEXT_TRUE='#'
12755 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12756 as_fn_error $? "conditional \"AMDEP\" was never defined.
12757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12759 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12760 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12764 : "${CONFIG_STATUS=./config.status}"
12766 ac_clean_files_save=$ac_clean_files
12767 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12769 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12773 # Generated by $as_me.
12774 # Run this file to recreate the current configuration.
12775 # Compiler output produced by configure, useful for debugging
12776 # configure, is in config.log if it exists.
12779 ac_cs_recheck=false
12782 SHELL=\${CONFIG_SHELL-$SHELL}
12785 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12786 ## -------------------- ##
12787 ## M4sh Initialization. ##
12788 ## -------------------- ##
12790 # Be more Bourne compatible
12791 DUALCASE=1; export DUALCASE # for MKS sh
12792 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12796 # is contrary to our usage. Disable this feature.
12797 alias -g '${1+"$@"}'='"$@"'
12798 setopt NO_GLOB_SUBST
12800 case `(set -o) 2>/dev/null` in #(
12812 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12813 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12816 # Prefer a ksh shell builtin over an external printf program on Solaris,
12817 # but without wasting forks for bash or zsh.
12818 if test -z "$BASH_VERSION$ZSH_VERSION" \
12819 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12820 as_echo='print -r --'
12821 as_echo_n='print -rn --'
12822 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12823 as_echo='printf %s\n'
12824 as_echo_n='printf %s'
12826 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12827 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12828 as_echo_n='/usr/ucb/echo -n'
12830 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12831 as_echo_n_body='eval
12835 expr "X$arg" : "X\\(.*\\)$as_nl";
12836 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12838 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12840 export as_echo_n_body
12841 as_echo_n='sh -c $as_echo_n_body as_echo'
12843 export as_echo_body
12844 as_echo='sh -c $as_echo_body as_echo'
12847 # The user is always right.
12848 if test "${PATH_SEPARATOR+set}" != set; then
12850 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12851 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12858 # We need space, tab and new line, in precisely that order. Quoting is
12859 # there to prevent editors from complaining about space-tab.
12860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12861 # splitting by setting IFS to empty value.)
12864 # Find who we are. Look in the path if we contain no directory separator.
12867 *[\\/]* ) as_myself=$0 ;;
12868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12869 for as_dir in $PATH
12872 test -z "$as_dir" && as_dir=.
12873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12879 # We did not find ourselves, most probably we were run as `sh COMMAND'
12880 # in which case we are not to be found in the path.
12881 if test "x$as_myself" = x; then
12884 if test ! -f "$as_myself"; then
12885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12889 # Unset variables that we do not need and which cause bugs (e.g. in
12890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12891 # suppresses any "Segmentation fault" message there. '((' could
12892 # trigger a bug in pdksh 5.2.14.
12893 for as_var in BASH_ENV ENV MAIL MAILPATH
12894 do eval test x\${$as_var+set} = xset \
12895 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12908 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12911 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12912 # ----------------------------------------
12913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12915 # script with STATUS, using 1 if that was 0.
12918 as_status=$1; test $as_status -eq 0 && as_status=1
12920 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12923 $as_echo "$as_me: error: $2" >&2
12924 as_fn_exit $as_status
12928 # as_fn_set_status STATUS
12929 # -----------------------
12930 # Set $? to STATUS, without forking.
12931 as_fn_set_status ()
12934 } # as_fn_set_status
12936 # as_fn_exit STATUS
12937 # -----------------
12938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12942 as_fn_set_status $1
12948 # Portably unset VAR.
12951 { eval $1=; unset $1;}
12953 as_unset=as_fn_unset
12954 # as_fn_append VAR VALUE
12955 # ----------------------
12956 # Append the text in VALUE to the end of the definition contained in VAR. Take
12957 # advantage of any shell optimizations that allow amortized linear growth over
12958 # repeated appends, instead of the typical quadratic growth present in naive
12960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12961 eval 'as_fn_append ()
12972 # as_fn_arith ARG...
12973 # ------------------
12974 # Perform arithmetic evaluation on the ARGs, and store the result in the
12975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12976 # must be portable across $(()) and expr.
12977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12978 eval 'as_fn_arith ()
12985 as_val=`expr "$@" || test $? -eq 1`
12990 if expr a : '\(a\)' >/dev/null 2>&1 &&
12991 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12997 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12998 as_basename=basename
13003 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13009 as_me=`$as_basename -- "$0" ||
13010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13011 X"$0" : 'X\(//\)$' \| \
13012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13014 sed '/^.*\/\([^/][^/]*\)\/*$/{
13028 # Avoid depending upon Character Ranges.
13029 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13030 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13031 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13032 as_cr_digits='0123456789'
13033 as_cr_alnum=$as_cr_Letters$as_cr_digits
13035 ECHO_C= ECHO_N= ECHO_T=
13036 case `echo -n x` in #(((((
13038 case `echo 'xy\c'` in
13039 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13041 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13048 rm -f conf$$ conf$$.exe conf$$.file
13049 if test -d conf$$.dir; then
13050 rm -f conf$$.dir/conf$$.file
13053 mkdir conf$$.dir 2>/dev/null
13055 if (echo >conf$$.file) 2>/dev/null; then
13056 if ln -s conf$$.file conf$$ 2>/dev/null; then
13058 # ... but there are two gotchas:
13059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13061 # In both cases, we have to default to `cp -pR'.
13062 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13064 elif ln conf$$.file conf$$ 2>/dev/null; then
13072 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13073 rmdir conf$$.dir 2>/dev/null
13078 # Create "$as_dir" as a directory, including parents if necessary.
13083 -*) as_dir=./$as_dir;;
13085 test -d "$as_dir" || eval $as_mkdir_p || {
13089 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13090 *) as_qdir=$as_dir;;
13092 as_dirs="'$as_qdir' $as_dirs"
13093 as_dir=`$as_dirname -- "$as_dir" ||
13094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13095 X"$as_dir" : 'X\(//\)[^/]' \| \
13096 X"$as_dir" : 'X\(//\)$' \| \
13097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13098 $as_echo X"$as_dir" |
13099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13103 /^X\(\/\/\)[^/].*/{
13116 test -d "$as_dir" && break
13118 test -z "$as_dirs" || eval "mkdir $as_dirs"
13119 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13123 if mkdir -p . 2>/dev/null; then
13124 as_mkdir_p='mkdir -p "$as_dir"'
13126 test -d ./-p && rmdir ./-p
13131 # as_fn_executable_p FILE
13132 # -----------------------
13133 # Test if FILE is an executable regular file.
13134 as_fn_executable_p ()
13136 test -f "$1" && test -x "$1"
13137 } # as_fn_executable_p
13138 as_test_x='test -x'
13139 as_executable_p=as_fn_executable_p
13141 # Sed expression to map a string onto a valid CPP name.
13142 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13144 # Sed expression to map a string onto a valid variable name.
13145 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13149 ## ----------------------------------- ##
13150 ## Main body of $CONFIG_STATUS script. ##
13151 ## ----------------------------------- ##
13153 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13156 # Save the log message, to keep $0 and so on meaningful, and to
13157 # report actual input values of CONFIG_FILES etc. instead of their
13158 # values after options handling.
13160 This file was extended by libzip $as_me 1.1.2, which was
13161 generated by GNU Autoconf 2.69. Invocation command line was
13163 CONFIG_FILES = $CONFIG_FILES
13164 CONFIG_HEADERS = $CONFIG_HEADERS
13165 CONFIG_LINKS = $CONFIG_LINKS
13166 CONFIG_COMMANDS = $CONFIG_COMMANDS
13169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13174 case $ac_config_files in *"
13175 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13178 case $ac_config_headers in *"
13179 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13184 # Files that config.status was made for.
13185 config_files="$ac_config_files"
13186 config_headers="$ac_config_headers"
13187 config_commands="$ac_config_commands"
13191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13193 \`$as_me' instantiates files and other configuration actions
13194 from templates according to the current configuration. Unless the files
13195 and actions are specified as TAGs, all are instantiated by default.
13197 Usage: $0 [OPTION]... [TAG]...
13199 -h, --help print this help, then exit
13200 -V, --version print version number and configuration settings, then exit
13201 --config print configuration, then exit
13202 -q, --quiet, --silent
13203 do not print progress messages
13204 -d, --debug don't remove temporary files
13205 --recheck update $as_me by reconfiguring in the same conditions
13206 --file=FILE[:TEMPLATE]
13207 instantiate the configuration file FILE
13208 --header=FILE[:TEMPLATE]
13209 instantiate the configuration header FILE
13211 Configuration files:
13214 Configuration headers:
13217 Configuration commands:
13220 Report bugs to <libzip@nih.at>."
13223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13224 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13226 libzip config.status 1.1.2
13227 configured by $0, generated by GNU Autoconf 2.69,
13228 with options \\"\$ac_cs_config\\"
13230 Copyright (C) 2012 Free Software Foundation, Inc.
13231 This config.status script is free software; the Free Software Foundation
13232 gives unlimited permission to copy, distribute and modify it."
13239 test -n "\$AWK" || AWK=awk
13242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13243 # The default lists apply if the user does not specify any file.
13249 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13250 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13254 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13266 # Handling of the options.
13267 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13269 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13270 $as_echo "$ac_cs_version"; exit ;;
13271 --config | --confi | --conf | --con | --co | --c )
13272 $as_echo "$ac_cs_config"; exit ;;
13273 --debug | --debu | --deb | --de | --d | -d )
13275 --file | --fil | --fi | --f )
13278 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13279 '') as_fn_error $? "missing file argument" ;;
13281 as_fn_append CONFIG_FILES " '$ac_optarg'"
13282 ac_need_defaults=false;;
13283 --header | --heade | --head | --hea )
13286 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13288 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13289 ac_need_defaults=false;;
13291 # Conflict between --help and --header
13292 as_fn_error $? "ambiguous option: \`$1'
13293 Try \`$0 --help' for more information.";;
13294 --help | --hel | -h )
13295 $as_echo "$ac_cs_usage"; exit ;;
13296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13297 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13300 # This is an error.
13301 -*) as_fn_error $? "unrecognized option: \`$1'
13302 Try \`$0 --help' for more information." ;;
13304 *) as_fn_append ac_config_targets " $1"
13305 ac_need_defaults=false ;;
13311 ac_configure_extra_args=
13313 if $ac_cs_silent; then
13315 ac_configure_extra_args="$ac_configure_extra_args --silent"
13319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13320 if \$ac_cs_recheck; then
13321 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13323 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13324 CONFIG_SHELL='$SHELL'
13325 export CONFIG_SHELL
13330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13335 ## Running $as_me. ##
13341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13345 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13348 # The HP-UX ksh and POSIX shell print the target directory to stdout
13349 # if CDPATH is set.
13350 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13352 sed_quote_subst='$sed_quote_subst'
13353 double_quote_subst='$double_quote_subst'
13354 delay_variable_subst='$delay_variable_subst'
13355 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13356 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13357 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13358 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13359 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13360 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13361 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13362 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13363 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13364 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13365 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13366 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13367 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13368 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13369 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13370 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13371 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13372 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13373 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13374 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13375 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13376 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13377 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13378 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13379 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13380 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13381 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13382 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13383 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13384 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13385 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13386 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13387 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13388 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13389 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13390 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13391 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13392 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13393 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13394 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13395 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13396 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13397 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13398 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13399 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13400 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13401 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13402 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13403 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13404 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13405 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13406 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13407 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13408 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13409 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13410 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13411 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13412 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13413 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13414 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13415 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13416 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13417 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13418 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13419 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13420 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13421 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13422 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13423 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13424 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13425 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13426 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13427 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13428 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13429 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13430 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13431 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13432 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13433 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13434 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13435 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13436 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13437 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13438 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13439 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13440 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13441 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13442 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13443 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13444 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13445 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13446 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13447 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13448 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13449 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13450 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13451 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13452 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13453 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13454 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13455 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13456 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13457 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13458 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13459 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13460 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13461 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13462 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13463 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13464 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13465 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13466 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13467 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13468 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13469 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13470 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13471 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13472 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13473 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13474 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13475 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13476 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13477 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13478 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13479 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13480 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13481 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13482 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13483 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13484 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13487 LTCFLAGS='$LTCFLAGS'
13488 compiler='$compiler_DEFAULT'
13490 # A function that is used when there is no print builtin or printf.
13491 func_fallback_echo ()
13493 eval 'cat <<_LTECHO_EOF
13498 # Quote evaled strings.
13513 deplibs_check_method \
13518 sharedlib_from_linklib_cmd \
13521 archiver_list_spec \
13527 lt_cv_sys_global_symbol_pipe \
13528 lt_cv_sys_global_symbol_to_cdecl \
13529 lt_cv_sys_global_symbol_to_c_name_address \
13530 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13531 nm_file_list_spec \
13532 lt_prog_compiler_no_builtin_flag \
13533 lt_prog_compiler_pic \
13534 lt_prog_compiler_wl \
13535 lt_prog_compiler_static \
13536 lt_cv_prog_compiler_c_o \
13545 export_dynamic_flag_spec \
13546 whole_archive_flag_spec \
13547 compiler_needs_object \
13549 allow_undefined_flag \
13550 no_undefined_flag \
13551 hardcode_libdir_flag_spec \
13552 hardcode_libdir_separator \
13556 variables_saved_for_relink \
13558 library_names_spec \
13560 install_override_mode \
13564 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13565 *[\\\\\\\`\\"\\\$]*)
13566 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13569 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13574 # Double-quote double-evaled strings.
13575 for var in reload_cmds \
13576 old_postinstall_cmds \
13577 old_postuninstall_cmds \
13579 extract_expsyms_cmds \
13580 old_archive_from_new_cmds \
13581 old_archive_from_expsyms_cmds \
13583 archive_expsym_cmds \
13585 module_expsym_cmds \
13586 export_symbols_cmds \
13590 postuninstall_cmds \
13592 sys_lib_search_path_spec \
13593 sys_lib_dlsearch_path_spec; do
13594 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13595 *[\\\\\\\`\\"\\\$]*)
13596 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13599 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13604 ac_aux_dir='$ac_aux_dir'
13605 xsi_shell='$xsi_shell'
13606 lt_shell_append='$lt_shell_append'
13608 # See if we are running on zsh, and set the options which allow our
13609 # commands through without removal of \ escapes INIT.
13610 if test -n "\${ZSH_VERSION+set}" ; then
13611 setopt NO_GLOB_SUBST
13617 TIMESTAMP='$TIMESTAMP'
13626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13628 # Handling of arguments.
13629 for ac_config_target in $ac_config_targets
13631 case $ac_config_target in
13632 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13633 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13634 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13635 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13636 "libzip.pc") CONFIG_FILES="$CONFIG_FILES libzip.pc" ;;
13637 "libzip-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libzip-uninstalled.pc" ;;
13638 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
13639 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13640 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13641 "regress/Makefile") CONFIG_FILES="$CONFIG_FILES regress/Makefile" ;;
13642 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13644 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13649 # If the user did not use the arguments to specify the items to instantiate,
13650 # then the envvar interface is used. Set only those that are not.
13651 # We use the long form for the default assignment because of an extremely
13652 # bizarre bug on SunOS 4.1.3.
13653 if $ac_need_defaults; then
13654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13659 # Have a temporary directory for convenience. Make it in the build tree
13660 # simply because there is no reason against having it here, and in addition,
13661 # creating and moving files from /tmp can sometimes cause problems.
13662 # Hook for its removal unless debugging.
13663 # Note that there is a small window in which the directory will not be cleaned:
13664 # after its creation but before its name has been assigned to `$tmp'.
13668 trap 'exit_status=$?
13669 : "${ac_tmp:=$tmp}"
13670 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13672 trap 'as_fn_exit 1' 1 2 13 15
13674 # Create a (secure) tmp directory for tmp files.
13677 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13681 tmp=./conf$$-$RANDOM
13682 (umask 077 && mkdir "$tmp")
13683 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13686 # Set up the scripts for CONFIG_FILES section.
13687 # No need to generate them if there are no CONFIG_FILES.
13688 # This happens for instance with `./config.status config.h'.
13689 if test -n "$CONFIG_FILES"; then
13692 ac_cr=`echo X | tr X '\015'`
13693 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13694 # But we know of no other shell where ac_cr would be empty at this
13695 # point, so we can use a bashism as a fallback.
13696 if test "x$ac_cr" = x; then
13697 eval ac_cr=\$\'\\r\'
13699 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13700 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13703 ac_cs_awk_cr=$ac_cr
13706 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13711 echo "cat >conf$$subs.awk <<_ACEOF" &&
13712 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13714 } >conf$$subs.sh ||
13715 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13718 for ac_last_try in false false false false false :; do
13719 . ./conf$$subs.sh ||
13720 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13722 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13723 if test $ac_delim_n = $ac_delim_num; then
13725 elif $ac_last_try; then
13726 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13728 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13731 rm -f conf$$subs.sh
13733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13734 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13738 s/^/S["/; s/!.*/"]=/
13748 s/\(.\{148\}\)..*/\1/
13750 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13755 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13762 s/\(.\{148\}\)..*/\1/
13764 s/["\\]/\\&/g; s/^/"/; s/$/"/
13768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13773 ' <conf$$subs.awk | sed '
13778 ' >>$CONFIG_STATUS || ac_write_fail=1
13779 rm -f conf$$subs.awk
13780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13782 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13783 for (key in S) S_is_set[key] = 1
13789 nfields = split(line, field, "@")
13791 len = length(field[1])
13792 for (i = 2; i < nfields; i++) {
13794 keylen = length(key)
13795 if (S_is_set[key]) {
13797 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13798 len += length(value) + length(field[++i])
13809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13810 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13811 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13814 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13815 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13818 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13819 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13820 # trailing colons and then remove the whole line if VPATH becomes empty
13821 # (actually we leave an empty line to preserve line numbers).
13822 if test "x$srcdir" = x.; then
13823 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13842 fi # test -n "$CONFIG_FILES"
13844 # Set up the scripts for CONFIG_HEADERS section.
13845 # No need to generate them if there are no CONFIG_HEADERS.
13846 # This happens for instance with `./config.status Makefile'.
13847 if test -n "$CONFIG_HEADERS"; then
13848 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13852 # Transform confdefs.h into an awk script `defines.awk', embedded as
13853 # here-document in config.status, that substitutes the proper values into
13854 # config.h.in to produce config.h.
13856 # Create a delimiter string that does not exist in confdefs.h, to ease
13857 # handling of long lines.
13859 for ac_last_try in false false :; do
13860 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13861 if test -z "$ac_tt"; then
13863 elif $ac_last_try; then
13864 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13866 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13870 # For the awk script, D is an array of macro values keyed by name,
13871 # likewise P contains macro parameters if any. Preserve backslash
13872 # newline sequences.
13874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13876 s/.\{148\}/&'"$ac_delim"'/g
13879 s/^[ ]*#[ ]*define[ ][ ]*/ /
13886 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13888 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13892 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13893 D["\1"]=" \3\\\\\\n"\\/p
13895 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13900 s/.\{148\}/&'"$ac_delim"'/g
13905 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13908 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13910 ' <confdefs.h | sed '
13911 s/'"$ac_delim"'/"\\\
13912 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13915 for (key in D) D_is_set[key] = 1
13918 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13920 split(line, arg, " ")
13921 if (arg[1] == "#") {
13925 defundef = substr(arg[1], 2)
13928 split(mac1, mac2, "(") #)
13930 prefix = substr(line, 1, index(line, defundef) - 1)
13931 if (D_is_set[macro]) {
13932 # Preserve the white space surrounding the "#".
13933 print prefix "define", macro P[macro] D[macro]
13936 # Replace #undef with comments. This is necessary, for example,
13937 # in the case of _POSIX_SOURCE, which is predefined and required
13938 # on some systems where configure will not decide to define it.
13939 if (defundef == "undef") {
13940 print "/*", prefix defundef, macro, "*/"
13948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13949 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13950 fi # test -n "$CONFIG_HEADERS"
13953 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13958 :[FHLC]) ac_mode=$ac_tag; continue;;
13960 case $ac_mode$ac_tag in
13962 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13963 :[FH]-) ac_tag=-:-;;
13964 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13981 -) ac_f="$ac_tmp/stdin";;
13982 *) # Look for the file first in the build tree, then in the source tree
13983 # (if the path is not absolute). The absolute path cannot be DOS-style,
13984 # because $ac_f cannot contain `:'.
13988 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13990 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13992 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13993 as_fn_append ac_file_inputs " '$ac_f'"
13996 # Let's still pretend it is `configure' which instantiates (i.e., don't
13997 # use $as_me), people would be surprised to read:
13998 # /* config.h. Generated by config.status. */
13999 configure_input='Generated from '`
14000 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14002 if test x"$ac_file" != x-; then
14003 configure_input="$ac_file. $configure_input"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14005 $as_echo "$as_me: creating $ac_file" >&6;}
14007 # Neutralize special characters interpreted by sed in replacement strings.
14008 case $configure_input in #(
14009 *\&* | *\|* | *\\* )
14010 ac_sed_conf_input=`$as_echo "$configure_input" |
14011 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14012 *) ac_sed_conf_input=$configure_input;;
14016 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14022 ac_dir=`$as_dirname -- "$ac_file" ||
14023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14024 X"$ac_file" : 'X\(//\)[^/]' \| \
14025 X"$ac_file" : 'X\(//\)$' \| \
14026 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14027 $as_echo X"$ac_file" |
14028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14032 /^X\(\/\/\)[^/].*/{
14045 as_dir="$ac_dir"; as_fn_mkdir_p
14049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14051 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14052 # A ".." for each directory in $ac_dir_suffix.
14053 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14054 case $ac_top_builddir_sub in
14055 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14056 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14059 ac_abs_top_builddir=$ac_pwd
14060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14061 # for backward compatibility:
14062 ac_top_builddir=$ac_top_build_prefix
14065 .) # We are building in place.
14067 ac_top_srcdir=$ac_top_builddir_sub
14068 ac_abs_top_srcdir=$ac_pwd ;;
14069 [\\/]* | ?:[\\/]* ) # Absolute name.
14070 ac_srcdir=$srcdir$ac_dir_suffix;
14071 ac_top_srcdir=$srcdir
14072 ac_abs_top_srcdir=$srcdir ;;
14073 *) # Relative name.
14074 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14075 ac_top_srcdir=$ac_top_build_prefix$srcdir
14076 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14088 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14089 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14091 ac_MKDIR_P=$MKDIR_P
14093 [\\/$]* | ?:[\\/]* ) ;;
14094 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14099 # If the template does not know about datarootdir, expand it.
14100 # FIXME: This hack should be removed a few years after 2.60.
14101 ac_datarootdir_hack=; ac_datarootdir_seen=
14112 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14113 *datarootdir*) ac_datarootdir_seen=yes;;
14114 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14116 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14119 ac_datarootdir_hack='
14120 s&@datadir@&$datadir&g
14121 s&@docdir@&$docdir&g
14122 s&@infodir@&$infodir&g
14123 s&@localedir@&$localedir&g
14124 s&@mandir@&$mandir&g
14125 s&\\\${datarootdir}&$datarootdir&g' ;;
14129 # Neutralize VPATH when `$srcdir' = `.'.
14130 # Shell code in configure.ac might set extrasub.
14131 # FIXME: do we really want to maintain this feature?
14132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14133 ac_sed_extra="$ac_vpsub
14136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14139 s|@configure_input@|$ac_sed_conf_input|;t t
14140 s&@top_builddir@&$ac_top_builddir_sub&;t t
14141 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14142 s&@srcdir@&$ac_srcdir&;t t
14143 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14144 s&@top_srcdir@&$ac_top_srcdir&;t t
14145 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14146 s&@builddir@&$ac_builddir&;t t
14147 s&@abs_builddir@&$ac_abs_builddir&;t t
14148 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14149 s&@INSTALL@&$ac_INSTALL&;t t
14150 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14151 $ac_datarootdir_hack
14153 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14154 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14156 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14157 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14158 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14159 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14161 which seems to be undefined. Please make sure it is defined" >&5
14162 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14163 which seems to be undefined. Please make sure it is defined" >&2;}
14165 rm -f "$ac_tmp/stdin"
14167 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14168 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14170 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14176 if test x"$ac_file" != x-; then
14178 $as_echo "/* $configure_input */" \
14179 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14180 } >"$ac_tmp/config.h" \
14181 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14182 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14184 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14187 mv "$ac_tmp/config.h" "$ac_file" \
14188 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14191 $as_echo "/* $configure_input */" \
14192 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14193 || as_fn_error $? "could not create -" "$LINENO" 5
14195 # Compute "$ac_file"'s index in $config_headers.
14198 for _am_header in $config_headers :; do
14199 case $_am_header in
14200 $_am_arg | $_am_arg:* )
14203 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14206 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14207 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14208 X"$_am_arg" : 'X\(//\)[^/]' \| \
14209 X"$_am_arg" : 'X\(//\)$' \| \
14210 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14211 $as_echo X"$_am_arg" |
14212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14216 /^X\(\/\/\)[^/].*/{
14228 s/.*/./; q'`/stamp-h$_am_stamp_count
14231 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14232 $as_echo "$as_me: executing $ac_file commands" >&6;}
14237 case $ac_file$ac_mode in
14238 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14239 # Older Autoconf quotes --file arguments for eval, but not when files
14240 # are listed without --file. Let's play safe and only enable the eval
14241 # if we detect the quoting.
14242 case $CONFIG_FILES in
14243 *\'*) eval set x "$CONFIG_FILES" ;;
14244 *) set x $CONFIG_FILES ;;
14249 # Strip MF so we end up with the name of the file.
14250 mf=`echo "$mf" | sed -e 's/:.*$//'`
14251 # Check whether this is an Automake generated Makefile or not.
14252 # We used to match only the files named 'Makefile.in', but
14253 # some people rename them; so instead we look at the file content.
14254 # Grep'ing the first line is not enough: some people post-process
14255 # each Makefile.in and add a new line on top of each file to say so.
14256 # Grep'ing the whole file is not good either: AIX grep has a line
14257 # limit of 2048, but all sed's we know have understand at least 4000.
14258 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14259 dirpart=`$as_dirname -- "$mf" ||
14260 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14261 X"$mf" : 'X\(//\)[^/]' \| \
14262 X"$mf" : 'X\(//\)$' \| \
14263 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14269 /^X\(\/\/\)[^/].*/{
14285 # Extract the definition of DEPDIR, am__include, and am__quote
14286 # from the Makefile without running 'make'.
14287 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14288 test -z "$DEPDIR" && continue
14289 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14290 test -z "$am__include" && continue
14291 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14292 # Find all dependency output files, they are included files with
14293 # $(DEPDIR) in their names. We invoke sed twice because it is the
14294 # simplest approach to changing $(DEPDIR) to its actual value in the
14296 for file in `sed -n "
14297 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14298 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14299 # Make sure the directory exists.
14300 test -f "$dirpart/$file" && continue
14301 fdir=`$as_dirname -- "$file" ||
14302 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14303 X"$file" : 'X\(//\)[^/]' \| \
14304 X"$file" : 'X\(//\)$' \| \
14305 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14306 $as_echo X"$file" |
14307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14311 /^X\(\/\/\)[^/].*/{
14324 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14325 # echo "creating $dirpart/$file"
14326 echo '# dummy' > "$dirpart/$file"
14333 # See if we are running on zsh, and set the options which allow our
14334 # commands through without removal of \ escapes.
14335 if test -n "${ZSH_VERSION+set}" ; then
14336 setopt NO_GLOB_SUBST
14339 cfgfile="${ofile}T"
14340 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14343 cat <<_LT_EOF >> "$cfgfile"
14346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14351 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14352 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14354 # Written by Gordon Matzigkeit, 1996
14356 # This file is part of GNU Libtool.
14358 # GNU Libtool is free software; you can redistribute it and/or
14359 # modify it under the terms of the GNU General Public License as
14360 # published by the Free Software Foundation; either version 2 of
14361 # the License, or (at your option) any later version.
14363 # As a special exception to the GNU General Public License,
14364 # if you distribute this file as part of a program or library that
14365 # is built using GNU Libtool, you may include this file under the
14366 # same distribution terms that you use for the rest of that program.
14368 # GNU Libtool is distributed in the hope that it will be useful,
14369 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14370 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14371 # GNU General Public License for more details.
14373 # You should have received a copy of the GNU General Public License
14374 # along with GNU Libtool; see the file COPYING. If not, a copy
14375 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14376 # obtained by writing to the Free Software Foundation, Inc.,
14377 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14380 # The names of the tagged configurations supported by this script.
14383 # ### BEGIN LIBTOOL CONFIG
14385 # Which release of libtool.m4 was used?
14386 macro_version=$macro_version
14387 macro_revision=$macro_revision
14389 # Whether or not to build shared libraries.
14390 build_libtool_libs=$enable_shared
14392 # Whether or not to build static libraries.
14393 build_old_libs=$enable_static
14395 # What type of objects to build.
14398 # Whether or not to optimize for fast installation.
14399 fast_install=$enable_fast_install
14401 # Shell to use when invoking shell scripts.
14404 # An echo program that protects backslashes.
14407 # The PATH separator for the build system.
14408 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14411 host_alias=$host_alias
14415 # The build system.
14416 build_alias=$build_alias
14420 # A sed program that does not truncate output.
14423 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14424 Xsed="\$SED -e 1s/^X//"
14426 # A grep program that handles long lines.
14432 # A literal string matcher.
14435 # A BSD- or MS-compatible name lister.
14438 # Whether we need soft or hard links.
14441 # What is the maximum length of a command?
14442 max_cmd_len=$max_cmd_len
14444 # Object file suffix (normally "o").
14447 # Executable file suffix (normally "").
14450 # whether the shell understands "unset".
14453 # turn spaces into newlines.
14456 # turn newlines into spaces.
14459 # convert \$build file names to \$host format.
14460 to_host_file_cmd=$lt_cv_to_host_file_cmd
14462 # convert \$build files to toolchain format.
14463 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14465 # An object symbol dumper.
14466 OBJDUMP=$lt_OBJDUMP
14468 # Method to check whether dependent libraries are shared objects.
14469 deplibs_check_method=$lt_deplibs_check_method
14471 # Command to use when deplibs_check_method = "file_magic".
14472 file_magic_cmd=$lt_file_magic_cmd
14474 # How to find potential files when deplibs_check_method = "file_magic".
14475 file_magic_glob=$lt_file_magic_glob
14477 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14478 want_nocaseglob=$lt_want_nocaseglob
14480 # DLL creation program.
14481 DLLTOOL=$lt_DLLTOOL
14483 # Command to associate shared and link libraries.
14484 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14489 # Flags to create an archive.
14490 AR_FLAGS=$lt_AR_FLAGS
14492 # How to feed a file listing to the archiver.
14493 archiver_list_spec=$lt_archiver_list_spec
14495 # A symbol stripping program.
14498 # Commands used to install an old-style archive.
14500 old_postinstall_cmds=$lt_old_postinstall_cmds
14501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14503 # Whether to use a lock for old archive extraction.
14504 lock_old_archive_extraction=$lock_old_archive_extraction
14509 # LTCC compiler flags.
14510 LTCFLAGS=$lt_CFLAGS
14512 # Take the output of nm and produce a listing of raw symbols and C names.
14513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14515 # Transform the output of nm in a proper C declaration.
14516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14518 # Transform the output of nm in a C name address pair.
14519 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14521 # Transform the output of nm in a C name address pair when lib prefix is needed.
14522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14524 # Specify filename containing input files for \$NM.
14525 nm_file_list_spec=$lt_nm_file_list_spec
14527 # The root where to search for dependent libraries,and in which our libraries should be installed.
14528 lt_sysroot=$lt_sysroot
14530 # The name of the directory that contains temporary libtool files.
14533 # Used to examine libraries when file_magic_cmd begins with "file".
14534 MAGIC_CMD=$MAGIC_CMD
14536 # Must we lock files when doing compilation?
14537 need_locks=$lt_need_locks
14540 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14542 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14543 DSYMUTIL=$lt_DSYMUTIL
14545 # Tool to change global to local symbols on Mac OS X.
14548 # Tool to manipulate fat objects and archives on Mac OS X.
14551 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14554 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14555 OTOOL64=$lt_OTOOL64
14557 # Old archive suffix (normally "a").
14560 # Shared library suffix (normally ".so").
14561 shrext_cmds=$lt_shrext_cmds
14563 # The commands to extract the exported symbol list from a shared archive.
14564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14566 # Variables whose values should be saved in libtool wrapper scripts and
14567 # restored at link time.
14568 variables_saved_for_relink=$lt_variables_saved_for_relink
14570 # Do we need the "lib" prefix for modules?
14571 need_lib_prefix=$need_lib_prefix
14573 # Do we need a version for libraries?
14574 need_version=$need_version
14576 # Library versioning type.
14577 version_type=$version_type
14579 # Shared library runtime path variable.
14580 runpath_var=$runpath_var
14582 # Shared library path variable.
14583 shlibpath_var=$shlibpath_var
14585 # Is shlibpath searched before the hard-coded library search path?
14586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14588 # Format of library name prefix.
14589 libname_spec=$lt_libname_spec
14591 # List of archive names. First name is the real one, the rest are links.
14592 # The last name is the one that the linker finds with -lNAME
14593 library_names_spec=$lt_library_names_spec
14595 # The coded name of the library, if different from the real name.
14596 soname_spec=$lt_soname_spec
14598 # Permission mode override for installation of shared libraries.
14599 install_override_mode=$lt_install_override_mode
14601 # Command to use after installation of a shared archive.
14602 postinstall_cmds=$lt_postinstall_cmds
14604 # Command to use after uninstallation of a shared archive.
14605 postuninstall_cmds=$lt_postuninstall_cmds
14607 # Commands used to finish a libtool library installation in a directory.
14608 finish_cmds=$lt_finish_cmds
14610 # As "finish_cmds", except a single script fragment to be evaled but
14612 finish_eval=$lt_finish_eval
14614 # Whether we should hardcode library paths into libraries.
14615 hardcode_into_libs=$hardcode_into_libs
14617 # Compile-time system search path for libraries.
14618 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14620 # Run-time system search path for libraries.
14621 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14623 # Whether dlopen is supported.
14624 dlopen_support=$enable_dlopen
14626 # Whether dlopen of programs is supported.
14627 dlopen_self=$enable_dlopen_self
14629 # Whether dlopen of statically linked programs is supported.
14630 dlopen_self_static=$enable_dlopen_self_static
14632 # Commands to strip libraries.
14633 old_striplib=$lt_old_striplib
14634 striplib=$lt_striplib
14637 # The linker used to build libraries.
14640 # How to create reloadable object files.
14641 reload_flag=$lt_reload_flag
14642 reload_cmds=$lt_reload_cmds
14644 # Commands used to build an old-style archive.
14645 old_archive_cmds=$lt_old_archive_cmds
14647 # A language specific compiler.
14650 # Is the compiler the GNU compiler?
14653 # Compiler flag to turn off builtin functions.
14654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14656 # Additional compiler flags for building library objects.
14657 pic_flag=$lt_lt_prog_compiler_pic
14659 # How to pass a linker flag through the compiler.
14660 wl=$lt_lt_prog_compiler_wl
14662 # Compiler flag to prevent dynamic linking.
14663 link_static_flag=$lt_lt_prog_compiler_static
14665 # Does compiler simultaneously support -c and -o options?
14666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14668 # Whether or not to add -lc for building shared libraries.
14669 build_libtool_need_lc=$archive_cmds_need_lc
14671 # Whether or not to disallow shared libs when runtime libs are static.
14672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14674 # Compiler flag to allow reflexive dlopens.
14675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14677 # Compiler flag to generate shared objects directly from archives.
14678 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14680 # Whether the compiler copes with passing no objects directly.
14681 compiler_needs_object=$lt_compiler_needs_object
14683 # Create an old-style archive from a shared archive.
14684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14686 # Create a temporary old-style archive to link instead of a shared archive.
14687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14689 # Commands used to build a shared archive.
14690 archive_cmds=$lt_archive_cmds
14691 archive_expsym_cmds=$lt_archive_expsym_cmds
14693 # Commands used to build a loadable module if different from building
14694 # a shared archive.
14695 module_cmds=$lt_module_cmds
14696 module_expsym_cmds=$lt_module_expsym_cmds
14698 # Whether we are building with GNU ld or not.
14699 with_gnu_ld=$lt_with_gnu_ld
14701 # Flag that allows shared libraries with undefined symbols to be built.
14702 allow_undefined_flag=$lt_allow_undefined_flag
14704 # Flag that enforces no undefined symbols.
14705 no_undefined_flag=$lt_no_undefined_flag
14707 # Flag to hardcode \$libdir into a binary during linking.
14708 # This must work even if \$libdir does not exist
14709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14711 # Whether we need a single "-rpath" flag with a separated argument.
14712 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14714 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14715 # DIR into the resulting binary.
14716 hardcode_direct=$hardcode_direct
14718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14719 # DIR into the resulting binary and the resulting library dependency is
14720 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14721 # library is relocated.
14722 hardcode_direct_absolute=$hardcode_direct_absolute
14724 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14725 # into the resulting binary.
14726 hardcode_minus_L=$hardcode_minus_L
14728 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14729 # into the resulting binary.
14730 hardcode_shlibpath_var=$hardcode_shlibpath_var
14732 # Set to "yes" if building a shared library automatically hardcodes DIR
14733 # into the library and all subsequent libraries and executables linked
14735 hardcode_automatic=$hardcode_automatic
14737 # Set to yes if linker adds runtime paths of dependent libraries
14738 # to runtime path list.
14739 inherit_rpath=$inherit_rpath
14741 # Whether libtool must link a program against all its dependency libraries.
14742 link_all_deplibs=$link_all_deplibs
14744 # Set to "yes" if exported symbols are required.
14745 always_export_symbols=$always_export_symbols
14747 # The commands to list exported symbols.
14748 export_symbols_cmds=$lt_export_symbols_cmds
14750 # Symbols that should not be listed in the preloaded symbols.
14751 exclude_expsyms=$lt_exclude_expsyms
14753 # Symbols that must always be exported.
14754 include_expsyms=$lt_include_expsyms
14756 # Commands necessary for linking programs (against libraries) with templates.
14757 prelink_cmds=$lt_prelink_cmds
14759 # Commands necessary for finishing linking programs.
14760 postlink_cmds=$lt_postlink_cmds
14762 # Specify filename containing input files.
14763 file_list_spec=$lt_file_list_spec
14765 # How to hardcode a shared library path into an executable.
14766 hardcode_action=$hardcode_action
14768 # ### END LIBTOOL CONFIG
14774 cat <<\_LT_EOF >> "$cfgfile"
14775 # AIX sometimes has problems with the GCC collect2 program. For some
14776 # reason, if we set the COLLECT_NAMES environment variable, the problems
14777 # vanish in a puff of smoke.
14778 if test "X${COLLECT_NAMES+set}" != Xset; then
14780 export COLLECT_NAMES
14787 ltmain="$ac_aux_dir/ltmain.sh"
14790 # We use sed instead of cat because bash on DJGPP gets confused if
14791 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14792 # text mode, it properly converts lines to CR/LF. This bash problem
14793 # is reportedly fixed, but why not run on old versions too?
14794 sed '$q' "$ltmain" >> "$cfgfile" \
14795 || (rm -f "$cfgfile"; exit 1)
14797 if test x"$xsi_shell" = xyes; then
14798 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14802 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14803 \ * ) func_dirname_result="${3}" ;;\
14805 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14806 && mv -f "$cfgfile.tmp" "$cfgfile" \
14807 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14808 test 0 -eq $? || _lt_function_replace_fail=:
14811 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14814 \ func_basename_result="${1##*/}"\
14815 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14816 && mv -f "$cfgfile.tmp" "$cfgfile" \
14817 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14818 test 0 -eq $? || _lt_function_replace_fail=:
14821 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14822 func_dirname_and_basename ()\
14825 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14826 \ * ) func_dirname_result="${3}" ;;\
14828 \ func_basename_result="${1##*/}"\
14829 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14830 && mv -f "$cfgfile.tmp" "$cfgfile" \
14831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14832 test 0 -eq $? || _lt_function_replace_fail=:
14835 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14838 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14839 \ # positional parameters, so assign one to ordinary parameter first.\
14840 \ func_stripname_result=${3}\
14841 \ func_stripname_result=${func_stripname_result#"${1}"}\
14842 \ func_stripname_result=${func_stripname_result%"${2}"}\
14843 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14844 && mv -f "$cfgfile.tmp" "$cfgfile" \
14845 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14846 test 0 -eq $? || _lt_function_replace_fail=:
14849 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14850 func_split_long_opt ()\
14852 \ func_split_long_opt_name=${1%%=*}\
14853 \ func_split_long_opt_arg=${1#*=}\
14854 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14855 && mv -f "$cfgfile.tmp" "$cfgfile" \
14856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14857 test 0 -eq $? || _lt_function_replace_fail=:
14860 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14861 func_split_short_opt ()\
14863 \ func_split_short_opt_arg=${1#??}\
14864 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14865 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14866 && mv -f "$cfgfile.tmp" "$cfgfile" \
14867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14868 test 0 -eq $? || _lt_function_replace_fail=:
14871 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14875 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14876 \ *) func_lo2o_result=${1} ;;\
14878 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14879 && mv -f "$cfgfile.tmp" "$cfgfile" \
14880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14881 test 0 -eq $? || _lt_function_replace_fail=:
14884 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14887 func_xform_result=${1%.*}.lo\
14888 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14889 && mv -f "$cfgfile.tmp" "$cfgfile" \
14890 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14891 test 0 -eq $? || _lt_function_replace_fail=:
14894 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14897 func_arith_result=$(( $* ))\
14898 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14899 && mv -f "$cfgfile.tmp" "$cfgfile" \
14900 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14901 test 0 -eq $? || _lt_function_replace_fail=:
14904 sed -e '/^func_len ()$/,/^} # func_len /c\
14907 func_len_result=${#1}\
14908 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14909 && mv -f "$cfgfile.tmp" "$cfgfile" \
14910 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14911 test 0 -eq $? || _lt_function_replace_fail=:
14915 if test x"$lt_shell_append" = xyes; then
14916 sed -e '/^func_append ()$/,/^} # func_append /c\
14919 eval "${1}+=\\${2}"\
14920 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14921 && mv -f "$cfgfile.tmp" "$cfgfile" \
14922 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14923 test 0 -eq $? || _lt_function_replace_fail=:
14926 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14927 func_append_quoted ()\
14929 \ func_quote_for_eval "${2}"\
14930 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14931 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14932 && mv -f "$cfgfile.tmp" "$cfgfile" \
14933 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14934 test 0 -eq $? || _lt_function_replace_fail=:
14937 # Save a `func_append' function call where possible by direct use of '+='
14938 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14939 && mv -f "$cfgfile.tmp" "$cfgfile" \
14940 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14941 test 0 -eq $? || _lt_function_replace_fail=:
14943 # Save a `func_append' function call even when '+=' is not available
14944 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14945 && mv -f "$cfgfile.tmp" "$cfgfile" \
14946 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14947 test 0 -eq $? || _lt_function_replace_fail=:
14950 if test x"$_lt_function_replace_fail" = x":"; then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14952 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14956 mv -f "$cfgfile" "$ofile" ||
14957 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14968 ac_clean_files=$ac_clean_files_save
14970 test $ac_write_fail = 0 ||
14971 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14974 # configure is writing to config.log, and then calls config.status.
14975 # config.status does its own redirection, appending to config.log.
14976 # Unfortunately, on DOS this fails, as config.log is still kept open
14977 # by configure, so config.status won't be able to write to it; its
14978 # output is simply discarded. So we exec the FD to /dev/null,
14979 # effectively closing config.log, so it can be properly (re)opened and
14980 # appended to by config.status. When coming back to configure, we
14981 # need to make the FD available again.
14982 if test "$no_create" != yes; then
14984 ac_config_status_args=
14985 test "$silent" = yes &&
14986 ac_config_status_args="$ac_config_status_args --quiet"
14988 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14990 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14991 # would make configure fail if this is the last instruction.
14992 $ac_cs_success || as_fn_exit 1
14994 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14996 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}