2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libpng 1.5.14.
5 # Report bugs to <png-mng-implement@lists.sourceforge.net>.
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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
278 $0: png-mng-implement@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
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='libpng'
592 PACKAGE_TARNAME='libpng'
593 PACKAGE_VERSION='1.5.14'
594 PACKAGE_STRING='libpng 1.5.14'
595 PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
598 ac_unique_file="pngget.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
648 HAVE_LD_VERSION_SCRIPT_FALSE
649 HAVE_LD_VERSION_SCRIPT_TRUE
650 HAVE_SOLARIS_LD_FALSE
687 am__fastdepCCAS_FALSE
710 MAINTAINER_MODE_FALSE
720 INSTALL_STRIP_PROGRAM
762 program_transform_name
775 enable_option_checking
776 enable_maintainer_mode
777 enable_dependency_tracking
790 ac_precious_vars='build_alias
803 # Initialize some variables set by options.
805 ac_init_version=false
806 ac_unrecognized_opts=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name=s,x,x,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 includedir='${prefix}/include'
840 oldincludedir='/usr/include'
841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir='${datarootdir}/info'
847 libdir='${exec_prefix}/lib'
848 localedir='${datarootdir}/locale'
849 mandir='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\$ac_option
863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879 -build | --build | --buil | --bui | --bu)
880 ac_prev=build_alias ;;
881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
882 build_alias=$ac_optarg ;;
884 -cache-file | --cache-file | --cache-fil | --cache-fi \
885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
886 ac_prev=cache_file ;;
887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
889 cache_file=$ac_optarg ;;
892 cache_file=config.cache ;;
894 -datadir | --datadir | --datadi | --datad)
896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
897 datadir=$ac_optarg ;;
899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
900 | --dataroo | --dataro | --datar)
901 ac_prev=datarootdir ;;
902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
904 datarootdir=$ac_optarg ;;
906 -disable-* | --disable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=no ;;
922 -docdir | --docdir | --docdi | --doc | --do)
924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932 -enable-* | --enable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error $? "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
946 eval enable_$ac_useropt=\$ac_optarg ;;
948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
950 | --exec | --exe | --ex)
951 ac_prev=exec_prefix ;;
952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
954 | --exec=* | --exe=* | --ex=*)
955 exec_prefix=$ac_optarg ;;
957 -gas | --gas | --ga | --g)
958 # Obsolete; use --with-gas.
961 -help | --help | --hel | --he | -h)
963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
964 ac_init_help=recursive ;;
965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
966 ac_init_help=short ;;
968 -host | --host | --hos | --ho)
969 ac_prev=host_alias ;;
970 -host=* | --host=* | --hos=* | --ho=*)
971 host_alias=$ac_optarg ;;
973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
977 htmldir=$ac_optarg ;;
979 -includedir | --includedir | --includedi | --included | --include \
980 | --includ | --inclu | --incl | --inc)
981 ac_prev=includedir ;;
982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
983 | --includ=* | --inclu=* | --incl=* | --inc=*)
984 includedir=$ac_optarg ;;
986 -infodir | --infodir | --infodi | --infod | --info | --inf)
988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
989 infodir=$ac_optarg ;;
991 -libdir | --libdir | --libdi | --libd)
993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
997 | --libexe | --libex | --libe)
998 ac_prev=libexecdir ;;
999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1000 | --libexe=* | --libex=* | --libe=*)
1001 libexecdir=$ac_optarg ;;
1003 -localedir | --localedir | --localedi | --localed | --locale)
1004 ac_prev=localedir ;;
1005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1006 localedir=$ac_optarg ;;
1008 -localstatedir | --localstatedir | --localstatedi | --localstated \
1009 | --localstate | --localstat | --localsta | --localst | --locals)
1010 ac_prev=localstatedir ;;
1011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1013 localstatedir=$ac_optarg ;;
1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1018 mandir=$ac_optarg ;;
1020 -nfp | --nfp | --nf)
1021 # Obsolete; use --without-fp.
1024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1025 | --no-cr | --no-c | -n)
1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1034 | --oldin | --oldi | --old | --ol | --o)
1035 ac_prev=oldincludedir ;;
1036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1039 oldincludedir=$ac_optarg ;;
1041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1044 prefix=$ac_optarg ;;
1046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1047 | --program-pre | --program-pr | --program-p)
1048 ac_prev=program_prefix ;;
1049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1051 program_prefix=$ac_optarg ;;
1053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1054 | --program-suf | --program-su | --program-s)
1055 ac_prev=program_suffix ;;
1056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1058 program_suffix=$ac_optarg ;;
1060 -program-transform-name | --program-transform-name \
1061 | --program-transform-nam | --program-transform-na \
1062 | --program-transform-n | --program-transform- \
1063 | --program-transform | --program-transfor \
1064 | --program-transfo | --program-transf \
1065 | --program-trans | --program-tran \
1066 | --progr-tra | --program-tr | --program-t)
1067 ac_prev=program_transform_name ;;
1068 -program-transform-name=* | --program-transform-name=* \
1069 | --program-transform-nam=* | --program-transform-na=* \
1070 | --program-transform-n=* | --program-transform-=* \
1071 | --program-transform=* | --program-transfor=* \
1072 | --program-transfo=* | --program-transf=* \
1073 | --program-trans=* | --program-tran=* \
1074 | --progr-tra=* | --program-tr=* | --program-t=*)
1075 program_transform_name=$ac_optarg ;;
1077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1080 pdfdir=$ac_optarg ;;
1082 -psdir | --psdir | --psdi | --psd | --ps)
1084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1088 | -silent | --silent | --silen | --sile | --sil)
1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095 sbindir=$ac_optarg ;;
1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099 | --sharedst | --shareds | --shared | --share | --shar \
1101 ac_prev=sharedstatedir ;;
1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106 sharedstatedir=$ac_optarg ;;
1108 -site | --site | --sit)
1110 -site=* | --site=* | --sit=*)
1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116 srcdir=$ac_optarg ;;
1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119 | --syscon | --sysco | --sysc | --sys | --sy)
1120 ac_prev=sysconfdir ;;
1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123 sysconfdir=$ac_optarg ;;
1125 -target | --target | --targe | --targ | --tar | --ta | --t)
1126 ac_prev=target_alias ;;
1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128 target_alias=$ac_optarg ;;
1130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133 -version | --version | --versio | --versi | --vers | -V)
1134 ac_init_version=: ;;
1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error $? "invalid package name: $ac_useropt"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1150 eval with_$ac_useropt=\$ac_optarg ;;
1152 -without-* | --without-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: $ac_useropt"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1166 eval with_$ac_useropt=no ;;
1169 # Obsolete; use --with-x.
1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173 | --x-incl | --x-inc | --x-in | --x-i)
1174 ac_prev=x_includes ;;
1175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1177 x_includes=$ac_optarg ;;
1179 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1181 ac_prev=x_libraries ;;
1182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1184 x_libraries=$ac_optarg ;;
1186 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' | [0-9]* | *[!_$as_cr_alnum]* )
1195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211 if test -n "$ac_prev"; then
1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $? "missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val=\$$ac_var
1231 # Remove trailing slashes.
1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$]* | ?:[\\/]* ) continue;;
1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x; then
1254 if test "x$build_alias" = x; then
1255 cross_compiling=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264 test "$silent" = yes && exec 6>/dev/null
1267 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di=`ls -di .` &&
1269 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $? "working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $? "pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var in $ac_precious_vars; do
1328 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_${ac_var}_value=\$${ac_var}
1330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures libpng 1.5.14 to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/libpng]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1404 --build=BUILD configure for building on BUILD [guessed]
1405 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive ) echo "Configuration of libpng 1.5.14:";;
1416 --disable-option-checking ignore unrecognized --enable/--with options
1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1419 --enable-maintainer-mode enable make rules and dependencies not useful
1420 (and sometimes confusing) to the casual installer
1421 --disable-dependency-tracking speeds up one-time build
1422 --enable-dependency-tracking do not reject slow dependency extractors
1423 --enable-shared[=PKGS] build shared libraries [default=yes]
1424 --enable-static[=PKGS] build static libraries [default=yes]
1425 --enable-fast-install[=PKGS]
1426 optimize for fast installation [default=yes]
1427 --disable-libtool-lock avoid locking (might break parallel builds)
1428 --enable-arm-neon Enable ARM NEON optimizations
1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1433 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1434 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1436 --with-sysroot=DIR Search for dependent libraries within DIR
1437 (or the compiler's sysroot if not specified).
1438 --with-zlib-prefix prefix that may have been used in installed zlib
1439 --with-pkgconfigdir Use the specified pkgconfig dir (default is
1441 --with-binconfigs Generate shell libpng-config scripts as well as
1442 pkg-config data [default=yes]
1444 Some influential environment variables:
1445 CC C compiler command
1446 CFLAGS C compiler flags
1447 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1448 nonstandard directory <lib dir>
1449 LIBS libraries to pass to the linker, e.g. -l<library>
1450 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1451 you have headers in a nonstandard directory <include dir>
1452 CCAS assembler compiler command (defaults to CC)
1453 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1456 Use these variables to override the choices made by `configure' or to help
1457 it to find libraries and programs with nonstandard names/locations.
1459 Report bugs to <png-mng-implement@lists.sourceforge.net>.
1464 if test "$ac_init_help" = "recursive"; then
1465 # If there are subdirs, report their specific --help.
1466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467 test -d "$ac_dir" ||
1468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1476 # A ".." for each directory in $ac_dir_suffix.
1477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1478 case $ac_top_builddir_sub in
1479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1489 .) # We are building in place.
1491 ac_top_srcdir=$ac_top_builddir_sub
1492 ac_abs_top_srcdir=$ac_pwd ;;
1493 [\\/]* | ?:[\\/]* ) # Absolute name.
1494 ac_srcdir=$srcdir$ac_dir_suffix;
1495 ac_top_srcdir=$srcdir
1496 ac_abs_top_srcdir=$srcdir ;;
1498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499 ac_top_srcdir=$ac_top_build_prefix$srcdir
1500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504 cd "$ac_dir" || { ac_status=$?; continue; }
1505 # Check for guested configure.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1522 libpng configure 1.5.14
1523 generated by GNU Autoconf 2.69
1525 Copyright (C) 2012 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1536 # ac_fn_c_try_compile LINENO
1537 # --------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext
1543 if { { ac_try="$ac_compile"
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.$ac_objext; then :
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570 as_fn_set_status $ac_retval
1572 } # ac_fn_c_try_compile
1574 # ac_fn_c_try_cpp LINENO
1575 # ----------------------
1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if { { ac_try="$ac_cpp conftest.$ac_ext"
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } > conftest.i && {
1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1611 # ac_fn_c_try_link LINENO
1612 # -----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded.
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext conftest$ac_exeext
1618 if { { ac_try="$ac_link"
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_link") 2>conftest.err
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest$ac_exeext && {
1637 test "$cross_compiling" = yes ||
1638 test -x conftest$ac_exeext
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1647 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1648 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1649 # interfere with the next link command; also delete a directory that is
1650 # left behind by Apple's compiler. We do this before executing the actions.
1651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status $ac_retval
1655 } # ac_fn_c_try_link
1657 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1658 # -------------------------------------------------------
1659 # Tests whether HEADER exists and can be compiled using the include files in
1660 # INCLUDES, setting the cache variable VAR accordingly.
1661 ac_fn_c_check_header_compile ()
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h. */
1674 if ac_fn_c_try_compile "$LINENO"; then :
1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 } # ac_fn_c_check_header_compile
1688 # ac_fn_c_try_run LINENO
1689 # ----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1691 # that executables *can* be run.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1706 { { case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_try") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; }; }; then :
1718 $as_echo "$as_me: program exited with status $ac_status" >&5
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=$ac_status
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1730 # ac_fn_c_check_func LINENO FUNC VAR
1731 # ----------------------------------
1732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1733 ac_fn_c_check_func ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if eval \${$3+:} false; then :
1739 $as_echo_n "(cached) " >&6
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1745 #define $2 innocuous_$2
1747 /* System header to define __stub macros and hopefully few prototypes,
1748 which can conflict with char $2 (); below.
1749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1750 <limits.h> exists even on freestanding compilers. */
1753 # include <limits.h>
1755 # include <assert.h>
1760 /* Override any GCC internal prototype to avoid an error.
1761 Use char because int might match the return type of a GCC
1762 builtin and then its argument prototype would still apply. */
1767 /* The GNU C library defines this for functions which it implements
1768 to always fail with ENOSYS. Some functions are actually named
1769 something starting with __ and the normal name is an alias. */
1770 #if defined __stub_$2 || defined __stub___$2
1782 if ac_fn_c_try_link "$LINENO"; then :
1787 rm -f core conftest.err conftest.$ac_objext \
1788 conftest$ac_exeext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } # ac_fn_c_check_func
1797 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1800 # the include files in INCLUDES and setting the cache variable VAR
1802 ac_fn_c_check_header_mongrel ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if eval \${$3+:} false; then :
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1815 # Is the header compilable?
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1817 $as_echo_n "checking $2 usability... " >&6; }
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 ac_header_compiler=yes
1826 ac_header_compiler=no
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1830 $as_echo "$ac_header_compiler" >&6; }
1832 # Is the header present?
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1834 $as_echo_n "checking $2 presence... " >&6; }
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1839 if ac_fn_c_try_cpp "$LINENO"; then :
1840 ac_header_preproc=yes
1842 ac_header_preproc=no
1844 rm -f conftest.err conftest.i conftest.$ac_ext
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1846 $as_echo "$ac_header_preproc" >&6; }
1848 # So? What about this header?
1849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1852 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1854 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1858 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1860 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1862 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1864 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1866 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1867 ( $as_echo "## ------------------------------------------------------ ##
1868 ## Report this to png-mng-implement@lists.sourceforge.net ##
1869 ## ------------------------------------------------------ ##"
1870 ) | sed "s/^/$as_me: WARNING: /" >&2
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876 $as_echo_n "(cached) " >&6
1878 eval "$3=\$ac_header_compiler"
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 } # ac_fn_c_check_header_mongrel
1888 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1889 # -------------------------------------------
1890 # Tests whether TYPE exists after having included INCLUDES, setting cache
1891 # variable VAR accordingly.
1892 ac_fn_c_check_type ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \${$3+:} false; then :
1898 $as_echo_n "(cached) " >&6
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1913 if ac_fn_c_try_compile "$LINENO"; then :
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1926 if ac_fn_c_try_compile "$LINENO"; then :
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_type
1941 cat >config.log <<_ACEOF
1942 This file contains any messages produced by compilers while
1943 running configure, to aid debugging if configure makes a mistake.
1945 It was created by libpng $as_me 1.5.14, which was
1946 generated by GNU Autoconf 2.69. Invocation command line was
1958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 $as_echo "PATH: $as_dir"
1998 # Keep a trace of the command line.
1999 # Strip out --no-create and --no-recursion so they do not pile up.
2000 # Strip out --silent because we don't want to record it for future runs.
2001 # Also quote any args containing shell meta-characters.
2002 # Make two passes to allow for proper duplicate-argument suppression.
2006 ac_must_keep_next=false
2012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2014 | -silent | --silent | --silen | --sile | --sil)
2017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2022 as_fn_append ac_configure_args1 " '$ac_arg'"
2023 if test $ac_must_keep_next = true; then
2024 ac_must_keep_next=false # Got value, back to normal.
2027 *=* | --config-cache | -C | -disable-* | --disable-* \
2028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2030 | -with-* | --with-* | -without-* | --without-* | --x)
2031 case "$ac_configure_args0 " in
2032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035 -* ) ac_must_keep_next=true ;;
2038 as_fn_append ac_configure_args " '$ac_arg'"
2043 { ac_configure_args0=; unset ac_configure_args0;}
2044 { ac_configure_args1=; unset ac_configure_args1;}
2046 # When interrupted or exit'd, cleanup temporary files, and complete
2047 # config.log. We remove comments because anyway the quotes in there
2048 # would cause problems or look ugly.
2049 # WARNING: Use '\'' to represent an apostrophe within the trap.
2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2051 trap 'exit_status=$?
2052 # Save into config.log some information that might help in debugging.
2056 $as_echo "## ---------------- ##
2057 ## Cache variables. ##
2058 ## ---------------- ##"
2060 # The following way of writing the cache mishandles newlines in values,
2062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2063 eval ac_val=\$$ac_var
2067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071 _ | IFS | as_nl) ;; #(
2072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2073 *) { eval $ac_var=; unset $ac_var;} ;;
2078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2079 *${as_nl}ac_space=\ *)
2081 "s/'\''/'\''\\\\'\'''\''/g;
2082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092 $as_echo "## ----------------- ##
2093 ## Output variables. ##
2094 ## ----------------- ##"
2096 for ac_var in $ac_subst_vars
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -n "$ac_subst_files"; then
2107 $as_echo "## ------------------- ##
2108 ## File substitutions. ##
2109 ## ------------------- ##"
2111 for ac_var in $ac_subst_files
2113 eval ac_val=\$$ac_var
2115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -s confdefs.h; then
2123 $as_echo "## ----------- ##
2130 test "$ac_signal" != 0 &&
2131 $as_echo "$as_me: caught signal $ac_signal"
2132 $as_echo "$as_me: exit $exit_status"
2134 rm -f core *.core core.conftest.* &&
2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138 for ac_signal in 1 2 13 15; do
2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2144 rm -f -r conftest* confdefs.h
2146 $as_echo "/* confdefs.h */" > confdefs.h
2148 # Predefined preprocessor variables.
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_URL "$PACKAGE_URL"
2175 # Let the site file select an alternate cache file if it wants to.
2176 # Prefer an explicitly selected file to automatically selected ones.
2179 if test -n "$CONFIG_SITE"; then
2180 # We do not want a PATH search for config.site.
2181 case $CONFIG_SITE in #((
2182 -*) ac_site_file1=./$CONFIG_SITE;;
2183 */*) ac_site_file1=$CONFIG_SITE;;
2184 *) ac_site_file1=./$CONFIG_SITE;;
2186 elif test "x$prefix" != xNONE; then
2187 ac_site_file1=$prefix/share/config.site
2188 ac_site_file2=$prefix/etc/config.site
2190 ac_site_file1=$ac_default_prefix/share/config.site
2191 ac_site_file2=$ac_default_prefix/etc/config.site
2193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2195 test "x$ac_site_file" = xNONE && continue
2196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2199 sed 's/^/| /' "$ac_site_file" >&5
2201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 as_fn_error $? "failed to load site script $ac_site_file
2204 See \`config.log' for more details" "$LINENO" 5; }
2208 if test -r "$cache_file"; then
2209 # Some versions of bash will fail to source /dev/null (special files
2210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2213 $as_echo "$as_me: loading cache $cache_file" >&6;}
2215 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2216 *) . "./$cache_file";;
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2221 $as_echo "$as_me: creating cache $cache_file" >&6;}
2225 # Check that the precious variables saved in the cache have kept the same
2227 ac_cache_corrupted=false
2228 for ac_var in $ac_precious_vars; do
2229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2230 eval ac_new_set=\$ac_env_${ac_var}_set
2231 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2232 eval ac_new_val=\$ac_env_${ac_var}_value
2233 case $ac_old_set,$ac_new_set in
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2237 ac_cache_corrupted=: ;;
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2240 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2241 ac_cache_corrupted=: ;;
2244 if test "x$ac_old_val" != "x$ac_new_val"; then
2245 # differences in whitespace do not lead to failure.
2246 ac_old_val_w=`echo x $ac_old_val`
2247 ac_new_val_w=`echo x $ac_new_val`
2248 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2250 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2251 ac_cache_corrupted=:
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2254 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2255 eval $ac_var=\$ac_old_val
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2258 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2260 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2263 # Pass precious variables to config.status.
2264 if test "$ac_new_set" = set; then
2266 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2267 *) ac_arg=$ac_var=$ac_new_val ;;
2269 case " $ac_configure_args " in
2270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2271 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2275 if $ac_cache_corrupted; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2279 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2280 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2282 ## -------------------- ##
2283 ## Main body of script. ##
2284 ## -------------------- ##
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 am__api_version='1.11'
2296 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2297 if test -f "$ac_dir/install-sh"; then
2299 ac_install_sh="$ac_aux_dir/install-sh -c"
2301 elif test -f "$ac_dir/install.sh"; then
2303 ac_install_sh="$ac_aux_dir/install.sh -c"
2305 elif test -f "$ac_dir/shtool"; then
2307 ac_install_sh="$ac_aux_dir/shtool install -c"
2311 if test -z "$ac_aux_dir"; then
2312 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2315 # These three variables are undocumented and unsupported,
2316 # and are intended to be withdrawn in a future Autoconf release.
2317 # They can cause serious problems if a builder's source tree is in a directory
2318 # whose full name contains unusual characters.
2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2324 # Find a good install program. We prefer a C program (faster),
2325 # so one script is as good as another. But avoid the broken or
2326 # incompatible versions:
2327 # SysV /etc/install, /usr/sbin/install
2328 # SunOS /usr/etc/install
2329 # IRIX /sbin/install
2331 # AmigaOS /C/install, which installs bootblocks on floppy discs
2332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2335 # OS/2's system install, which has a completely different semantic
2336 # ./install, which can be erroneously created by make from ./install.sh.
2337 # Reject install programs that cannot install multiple files.
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2339 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2340 if test -z "$INSTALL"; then
2341 if ${ac_cv_path_install+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 # Account for people who put trailing slashes in PATH elements.
2350 case $as_dir/ in #((
2351 ./ | .// | /[cC]/* | \
2352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2353 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2356 # OSF1 and SCO ODT 3.0 have their own names for install.
2357 # Don't use installbsd from OSF since it installs stuff as root
2359 for ac_prog in ginstall scoinst install; do
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2362 if test $ac_prog = install &&
2363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2364 # AIX install. It has an incompatible calling convention.
2366 elif test $ac_prog = install &&
2367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2368 # program-specific install script used by HP pwplus--don't use.
2371 rm -rf conftest.one conftest.two conftest.dir
2372 echo one > conftest.one
2373 echo two > conftest.two
2375 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2376 test -s conftest.one && test -s conftest.two &&
2377 test -s conftest.dir/conftest.one &&
2378 test -s conftest.dir/conftest.two
2380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2393 rm -rf conftest.one conftest.two conftest.dir
2396 if test "${ac_cv_path_install+set}" = set; then
2397 INSTALL=$ac_cv_path_install
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for INSTALL within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 INSTALL=$ac_install_sh
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2407 $as_echo "$INSTALL" >&6; }
2409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2410 # It thinks the first close brace ends the variable substitution.
2411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2418 $as_echo_n "checking whether build environment is sane... " >&6; }
2421 echo timestamp > conftest.file
2422 # Reject unsafe characters in $srcdir or the absolute working directory
2423 # name. Accept space and tab only in the latter.
2427 *[\\\"\#\$\&\'\`$am_lf]*)
2428 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2431 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2432 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2435 # Do `set' in a subshell so we don't clobber the current shell's
2436 # arguments. Must try -L first in case configure is actually a
2437 # symlink; some systems play weird games with the mod time of symlinks
2438 # (eg FreeBSD returns the mod time of the symlink's containing
2441 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2442 if test "$*" = "X"; then
2444 set X `ls -t "$srcdir/configure" conftest.file`
2447 if test "$*" != "X $srcdir/configure conftest.file" \
2448 && test "$*" != "X conftest.file $srcdir/configure"; then
2450 # If neither matched, then we have a broken ls. This can happen
2451 # if, for instance, CONFIG_SHELL is bash and it inherits a
2452 # broken ls alias from the environment. This has actually
2453 # happened. Such a system could not be considered "sane".
2454 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2455 alias in your environment" "$LINENO" 5
2458 test "$2" = conftest.file
2464 as_fn_error $? "newly created file is older than distributed files!
2465 Check your system clock" "$LINENO" 5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468 $as_echo "yes" >&6; }
2469 test "$program_prefix" != NONE &&
2470 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE &&
2473 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2479 # expand $ac_aux_dir to an absolute path
2480 am_aux_dir=`cd $ac_aux_dir && pwd`
2482 if test x"${MISSING+set}" != xset; then
2485 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2487 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2490 # Use eval to expand $SHELL
2491 if eval "$MISSING --run true"; then
2492 am_missing_run="$MISSING --run "
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2496 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2499 if test x"${install_sh}" != xset; then
2502 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2504 install_sh="\${SHELL} $am_aux_dir/install-sh"
2508 # Installed binaries are usually stripped using `strip' when the user
2509 # run `make install-strip'. However `strip' might not be the right
2510 # tool to use in cross-compilation environments, therefore Automake
2511 # will honor the `STRIP' environment variable to overrule this program.
2512 if test "$cross_compiling" != no; then
2513 if test -n "$ac_tool_prefix"; then
2514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2515 set dummy ${ac_tool_prefix}strip; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_STRIP+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$STRIP"; then
2522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 STRIP=$ac_cv_prog_STRIP
2542 if test -n "$STRIP"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2544 $as_echo "$STRIP" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2552 if test -z "$ac_cv_prog_STRIP"; then
2554 # Extract the first word of "strip", so it can be a program name with args.
2555 set dummy strip; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$ac_ct_STRIP"; then
2562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_ac_ct_STRIP="strip"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2582 if test -n "$ac_ct_STRIP"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2584 $as_echo "$ac_ct_STRIP" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2590 if test "x$ac_ct_STRIP" = x; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2597 ac_tool_warned=yes ;;
2602 STRIP="$ac_cv_prog_STRIP"
2606 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2609 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2610 if test -z "$MKDIR_P"; then
2611 if ${ac_cv_path_mkdir+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2618 test -z "$as_dir" && as_dir=.
2619 for ac_prog in mkdir gmkdir; do
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2622 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2623 'mkdir (GNU coreutils) '* | \
2624 'mkdir (coreutils) '* | \
2625 'mkdir (fileutils) '4.1*)
2626 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2636 test -d ./--version && rmdir ./--version
2637 if test "${ac_cv_path_mkdir+set}" = set; then
2638 MKDIR_P="$ac_cv_path_mkdir -p"
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for MKDIR_P within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 MKDIR_P="$ac_install_sh -d"
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2648 $as_echo "$MKDIR_P" >&6; }
2652 [\\/$]* | ?:[\\/]*) ;;
2653 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2656 for ac_prog in gawk mawk nawk awk
2658 # Extract the first word of "$ac_prog", so it can be a program name with args.
2659 set dummy $ac_prog; ac_word=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_AWK+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$AWK"; then
2666 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2675 ac_cv_prog_AWK="$ac_prog"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$AWK"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2688 $as_echo "$AWK" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2695 test -n "$AWK" && break
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2699 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2702 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2703 $as_echo_n "(cached) " >&6
2705 cat >conftest.make <<\_ACEOF
2708 @echo '@@@%%%=$(MAKE)=@@@%%%'
2710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713 eval ac_cv_prog_make_${ac_make}_set=yes;;
2715 eval ac_cv_prog_make_${ac_make}_set=no;;
2719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2726 SET_MAKE="MAKE=${MAKE-make}"
2729 rm -rf .tst 2>/dev/null
2730 mkdir .tst 2>/dev/null
2731 if test -d .tst; then
2736 rmdir .tst 2>/dev/null
2738 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2739 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2740 # is not polluted with repeated "-I."
2741 am__isrc=' -I$(srcdir)'
2742 # test to see if srcdir already configured
2743 if test -f $srcdir/config.status; then
2744 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2748 # test whether we have cygpath
2749 if test -z "$CYGPATH_W"; then
2750 if (cygpath --version) >/dev/null 2>/dev/null; then
2751 CYGPATH_W='cygpath -w'
2758 # Define the identity of the package.
2763 cat >>confdefs.h <<_ACEOF
2764 #define PACKAGE "$PACKAGE"
2768 cat >>confdefs.h <<_ACEOF
2769 #define VERSION "$VERSION"
2772 # Some tools Automake needs.
2774 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2777 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2780 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2783 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2786 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2788 # We need awk for the "check" target. The system "awk" is bad on
2790 # Always define AMTAR for backward compatibility. Yes, it's still used
2791 # in the wild :-( We should find a proper way to deprecate it ...
2794 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2802 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2803 # Check whether --enable-maintainer-mode was given.
2804 if test "${enable_maintainer_mode+set}" = set; then :
2805 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2807 USE_MAINTAINER_MODE=no
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2811 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2812 if test $USE_MAINTAINER_MODE = yes; then
2813 MAINTAINER_MODE_TRUE=
2814 MAINTAINER_MODE_FALSE='#'
2816 MAINTAINER_MODE_TRUE='#'
2817 MAINTAINER_MODE_FALSE=
2820 MAINT=$MAINTAINER_MODE_TRUE
2824 PNGLIB_VERSION=1.5.14
2831 ac_config_headers="$ac_config_headers config.h"
2834 # Checks for programs.
2836 ac_cpp='$CPP $CPPFLAGS'
2837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842 ac_cpp='$CPP $CPPFLAGS'
2843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2846 if test -n "$ac_tool_prefix"; then
2847 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2848 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_CC+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 if test -n "$CC"; then
2855 ac_cv_prog_CC="$CC" # Let the user override the test.
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 if test -n "$CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2877 $as_echo "$CC" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2885 if test -z "$ac_cv_prog_CC"; then
2887 # Extract the first word of "gcc", so it can be a program name with args.
2888 set dummy gcc; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test -n "$ac_ct_CC"; then
2895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_ac_ct_CC="gcc"
2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2915 if test -n "$ac_ct_CC"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2917 $as_echo "$ac_ct_CC" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2923 if test "x$ac_ct_CC" = x; then
2926 case $cross_compiling:$ac_tool_warned in
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2930 ac_tool_warned=yes ;;
2938 if test -z "$CC"; then
2939 if test -n "$ac_tool_prefix"; then
2940 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2941 set dummy ${ac_tool_prefix}cc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$CC"; then
2948 ac_cv_prog_CC="$CC" # Let the user override the test.
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_CC="${ac_tool_prefix}cc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 if test -n "$CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2970 $as_echo "$CC" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2979 if test -z "$CC"; then
2980 # Extract the first word of "cc", so it can be a program name with args.
2981 set dummy cc; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_CC+:} false; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$CC"; then
2988 ac_cv_prog_CC="$CC" # Let the user override the test.
2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir=.
2996 for ac_exec_ext in '' $ac_executable_extensions; do
2997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2998 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2999 ac_prog_rejected=yes
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 if test $ac_prog_rejected = yes; then
3011 # We found a bogon in the path, so make sure we never use it.
3012 set dummy $ac_cv_prog_CC
3014 if test $# != 0; then
3015 # We chose a different compiler from the bogus one.
3016 # However, it has the same basename, so the bogon will be chosen
3017 # first if we set CC to just the basename; use the full file name.
3019 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3025 if test -n "$CC"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3027 $as_echo "$CC" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3035 if test -z "$CC"; then
3036 if test -n "$ac_tool_prefix"; then
3037 for ac_prog in cl.exe
3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_CC+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$CC"; then
3047 ac_cv_prog_CC="$CC" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3076 test -n "$CC" && break
3079 if test -z "$CC"; then
3081 for ac_prog in cl.exe
3083 # Extract the first word of "$ac_prog", so it can be a program name with args.
3084 set dummy $ac_prog; ac_word=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3088 $as_echo_n "(cached) " >&6
3090 if test -n "$ac_ct_CC"; then
3091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100 ac_cv_prog_ac_ct_CC="$ac_prog"
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3111 if test -n "$ac_ct_CC"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3113 $as_echo "$ac_ct_CC" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3120 test -n "$ac_ct_CC" && break
3123 if test "x$ac_ct_CC" = x; then
3126 case $cross_compiling:$ac_tool_warned in
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3130 ac_tool_warned=yes ;;
3139 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 as_fn_error $? "no acceptable C compiler found in \$PATH
3142 See \`config.log' for more details" "$LINENO" 5; }
3144 # Provide some information about the compiler.
3145 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3148 for ac_option in --version -v -V -qversion; do
3149 { { ac_try="$ac_compiler $ac_option >&5"
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3158 if test -s conftest.err; then
3160 ... rest of stderr output deleted ...
3161 10q' conftest.err >conftest.er1
3162 cat conftest.er1 >&5
3164 rm -f conftest.er1 conftest.err
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; }
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 ac_clean_files_save=$ac_clean_files
3181 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3182 # Try to create an executable without -o first, disregard a.out.
3183 # It will help us diagnose broken compilers, and finding out an intuition
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3186 $as_echo_n "checking whether the C compiler works... " >&6; }
3187 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3189 # The possible output files:
3190 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3193 for ac_file in $ac_files
3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3197 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3202 if { { ac_try="$ac_link_default"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_link_default") 2>&5
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; then :
3213 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3214 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3215 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3216 # so that the user can short-circuit this test for compilers unknown to
3218 for ac_file in $ac_files ''
3220 test -f "$ac_file" || continue
3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3225 # We found the default executable, but exeext='' is most
3229 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3231 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233 # We set ac_cv_exeext here because the later test for it is not
3234 # safe: cross compilers may not add the suffix if given an `-o'
3235 # argument, so we may need to know it at that point already.
3236 # Even if this section looks crufty: it has the advantage of
3243 test "$ac_cv_exeext" = no && ac_cv_exeext=
3248 if test -z "$ac_file"; then :
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3251 $as_echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error 77 "C compiler cannot create executables
3257 See \`config.log' for more details" "$LINENO" 5; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3260 $as_echo "yes" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3263 $as_echo_n "checking for C compiler default output file name... " >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3265 $as_echo "$ac_file" >&6; }
3266 ac_exeext=$ac_cv_exeext
3268 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3269 ac_clean_files=$ac_clean_files_save
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3271 $as_echo_n "checking for suffix of executables... " >&6; }
3272 if { { ac_try="$ac_link"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_link") 2>&5
3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282 test $ac_status = 0; }; then :
3283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3285 # work properly (i.e., refer to `conftest.exe'), while it won't with
3287 for ac_file in conftest.exe conftest conftest.*; do
3288 test -f "$ac_file" || continue
3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3300 See \`config.log' for more details" "$LINENO" 5; }
3302 rm -f conftest conftest$ac_cv_exeext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3304 $as_echo "$ac_cv_exeext" >&6; }
3306 rm -f conftest.$ac_ext
3307 EXEEXT=$ac_cv_exeext
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3315 FILE *f = fopen ("conftest.out", "w");
3316 return ferror (f) || fclose (f) != 0;
3322 ac_clean_files="$ac_clean_files conftest.out"
3323 # Check that the compiler produces executables we can run. If not, either
3324 # the compiler is broken, or we cross compile.
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3326 $as_echo_n "checking whether we are cross compiling... " >&6; }
3327 if test "$cross_compiling" != yes; then
3328 { { ac_try="$ac_link"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }
3339 if { ac_try='./conftest$ac_cv_exeext'
3340 { { case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346 (eval "$ac_try") 2>&5
3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349 test $ac_status = 0; }; }; then
3352 if test "$cross_compiling" = maybe; then
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "cannot run C compiled programs.
3358 If you meant to cross compile, use \`--host'.
3359 See \`config.log' for more details" "$LINENO" 5; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3364 $as_echo "$cross_compiling" >&6; }
3366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3367 ac_clean_files=$ac_clean_files_save
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3369 $as_echo_n "checking for suffix of object files... " >&6; }
3370 if ${ac_cv_objext+:} false; then :
3371 $as_echo_n "(cached) " >&6
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 rm -f conftest.o conftest.obj
3385 if { { ac_try="$ac_compile"
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_compile") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; then :
3396 for ac_file in conftest.o conftest.obj conftest.*; do
3397 test -f "$ac_file" || continue;
3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3405 $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $? "cannot compute suffix of object files: cannot compile
3411 See \`config.log' for more details" "$LINENO" 5; }
3413 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3416 $as_echo "$ac_cv_objext" >&6; }
3417 OBJEXT=$ac_cv_objext
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3420 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3421 if ${ac_cv_c_compiler_gnu+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3448 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3449 if test $ac_compiler_gnu = yes; then
3454 ac_test_CFLAGS=${CFLAGS+set}
3455 ac_save_CFLAGS=$CFLAGS
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3457 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3458 if ${ac_cv_prog_cc_g+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 ac_save_c_werror_flag=$ac_c_werror_flag
3462 ac_c_werror_flag=yes
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 if ac_fn_c_try_compile "$LINENO"; then :
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3494 ac_c_werror_flag=$ac_save_c_werror_flag
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 if ac_fn_c_try_compile "$LINENO"; then :
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_c_werror_flag=$ac_save_c_werror_flag
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3518 $as_echo "$ac_cv_prog_cc_g" >&6; }
3519 if test "$ac_test_CFLAGS" = set; then
3520 CFLAGS=$ac_save_CFLAGS
3521 elif test $ac_cv_prog_cc_g = yes; then
3522 if test "$GCC" = yes; then
3528 if test "$GCC" = yes; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3535 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3536 if ${ac_cv_prog_cc_c89+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 ac_cv_prog_cc_c89=no
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3546 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3547 struct buf { int x; };
3548 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3549 static char *e (p, i)
3555 static char *f (char * (*g) (char **, int), char **p, ...)
3560 s = g (p, va_arg (v,int));
3565 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3566 function prototypes and stuff, but not '\xHH' hex character constants.
3567 These don't provoke an error unfortunately, instead are silently treated
3568 as 'x'. The following induces an error, until -std is added to get
3569 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3570 array size at least. It's necessary to write '\x00'==0 to get something
3571 that's true only with -std. */
3572 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3574 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3575 inside strings and character constants. */
3577 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3579 int test (int i, double x);
3580 struct s1 {int (*f) (int a);};
3581 struct s2 {int (*f) (double a);};
3582 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3588 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3593 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3594 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3596 CC="$ac_save_CC $ac_arg"
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_cv_prog_cc_c89=$ac_arg
3600 rm -f core conftest.err conftest.$ac_objext
3601 test "x$ac_cv_prog_cc_c89" != "xno" && break
3603 rm -f conftest.$ac_ext
3608 case "x$ac_cv_prog_cc_c89" in
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3611 $as_echo "none needed" >&6; } ;;
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3614 $as_echo "unsupported" >&6; } ;;
3616 CC="$CC $ac_cv_prog_cc_c89"
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3618 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3620 if test "x$ac_cv_prog_cc_c89" != xno; then :
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 DEPDIR="${am__leading_dot}deps"
3631 ac_config_commands="$ac_config_commands depfiles"
3634 am_make=${MAKE-make}
3635 cat > confinc << 'END'
3637 @echo this is the am__doit target
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from `make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target*)
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target*)
3661 am__include=.include
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval=$enable_dependency_tracking;
3678 if test "x$enable_dependency_tracking" != xno; then
3679 am_depcomp="$ac_aux_dir/depcomp"
3683 if test "x$enable_dependency_tracking" != xno; then
3693 depcc="$CC" am_compiler_list=
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3696 $as_echo_n "checking dependency style of $depcc... " >&6; }
3697 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3701 # We make a subdir and do the tests there. Otherwise we can end up
3702 # making bogus files that we don't know about and never remove. For
3703 # instance it was reported that on HP-UX the gcc test will end up
3704 # making a dummy file named `D' -- because `-MD' means `put the output
3708 # Copy depcomp to subdir because otherwise we won't find it if we're
3709 # using a relative directory.
3710 cp "$am_depcomp" conftest.dir
3712 # We will build objects and dependencies in a subdirectory because
3713 # it helps to detect inapplicable dependency modes. For instance
3714 # both Tru64's cc and ICC support -MD to output dependencies as a
3715 # side effect of compilation, but ICC will put the dependencies in
3716 # the current directory while Tru64 will put them in the object
3720 am_cv_CC_dependencies_compiler_type=none
3721 if test "$am_compiler_list" = ""; then
3722 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3725 case " $depcc " in #(
3726 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3729 for depmode in $am_compiler_list; do
3730 # Setup a source with many dependencies, because some compilers
3731 # like to wrap large dependency lists on column 80 (with \), and
3732 # we should not choose a depcomp mode which is confused by this.
3734 # We need to recreate these files for each test, as the compiler may
3735 # overwrite some of them when testing with obscure command lines.
3736 # This happens at least with the AIX C compiler.
3738 for i in 1 2 3 4 5 6; do
3739 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3740 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3741 # Solaris 8's {/usr,}/bin/sh.
3742 touch sub/conftst$i.h
3744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3746 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3747 # mode. It turns out that the SunPro C++ compiler does not properly
3748 # handle `-M -o', and we need to detect this. Also, some Intel
3749 # versions had trouble with output in subdirs
3750 am__obj=sub/conftest.${OBJEXT-o}
3751 am__minus_obj="-o $am__obj"
3754 # This depmode causes a compiler race in universal mode.
3755 test "$am__universal" = false || continue
3758 # after this tag, mechanisms are not by side-effect, so they'll
3759 # only be used when explicitly requested
3760 if test "x$enable_dependency_tracking" = xyes; then
3766 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3767 # This compiler won't grok `-c -o', but also, the minuso test has
3768 # not run yet. These depmodes are late enough in the game, and
3769 # so weak that their functioning should not be impacted.
3770 am__obj=conftest.${OBJEXT-o}
3775 if depmode=$depmode \
3776 source=sub/conftest.c object=$am__obj \
3777 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3778 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3779 >/dev/null 2>conftest.err &&
3780 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3781 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3782 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3783 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3784 # icc doesn't choke on unknown options, it will just issue warnings
3785 # or remarks (even with -Werror). So we grep stderr for any message
3786 # that says an option was ignored or not supported.
3787 # When given -MP, icc 7.0 and 7.1 complain thusly:
3788 # icc: Command line warning: ignoring option '-M'; no argument required
3789 # The diagnosis changed in icc 8.0:
3790 # icc: Command line remark: option '-MP' not supported
3791 if (grep 'ignoring option' conftest.err ||
3792 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3793 am_cv_CC_dependencies_compiler_type=$depmode
3802 am_cv_CC_dependencies_compiler_type=none
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3807 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3808 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3811 test "x$enable_dependency_tracking" != xno \
3812 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3814 am__fastdepCC_FALSE='#'
3816 am__fastdepCC_TRUE='#'
3817 am__fastdepCC_FALSE=
3821 # By default we simply use the C compiler to build assembly code.
3823 test "${CCAS+set}" = set || CCAS=$CC
3824 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3828 depcc="$CCAS" am_compiler_list=
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831 $as_echo_n "checking dependency style of $depcc... " >&6; }
3832 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3836 # We make a subdir and do the tests there. Otherwise we can end up
3837 # making bogus files that we don't know about and never remove. For
3838 # instance it was reported that on HP-UX the gcc test will end up
3839 # making a dummy file named `D' -- because `-MD' means `put the output
3843 # Copy depcomp to subdir because otherwise we won't find it if we're
3844 # using a relative directory.
3845 cp "$am_depcomp" conftest.dir
3847 # We will build objects and dependencies in a subdirectory because
3848 # it helps to detect inapplicable dependency modes. For instance
3849 # both Tru64's cc and ICC support -MD to output dependencies as a
3850 # side effect of compilation, but ICC will put the dependencies in
3851 # the current directory while Tru64 will put them in the object
3855 am_cv_CCAS_dependencies_compiler_type=none
3856 if test "$am_compiler_list" = ""; then
3857 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3862 for depmode in $am_compiler_list; do
3863 # Setup a source with many dependencies, because some compilers
3864 # like to wrap large dependency lists on column 80 (with \), and
3865 # we should not choose a depcomp mode which is confused by this.
3867 # We need to recreate these files for each test, as the compiler may
3868 # overwrite some of them when testing with obscure command lines.
3869 # This happens at least with the AIX C compiler.
3871 for i in 1 2 3 4 5 6; do
3872 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3873 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3874 # Solaris 8's {/usr,}/bin/sh.
3875 touch sub/conftst$i.h
3877 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3880 # mode. It turns out that the SunPro C++ compiler does not properly
3881 # handle `-M -o', and we need to detect this. Also, some Intel
3882 # versions had trouble with output in subdirs
3883 am__obj=sub/conftest.${OBJEXT-o}
3884 am__minus_obj="-o $am__obj"
3887 # This depmode causes a compiler race in universal mode.
3888 test "$am__universal" = false || continue
3891 # after this tag, mechanisms are not by side-effect, so they'll
3892 # only be used when explicitly requested
3893 if test "x$enable_dependency_tracking" = xyes; then
3899 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3900 # This compiler won't grok `-c -o', but also, the minuso test has
3901 # not run yet. These depmodes are late enough in the game, and
3902 # so weak that their functioning should not be impacted.
3903 am__obj=conftest.${OBJEXT-o}
3908 if depmode=$depmode \
3909 source=sub/conftest.c object=$am__obj \
3910 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3911 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3912 >/dev/null 2>conftest.err &&
3913 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3914 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3915 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3916 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3917 # icc doesn't choke on unknown options, it will just issue warnings
3918 # or remarks (even with -Werror). So we grep stderr for any message
3919 # that says an option was ignored or not supported.
3920 # When given -MP, icc 7.0 and 7.1 complain thusly:
3921 # icc: Command line warning: ignoring option '-M'; no argument required
3922 # The diagnosis changed in icc 8.0:
3923 # icc: Command line remark: option '-MP' not supported
3924 if (grep 'ignoring option' conftest.err ||
3925 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3926 am_cv_CCAS_dependencies_compiler_type=$depmode
3935 am_cv_CCAS_dependencies_compiler_type=none
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3940 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3941 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3944 test "x$enable_dependency_tracking" != xno \
3945 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3946 am__fastdepCCAS_TRUE=
3947 am__fastdepCCAS_FALSE='#'
3949 am__fastdepCCAS_TRUE='#'
3950 am__fastdepCCAS_FALSE=
3954 # Make sure we can run config.sub.
3955 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3956 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3959 $as_echo_n "checking build system type... " >&6; }
3960 if ${ac_cv_build+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 ac_build_alias=$build_alias
3964 test "x$ac_build_alias" = x &&
3965 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3966 test "x$ac_build_alias" = x &&
3967 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3968 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3969 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3973 $as_echo "$ac_cv_build" >&6; }
3974 case $ac_cv_build in
3976 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3979 ac_save_IFS=$IFS; IFS='-'
3985 # Remember, the first character of IFS is used to create $*,
3986 # except with old shells:
3989 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3993 $as_echo_n "checking host system type... " >&6; }
3994 if ${ac_cv_host+:} false; then :
3995 $as_echo_n "(cached) " >&6
3997 if test "x$host_alias" = x; then
3998 ac_cv_host=$ac_cv_build
4000 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4001 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4006 $as_echo "$ac_cv_host" >&6; }
4009 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4012 ac_save_IFS=$IFS; IFS='-'
4018 # Remember, the first character of IFS is used to create $*,
4019 # except with old shells:
4022 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4026 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4027 if ${ac_cv_path_SED+:} false; then :
4028 $as_echo_n "(cached) " >&6
4030 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4031 for ac_i in 1 2 3 4 5 6 7; do
4032 ac_script="$ac_script$as_nl$ac_script"
4034 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4035 { ac_script=; unset ac_script;}
4036 if test -z "$SED"; then
4037 ac_path_SED_found=false
4038 # Loop through the user's path and test for each of PROGNAME-LIST
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir=.
4044 for ac_prog in sed gsed; do
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4047 as_fn_executable_p "$ac_path_SED" || continue
4048 # Check for GNU ac_path_SED and select it if it is found.
4049 # Check for GNU $ac_path_SED
4050 case `"$ac_path_SED" --version 2>&1` in
4052 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4055 $as_echo_n 0123456789 >"conftest.in"
4058 cat "conftest.in" "conftest.in" >"conftest.tmp"
4059 mv "conftest.tmp" "conftest.in"
4060 cp "conftest.in" "conftest.nl"
4061 $as_echo '' >> "conftest.nl"
4062 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4063 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4064 as_fn_arith $ac_count + 1 && ac_count=$as_val
4065 if test $ac_count -gt ${ac_path_SED_max-0}; then
4066 # Best one so far, save it but keep looking for a better one
4067 ac_cv_path_SED="$ac_path_SED"
4068 ac_path_SED_max=$ac_count
4070 # 10*(2^10) chars as input seems more than enough
4071 test $ac_count -gt 10 && break
4073 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4076 $ac_path_SED_found && break 3
4081 if test -z "$ac_cv_path_SED"; then
4082 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4090 $as_echo "$ac_cv_path_SED" >&6; }
4091 SED="$ac_cv_path_SED"
4094 test -z "$SED" && SED=sed
4095 Xsed="$SED -e 1s/^X//"
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4108 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4109 if ${ac_cv_path_GREP+:} false; then :
4110 $as_echo_n "(cached) " >&6
4112 if test -z "$GREP"; then
4113 ac_path_GREP_found=false
4114 # Loop through the user's path and test for each of PROGNAME-LIST
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4119 test -z "$as_dir" && as_dir=.
4120 for ac_prog in grep ggrep; do
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4123 as_fn_executable_p "$ac_path_GREP" || continue
4124 # Check for GNU ac_path_GREP and select it if it is found.
4125 # Check for GNU $ac_path_GREP
4126 case `"$ac_path_GREP" --version 2>&1` in
4128 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4131 $as_echo_n 0123456789 >"conftest.in"
4134 cat "conftest.in" "conftest.in" >"conftest.tmp"
4135 mv "conftest.tmp" "conftest.in"
4136 cp "conftest.in" "conftest.nl"
4137 $as_echo 'GREP' >> "conftest.nl"
4138 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4140 as_fn_arith $ac_count + 1 && ac_count=$as_val
4141 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4142 # Best one so far, save it but keep looking for a better one
4143 ac_cv_path_GREP="$ac_path_GREP"
4144 ac_path_GREP_max=$ac_count
4146 # 10*(2^10) chars as input seems more than enough
4147 test $ac_count -gt 10 && break
4149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4152 $ac_path_GREP_found && break 3
4157 if test -z "$ac_cv_path_GREP"; then
4158 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4161 ac_cv_path_GREP=$GREP
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4166 $as_echo "$ac_cv_path_GREP" >&6; }
4167 GREP="$ac_cv_path_GREP"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4171 $as_echo_n "checking for egrep... " >&6; }
4172 if ${ac_cv_path_EGREP+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4176 then ac_cv_path_EGREP="$GREP -E"
4178 if test -z "$EGREP"; then
4179 ac_path_EGREP_found=false
4180 # Loop through the user's path and test for each of PROGNAME-LIST
4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4185 test -z "$as_dir" && as_dir=.
4186 for ac_prog in egrep; do
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4189 as_fn_executable_p "$ac_path_EGREP" || continue
4190 # Check for GNU ac_path_EGREP and select it if it is found.
4191 # Check for GNU $ac_path_EGREP
4192 case `"$ac_path_EGREP" --version 2>&1` in
4194 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4197 $as_echo_n 0123456789 >"conftest.in"
4200 cat "conftest.in" "conftest.in" >"conftest.tmp"
4201 mv "conftest.tmp" "conftest.in"
4202 cp "conftest.in" "conftest.nl"
4203 $as_echo 'EGREP' >> "conftest.nl"
4204 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4205 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4206 as_fn_arith $ac_count + 1 && ac_count=$as_val
4207 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4208 # Best one so far, save it but keep looking for a better one
4209 ac_cv_path_EGREP="$ac_path_EGREP"
4210 ac_path_EGREP_max=$ac_count
4212 # 10*(2^10) chars as input seems more than enough
4213 test $ac_count -gt 10 && break
4215 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4218 $ac_path_EGREP_found && break 3
4223 if test -z "$ac_cv_path_EGREP"; then
4224 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4227 ac_cv_path_EGREP=$EGREP
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4233 $as_echo "$ac_cv_path_EGREP" >&6; }
4234 EGREP="$ac_cv_path_EGREP"
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4238 $as_echo_n "checking for fgrep... " >&6; }
4239 if ${ac_cv_path_FGREP+:} false; then :
4240 $as_echo_n "(cached) " >&6
4242 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4243 then ac_cv_path_FGREP="$GREP -F"
4245 if test -z "$FGREP"; then
4246 ac_path_FGREP_found=false
4247 # Loop through the user's path and test for each of PROGNAME-LIST
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4252 test -z "$as_dir" && as_dir=.
4253 for ac_prog in fgrep; do
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4256 as_fn_executable_p "$ac_path_FGREP" || continue
4257 # Check for GNU ac_path_FGREP and select it if it is found.
4258 # Check for GNU $ac_path_FGREP
4259 case `"$ac_path_FGREP" --version 2>&1` in
4261 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4264 $as_echo_n 0123456789 >"conftest.in"
4267 cat "conftest.in" "conftest.in" >"conftest.tmp"
4268 mv "conftest.tmp" "conftest.in"
4269 cp "conftest.in" "conftest.nl"
4270 $as_echo 'FGREP' >> "conftest.nl"
4271 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4273 as_fn_arith $ac_count + 1 && ac_count=$as_val
4274 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4275 # Best one so far, save it but keep looking for a better one
4276 ac_cv_path_FGREP="$ac_path_FGREP"
4277 ac_path_FGREP_max=$ac_count
4279 # 10*(2^10) chars as input seems more than enough
4280 test $ac_count -gt 10 && break
4282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4285 $ac_path_FGREP_found && break 3
4290 if test -z "$ac_cv_path_FGREP"; then
4291 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4294 ac_cv_path_FGREP=$FGREP
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4300 $as_echo "$ac_cv_path_FGREP" >&6; }
4301 FGREP="$ac_cv_path_FGREP"
4304 test -z "$GREP" && GREP=grep
4322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4327 $as_echo_n "checking how to print strings... " >&6; }
4328 # Test print first, because it will be a builtin if present.
4329 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4335 # Use this function as a fallback that always works.
4336 func_fallback_echo ()
4338 eval 'cat <<_LTECHO_EOF
4342 ECHO='func_fallback_echo'
4345 # func_echo_all arg...
4346 # Invoke $ECHO with all args, space-separated.
4353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4354 $as_echo "printf" >&6; } ;;
4355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4356 $as_echo "print -r" >&6; } ;;
4357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4358 $as_echo "cat" >&6; } ;;
4376 # Check whether --with-gnu-ld was given.
4377 if test "${with_gnu_ld+set}" = set; then :
4378 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4384 if test "$GCC" = yes; then
4385 # Check if gcc -print-prog-name=ld gives a path.
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4387 $as_echo_n "checking for ld used by $CC... " >&6; }
4390 # gcc leaves a trailing carriage return which upsets mingw
4391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4396 # Accept absolute paths.
4398 re_direlt='/[^/][^/]*/\.\./'
4399 # Canonicalize the pathname of ld
4400 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4401 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4402 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4404 test -z "$LD" && LD="$ac_prog"
4407 # If it fails, then pretend we aren't using GCC.
4411 # If it is relative, then search for the first ld in PATH.
4415 elif test "$with_gnu_ld" = yes; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4417 $as_echo_n "checking for GNU ld... " >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4420 $as_echo_n "checking for non-GNU ld... " >&6; }
4422 if ${lt_cv_path_LD+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -z "$LD"; then
4426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4427 for ac_dir in $PATH; do
4429 test -z "$ac_dir" && ac_dir=.
4430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4431 lt_cv_path_LD="$ac_dir/$ac_prog"
4432 # Check to see if the program is GNU ld. I'd rather use --version,
4433 # but apparently some variants of GNU ld only accept -v.
4434 # Break only if it was the GNU/non-GNU ld that we prefer.
4435 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437 test "$with_gnu_ld" != no && break
4440 test "$with_gnu_ld" != yes && break
4447 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4452 if test -n "$LD"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4454 $as_echo "$LD" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4459 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4461 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4462 if ${lt_cv_prog_gnu_ld+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4466 case `$LD -v 2>&1 </dev/null` in
4467 *GNU* | *'with BFD'*)
4468 lt_cv_prog_gnu_ld=yes
4471 lt_cv_prog_gnu_ld=no
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4476 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4477 with_gnu_ld=$lt_cv_prog_gnu_ld
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4493 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4494 # On Suns, sometimes $CPP names a directory.
4495 if test -n "$CPP" && test -d "$CPP"; then
4498 if test -z "$CPP"; then
4499 if ${ac_cv_prog_CPP+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 # Double quotes because CPP needs to be expanded
4503 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4506 for ac_c_preproc_warn_flag in '' yes
4508 # Use a header file that comes with gcc, so configuring glibc
4509 # with a fresh cross-compiler works.
4510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4511 # <limits.h> exists even on freestanding compilers.
4512 # On the NeXT, cc -E runs the code through the compiler's parser,
4513 # not just through cpp. "Syntax error" is here to catch this case.
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4517 # include <limits.h>
4519 # include <assert.h>
4523 if ac_fn_c_try_cpp "$LINENO"; then :
4526 # Broken: fails on valid input.
4529 rm -f conftest.err conftest.i conftest.$ac_ext
4531 # OK, works on sane cases. Now check whether nonexistent headers
4532 # can be detected and how.
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4535 #include <ac_nonexistent.h>
4537 if ac_fn_c_try_cpp "$LINENO"; then :
4538 # Broken: success on invalid input.
4541 # Passes both tests.
4545 rm -f conftest.err conftest.i conftest.$ac_ext
4548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4549 rm -f conftest.i conftest.err conftest.$ac_ext
4550 if $ac_preproc_ok; then :
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4563 $as_echo "$CPP" >&6; }
4565 for ac_c_preproc_warn_flag in '' yes
4567 # Use a header file that comes with gcc, so configuring glibc
4568 # with a fresh cross-compiler works.
4569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4570 # <limits.h> exists even on freestanding compilers.
4571 # On the NeXT, cc -E runs the code through the compiler's parser,
4572 # not just through cpp. "Syntax error" is here to catch this case.
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4576 # include <limits.h>
4578 # include <assert.h>
4582 if ac_fn_c_try_cpp "$LINENO"; then :
4585 # Broken: fails on valid input.
4588 rm -f conftest.err conftest.i conftest.$ac_ext
4590 # OK, works on sane cases. Now check whether nonexistent headers
4591 # can be detected and how.
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4594 #include <ac_nonexistent.h>
4596 if ac_fn_c_try_cpp "$LINENO"; then :
4597 # Broken: success on invalid input.
4600 # Passes both tests.
4604 rm -f conftest.err conftest.i conftest.$ac_ext
4607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4608 rm -f conftest.i conftest.err conftest.$ac_ext
4609 if $ac_preproc_ok; then :
4612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4614 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4615 See \`config.log' for more details" "$LINENO" 5; }
4619 ac_cpp='$CPP $CPPFLAGS'
4620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 if test -n "$ac_tool_prefix"; then
4625 # Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
4626 set dummy ${ac_tool_prefix}sed; ac_word=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if ${ac_cv_prog_SED+:} false; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -n "$SED"; then
4633 ac_cv_prog_SED="$SED" # Let the user override the test.
4635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir=.
4640 for ac_exec_ext in '' $ac_executable_extensions; do
4641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_SED="${ac_tool_prefix}sed"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 if test -n "$SED"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4655 $as_echo "$SED" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4663 if test -z "$ac_cv_prog_SED"; then
4665 # Extract the first word of "sed", so it can be a program name with args.
4666 set dummy sed; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_ac_ct_SED+:} false; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$ac_ct_SED"; then
4673 ac_cv_prog_ac_ct_SED="$ac_ct_SED" # Let the user override the test.
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_SED="sed"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 ac_ct_SED=$ac_cv_prog_ac_ct_SED
4693 if test -n "$ac_ct_SED"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_SED" >&5
4695 $as_echo "$ac_ct_SED" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4701 if test "x$ac_ct_SED" = x; then
4704 case $cross_compiling:$ac_tool_warned in
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708 ac_tool_warned=yes ;;
4713 SED="$ac_cv_prog_SED"
4716 if test -n "$ac_tool_prefix"; then
4717 # Extract the first word of "${ac_tool_prefix}awk", so it can be a program name with args.
4718 set dummy ${ac_tool_prefix}awk; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_prog_AWK+:} false; then :
4722 $as_echo_n "(cached) " >&6
4724 if test -n "$AWK"; then
4725 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_AWK="${ac_tool_prefix}awk"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 if test -n "$AWK"; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4747 $as_echo "$AWK" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4755 if test -z "$ac_cv_prog_AWK"; then
4757 # Extract the first word of "awk", so it can be a program name with args.
4758 set dummy awk; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_prog_ac_ct_AWK+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$ac_ct_AWK"; then
4765 ac_cv_prog_ac_ct_AWK="$ac_ct_AWK" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_ac_ct_AWK="awk"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 ac_ct_AWK=$ac_cv_prog_ac_ct_AWK
4785 if test -n "$ac_ct_AWK"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AWK" >&5
4787 $as_echo "$ac_ct_AWK" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4793 if test "x$ac_ct_AWK" = x; then
4796 case $cross_compiling:$ac_tool_warned in
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned=yes ;;
4805 AWK="$ac_cv_prog_AWK"
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4810 $as_echo_n "checking whether ln -s works... " >&6; }
4812 if test "$LN_S" = "ln -s"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4817 $as_echo "no, using $LN_S" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4821 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4823 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4824 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 cat >conftest.make <<\_ACEOF
4830 @echo '@@@%%%=$(MAKE)=@@@%%%'
4832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4833 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4835 eval ac_cv_prog_make_${ac_make}_set=yes;;
4837 eval ac_cv_prog_make_${ac_make}_set=no;;
4841 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4843 $as_echo "yes" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4848 SET_MAKE="MAKE=${MAKE-make}"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4854 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4859 macro_version='2.4.2'
4860 macro_revision='1.3337'
4874 ltmain="$ac_aux_dir/ltmain.sh"
4876 # Backslashify metacharacters that are still active within
4877 # double-quoted strings.
4878 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4880 # Same as above, but do not quote variable references.
4881 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4883 # Sed substitution to delay expansion of an escaped shell variable in a
4884 # double_quote_subst'ed string.
4885 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4887 # Sed substitution to delay expansion of an escaped single quote.
4888 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4890 # Sed substitution to avoid accidental globbing in evaled expressions
4891 no_glob_subst='s/\*/\\\*/g'
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4894 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4895 if ${lt_cv_path_NM+:} false; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$NM"; then
4899 # Let the user override the test.
4902 lt_nm_to_check="${ac_tool_prefix}nm"
4903 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4904 lt_nm_to_check="$lt_nm_to_check nm"
4906 for lt_tmp_nm in $lt_nm_to_check; do
4907 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4908 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4910 test -z "$ac_dir" && ac_dir=.
4911 tmp_nm="$ac_dir/$lt_tmp_nm"
4912 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4913 # Check to see if the nm accepts a BSD-compat flag.
4914 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4915 # nm: unknown option "B" ignored
4916 # Tru64's nm complains that /dev/null is an invalid object file
4917 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4918 */dev/null* | *'Invalid file or object type'*)
4919 lt_cv_path_NM="$tmp_nm -B"
4923 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4925 lt_cv_path_NM="$tmp_nm -p"
4929 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4930 continue # so that we can try to find one that supports BSD flags
4939 : ${lt_cv_path_NM=no}
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4943 $as_echo "$lt_cv_path_NM" >&6; }
4944 if test "$lt_cv_path_NM" != "no"; then
4947 # Didn't find any BSD compatible name lister, look for dumpbin.
4948 if test -n "$DUMPBIN"; then :
4949 # Let the user override the test.
4951 if test -n "$ac_tool_prefix"; then
4952 for ac_prog in dumpbin "link -dump"
4954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if ${ac_cv_prog_DUMPBIN+:} false; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -n "$DUMPBIN"; then
4962 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 DUMPBIN=$ac_cv_prog_DUMPBIN
4982 if test -n "$DUMPBIN"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4984 $as_echo "$DUMPBIN" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4991 test -n "$DUMPBIN" && break
4994 if test -z "$DUMPBIN"; then
4995 ac_ct_DUMPBIN=$DUMPBIN
4996 for ac_prog in dumpbin "link -dump"
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy $ac_prog; ac_word=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5003 $as_echo_n "(cached) " >&6
5005 if test -n "$ac_ct_DUMPBIN"; then
5006 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5026 if test -n "$ac_ct_DUMPBIN"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5028 $as_echo "$ac_ct_DUMPBIN" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 test -n "$ac_ct_DUMPBIN" && break
5038 if test "x$ac_ct_DUMPBIN" = x; then
5041 case $cross_compiling:$ac_tool_warned in
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5045 ac_tool_warned=yes ;;
5047 DUMPBIN=$ac_ct_DUMPBIN
5051 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5053 DUMPBIN="$DUMPBIN -symbols"
5061 if test "$DUMPBIN" != ":"; then
5065 test -z "$NM" && NM=nm
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5073 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5074 if ${lt_cv_nm_interface+:} false; then :
5075 $as_echo_n "(cached) " >&6
5077 lt_cv_nm_interface="BSD nm"
5078 echo "int some_variable = 0;" > conftest.$ac_ext
5079 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5080 (eval "$ac_compile" 2>conftest.err)
5081 cat conftest.err >&5
5082 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5083 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5084 cat conftest.err >&5
5085 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5086 cat conftest.out >&5
5087 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5088 lt_cv_nm_interface="MS dumpbin"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5093 $as_echo "$lt_cv_nm_interface" >&6; }
5095 # find the maximum length of command line arguments
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5097 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5098 if ${lt_cv_sys_max_cmd_len+:} false; then :
5099 $as_echo_n "(cached) " >&6
5106 # On DJGPP, this test can blow up pretty badly due to problems in libc
5107 # (any single argument exceeding 2000 bytes causes a buffer overrun
5108 # during glob expansion). Even if it were fixed, the result of this
5109 # check would be larger than it should be.
5110 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5114 # Under GNU Hurd, this test is not required because there is
5115 # no limit to the length of command line arguments.
5116 # Libtool will interpret -1 as no limit whatsoever
5117 lt_cv_sys_max_cmd_len=-1;
5120 cygwin* | mingw* | cegcc*)
5121 # On Win9x/ME, this test blows up -- it succeeds, but takes
5122 # about 5 minutes as the teststring grows exponentially.
5123 # Worse, since 9x/ME are not pre-emptively multitasking,
5124 # you end up with a "frozen" computer, even though with patience
5125 # the test eventually succeeds (with a max line length of 256k).
5126 # Instead, let's just punt: use the minimum linelength reported by
5127 # all of the supported platforms: 8192 (on NT/2K/XP).
5128 lt_cv_sys_max_cmd_len=8192;
5132 # On MiNT this can take a long time and run out of memory.
5133 lt_cv_sys_max_cmd_len=8192;
5137 # On AmigaOS with pdksh, this test takes hours, literally.
5138 # So we just punt and use a minimum line length of 8192.
5139 lt_cv_sys_max_cmd_len=8192;
5142 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5143 # This has been around since 386BSD, at least. Likely further.
5144 if test -x /sbin/sysctl; then
5145 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5146 elif test -x /usr/sbin/sysctl; then
5147 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5149 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5151 # And add a safety zone
5152 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5157 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5158 lt_cv_sys_max_cmd_len=196608
5162 # The test takes a long time on OS/2.
5163 lt_cv_sys_max_cmd_len=8192
5167 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5168 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5169 # nice to cause kernel panics so lets avoid the loop below.
5170 # First set a reasonable default.
5171 lt_cv_sys_max_cmd_len=16384
5173 if test -x /sbin/sysconfig; then
5174 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5175 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5180 lt_cv_sys_max_cmd_len=102400
5182 sysv5* | sco5v6* | sysv4.2uw2*)
5183 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5184 if test -n "$kargmax"; then
5185 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5187 lt_cv_sys_max_cmd_len=32768
5191 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5192 if test -n "$lt_cv_sys_max_cmd_len"; then
5193 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5196 # Make teststring a little bigger before we do anything with it.
5197 # a 1K string should be a reasonable start.
5198 for i in 1 2 3 4 5 6 7 8 ; do
5199 teststring=$teststring$teststring
5201 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5202 # If test is not a shell built-in, we'll probably end up computing a
5203 # maximum length that is only half of the actual maximum length, but
5205 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5206 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5207 test $i != 17 # 1/2 MB should be enough
5210 teststring=$teststring$teststring
5212 # Only check the string length outside the loop.
5213 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5215 # Add a significant safety factor because C++ compilers can tack on
5216 # massive amounts of additional arguments before passing them to the
5217 # linker. It appears as though 1/2 is a usable value.
5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5225 if test -n $lt_cv_sys_max_cmd_len ; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5227 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5230 $as_echo "none" >&6; }
5232 max_cmd_len=$lt_cv_sys_max_cmd_len
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5244 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5245 # Try some XSI features
5248 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5250 && eval 'test $(( 1 + 1 )) -eq 2 \
5251 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5254 $as_echo "$xsi_shell" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5258 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5260 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5262 && lt_shell_append=yes
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5264 $as_echo "$lt_shell_append" >&6; }
5267 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5277 # test EBCDIC or ASCII
5278 case `echo X|tr X '\101'` in
5279 A) # ASCII based system
5280 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5281 lt_SP2NL='tr \040 \012'
5282 lt_NL2SP='tr \015\012 \040\040'
5284 *) # EBCDIC based system
5285 lt_SP2NL='tr \100 \n'
5286 lt_NL2SP='tr \r\n \100\100'
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5299 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5300 if ${lt_cv_to_host_file_cmd+:} false; then :
5301 $as_echo_n "(cached) " >&6
5306 *-*-mingw* ) # actually msys
5307 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5310 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5312 * ) # otherwise, assume *nix
5313 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5319 *-*-mingw* ) # actually msys
5320 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5323 lt_cv_to_host_file_cmd=func_convert_file_noop
5325 * ) # otherwise, assume *nix
5326 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5330 * ) # unhandled hosts (and "normal" native builds)
5331 lt_cv_to_host_file_cmd=func_convert_file_noop
5337 to_host_file_cmd=$lt_cv_to_host_file_cmd
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5339 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5346 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5347 if ${lt_cv_to_tool_file_cmd+:} false; then :
5348 $as_echo_n "(cached) " >&6
5350 #assume ordinary cross tools, or native build.
5351 lt_cv_to_tool_file_cmd=func_convert_file_noop
5355 *-*-mingw* ) # actually msys
5356 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5364 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5366 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5373 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5374 if ${lt_cv_ld_reload_flag+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 lt_cv_ld_reload_flag='-r'
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5380 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5381 reload_flag=$lt_cv_ld_reload_flag
5382 case $reload_flag in
5384 *) reload_flag=" $reload_flag" ;;
5386 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5388 cygwin* | mingw* | pw32* | cegcc*)
5389 if test "$GCC" != yes; then
5394 if test "$GCC" = yes; then
5395 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5397 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5410 if test -n "$ac_tool_prefix"; then
5411 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5412 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_OBJDUMP+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -n "$OBJDUMP"; then
5419 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 OBJDUMP=$ac_cv_prog_OBJDUMP
5439 if test -n "$OBJDUMP"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5441 $as_echo "$OBJDUMP" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5449 if test -z "$ac_cv_prog_OBJDUMP"; then
5450 ac_ct_OBJDUMP=$OBJDUMP
5451 # Extract the first word of "objdump", so it can be a program name with args.
5452 set dummy objdump; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5456 $as_echo_n "(cached) " >&6
5458 if test -n "$ac_ct_OBJDUMP"; then
5459 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5479 if test -n "$ac_ct_OBJDUMP"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5481 $as_echo "$ac_ct_OBJDUMP" >&6; }
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5487 if test "x$ac_ct_OBJDUMP" = x; then
5490 case $cross_compiling:$ac_tool_warned in
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5494 ac_tool_warned=yes ;;
5496 OBJDUMP=$ac_ct_OBJDUMP
5499 OBJDUMP="$ac_cv_prog_OBJDUMP"
5502 test -z "$OBJDUMP" && OBJDUMP=objdump
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5510 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5511 if ${lt_cv_deplibs_check_method+:} false; then :
5512 $as_echo_n "(cached) " >&6
5514 lt_cv_file_magic_cmd='$MAGIC_CMD'
5515 lt_cv_file_magic_test_file=
5516 lt_cv_deplibs_check_method='unknown'
5517 # Need to set the preceding variable on all platforms that support
5518 # interlibrary dependencies.
5519 # 'none' -- dependencies not supported.
5520 # `unknown' -- same as none, but documents that we really don't know.
5521 # 'pass_all' -- all dependencies passed with no checks.
5522 # 'test_compile' -- check by making test program.
5523 # 'file_magic [[regex]]' -- check by looking for files in library path
5524 # which responds to the $file_magic_cmd with a given extended regex.
5525 # If you have `file' or equivalent on your system and you're not sure
5526 # whether `pass_all' will *always* work, you probably want this one.
5530 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method=pass_all
5538 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5539 lt_cv_file_magic_cmd='/usr/bin/file -L'
5540 lt_cv_file_magic_test_file=/shlib/libc.so
5544 # func_win32_libid is a shell function defined in ltmain.sh
5545 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5546 lt_cv_file_magic_cmd='func_win32_libid'
5550 # Base MSYS/MinGW do not provide the 'file' command needed by
5551 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5552 # unless we find 'file', for example because we are cross-compiling.
5553 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5554 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5555 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5556 lt_cv_file_magic_cmd='func_win32_libid'
5558 # Keep this pattern in sync with the one in func_win32_libid.
5559 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5560 lt_cv_file_magic_cmd='$OBJDUMP -f'
5565 # use the weaker test based on 'objdump'. See mingw*.
5566 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5567 lt_cv_file_magic_cmd='$OBJDUMP -f'
5570 darwin* | rhapsody*)
5571 lt_cv_deplibs_check_method=pass_all
5574 freebsd* | dragonfly*)
5575 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5578 # Not sure whether the presence of OpenBSD here was a mistake.
5579 # Let's accept both of them until this is cleared up.
5580 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5581 lt_cv_file_magic_cmd=/usr/bin/file
5582 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5586 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5595 lt_cv_deplibs_check_method=pass_all
5598 hpux10.20* | hpux11*)
5599 lt_cv_file_magic_cmd=/usr/bin/file
5602 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5603 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5606 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]'
5607 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5610 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5611 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5617 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5618 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5621 irix5* | irix6* | nonstopux*)
5623 *-32|*"-32 ") libmagic=32-bit;;
5624 *-n32|*"-n32 ") libmagic=N32;;
5625 *-64|*"-64 ") libmagic=64-bit;;
5626 *) libmagic=never-match;;
5628 lt_cv_deplibs_check_method=pass_all
5631 # This must be glibc/ELF.
5632 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5633 lt_cv_deplibs_check_method=pass_all
5637 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5638 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5645 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5646 lt_cv_file_magic_cmd=/usr/bin/file
5647 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5651 lt_cv_deplibs_check_method=pass_all
5655 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5656 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5662 osf3* | osf4* | osf5*)
5663 lt_cv_deplibs_check_method=pass_all
5667 lt_cv_deplibs_check_method=pass_all
5671 lt_cv_deplibs_check_method=pass_all
5674 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5675 lt_cv_deplibs_check_method=pass_all
5679 case $host_vendor in
5681 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]'
5682 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5685 lt_cv_deplibs_check_method=pass_all
5688 lt_cv_file_magic_cmd='/bin/file'
5689 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5692 lt_cv_file_magic_cmd='/bin/file'
5693 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5694 lt_cv_file_magic_test_file=/lib/libc.so
5697 lt_cv_deplibs_check_method=pass_all
5700 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method=pass_all
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5712 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5716 if test "$build" = "$host"; then
5719 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5722 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5728 file_magic_cmd=$lt_cv_file_magic_cmd
5729 deplibs_check_method=$lt_cv_deplibs_check_method
5730 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5753 if test -n "$ac_tool_prefix"; then
5754 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5755 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_DLLTOOL+:} false; then :
5759 $as_echo_n "(cached) " >&6
5761 if test -n "$DLLTOOL"; then
5762 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 DLLTOOL=$ac_cv_prog_DLLTOOL
5782 if test -n "$DLLTOOL"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5784 $as_echo "$DLLTOOL" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5792 if test -z "$ac_cv_prog_DLLTOOL"; then
5793 ac_ct_DLLTOOL=$DLLTOOL
5794 # Extract the first word of "dlltool", so it can be a program name with args.
5795 set dummy dlltool; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$ac_ct_DLLTOOL"; then
5802 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5822 if test -n "$ac_ct_DLLTOOL"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5824 $as_echo "$ac_ct_DLLTOOL" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5830 if test "x$ac_ct_DLLTOOL" = x; then
5833 case $cross_compiling:$ac_tool_warned in
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5839 DLLTOOL=$ac_ct_DLLTOOL
5842 DLLTOOL="$ac_cv_prog_DLLTOOL"
5845 test -z "$DLLTOOL" && DLLTOOL=dlltool
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5854 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5855 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5856 $as_echo_n "(cached) " >&6
5858 lt_cv_sharedlib_from_linklib_cmd='unknown'
5861 cygwin* | mingw* | pw32* | cegcc*)
5862 # two different shell functions defined in ltmain.sh
5863 # decide which to use based on capabilities of $DLLTOOL
5864 case `$DLLTOOL --help 2>&1` in
5865 *--identify-strict*)
5866 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5869 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5874 # fallback: assume linklib IS sharedlib
5875 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5881 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5882 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5883 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5892 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_AR+:} false; then :
5900 $as_echo_n "(cached) " >&6
5902 if test -n "$AR"; then
5903 ac_cv_prog_AR="$AR" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 if test -n "$AR"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5925 $as_echo "$AR" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5932 test -n "$AR" && break
5935 if test -z "$AR"; then
5939 # Extract the first word of "$ac_prog", so it can be a program name with args.
5940 set dummy $ac_prog; ac_word=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942 $as_echo_n "checking for $ac_word... " >&6; }
5943 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5944 $as_echo_n "(cached) " >&6
5946 if test -n "$ac_ct_AR"; then
5947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_ac_ct_AR="$ac_prog"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5967 if test -n "$ac_ct_AR"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5969 $as_echo "$ac_ct_AR" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5976 test -n "$ac_ct_AR" && break
5979 if test "x$ac_ct_AR" = x; then
5982 case $cross_compiling:$ac_tool_warned in
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5986 ac_tool_warned=yes ;;
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6006 $as_echo_n "checking for archiver @FILE support... " >&6; }
6007 if ${lt_cv_ar_at_file+:} false; then :
6008 $as_echo_n "(cached) " >&6
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6022 if ac_fn_c_try_compile "$LINENO"; then :
6023 echo conftest.$ac_objext > conftest.lst
6024 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6025 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6026 (eval $lt_ar_try) 2>&5
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029 test $ac_status = 0; }
6030 if test "$ac_status" -eq 0; then
6031 # Ensure the archiver fails upon bogus file names.
6032 rm -f conftest.$ac_objext libconftest.a
6033 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6034 (eval $lt_ar_try) 2>&5
6036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6037 test $ac_status = 0; }
6038 if test "$ac_status" -ne 0; then
6042 rm -f conftest.* libconftest.a
6045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6049 $as_echo "$lt_cv_ar_at_file" >&6; }
6051 if test "x$lt_cv_ar_at_file" = xno; then
6054 archiver_list_spec=$lt_cv_ar_at_file
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6065 set dummy ${ac_tool_prefix}strip; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_STRIP+:} false; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$STRIP"; then
6072 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 STRIP=$ac_cv_prog_STRIP
6092 if test -n "$STRIP"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6094 $as_echo "$STRIP" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6102 if test -z "$ac_cv_prog_STRIP"; then
6104 # Extract the first word of "strip", so it can be a program name with args.
6105 set dummy strip; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -n "$ac_ct_STRIP"; then
6112 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_ac_ct_STRIP="strip"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6132 if test -n "$ac_ct_STRIP"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6134 $as_echo "$ac_ct_STRIP" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6140 if test "x$ac_ct_STRIP" = x; then
6143 case $cross_compiling:$ac_tool_warned in
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6147 ac_tool_warned=yes ;;
6152 STRIP="$ac_cv_prog_STRIP"
6155 test -z "$STRIP" && STRIP=:
6162 if test -n "$ac_tool_prefix"; then
6163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6164 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_RANLIB+:} false; then :
6168 $as_echo_n "(cached) " >&6
6170 if test -n "$RANLIB"; then
6171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 RANLIB=$ac_cv_prog_RANLIB
6191 if test -n "$RANLIB"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6193 $as_echo "$RANLIB" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6201 if test -z "$ac_cv_prog_RANLIB"; then
6202 ac_ct_RANLIB=$RANLIB
6203 # Extract the first word of "ranlib", so it can be a program name with args.
6204 set dummy ranlib; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6208 $as_echo_n "(cached) " >&6
6210 if test -n "$ac_ct_RANLIB"; then
6211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_ac_ct_RANLIB="ranlib"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6231 if test -n "$ac_ct_RANLIB"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6233 $as_echo "$ac_ct_RANLIB" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6239 if test "x$ac_ct_RANLIB" = x; then
6242 case $cross_compiling:$ac_tool_warned in
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6248 RANLIB=$ac_ct_RANLIB
6251 RANLIB="$ac_cv_prog_RANLIB"
6254 test -z "$RANLIB" && RANLIB=:
6261 # Determine commands to create old-style static archives.
6262 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6263 old_postinstall_cmds='chmod 644 $oldlib'
6264 old_postuninstall_cmds=
6266 if test -n "$RANLIB"; then
6269 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6272 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6275 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6280 lock_old_archive_extraction=yes ;;
6282 lock_old_archive_extraction=no ;;
6323 # If no C compiler was specified, use CC.
6326 # If no C compiler flags were specified, use CFLAGS.
6327 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6329 # Allow CC to be a program name with arguments.
6333 # Check for command to grab the raw symbol name followed by C symbol from nm.
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6335 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6336 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6337 $as_echo_n "(cached) " >&6
6340 # These are sane defaults that work on at least a few old systems.
6341 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6343 # Character class describing NM global symbol codes.
6344 symcode='[BCDEGRST]'
6346 # Regexp to match symbols that can be accessed directly from C.
6347 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6349 # Define system-specific variables.
6354 cygwin* | mingw* | pw32* | cegcc*)
6355 symcode='[ABCDGISTW]'
6358 if test "$host_cpu" = ia64; then
6359 symcode='[ABCDEGRST]'
6363 symcode='[BCDEGRST]'
6366 symcode='[BCDEGQRST]'
6377 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6385 # If we're using GNU nm, then use its standard symbol codes.
6386 case `$NM -V 2>&1` in
6387 *GNU* | *'with BFD'*)
6388 symcode='[ABCDGIRSTW]' ;;
6391 # Transform an extracted symbol line into a proper C declaration.
6392 # Some systems (esp. on ia64) link data and code symbols differently,
6393 # so use this general approach.
6394 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6396 # Transform an extracted symbol line into symbol name and symbol address
6397 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6398 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'"
6400 # Handle CRLF in mingw tool chain
6404 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6408 # Try without a prefix underscore, then with it.
6409 for ac_symprfx in "" "_"; do
6411 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6412 symxfrm="\\1 $ac_symprfx\\2 \\2"
6414 # Write the raw and C identifiers.
6415 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6416 # Fake it for dumpbin and say T for any non-static function
6417 # and D for any global variable.
6418 # Also find C++ and __fastcall symbols from MSVC++,
6419 # which start with @ or ?.
6420 lt_cv_sys_global_symbol_pipe="$AWK '"\
6421 " {last_section=section; section=\$ 3};"\
6422 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6423 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6424 " \$ 0!~/External *\|/{next};"\
6425 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6426 " {if(hide[section]) next};"\
6427 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6428 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6429 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6430 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6431 " ' prfx=^$ac_symprfx"
6433 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6435 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6437 # Check to see that the pipe works correctly.
6441 cat > conftest.$ac_ext <<_LT_EOF
6446 void nm_test_func(void);
6447 void nm_test_func(void){}
6451 int main(){nm_test_var='a';nm_test_func();return(0);}
6454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6455 (eval $ac_compile) 2>&5
6457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6458 test $ac_status = 0; }; then
6459 # Now try to grab the symbols.
6461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6462 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465 test $ac_status = 0; } && test -s "$nlist"; then
6466 # Try sorting and uniquifying the output.
6467 if sort "$nlist" | uniq > "$nlist"T; then
6468 mv -f "$nlist"T "$nlist"
6473 # Make sure that we snagged all the symbols we need.
6474 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6475 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6476 cat <<_LT_EOF > conftest.$ac_ext
6477 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6478 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6479 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6480 relocations are performed -- see ld's documentation on pseudo-relocs. */
6481 # define LT_DLSYM_CONST
6482 #elif defined(__osf__)
6483 /* This system does not cope well with relocations in const data. */
6484 # define LT_DLSYM_CONST
6486 # define LT_DLSYM_CONST const
6494 # Now generate the symbol file.
6495 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6497 cat <<_LT_EOF >> conftest.$ac_ext
6499 /* The mapping between symbol names and symbols. */
6500 LT_DLSYM_CONST struct {
6504 lt__PROGRAM__LTX_preloaded_symbols[] =
6506 { "@PROGRAM@", (void *) 0 },
6508 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6509 cat <<\_LT_EOF >> conftest.$ac_ext
6513 /* This works around a problem in FreeBSD linker */
6514 #ifdef FREEBSD_WORKAROUND
6515 static const void *lt_preloaded_setup() {
6516 return lt__PROGRAM__LTX_preloaded_symbols;
6524 # Now try linking the two files.
6525 mv conftest.$ac_objext conftstm.$ac_objext
6526 lt_globsym_save_LIBS=$LIBS
6527 lt_globsym_save_CFLAGS=$CFLAGS
6528 LIBS="conftstm.$ac_objext"
6529 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6531 (eval $ac_link) 2>&5
6533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6537 LIBS=$lt_globsym_save_LIBS
6538 CFLAGS=$lt_globsym_save_CFLAGS
6540 echo "cannot find nm_test_func in $nlist" >&5
6543 echo "cannot find nm_test_var in $nlist" >&5
6546 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6549 echo "$progname: failed program was:" >&5
6550 cat conftest.$ac_ext >&5
6552 rm -rf conftest* conftst*
6554 # Do not use the global_symbol_pipe unless it works.
6555 if test "$pipe_works" = yes; then
6558 lt_cv_sys_global_symbol_pipe=
6564 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6565 lt_cv_sys_global_symbol_to_cdecl=
6567 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6569 $as_echo "failed" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6572 $as_echo "ok" >&6; }
6575 # Response file support.
6576 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6577 nm_file_list_spec='@'
6578 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6579 nm_file_list_spec='@'
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6609 $as_echo_n "checking for sysroot... " >&6; }
6611 # Check whether --with-sysroot was given.
6612 if test "${with_sysroot+set}" = set; then :
6613 withval=$with_sysroot;
6620 case ${with_sysroot} in #(
6622 if test "$GCC" = yes; then
6623 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6627 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6633 $as_echo "${with_sysroot}" >&6; }
6634 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6639 $as_echo "${lt_sysroot:-no}" >&6; }
6645 # Check whether --enable-libtool-lock was given.
6646 if test "${enable_libtool_lock+set}" = set; then :
6647 enableval=$enable_libtool_lock;
6650 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6652 # Some flags need to be propagated to the compiler or linker for good
6656 # Find out which ABI we are using.
6657 echo 'int i;' > conftest.$ac_ext
6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6659 (eval $ac_compile) 2>&5
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; }; then
6663 case `/usr/bin/file conftest.$ac_objext` in
6675 # Find out which ABI we are using.
6676 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6678 (eval $ac_compile) 2>&5
6680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6681 test $ac_status = 0; }; then
6682 if test "$lt_cv_prog_gnu_ld" = yes; then
6683 case `/usr/bin/file conftest.$ac_objext` in
6685 LD="${LD-ld} -melf32bsmip"
6688 LD="${LD-ld} -melf32bmipn32"
6691 LD="${LD-ld} -melf64bmip"
6695 case `/usr/bin/file conftest.$ac_objext` in
6711 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6712 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6713 # Find out which ABI we are using.
6714 echo 'int i;' > conftest.$ac_ext
6715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6716 (eval $ac_compile) 2>&5
6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719 test $ac_status = 0; }; then
6720 case `/usr/bin/file conftest.o` in
6723 x86_64-*kfreebsd*-gnu)
6724 LD="${LD-ld} -m elf_i386_fbsd"
6727 LD="${LD-ld} -m elf_i386"
6729 ppc64-*linux*|powerpc64-*linux*)
6730 LD="${LD-ld} -m elf32ppclinux"
6733 LD="${LD-ld} -m elf_s390"
6736 LD="${LD-ld} -m elf32_sparc"
6742 x86_64-*kfreebsd*-gnu)
6743 LD="${LD-ld} -m elf_x86_64_fbsd"
6746 LD="${LD-ld} -m elf_x86_64"
6748 ppc*-*linux*|powerpc*-*linux*)
6749 LD="${LD-ld} -m elf64ppc"
6751 s390*-*linux*|s390*-*tpf*)
6752 LD="${LD-ld} -m elf64_s390"
6755 LD="${LD-ld} -m elf64_sparc"
6765 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6766 SAVE_CFLAGS="$CFLAGS"
6767 CFLAGS="$CFLAGS -belf"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6769 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6770 if ${lt_cv_cc_needs_belf+:} false; then :
6771 $as_echo_n "(cached) " >&6
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6790 if ac_fn_c_try_link "$LINENO"; then :
6791 lt_cv_cc_needs_belf=yes
6793 lt_cv_cc_needs_belf=no
6795 rm -f core conftest.err conftest.$ac_objext \
6796 conftest$ac_exeext conftest.$ac_ext
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6805 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6806 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6807 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6808 CFLAGS="$SAVE_CFLAGS"
6812 # Find out which ABI we are using.
6813 echo 'int i;' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6819 case `/usr/bin/file conftest.o` in
6821 case $lt_cv_prog_gnu_ld in
6825 LD="${LD-ld} -m elf_x86_64"
6828 LD="${LD-ld} -m elf64_sparc"
6831 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6832 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6837 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6849 need_locks="$enable_libtool_lock"
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}mt; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$MANIFEST_TOOL"; then
6860 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6880 if test -n "$MANIFEST_TOOL"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6882 $as_echo "$MANIFEST_TOOL" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6891 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6892 # Extract the first word of "mt", so it can be a program name with args.
6893 set dummy mt; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$ac_ct_MANIFEST_TOOL"; then
6900 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6922 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6937 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6940 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6943 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6945 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6946 if ${lt_cv_path_mainfest_tool+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 lt_cv_path_mainfest_tool=no
6950 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6951 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6952 cat conftest.err >&5
6953 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6954 lt_cv_path_mainfest_tool=yes
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6959 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6960 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6970 rhapsody* | darwin*)
6971 if test -n "$ac_tool_prefix"; then
6972 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6973 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6977 $as_echo_n "(cached) " >&6
6979 if test -n "$DSYMUTIL"; then
6980 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7000 if test -n "$DSYMUTIL"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7002 $as_echo "$DSYMUTIL" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; }
7010 if test -z "$ac_cv_prog_DSYMUTIL"; then
7011 ac_ct_DSYMUTIL=$DSYMUTIL
7012 # Extract the first word of "dsymutil", so it can be a program name with args.
7013 set dummy dsymutil; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 if test -n "$ac_ct_DSYMUTIL"; then
7020 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7042 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7048 if test "x$ac_ct_DSYMUTIL" = x; then
7051 case $cross_compiling:$ac_tool_warned in
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 ac_tool_warned=yes ;;
7057 DSYMUTIL=$ac_ct_DSYMUTIL
7060 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_NMEDIT+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$NMEDIT"; then
7072 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 NMEDIT=$ac_cv_prog_NMEDIT
7092 if test -n "$NMEDIT"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7094 $as_echo "$NMEDIT" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7102 if test -z "$ac_cv_prog_NMEDIT"; then
7103 ac_ct_NMEDIT=$NMEDIT
7104 # Extract the first word of "nmedit", so it can be a program name with args.
7105 set dummy nmedit; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$ac_ct_NMEDIT"; then
7112 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7132 if test -n "$ac_ct_NMEDIT"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7134 $as_echo "$ac_ct_NMEDIT" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7140 if test "x$ac_ct_NMEDIT" = x; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7149 NMEDIT=$ac_ct_NMEDIT
7152 NMEDIT="$ac_cv_prog_NMEDIT"
7155 if test -n "$ac_tool_prefix"; then
7156 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_LIPO+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$LIPO"; then
7164 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 LIPO=$ac_cv_prog_LIPO
7184 if test -n "$LIPO"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7186 $as_echo "$LIPO" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7194 if test -z "$ac_cv_prog_LIPO"; then
7196 # Extract the first word of "lipo", so it can be a program name with args.
7197 set dummy lipo; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$ac_ct_LIPO"; then
7204 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_ac_ct_LIPO="lipo"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7224 if test -n "$ac_ct_LIPO"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7226 $as_echo "$ac_ct_LIPO" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7232 if test "x$ac_ct_LIPO" = x; then
7235 case $cross_compiling:$ac_tool_warned in
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7244 LIPO="$ac_cv_prog_LIPO"
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}otool; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_OTOOL+:} false; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$OTOOL"; then
7256 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 OTOOL=$ac_cv_prog_OTOOL
7276 if test -n "$OTOOL"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7278 $as_echo "$OTOOL" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7286 if test -z "$ac_cv_prog_OTOOL"; then
7288 # Extract the first word of "otool", so it can be a program name with args.
7289 set dummy otool; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$ac_ct_OTOOL"; then
7296 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_ac_ct_OTOOL="otool"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7316 if test -n "$ac_ct_OTOOL"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7318 $as_echo "$ac_ct_OTOOL" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7324 if test "x$ac_ct_OTOOL" = x; then
7327 case $cross_compiling:$ac_tool_warned in
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7336 OTOOL="$ac_cv_prog_OTOOL"
7339 if test -n "$ac_tool_prefix"; then
7340 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL64+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$OTOOL64"; then
7348 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 OTOOL64=$ac_cv_prog_OTOOL64
7368 if test -n "$OTOOL64"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7370 $as_echo "$OTOOL64" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 if test -z "$ac_cv_prog_OTOOL64"; then
7379 ac_ct_OTOOL64=$OTOOL64
7380 # Extract the first word of "otool64", so it can be a program name with args.
7381 set dummy otool64; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$ac_ct_OTOOL64"; then
7388 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_ac_ct_OTOOL64="otool64"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7408 if test -n "$ac_ct_OTOOL64"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7410 $as_echo "$ac_ct_OTOOL64" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7416 if test "x$ac_ct_OTOOL64" = x; then
7419 case $cross_compiling:$ac_tool_warned in
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7425 OTOOL64=$ac_ct_OTOOL64
7428 OTOOL64="$ac_cv_prog_OTOOL64"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7458 $as_echo_n "checking for -single_module linker flag... " >&6; }
7459 if ${lt_cv_apple_cc_single_mod+:} false; then :
7460 $as_echo_n "(cached) " >&6
7462 lt_cv_apple_cc_single_mod=no
7463 if test -z "${LT_MULTI_MODULE}"; then
7464 # By default we will add the -single_module flag. You can override
7465 # by either setting the environment variable LT_MULTI_MODULE
7466 # non-empty at configure time, or by adding -multi_module to the
7468 rm -rf libconftest.dylib*
7469 echo "int foo(void){return 1;}" > conftest.c
7470 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471 -dynamiclib -Wl,-single_module conftest.c" >&5
7472 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7473 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7475 # If there is a non-empty error log, and "single_module"
7476 # appears in it, assume the flag caused a linker warning
7477 if test -s conftest.err && $GREP single_module conftest.err; then
7478 cat conftest.err >&5
7479 # Otherwise, if the output was created with a 0 exit code from
7480 # the compiler, it worked.
7481 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7482 lt_cv_apple_cc_single_mod=yes
7484 cat conftest.err >&5
7486 rm -rf libconftest.dylib*
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496 $as_echo_n "(cached) " >&6
7498 lt_cv_ld_exported_symbols_list=no
7499 save_LDFLAGS=$LDFLAGS
7500 echo "_main" > conftest.sym
7501 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7516 lt_cv_ld_exported_symbols_list=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7527 $as_echo_n "checking for -force_load linker flag... " >&6; }
7528 if ${lt_cv_ld_force_load+:} false; then :
7529 $as_echo_n "(cached) " >&6
7531 lt_cv_ld_force_load=no
7532 cat > conftest.c << _LT_EOF
7533 int forced_loaded() { return 2;}
7535 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7536 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7537 echo "$AR cru libconftest.a conftest.o" >&5
7538 $AR cru libconftest.a conftest.o 2>&5
7539 echo "$RANLIB libconftest.a" >&5
7540 $RANLIB libconftest.a 2>&5
7541 cat > conftest.c << _LT_EOF
7542 int main() { return 0;}
7544 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7545 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7547 if test -s conftest.err && $GREP force_load conftest.err; then
7548 cat conftest.err >&5
7549 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7550 lt_cv_ld_force_load=yes
7552 cat conftest.err >&5
7554 rm -f conftest.err libconftest.a conftest conftest.c
7555 rm -rf conftest.dSYM
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7559 $as_echo "$lt_cv_ld_force_load" >&6; }
7561 rhapsody* | darwin1.[012])
7562 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565 darwin*) # darwin 5.x on
7566 # if running on 10.5 or later, the deployment target defaults
7567 # to the OS version, if on x86, and 10.4, the deployment
7568 # target defaults to 10.4. Don't you love it?
7569 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7570 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7571 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7575 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7579 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7580 _lt_dar_single_mod='$single_module'
7582 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7583 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7585 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7587 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7588 _lt_dsymutil='~$DSYMUTIL $lib || :'
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7597 $as_echo_n "checking for ANSI C header files... " >&6; }
7598 if ${ac_cv_header_stdc+:} false; then :
7599 $as_echo_n "(cached) " >&6
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7616 if ac_fn_c_try_compile "$LINENO"; then :
7617 ac_cv_header_stdc=yes
7619 ac_cv_header_stdc=no
7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7623 if test $ac_cv_header_stdc = yes; then
7624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7631 $EGREP "memchr" >/dev/null 2>&1; then :
7634 ac_cv_header_stdc=no
7640 if test $ac_cv_header_stdc = yes; then
7641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7648 $EGREP "free" >/dev/null 2>&1; then :
7651 ac_cv_header_stdc=no
7657 if test $ac_cv_header_stdc = yes; then
7658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7659 if test "$cross_compiling" = yes; then :
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7666 #if ((' ' & 0x0FF) == 0x020)
7667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7670 # define ISLOWER(c) \
7671 (('a' <= (c) && (c) <= 'i') \
7672 || ('j' <= (c) && (c) <= 'r') \
7673 || ('s' <= (c) && (c) <= 'z'))
7674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7682 for (i = 0; i < 256; i++)
7683 if (XOR (islower (i), ISLOWER (i))
7684 || toupper (i) != TOUPPER (i))
7689 if ac_fn_c_try_run "$LINENO"; then :
7692 ac_cv_header_stdc=no
7694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7695 conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7701 $as_echo "$ac_cv_header_stdc" >&6; }
7702 if test $ac_cv_header_stdc = yes; then
7704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7709 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7710 inttypes.h stdint.h unistd.h
7712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 for ac_header in dlfcn.h
7727 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7729 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define HAVE_DLFCN_H 1
7743 enable_win32_dll=yes
7746 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7747 if test -n "$ac_tool_prefix"; then
7748 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7749 set dummy ${ac_tool_prefix}as; ac_word=$2
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751 $as_echo_n "checking for $ac_word... " >&6; }
7752 if ${ac_cv_prog_AS+:} false; then :
7753 $as_echo_n "(cached) " >&6
7755 if test -n "$AS"; then
7756 ac_cv_prog_AS="$AS" # Let the user override the test.
7758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7762 test -z "$as_dir" && as_dir=.
7763 for ac_exec_ext in '' $ac_executable_extensions; do
7764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7765 ac_cv_prog_AS="${ac_tool_prefix}as"
7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 if test -n "$AS"; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7778 $as_echo "$AS" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781 $as_echo "no" >&6; }
7786 if test -z "$ac_cv_prog_AS"; then
7788 # Extract the first word of "as", so it can be a program name with args.
7789 set dummy as; ac_word=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7793 $as_echo_n "(cached) " >&6
7795 if test -n "$ac_ct_AS"; then
7796 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir=.
7803 for ac_exec_ext in '' $ac_executable_extensions; do
7804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_ac_ct_AS="as"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7815 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7816 if test -n "$ac_ct_AS"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7818 $as_echo "$ac_ct_AS" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7824 if test "x$ac_ct_AS" = x; then
7827 case $cross_compiling:$ac_tool_warned in
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7831 ac_tool_warned=yes ;;
7839 if test -n "$ac_tool_prefix"; then
7840 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7841 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_prog_DLLTOOL+:} false; then :
7845 $as_echo_n "(cached) " >&6
7847 if test -n "$DLLTOOL"; then
7848 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 DLLTOOL=$ac_cv_prog_DLLTOOL
7868 if test -n "$DLLTOOL"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7870 $as_echo "$DLLTOOL" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7878 if test -z "$ac_cv_prog_DLLTOOL"; then
7879 ac_ct_DLLTOOL=$DLLTOOL
7880 # Extract the first word of "dlltool", so it can be a program name with args.
7881 set dummy dlltool; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7885 $as_echo_n "(cached) " >&6
7887 if test -n "$ac_ct_DLLTOOL"; then
7888 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7908 if test -n "$ac_ct_DLLTOOL"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7910 $as_echo "$ac_ct_DLLTOOL" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7916 if test "x$ac_ct_DLLTOOL" = x; then
7919 case $cross_compiling:$ac_tool_warned in
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7923 ac_tool_warned=yes ;;
7925 DLLTOOL=$ac_ct_DLLTOOL
7928 DLLTOOL="$ac_cv_prog_DLLTOOL"
7931 if test -n "$ac_tool_prefix"; then
7932 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7933 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_prog_OBJDUMP+:} false; then :
7937 $as_echo_n "(cached) " >&6
7939 if test -n "$OBJDUMP"; then
7940 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 OBJDUMP=$ac_cv_prog_OBJDUMP
7960 if test -n "$OBJDUMP"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7962 $as_echo "$OBJDUMP" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7970 if test -z "$ac_cv_prog_OBJDUMP"; then
7971 ac_ct_OBJDUMP=$OBJDUMP
7972 # Extract the first word of "objdump", so it can be a program name with args.
7973 set dummy objdump; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7977 $as_echo_n "(cached) " >&6
7979 if test -n "$ac_ct_OBJDUMP"; then
7980 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8000 if test -n "$ac_ct_OBJDUMP"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8002 $as_echo "$ac_ct_OBJDUMP" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8008 if test "x$ac_ct_OBJDUMP" = x; then
8011 case $cross_compiling:$ac_tool_warned in
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8015 ac_tool_warned=yes ;;
8017 OBJDUMP=$ac_ct_OBJDUMP
8020 OBJDUMP="$ac_cv_prog_OBJDUMP"
8026 test -z "$AS" && AS=as
8032 test -z "$DLLTOOL" && DLLTOOL=dlltool
8038 test -z "$OBJDUMP" && OBJDUMP=objdump
8050 # Check whether --enable-shared was given.
8051 if test "${enable_shared+set}" = set; then :
8052 enableval=$enable_shared; p=${PACKAGE-default}
8054 yes) enable_shared=yes ;;
8055 no) enable_shared=no ;;
8058 # Look at the argument we got. We use all the common list separators.
8059 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8060 for pkg in $enableval; do
8062 if test "X$pkg" = "X$p"; then
8081 # Check whether --enable-static was given.
8082 if test "${enable_static+set}" = set; then :
8083 enableval=$enable_static; p=${PACKAGE-default}
8085 yes) enable_static=yes ;;
8086 no) enable_static=no ;;
8089 # Look at the argument we got. We use all the common list separators.
8090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8091 for pkg in $enableval; do
8093 if test "X$pkg" = "X$p"; then
8113 # Check whether --with-pic was given.
8114 if test "${with_pic+set}" = set; then :
8115 withval=$with_pic; lt_p=${PACKAGE-default}
8117 yes|no) pic_mode=$withval ;;
8120 # Look at the argument we got. We use all the common list separators.
8121 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8122 for lt_pkg in $withval; do
8124 if test "X$lt_pkg" = "X$lt_p"; then
8136 test -z "$pic_mode" && pic_mode=default
8144 # Check whether --enable-fast-install was given.
8145 if test "${enable_fast_install+set}" = set; then :
8146 enableval=$enable_fast_install; p=${PACKAGE-default}
8148 yes) enable_fast_install=yes ;;
8149 no) enable_fast_install=no ;;
8151 enable_fast_install=no
8152 # Look at the argument we got. We use all the common list separators.
8153 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8154 for pkg in $enableval; do
8156 if test "X$pkg" = "X$p"; then
8157 enable_fast_install=yes
8164 enable_fast_install=yes
8177 # This can be used to rebuild libtool when needed
8178 LIBTOOL_DEPS="$ltmain"
8180 # Always use our own libtool.
8181 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8212 test -z "$LN_S" && LN_S="ln -s"
8227 if test -n "${ZSH_VERSION+set}" ; then
8228 setopt NO_GLOB_SUBST
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8232 $as_echo_n "checking for objdir... " >&6; }
8233 if ${lt_cv_objdir+:} false; then :
8234 $as_echo_n "(cached) " >&6
8236 rm -f .libs 2>/dev/null
8237 mkdir .libs 2>/dev/null
8238 if test -d .libs; then
8241 # MS-DOS does not allow filenames that begin with a dot.
8244 rmdir .libs 2>/dev/null
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8247 $as_echo "$lt_cv_objdir" >&6; }
8248 objdir=$lt_cv_objdir
8254 cat >>confdefs.h <<_ACEOF
8255 #define LT_OBJDIR "$lt_cv_objdir/"
8263 # AIX sometimes has problems with the GCC collect2 program. For some
8264 # reason, if we set the COLLECT_NAMES environment variable, the problems
8265 # vanish in a puff of smoke.
8266 if test "X${COLLECT_NAMES+set}" != Xset; then
8268 export COLLECT_NAMES
8275 can_build_shared=yes
8277 # All known linkers require a `.a' archive for static linking (except MSVC,
8278 # which needs '.lib').
8281 with_gnu_ld="$lt_cv_prog_gnu_ld"
8284 old_CFLAGS="$CFLAGS"
8286 # Set sane defaults for various variables
8287 test -z "$CC" && CC=cc
8288 test -z "$LTCC" && LTCC=$CC
8289 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8290 test -z "$LD" && LD=ld
8291 test -z "$ac_objext" && ac_objext=o
8293 for cc_temp in $compiler""; do
8295 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8296 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8301 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8304 # Only perform the check for file, if the check method requires it
8305 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8306 case $deplibs_check_method in
8308 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8310 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8311 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8312 $as_echo_n "(cached) " >&6
8316 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8319 lt_save_MAGIC_CMD="$MAGIC_CMD"
8320 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8321 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8322 for ac_dir in $ac_dummy; do
8324 test -z "$ac_dir" && ac_dir=.
8325 if test -f $ac_dir/${ac_tool_prefix}file; then
8326 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8327 if test -n "$file_magic_test_file"; then
8328 case $deplibs_check_method in
8330 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8331 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8332 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8333 $EGREP "$file_magic_regex" > /dev/null; then
8338 *** Warning: the command libtool uses to detect shared libraries,
8339 *** $file_magic_cmd, produces output that libtool cannot recognize.
8340 *** The result is that libtool may fail to recognize shared libraries
8341 *** as such. This will affect the creation of libtool libraries that
8342 *** depend on shared libraries, but programs linked with such libtool
8343 *** libraries will work regardless of this problem. Nevertheless, you
8344 *** may want to report the problem to your system manager and/or to
8345 *** bug-libtool@gnu.org
8355 MAGIC_CMD="$lt_save_MAGIC_CMD"
8360 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8361 if test -n "$MAGIC_CMD"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8363 $as_echo "$MAGIC_CMD" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8373 if test -z "$lt_cv_path_MAGIC_CMD"; then
8374 if test -n "$ac_tool_prefix"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8376 $as_echo_n "checking for file... " >&6; }
8377 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8378 $as_echo_n "(cached) " >&6
8382 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8385 lt_save_MAGIC_CMD="$MAGIC_CMD"
8386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8387 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8388 for ac_dir in $ac_dummy; do
8390 test -z "$ac_dir" && ac_dir=.
8391 if test -f $ac_dir/file; then
8392 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8393 if test -n "$file_magic_test_file"; then
8394 case $deplibs_check_method in
8396 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8399 $EGREP "$file_magic_regex" > /dev/null; then
8404 *** Warning: the command libtool uses to detect shared libraries,
8405 *** $file_magic_cmd, produces output that libtool cannot recognize.
8406 *** The result is that libtool may fail to recognize shared libraries
8407 *** as such. This will affect the creation of libtool libraries that
8408 *** depend on shared libraries, but programs linked with such libtool
8409 *** libraries will work regardless of this problem. Nevertheless, you
8410 *** may want to report the problem to your system manager and/or to
8411 *** bug-libtool@gnu.org
8421 MAGIC_CMD="$lt_save_MAGIC_CMD"
8426 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8427 if test -n "$MAGIC_CMD"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8429 $as_echo "$MAGIC_CMD" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8445 # Use C for the default configuration in the libtool script
8449 ac_cpp='$CPP $CPPFLAGS'
8450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8455 # Source file extension for C test sources.
8458 # Object file extension for compiled C test sources.
8462 # Code to be used in simple compile tests
8463 lt_simple_compile_test_code="int some_variable = 0;"
8465 # Code to be used in simple link tests
8466 lt_simple_link_test_code='int main(){return(0);}'
8474 # If no C compiler was specified, use CC.
8477 # If no C compiler flags were specified, use CFLAGS.
8478 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8480 # Allow CC to be a program name with arguments.
8483 # Save the default compiler, since it gets overwritten when the other
8484 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8485 compiler_DEFAULT=$CC
8487 # save warnings/boilerplate of simple test code
8488 ac_outfile=conftest.$ac_objext
8489 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8490 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8491 _lt_compiler_boilerplate=`cat conftest.err`
8494 ac_outfile=conftest.$ac_objext
8495 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8496 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8497 _lt_linker_boilerplate=`cat conftest.err`
8501 if test -n "$compiler"; then
8503 lt_prog_compiler_no_builtin_flag=
8505 if test "$GCC" = yes; then
8506 case $cc_basename in
8508 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8510 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8514 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8515 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8516 $as_echo_n "(cached) " >&6
8518 lt_cv_prog_compiler_rtti_exceptions=no
8519 ac_outfile=conftest.$ac_objext
8520 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8521 lt_compiler_flag="-fno-rtti -fno-exceptions"
8522 # Insert the option either (1) after the last *FLAGS variable, or
8523 # (2) before a word containing "conftest.", or (3) at the end.
8524 # Note that $ac_compile itself does not contain backslashes and begins
8525 # with a dollar sign (not a hyphen), so the echo should work correctly.
8526 # The option is referenced via a variable to avoid confusing sed.
8527 lt_compile=`echo "$ac_compile" | $SED \
8528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8530 -e 's:$: $lt_compiler_flag:'`
8531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8532 (eval "$lt_compile" 2>conftest.err)
8534 cat conftest.err >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 if (exit $ac_status) && test -s "$ac_outfile"; then
8537 # The compiler can only warn and ignore the option if not recognized
8538 # So say no if there are warnings other than the usual output.
8539 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8540 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8541 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8542 lt_cv_prog_compiler_rtti_exceptions=yes
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8549 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8551 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8552 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8564 lt_prog_compiler_wl=
8565 lt_prog_compiler_pic=
8566 lt_prog_compiler_static=
8569 if test "$GCC" = yes; then
8570 lt_prog_compiler_wl='-Wl,'
8571 lt_prog_compiler_static='-static'
8575 # All AIX code is PIC.
8576 if test "$host_cpu" = ia64; then
8577 # AIX 5 now supports IA64 processor
8578 lt_prog_compiler_static='-Bstatic'
8585 # see comment about AmigaOS4 .so support
8586 lt_prog_compiler_pic='-fPIC'
8589 # FIXME: we need at least 68020 code to build shared libraries, but
8590 # adding the `-m68020' flag to GCC prevents building anything better,
8592 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8597 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8598 # PIC is the default for these OSes.
8601 mingw* | cygwin* | pw32* | os2* | cegcc*)
8602 # This hack is so that the source file can tell whether it is being
8603 # built for inclusion in a dll (and should export symbols for example).
8604 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8605 # (--disable-auto-import) libraries
8606 lt_prog_compiler_pic='-DDLL_EXPORT'
8609 darwin* | rhapsody*)
8610 # PIC is the default on this platform
8611 # Common symbols not allowed in MH_DYLIB files
8612 lt_prog_compiler_pic='-fno-common'
8616 # PIC is the default for Haiku.
8617 # The "-static" flag exists, but is broken.
8618 lt_prog_compiler_static=
8622 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8623 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8624 # sets the default TLS model and affects inlining.
8630 lt_prog_compiler_pic='-fPIC'
8636 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8637 # Instead, we relocate shared libraries at runtime.
8641 # Just because we use GCC doesn't mean we suddenly get shared libraries
8642 # on systems that don't support them.
8643 lt_prog_compiler_can_build_shared=no
8648 # QNX uses GNU C++, but need to define -shared option too, otherwise
8650 lt_prog_compiler_pic='-fPIC -shared'
8654 if test -d /usr/nec; then
8655 lt_prog_compiler_pic=-Kconform_pic
8660 lt_prog_compiler_pic='-fPIC'
8664 case $cc_basename in
8665 nvcc*) # Cuda Compiler Driver 2.2
8666 lt_prog_compiler_wl='-Xlinker '
8667 if test -n "$lt_prog_compiler_pic"; then
8668 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8673 # PORTME Check for flag to pass linker flags through the system compiler.
8676 lt_prog_compiler_wl='-Wl,'
8677 if test "$host_cpu" = ia64; then
8678 # AIX 5 now supports IA64 processor
8679 lt_prog_compiler_static='-Bstatic'
8681 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8685 mingw* | cygwin* | pw32* | os2* | cegcc*)
8686 # This hack is so that the source file can tell whether it is being
8687 # built for inclusion in a dll (and should export symbols for example).
8688 lt_prog_compiler_pic='-DDLL_EXPORT'
8691 hpux9* | hpux10* | hpux11*)
8692 lt_prog_compiler_wl='-Wl,'
8693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8700 lt_prog_compiler_pic='+Z'
8703 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8704 lt_prog_compiler_static='${wl}-a ${wl}archive'
8707 irix5* | irix6* | nonstopux*)
8708 lt_prog_compiler_wl='-Wl,'
8709 # PIC (with -KPIC) is the default.
8710 lt_prog_compiler_static='-non_shared'
8713 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8714 case $cc_basename in
8715 # old Intel for x86_64 which still supported -KPIC.
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-static'
8721 # icc used to be incompatible with GCC.
8722 # ICC 10 doesn't accept -KPIC any more.
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-fPIC'
8726 lt_prog_compiler_static='-static'
8728 # Lahey Fortran 8.1.
8730 lt_prog_compiler_wl='-Wl,'
8731 lt_prog_compiler_pic='--shared'
8732 lt_prog_compiler_static='--static'
8735 # NAG Fortran compiler
8736 lt_prog_compiler_wl='-Wl,-Wl,,'
8737 lt_prog_compiler_pic='-PIC'
8738 lt_prog_compiler_static='-Bstatic'
8740 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8741 # Portland Group compilers (*not* the Pentium gcc compiler,
8742 # which looks to be a dead project)
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_pic='-fpic'
8745 lt_prog_compiler_static='-Bstatic'
8748 lt_prog_compiler_wl='-Wl,'
8749 # All Alpha code is PIC.
8750 lt_prog_compiler_static='-non_shared'
8752 xl* | bgxl* | bgf* | mpixl*)
8753 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8754 lt_prog_compiler_wl='-Wl,'
8755 lt_prog_compiler_pic='-qpic'
8756 lt_prog_compiler_static='-qstaticlink'
8759 case `$CC -V 2>&1 | sed 5q` in
8760 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8761 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-Bstatic'
8764 lt_prog_compiler_wl=''
8766 *Sun\ F* | *Sun*Fortran*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 lt_prog_compiler_wl='-Qoption ld '
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_wl='-Wl,'
8777 *Intel*\ [CF]*Compiler*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-fPIC'
8780 lt_prog_compiler_static='-static'
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='-fpic'
8785 lt_prog_compiler_static='-Bstatic'
8793 lt_prog_compiler_pic='-KPIC'
8794 lt_prog_compiler_static='-Bstatic'
8798 # QNX uses GNU C++, but need to define -shared option too, otherwise
8800 lt_prog_compiler_pic='-fPIC -shared'
8803 osf3* | osf4* | osf5*)
8804 lt_prog_compiler_wl='-Wl,'
8805 # All OSF/1 code is PIC.
8806 lt_prog_compiler_static='-non_shared'
8810 lt_prog_compiler_static='-non_shared'
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8816 case $cc_basename in
8817 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8818 lt_prog_compiler_wl='-Qoption ld ';;
8820 lt_prog_compiler_wl='-Wl,';;
8825 lt_prog_compiler_wl='-Qoption ld '
8826 lt_prog_compiler_pic='-PIC'
8827 lt_prog_compiler_static='-Bstatic'
8830 sysv4 | sysv4.2uw2* | sysv4.3*)
8831 lt_prog_compiler_wl='-Wl,'
8832 lt_prog_compiler_pic='-KPIC'
8833 lt_prog_compiler_static='-Bstatic'
8837 if test -d /usr/nec ;then
8838 lt_prog_compiler_pic='-Kconform_pic'
8839 lt_prog_compiler_static='-Bstatic'
8843 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8844 lt_prog_compiler_wl='-Wl,'
8845 lt_prog_compiler_pic='-KPIC'
8846 lt_prog_compiler_static='-Bstatic'
8850 lt_prog_compiler_wl='-Wl,'
8851 lt_prog_compiler_can_build_shared=no
8855 lt_prog_compiler_pic='-pic'
8856 lt_prog_compiler_static='-Bstatic'
8860 lt_prog_compiler_can_build_shared=no
8866 # For platforms which do not support PIC, -DPIC is meaningless:
8868 lt_prog_compiler_pic=
8871 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8876 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8877 if ${lt_cv_prog_compiler_pic+:} false; then :
8878 $as_echo_n "(cached) " >&6
8880 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8883 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8884 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8887 # Check to make sure the PIC flag actually works.
8889 if test -n "$lt_prog_compiler_pic"; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8891 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8892 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8893 $as_echo_n "(cached) " >&6
8895 lt_cv_prog_compiler_pic_works=no
8896 ac_outfile=conftest.$ac_objext
8897 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8898 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8899 # Insert the option either (1) after the last *FLAGS variable, or
8900 # (2) before a word containing "conftest.", or (3) at the end.
8901 # Note that $ac_compile itself does not contain backslashes and begins
8902 # with a dollar sign (not a hyphen), so the echo should work correctly.
8903 # The option is referenced via a variable to avoid confusing sed.
8904 lt_compile=`echo "$ac_compile" | $SED \
8905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8907 -e 's:$: $lt_compiler_flag:'`
8908 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8909 (eval "$lt_compile" 2>conftest.err)
8911 cat conftest.err >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 if (exit $ac_status) && test -s "$ac_outfile"; then
8914 # The compiler can only warn and ignore the option if not recognized
8915 # So say no if there are warnings other than the usual output.
8916 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8917 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8918 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8919 lt_cv_prog_compiler_pic_works=yes
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8926 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8928 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8929 case $lt_prog_compiler_pic in
8931 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8934 lt_prog_compiler_pic=
8935 lt_prog_compiler_can_build_shared=no
8951 # Check to make sure the static flag actually works.
8953 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8955 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8956 if ${lt_cv_prog_compiler_static_works+:} false; then :
8957 $as_echo_n "(cached) " >&6
8959 lt_cv_prog_compiler_static_works=no
8960 save_LDFLAGS="$LDFLAGS"
8961 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8962 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8963 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8964 # The linker can only warn and ignore the option if not recognized
8965 # So say no if there are warnings
8966 if test -s conftest.err; then
8967 # Append any errors to the config.log.
8968 cat conftest.err 1>&5
8969 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8970 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8971 if diff conftest.exp conftest.er2 >/dev/null; then
8972 lt_cv_prog_compiler_static_works=yes
8975 lt_cv_prog_compiler_static_works=yes
8979 LDFLAGS="$save_LDFLAGS"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8983 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8985 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8988 lt_prog_compiler_static=
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8999 if ${lt_cv_prog_compiler_c_o+:} false; then :
9000 $as_echo_n "(cached) " >&6
9002 lt_cv_prog_compiler_c_o=no
9003 $RM -r conftest 2>/dev/null
9007 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9009 lt_compiler_flag="-o out/conftest2.$ac_objext"
9010 # Insert the option either (1) after the last *FLAGS variable, or
9011 # (2) before a word containing "conftest.", or (3) at the end.
9012 # Note that $ac_compile itself does not contain backslashes and begins
9013 # with a dollar sign (not a hyphen), so the echo should work correctly.
9014 lt_compile=`echo "$ac_compile" | $SED \
9015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9017 -e 's:$: $lt_compiler_flag:'`
9018 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9019 (eval "$lt_compile" 2>out/conftest.err)
9021 cat out/conftest.err >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9025 # The compiler can only warn and ignore the option if not recognized
9026 # So say no if there are warnings
9027 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9028 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9029 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9030 lt_cv_prog_compiler_c_o=yes
9035 # SGI C++ compiler will create directory out/ii_files/ for
9036 # template instantiation
9037 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9038 $RM out/* && rmdir out
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9053 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9054 if ${lt_cv_prog_compiler_c_o+:} false; then :
9055 $as_echo_n "(cached) " >&6
9057 lt_cv_prog_compiler_c_o=no
9058 $RM -r conftest 2>/dev/null
9062 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9064 lt_compiler_flag="-o out/conftest2.$ac_objext"
9065 # Insert the option either (1) after the last *FLAGS variable, or
9066 # (2) before a word containing "conftest.", or (3) at the end.
9067 # Note that $ac_compile itself does not contain backslashes and begins
9068 # with a dollar sign (not a hyphen), so the echo should work correctly.
9069 lt_compile=`echo "$ac_compile" | $SED \
9070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9072 -e 's:$: $lt_compiler_flag:'`
9073 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9074 (eval "$lt_compile" 2>out/conftest.err)
9076 cat out/conftest.err >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9080 # The compiler can only warn and ignore the option if not recognized
9081 # So say no if there are warnings
9082 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9083 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9084 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9085 lt_cv_prog_compiler_c_o=yes
9090 # SGI C++ compiler will create directory out/ii_files/ for
9091 # template instantiation
9092 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9093 $RM out/* && rmdir out
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9100 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9105 hard_links="nottested"
9106 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9107 # do not overwrite the value of need_locks provided by the user
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9109 $as_echo_n "checking if we can lock with hard links... " >&6; }
9112 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9114 ln conftest.a conftest.b 2>&5 || hard_links=no
9115 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9117 $as_echo "$hard_links" >&6; }
9118 if test "$hard_links" = no; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9120 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9133 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9136 allow_undefined_flag=
9137 always_export_symbols=no
9139 archive_expsym_cmds=
9140 compiler_needs_object=no
9141 enable_shared_with_static_runtimes=no
9142 export_dynamic_flag_spec=
9143 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9144 hardcode_automatic=no
9146 hardcode_direct_absolute=no
9147 hardcode_libdir_flag_spec=
9148 hardcode_libdir_separator=
9150 hardcode_shlibpath_var=unsupported
9152 link_all_deplibs=unknown
9155 old_archive_from_new_cmds=
9156 old_archive_from_expsyms_cmds=
9157 thread_safe_flag_spec=
9158 whole_archive_flag_spec=
9159 # include_expsyms should be a list of space-separated symbols to be *always*
9160 # included in the symbol list
9162 # exclude_expsyms can be an extended regexp of symbols to exclude
9163 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9164 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9165 # as well as any symbol that contains `d'.
9166 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9167 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9168 # platforms (ab)use it in PIC code, but their linkers get confused if
9169 # the symbol is explicitly referenced. Since portable code cannot
9170 # rely on this symbol name, it's probably fine to never include it in
9171 # preloaded symbol tables.
9172 # Exclude shared library initialization/finalization symbols.
9173 extract_expsyms_cmds=
9176 cygwin* | mingw* | pw32* | cegcc*)
9177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9178 # When not using gcc, we currently assume that we are using
9179 # Microsoft Visual C++.
9180 if test "$GCC" != yes; then
9185 # we just hope/assume this is gcc and not c89 (= MSVC++)
9195 # On some targets, GNU ld is compatible enough with the native linker
9196 # that we're better off using the native interface for both.
9197 lt_use_gnu_ld_interface=no
9198 if test "$with_gnu_ld" = yes; then
9201 # The AIX port of GNU ld has always aspired to compatibility
9202 # with the native linker. However, as the warning in the GNU ld
9203 # block says, versions before 2.19.5* couldn't really create working
9204 # shared libraries, regardless of the interface used.
9205 case `$LD -v 2>&1` in
9206 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9207 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9208 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9210 lt_use_gnu_ld_interface=yes
9215 lt_use_gnu_ld_interface=yes
9220 if test "$lt_use_gnu_ld_interface" = yes; then
9221 # If archive_cmds runs LD, not CC, wlarc should be empty
9224 # Set some defaults for GNU ld with shared library support. These
9225 # are reset later if shared libraries are not supported. Putting them
9226 # here allows them to be overridden if necessary.
9227 runpath_var=LD_RUN_PATH
9228 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229 export_dynamic_flag_spec='${wl}--export-dynamic'
9230 # ancient GNU ld didn't support --whole-archive et. al.
9231 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9232 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9234 whole_archive_flag_spec=
9236 supports_anon_versioning=no
9237 case `$LD -v 2>&1` in
9238 *GNU\ gold*) supports_anon_versioning=yes ;;
9239 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9240 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9241 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9242 *\ 2.11.*) ;; # other 2.11 versions
9243 *) supports_anon_versioning=yes ;;
9246 # See if GNU ld supports shared libraries.
9249 # On AIX/PPC, the GNU linker is very broken
9250 if test "$host_cpu" != ia64; then
9254 *** Warning: the GNU linker, at least up to release 2.19, is reported
9255 *** to be unable to reliably create shared libraries on AIX.
9256 *** Therefore, libtool is disabling shared libraries support. If you
9257 *** really care for shared libraries, you may want to install binutils
9258 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9259 *** You will then need to restart the configuration process.
9268 # see comment about AmigaOS4 .so support
9269 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270 archive_expsym_cmds=''
9273 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)'
9274 hardcode_libdir_flag_spec='-L$libdir'
9275 hardcode_minus_L=yes
9281 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9282 allow_undefined_flag=unsupported
9283 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9284 # support --undefined. This deserves some investigation. FIXME
9285 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291 cygwin* | mingw* | pw32* | cegcc*)
9292 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9293 # as there is no search path for DLLs.
9294 hardcode_libdir_flag_spec='-L$libdir'
9295 export_dynamic_flag_spec='${wl}--export-all-symbols'
9296 allow_undefined_flag=unsupported
9297 always_export_symbols=no
9298 enable_shared_with_static_runtimes=yes
9299 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'
9300 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9302 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9303 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9304 # If the export-symbols file already is a .def file (1st line
9305 # is EXPORTS), use it as is; otherwise, prepend...
9306 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9307 cp $export_symbols $output_objdir/$soname.def;
9309 echo EXPORTS > $output_objdir/$soname.def;
9310 cat $export_symbols >> $output_objdir/$soname.def;
9312 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9320 link_all_deplibs=yes
9325 hardcode_shlibpath_var=no
9326 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9327 export_dynamic_flag_spec='${wl}-E'
9328 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9329 # Instead, shared libraries are loaded at an image base (0x10000000 by
9330 # default) and relocated if they conflict, which is a slow very memory
9331 # consuming and fragmenting process. To avoid this, we pick a random,
9332 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9333 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9334 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9335 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'
9338 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9340 if test "$host_os" = linux-dietlibc; then
9341 case $cc_basename in
9342 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9345 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9346 && test "$tmp_diet" = no
9348 tmp_addflag=' $pic_flag'
9349 tmp_sharedflag='-shared'
9350 case $cc_basename,$host_cpu in
9351 pgcc*) # Portland Group C compiler
9352 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'
9353 tmp_addflag=' $pic_flag'
9355 pgf77* | pgf90* | pgf95* | pgfortran*)
9356 # Portland Group f77 and f90 compilers
9357 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'
9358 tmp_addflag=' $pic_flag -Mnomain' ;;
9359 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9360 tmp_addflag=' -i_dynamic' ;;
9361 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9362 tmp_addflag=' -i_dynamic -nofor_main' ;;
9363 ifc* | ifort*) # Intel Fortran compiler
9364 tmp_addflag=' -nofor_main' ;;
9365 lf95*) # Lahey Fortran 8.1
9366 whole_archive_flag_spec=
9367 tmp_sharedflag='--shared' ;;
9368 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9369 tmp_sharedflag='-qmkshrobj'
9371 nvcc*) # Cuda Compiler Driver 2.2
9372 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'
9373 compiler_needs_object=yes
9376 case `$CC -V 2>&1 | sed 5q` in
9377 *Sun\ C*) # Sun C 5.9
9378 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'
9379 compiler_needs_object=yes
9380 tmp_sharedflag='-G' ;;
9381 *Sun\ F*) # Sun Fortran 8.3
9382 tmp_sharedflag='-G' ;;
9384 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9386 if test "x$supports_anon_versioning" = xyes; then
9387 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9388 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9389 echo "local: *; };" >> $output_objdir/$libname.ver~
9390 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9393 case $cc_basename in
9394 xlf* | bgf* | bgxlf* | mpixlf*)
9395 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9396 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9397 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9398 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9399 if test "x$supports_anon_versioning" = xyes; then
9400 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9401 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9402 echo "local: *; };" >> $output_objdir/$libname.ver~
9403 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9413 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9414 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9417 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9418 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9427 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9428 *** create shared libraries on Solaris systems. Therefore, libtool
9429 *** is disabling shared libraries support. We urge you to upgrade GNU
9430 *** binutils to release 2.9.1 or newer. Another option is to modify
9431 *** your PATH or compiler configuration so that the native linker is
9432 *** used, and then restart.
9435 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9436 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9444 case `$LD -v 2>&1` in
9445 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9449 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9450 *** reliably create shared libraries on SCO systems. Therefore, libtool
9451 *** is disabling shared libraries support. We urge you to upgrade GNU
9452 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9453 *** your PATH or compiler configuration so that the native linker is
9454 *** used, and then restart.
9459 # For security reasons, it is highly recommended that you always
9460 # use absolute paths for naming shared libraries, and exclude the
9461 # DT_RUNPATH tag from executables and libraries. But doing so
9462 # requires that you compile everything twice, which is a pain.
9463 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9464 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9465 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9466 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9475 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9478 hardcode_shlibpath_var=no
9482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9483 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491 if test "$ld_shlibs" = no; then
9493 hardcode_libdir_flag_spec=
9494 export_dynamic_flag_spec=
9495 whole_archive_flag_spec=
9498 # PORTME fill in a description of your system's linker (not GNU ld)
9501 allow_undefined_flag=unsupported
9502 always_export_symbols=yes
9503 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'
9504 # Note: this linker hardcodes the directories in LIBPATH if there
9505 # are no directories specified by -L.
9506 hardcode_minus_L=yes
9507 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9508 # Neither direct hardcoding nor static linking is supported with a
9510 hardcode_direct=unsupported
9515 if test "$host_cpu" = ia64; then
9516 # On IA64, the linker does run time linking by default, so we don't
9517 # have to do anything special.
9518 aix_use_runtimelinking=no
9519 exp_sym_flag='-Bexport'
9522 # If we're using GNU nm, then we don't want the "-C" option.
9523 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9524 # Also, AIX nm treats weak defined symbols like other global
9525 # defined symbols, whereas GNU nm marks them as "W".
9526 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9527 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'
9529 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'
9531 aix_use_runtimelinking=no
9533 # Test if we are trying to use run time linking or normal
9534 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9535 # need to do runtime linking.
9536 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9537 for ld_flag in $LDFLAGS; do
9538 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9539 aix_use_runtimelinking=yes
9546 exp_sym_flag='-bexport'
9547 no_entry_flag='-bnoentry'
9550 # When large executables or shared objects are built, AIX ld can
9551 # have problems creating the table of contents. If linking a library
9552 # or program results in "error TOC overflow" add -mminimal-toc to
9553 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9554 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9558 hardcode_direct_absolute=yes
9559 hardcode_libdir_separator=':'
9560 link_all_deplibs=yes
9561 file_list_spec='${wl}-f,'
9563 if test "$GCC" = yes; then
9564 case $host_os in aix4.[012]|aix4.[012].*)
9565 # We only want to do this on AIX 4.2 and lower, the check
9566 # below for broken collect2 doesn't work under 4.3+
9567 collect2name=`${CC} -print-prog-name=collect2`
9568 if test -f "$collect2name" &&
9569 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9571 # We have reworked collect2
9574 # We have old collect2
9575 hardcode_direct=unsupported
9576 # It fails to find uninstalled libraries when the uninstalled
9577 # path is not listed in the libpath. Setting hardcode_minus_L
9578 # to unsupported forces relinking
9579 hardcode_minus_L=yes
9580 hardcode_libdir_flag_spec='-L$libdir'
9581 hardcode_libdir_separator=
9585 shared_flag='-shared'
9586 if test "$aix_use_runtimelinking" = yes; then
9587 shared_flag="$shared_flag "'${wl}-G'
9591 if test "$host_cpu" = ia64; then
9592 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9593 # chokes on -Wl,-G. The following line is correct:
9596 if test "$aix_use_runtimelinking" = yes; then
9597 shared_flag='${wl}-G'
9599 shared_flag='${wl}-bM:SRE'
9604 export_dynamic_flag_spec='${wl}-bexpall'
9605 # It seems that -bexpall does not export symbols beginning with
9606 # underscore (_), so it is better to generate a list of symbols to export.
9607 always_export_symbols=yes
9608 if test "$aix_use_runtimelinking" = yes; then
9609 # Warning - without using the other runtime loading flags (-brtl),
9610 # -berok will link without error, but may produce a broken library.
9611 allow_undefined_flag='-berok'
9612 # Determine the default libpath from the value encoded in an
9614 if test "${lt_cv_aix_libpath+set}" = set; then
9615 aix_libpath=$lt_cv_aix_libpath
9617 if ${lt_cv_aix_libpath_+:} false; then :
9618 $as_echo_n "(cached) " >&6
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9631 if ac_fn_c_try_link "$LINENO"; then :
9633 lt_aix_libpath_sed='
9634 /Import File Strings/,/^$/ {
9636 s/^0 *\([^ ]*\) *$/\1/
9640 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9641 # Check for a 64-bit object if we didn't find anything.
9642 if test -z "$lt_cv_aix_libpath_"; then
9643 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646 rm -f core conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9648 if test -z "$lt_cv_aix_libpath_"; then
9649 lt_cv_aix_libpath_="/usr/lib:/lib"
9654 aix_libpath=$lt_cv_aix_libpath_
9657 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9658 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"
9660 if test "$host_cpu" = ia64; then
9661 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9662 allow_undefined_flag="-z nodefs"
9663 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"
9665 # Determine the default libpath from the value encoded in an
9667 if test "${lt_cv_aix_libpath+set}" = set; then
9668 aix_libpath=$lt_cv_aix_libpath
9670 if ${lt_cv_aix_libpath_+:} false; then :
9671 $as_echo_n "(cached) " >&6
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9684 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9689 s/^0 *\([^ ]*\) *$/\1/
9693 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$lt_cv_aix_libpath_"; then
9696 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$lt_cv_aix_libpath_"; then
9702 lt_cv_aix_libpath_="/usr/lib:/lib"
9707 aix_libpath=$lt_cv_aix_libpath_
9710 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9711 # Warning - without using the other run time loading flags,
9712 # -berok will link without error, but may produce a broken library.
9713 no_undefined_flag=' ${wl}-bernotok'
9714 allow_undefined_flag=' ${wl}-berok'
9715 if test "$with_gnu_ld" = yes; then
9716 # We only use this code for GNU lds that support --whole-archive.
9717 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9719 # Exported symbols can be pulled into shared objects from archives
9720 whole_archive_flag_spec='$convenience'
9722 archive_cmds_need_lc=yes
9723 # This is similar to how AIX traditionally builds its shared libraries.
9724 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'
9732 # see comment about AmigaOS4 .so support
9733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734 archive_expsym_cmds=''
9737 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)'
9738 hardcode_libdir_flag_spec='-L$libdir'
9739 hardcode_minus_L=yes
9745 export_dynamic_flag_spec=-rdynamic
9748 cygwin* | mingw* | pw32* | cegcc*)
9749 # When not using gcc, we currently assume that we are using
9750 # Microsoft Visual C++.
9751 # hardcode_libdir_flag_spec is actually meaningless, as there is
9752 # no search path for DLLs.
9753 case $cc_basename in
9756 hardcode_libdir_flag_spec=' '
9757 allow_undefined_flag=unsupported
9758 always_export_symbols=yes
9760 # Tell ltmain to make .lib files, not .a files.
9762 # Tell ltmain to make .dll files, not .so files.
9764 # FIXME: Setting linknames here is a bad hack.
9765 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9766 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9767 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9769 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9771 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9773 # The linker will not automatically build a static lib if we build a DLL.
9774 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9775 enable_shared_with_static_runtimes=yes
9776 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9777 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9779 old_postinstall_cmds='chmod 644 $oldlib'
9780 postlink_cmds='lt_outputfile="@OUTPUT@"~
9781 lt_tool_outputfile="@TOOL_OUTPUT@"~
9782 case $lt_outputfile in
9785 lt_outputfile="$lt_outputfile.exe"
9786 lt_tool_outputfile="$lt_tool_outputfile.exe"
9789 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9790 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9791 $RM "$lt_outputfile.manifest";
9795 # Assume MSVC wrapper
9796 hardcode_libdir_flag_spec=' '
9797 allow_undefined_flag=unsupported
9798 # Tell ltmain to make .lib files, not .a files.
9800 # Tell ltmain to make .dll files, not .so files.
9802 # FIXME: Setting linknames here is a bad hack.
9803 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9804 # The linker will automatically build a .lib file if we build a DLL.
9805 old_archive_from_new_cmds='true'
9806 # FIXME: Should let the user specify the lib program.
9807 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9808 enable_shared_with_static_runtimes=yes
9813 darwin* | rhapsody*)
9816 archive_cmds_need_lc=no
9818 hardcode_automatic=yes
9819 hardcode_shlibpath_var=unsupported
9820 if test "$lt_cv_ld_force_load" = "yes"; then
9821 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\"`'
9824 whole_archive_flag_spec=''
9826 link_all_deplibs=yes
9827 allow_undefined_flag="$_lt_dar_allow_undefined"
9828 case $cc_basename in
9829 ifort*) _lt_dar_can_shared=yes ;;
9830 *) _lt_dar_can_shared=$GCC ;;
9832 if test "$_lt_dar_can_shared" = "yes"; then
9833 output_verbose_link_cmd=func_echo_all
9834 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9835 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9836 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}"
9837 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}"
9846 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847 hardcode_libdir_flag_spec='-L$libdir'
9848 hardcode_shlibpath_var=no
9851 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9852 # support. Future versions do this automatically, but an explicit c++rt0.o
9853 # does not break anything, and helps significantly (at the cost of a little
9856 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9857 hardcode_libdir_flag_spec='-R$libdir'
9859 hardcode_shlibpath_var=no
9862 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9864 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_minus_L=yes
9867 hardcode_shlibpath_var=no
9870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9871 freebsd* | dragonfly*)
9872 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9875 hardcode_shlibpath_var=no
9879 if test "$GCC" = yes; then
9880 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'
9882 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'
9884 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9885 hardcode_libdir_separator=:
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L=yes
9891 export_dynamic_flag_spec='${wl}-E'
9895 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9896 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9898 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9900 if test "$with_gnu_ld" = no; then
9901 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9902 hardcode_libdir_separator=:
9904 hardcode_direct_absolute=yes
9905 export_dynamic_flag_spec='${wl}-E'
9906 # hardcode_minus_L: Not really in the search PATH,
9907 # but as the default location of the library.
9908 hardcode_minus_L=yes
9913 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9916 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9935 # Older versions of the 11.00 compiler do not understand -b yet
9936 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9938 $as_echo_n "checking if $CC understands -b... " >&6; }
9939 if ${lt_cv_prog_compiler__b+:} false; then :
9940 $as_echo_n "(cached) " >&6
9942 lt_cv_prog_compiler__b=no
9943 save_LDFLAGS="$LDFLAGS"
9944 LDFLAGS="$LDFLAGS -b"
9945 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9946 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9947 # The linker can only warn and ignore the option if not recognized
9948 # So say no if there are warnings
9949 if test -s conftest.err; then
9950 # Append any errors to the config.log.
9951 cat conftest.err 1>&5
9952 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9953 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9954 if diff conftest.exp conftest.er2 >/dev/null; then
9955 lt_cv_prog_compiler__b=yes
9958 lt_cv_prog_compiler__b=yes
9962 LDFLAGS="$save_LDFLAGS"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9966 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9968 if test x"$lt_cv_prog_compiler__b" = xyes; then
9969 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9977 if test "$with_gnu_ld" = no; then
9978 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9979 hardcode_libdir_separator=:
9984 hardcode_shlibpath_var=no
9988 hardcode_direct_absolute=yes
9989 export_dynamic_flag_spec='${wl}-E'
9991 # hardcode_minus_L: Not really in the search PATH,
9992 # but as the default location of the library.
9993 hardcode_minus_L=yes
9999 irix5* | irix6* | nonstopux*)
10000 if test "$GCC" = yes; then
10001 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'
10002 # Try to use the -exported_symbol ld option, if it does not
10003 # work, assume that -exports_file does not work either and
10004 # implicitly export all symbols.
10005 # This should be the same for all languages, so no per-tag cache variable.
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10007 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10008 if ${lt_cv_irix_exported_symbol+:} false; then :
10009 $as_echo_n "(cached) " >&6
10011 save_LDFLAGS="$LDFLAGS"
10012 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10015 int foo (void) { return 0; }
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 lt_cv_irix_exported_symbol=yes
10020 lt_cv_irix_exported_symbol=no
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LDFLAGS="$save_LDFLAGS"
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10027 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10028 if test "$lt_cv_irix_exported_symbol" = yes; then
10029 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'
10032 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'
10033 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'
10035 archive_cmds_need_lc='no'
10036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10037 hardcode_libdir_separator=:
10039 link_all_deplibs=yes
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10046 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10048 hardcode_libdir_flag_spec='-R$libdir'
10049 hardcode_direct=yes
10050 hardcode_shlibpath_var=no
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=yes
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator=:
10058 hardcode_shlibpath_var=no
10065 if test -f /usr/libexec/ld.so; then
10066 hardcode_direct=yes
10067 hardcode_shlibpath_var=no
10068 hardcode_direct_absolute=yes
10069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10072 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10073 export_dynamic_flag_spec='${wl}-E'
10076 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10077 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-R$libdir'
10081 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10082 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10092 hardcode_libdir_flag_spec='-L$libdir'
10093 hardcode_minus_L=yes
10094 allow_undefined_flag=unsupported
10095 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'
10096 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10100 if test "$GCC" = yes; then
10101 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10102 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'
10104 allow_undefined_flag=' -expect_unresolved \*'
10105 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'
10107 archive_cmds_need_lc='no'
10108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109 hardcode_libdir_separator=:
10112 osf4* | osf5*) # as osf3* with the addition of -msym flag
10113 if test "$GCC" = yes; then
10114 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10115 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'
10116 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10118 allow_undefined_flag=' -expect_unresolved \*'
10119 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'
10120 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~
10121 $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'
10123 # Both c and cxx compiler support -rpath directly
10124 hardcode_libdir_flag_spec='-rpath $libdir'
10126 archive_cmds_need_lc='no'
10127 hardcode_libdir_separator=:
10131 no_undefined_flag=' -z defs'
10132 if test "$GCC" = yes; then
10134 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10136 $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'
10138 case `$CC -V 2>&1` in
10141 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10147 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10149 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10153 hardcode_libdir_flag_spec='-R$libdir'
10154 hardcode_shlibpath_var=no
10156 solaris2.[0-5] | solaris2.[0-5].*) ;;
10158 # The compiler driver will combine and reorder linker options,
10159 # but understands `-z linker_flag'. GCC discards it without `$wl',
10160 # but is careful enough not to reorder.
10161 # Supported since Solaris 2.6 (maybe 2.5.1?)
10162 if test "$GCC" = yes; then
10163 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10165 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10169 link_all_deplibs=yes
10173 if test "x$host_vendor" = xsequent; then
10174 # Use $CC to link under sequent, because it throws in some extra .o
10175 # files that make .init and .fini sections work.
10176 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_direct=yes
10182 hardcode_minus_L=yes
10183 hardcode_shlibpath_var=no
10187 case $host_vendor in
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_direct=yes # is this really true???
10193 ## LD is ld it makes a PLAMLIB
10194 ## CC just makes a GrossModule.
10195 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10196 reload_cmds='$CC -r -o $output$reload_objs'
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10204 runpath_var='LD_RUN_PATH'
10205 hardcode_shlibpath_var=no
10209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210 hardcode_shlibpath_var=no
10211 export_dynamic_flag_spec='-Bexport'
10215 if test -d /usr/nec; then
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_shlibpath_var=no
10218 runpath_var=LD_RUN_PATH
10219 hardcode_runpath_var=yes
10224 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10225 no_undefined_flag='${wl}-z,text'
10226 archive_cmds_need_lc=no
10227 hardcode_shlibpath_var=no
10228 runpath_var='LD_RUN_PATH'
10230 if test "$GCC" = yes; then
10231 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10234 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 sysv5* | sco3.2v5* | sco5v6*)
10240 # Note: We can NOT use -z defs as we might desire, because we do not
10241 # link with -lc, and that would cause any symbols used from libc to
10242 # always be unresolved, which means just about no library would
10243 # ever link correctly. If we're not using GNU ld we use -z text
10244 # though, which does catch some bad symbols but isn't as heavy-handed
10246 no_undefined_flag='${wl}-z,text'
10247 allow_undefined_flag='${wl}-z,nodefs'
10248 archive_cmds_need_lc=no
10249 hardcode_shlibpath_var=no
10250 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10251 hardcode_libdir_separator=':'
10252 link_all_deplibs=yes
10253 export_dynamic_flag_spec='${wl}-Bexport'
10254 runpath_var='LD_RUN_PATH'
10256 if test "$GCC" = yes; then
10257 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_libdir_flag_spec='-L$libdir'
10268 hardcode_shlibpath_var=no
10276 if test x$host_vendor = xsni; then
10278 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10279 export_dynamic_flag_spec='${wl}-Blargedynsym'
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10286 $as_echo "$ld_shlibs" >&6; }
10287 test "$ld_shlibs" = no && can_build_shared=no
10289 with_gnu_ld=$with_gnu_ld
10306 # Do we need to explicitly link libc?
10308 case "x$archive_cmds_need_lc" in
10310 # Assume -lc should be added
10311 archive_cmds_need_lc=yes
10313 if test "$enable_shared" = yes && test "$GCC" = yes; then
10314 case $archive_cmds in
10316 # FIXME: we may have to deal with multi-command sequences.
10319 # Test whether the compiler implicitly links with -lc since on some
10320 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10321 # to ld, don't add -lc before -lgcc.
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10323 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10324 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10325 $as_echo_n "(cached) " >&6
10328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10331 (eval $ac_compile) 2>&5
10333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10334 test $ac_status = 0; } 2>conftest.err; then
10337 libobjs=conftest.$ac_objext
10339 wl=$lt_prog_compiler_wl
10340 pic_flag=$lt_prog_compiler_pic
10346 lt_save_allow_undefined_flag=$allow_undefined_flag
10347 allow_undefined_flag=
10348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10349 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10352 test $ac_status = 0; }
10354 lt_cv_archive_cmds_need_lc=no
10356 lt_cv_archive_cmds_need_lc=yes
10358 allow_undefined_flag=$lt_save_allow_undefined_flag
10360 cat conftest.err 1>&5
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10366 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10367 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10526 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10528 if test "$GCC" = yes; then
10530 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10531 *) lt_awk_arg="/^libraries:/" ;;
10534 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10535 *) lt_sed_strip_eq="s,=/,/,g" ;;
10537 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10538 case $lt_search_path_spec in
10540 # if the path contains ";" then we assume it to be the separator
10541 # otherwise default to the standard path separator (i.e. ":") - it is
10542 # assumed that no part of a normal pathname contains ";" but that should
10543 # okay in the real world where ";" in dirpaths is itself problematic.
10544 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10547 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10550 # Ok, now we have the path, separated by spaces, we can step through it
10551 # and add multilib dir if necessary.
10552 lt_tmp_lt_search_path_spec=
10553 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10554 for lt_sys_path in $lt_search_path_spec; do
10555 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10556 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10558 test -d "$lt_sys_path" && \
10559 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10562 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10563 BEGIN {RS=" "; FS="/|\n";} {
10566 for (lt_i = NF; lt_i > 0; lt_i--) {
10567 if ($lt_i != "" && $lt_i != ".") {
10568 if ($lt_i == "..") {
10571 if (lt_count == 0) {
10572 lt_foo="/" $lt_i lt_foo;
10579 if (lt_foo != "") { lt_freq[lt_foo]++; }
10580 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10582 # AWK program above erroneously prepends '/' to C:/dos/paths
10585 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10586 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10588 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10590 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10592 library_names_spec=
10593 libname_spec='lib$name'
10597 postuninstall_cmds=
10601 shlibpath_overrides_runpath=unknown
10603 dynamic_linker="$host_os ld.so"
10604 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10605 need_lib_prefix=unknown
10606 hardcode_into_libs=no
10608 # when you set need_version to no, make sure it does not cause -set_version
10609 # flags to be left without arguments
10610 need_version=unknown
10614 version_type=linux # correct to gnu/linux during the next big refactor
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10616 shlibpath_var=LIBPATH
10618 # AIX 3 has no versioning support, so we append a major version to the name.
10619 soname_spec='${libname}${release}${shared_ext}$major'
10623 version_type=linux # correct to gnu/linux during the next big refactor
10626 hardcode_into_libs=yes
10627 if test "$host_cpu" = ia64; then
10628 # AIX 5 supports IA64
10629 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10630 shlibpath_var=LD_LIBRARY_PATH
10632 # With GCC up to 2.95.x, collect2 would create an import file
10633 # for dependence libraries. The import file would start with
10634 # the line `#! .'. This would cause the generated library to
10635 # depend on `.', always an invalid library. This was fixed in
10636 # development snapshots of GCC prior to 3.0.
10638 aix4 | aix4.[01] | aix4.[01].*)
10639 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10641 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10644 can_build_shared=no
10648 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10649 # soname into executable. Probably we can add versioning support to
10650 # collect2, so additional links can be useful in future.
10651 if test "$aix_use_runtimelinking" = yes; then
10652 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10653 # instead of lib<name>.a to let people know that these are not
10654 # typical AIX shared libraries.
10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 # We preserve .a as extension for shared libraries through AIX4.2
10658 # and later when we are not doing run time linking.
10659 library_names_spec='${libname}${release}.a $libname.a'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LIBPATH
10669 # Since July 2007 AmigaOS4 officially supports .so libraries.
10670 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 library_names_spec='$libname.ixlibrary $libname.a'
10675 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10676 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'
10682 library_names_spec='${libname}${shared_ext}'
10683 dynamic_linker="$host_os ld.so"
10684 shlibpath_var=LIBRARY_PATH
10688 version_type=linux # correct to gnu/linux during the next big refactor
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10691 soname_spec='${libname}${release}${shared_ext}$major'
10692 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10693 shlibpath_var=LD_LIBRARY_PATH
10694 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10695 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10696 # the default ld.so.conf also contains /usr/contrib/lib and
10697 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10698 # libtool to hard-code these into programs
10701 cygwin* | mingw* | pw32* | cegcc*)
10702 version_type=windows
10707 case $GCC,$cc_basename in
10710 library_names_spec='$libname.dll.a'
10711 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10712 postinstall_cmds='base_file=`basename \${file}`~
10713 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10714 dldir=$destdir/`dirname \$dlpath`~
10715 test -d \$dldir || mkdir -p \$dldir~
10716 $install_prog $dir/$dlname \$dldir/$dlname~
10717 chmod a+x \$dldir/$dlname~
10718 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10719 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10721 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10722 dlpath=$dir/\$dldll~
10724 shlibpath_overrides_runpath=yes
10728 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10729 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10731 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10734 # MinGW DLLs use traditional 'lib' prefix
10735 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10738 # pw32 DLLs use 'pw' prefix rather than 'lib'
10739 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10742 dynamic_linker='Win32 ld.exe'
10747 libname_spec='$name'
10748 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10749 library_names_spec='${libname}.dll.lib'
10753 sys_lib_search_path_spec=
10756 for lt_path in $LIB
10759 # Let DOS variable expansion print the short 8.3 style file name.
10760 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10761 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10764 # Convert to MSYS style.
10765 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10768 # Convert to unix form, then to dos form, then back to unix form
10769 # but this time dos style (no spaces!) so that the unix form looks
10770 # like /cygdrive/c/PROGRA~1:/cygdr...
10771 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10772 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10773 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10776 sys_lib_search_path_spec="$LIB"
10777 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10778 # It is most probably a Windows format PATH.
10779 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10781 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10783 # FIXME: find the short name or the path components, as spaces are
10784 # common. (e.g. "Program Files" -> "PROGRA~1")
10788 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10789 postinstall_cmds='base_file=`basename \${file}`~
10790 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10791 dldir=$destdir/`dirname \$dlpath`~
10792 test -d \$dldir || mkdir -p \$dldir~
10793 $install_prog $dir/$dlname \$dldir/$dlname'
10794 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10795 dlpath=$dir/\$dldll~
10797 shlibpath_overrides_runpath=yes
10798 dynamic_linker='Win32 link.exe'
10802 # Assume MSVC wrapper
10803 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10804 dynamic_linker='Win32 ld.exe'
10807 # FIXME: first we should search . and the directory the executable is in
10811 darwin* | rhapsody*)
10812 dynamic_linker="$host_os dyld"
10813 version_type=darwin
10816 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10817 soname_spec='${libname}${release}${major}$shared_ext'
10818 shlibpath_overrides_runpath=yes
10819 shlibpath_var=DYLD_LIBRARY_PATH
10820 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10822 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10823 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10827 version_type=linux # correct to gnu/linux during the next big refactor
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 shlibpath_var=LD_LIBRARY_PATH
10835 freebsd* | dragonfly*)
10836 # DragonFly does not have aout. When/if they implement a new
10837 # versioning mechanism, adjust this.
10838 if test -x /usr/bin/objformat; then
10839 objformat=`/usr/bin/objformat`
10842 freebsd[23].*) objformat=aout ;;
10843 *) objformat=elf ;;
10846 # Handle Gentoo/FreeBSD as it was Linux
10847 case $host_vendor in
10849 version_type=linux ;;
10851 version_type=freebsd-$objformat ;;
10854 case $version_type in
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10866 soname_spec='${libname}${release}${shared_ext}$major'
10871 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10876 freebsd3.[01]* | freebsdelf3.[01]*)
10877 shlibpath_overrides_runpath=yes
10878 hardcode_into_libs=yes
10880 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10881 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10882 shlibpath_overrides_runpath=no
10883 hardcode_into_libs=yes
10885 *) # from 4.6 on, and DragonFly
10886 shlibpath_overrides_runpath=yes
10887 hardcode_into_libs=yes
10893 version_type=linux # correct to gnu/linux during the next big refactor
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=no
10900 hardcode_into_libs=yes
10904 version_type=linux # correct to gnu/linux during the next big refactor
10907 dynamic_linker="$host_os runtime_loader"
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 shlibpath_var=LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10912 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10913 hardcode_into_libs=yes
10916 hpux9* | hpux10* | hpux11*)
10917 # Give a soname corresponding to the major version so that dld.sl refuses to
10918 # link against other versions.
10925 hardcode_into_libs=yes
10926 dynamic_linker="$host_os dld.so"
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 soname_spec='${libname}${release}${shared_ext}$major'
10931 if test "X$HPUX_IA64_MODE" = X32; then
10932 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10934 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10936 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10940 hardcode_into_libs=yes
10941 dynamic_linker="$host_os dld.sl"
10942 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10943 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10947 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10951 dynamic_linker="$host_os dld.sl"
10952 shlibpath_var=SHLIB_PATH
10953 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 soname_spec='${libname}${release}${shared_ext}$major'
10958 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10959 postinstall_cmds='chmod 555 $lib'
10960 # or fails outright, so override atomically:
10961 install_override_mode=555
10965 version_type=linux # correct to gnu/linux during the next big refactor
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 shlibpath_overrides_runpath=no
10973 hardcode_into_libs=yes
10976 irix5* | irix6* | nonstopux*)
10978 nonstopux*) version_type=nonstopux ;;
10980 if test "$lt_cv_prog_gnu_ld" = yes; then
10981 version_type=linux # correct to gnu/linux during the next big refactor
10988 soname_spec='${libname}${release}${shared_ext}$major'
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10991 irix5* | nonstopux*)
10992 libsuff= shlibsuff=
10995 case $LD in # libtool.m4 will add one of these switches to LD
10996 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10997 libsuff= shlibsuff= libmagic=32-bit;;
10998 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10999 libsuff=32 shlibsuff=N32 libmagic=N32;;
11000 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11001 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11002 *) libsuff= shlibsuff= libmagic=never-match;;
11006 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11007 shlibpath_overrides_runpath=no
11008 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11009 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11010 hardcode_into_libs=yes
11013 # No shared lib support for Linux oldld, aout, or coff.
11014 linux*oldld* | linux*aout* | linux*coff*)
11018 # This must be glibc/ELF.
11019 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11020 version_type=linux # correct to gnu/linux during the next big refactor
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11024 soname_spec='${libname}${release}${shared_ext}$major'
11025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=no
11029 # Some binutils ld are patched to set DT_RUNPATH
11030 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11031 $as_echo_n "(cached) " >&6
11033 lt_cv_shlibpath_overrides_runpath=no
11034 save_LDFLAGS=$LDFLAGS
11035 save_libdir=$libdir
11036 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11037 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11051 lt_cv_shlibpath_overrides_runpath=yes
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LDFLAGS=$save_LDFLAGS
11057 libdir=$save_libdir
11061 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11063 # This implies no fast_install, which is unacceptable.
11064 # Some rework will be needed to allow for fast_install
11065 # before this can be enabled.
11066 hardcode_into_libs=yes
11068 # Append ld.so.conf contents to the search path
11069 if test -f /etc/ld.so.conf; then
11070 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' ' '`
11071 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11074 # We used to test for /lib/ld.so.1 and disable shared libraries on
11075 # powerpc, because MkLinux only supported shared libraries with the
11076 # GNU dynamic linker. Since this was broken with cross compilers,
11077 # most powerpc-linux boxes support dynamic linking these days and
11078 # people can always --disable-shared, the test was removed, and we
11079 # assume the GNU/Linux dynamic linker is in use.
11080 dynamic_linker='GNU/Linux ld.so'
11087 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11089 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11090 dynamic_linker='NetBSD (a.out) ld.so'
11092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11093 soname_spec='${libname}${release}${shared_ext}$major'
11094 dynamic_linker='NetBSD ld.elf_so'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 shlibpath_overrides_runpath=yes
11098 hardcode_into_libs=yes
11102 version_type=linux # correct to gnu/linux during the next big refactor
11103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11104 shlibpath_var=LD_LIBRARY_PATH
11105 shlibpath_overrides_runpath=yes
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 soname_spec='${libname}${release}${shared_ext}$major'
11114 shlibpath_var=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath=no
11116 hardcode_into_libs=yes
11117 dynamic_linker='ldqnx.so'
11122 sys_lib_dlsearch_path_spec="/usr/lib"
11124 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11126 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11127 *) need_version=no ;;
11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11130 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11134 openbsd2.[89] | openbsd2.[89].*)
11135 shlibpath_overrides_runpath=no
11138 shlibpath_overrides_runpath=yes
11142 shlibpath_overrides_runpath=yes
11147 libname_spec='$name'
11150 library_names_spec='$libname${shared_ext} $libname.a'
11151 dynamic_linker='OS/2 ld.exe'
11152 shlibpath_var=LIBPATH
11155 osf3* | osf4* | osf5*)
11159 soname_spec='${libname}${release}${shared_ext}$major'
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11163 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11171 version_type=linux # correct to gnu/linux during the next big refactor
11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11175 soname_spec='${libname}${release}${shared_ext}$major'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 shlibpath_overrides_runpath=yes
11178 hardcode_into_libs=yes
11179 # ldd complains unless libraries are executable
11180 postinstall_cmds='chmod +x $lib'
11185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11186 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11187 shlibpath_var=LD_LIBRARY_PATH
11188 shlibpath_overrides_runpath=yes
11189 if test "$with_gnu_ld" = yes; then
11196 version_type=linux # correct to gnu/linux during the next big refactor
11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 soname_spec='${libname}${release}${shared_ext}$major'
11199 shlibpath_var=LD_LIBRARY_PATH
11200 case $host_vendor in
11202 shlibpath_overrides_runpath=no
11204 runpath_var=LD_RUN_PATH
11212 shlibpath_overrides_runpath=no
11213 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11219 if test -d /usr/nec ;then
11220 version_type=linux # correct to gnu/linux during the next big refactor
11221 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11222 soname_spec='$libname${shared_ext}.$major'
11223 shlibpath_var=LD_LIBRARY_PATH
11227 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11228 version_type=freebsd-elf
11231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11232 soname_spec='${libname}${release}${shared_ext}$major'
11233 shlibpath_var=LD_LIBRARY_PATH
11234 shlibpath_overrides_runpath=yes
11235 hardcode_into_libs=yes
11236 if test "$with_gnu_ld" = yes; then
11237 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11239 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11242 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11246 sys_lib_dlsearch_path_spec='/usr/lib'
11250 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11251 version_type=linux # correct to gnu/linux during the next big refactor
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255 shlibpath_var=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath=no
11257 hardcode_into_libs=yes
11261 version_type=linux # correct to gnu/linux during the next big refactor
11262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263 soname_spec='${libname}${release}${shared_ext}$major'
11264 shlibpath_var=LD_LIBRARY_PATH
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11272 $as_echo "$dynamic_linker" >&6; }
11273 test "$dynamic_linker" = no && can_build_shared=no
11275 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11276 if test "$GCC" = yes; then
11277 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11280 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11281 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11283 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11284 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11379 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11381 if test -n "$hardcode_libdir_flag_spec" ||
11382 test -n "$runpath_var" ||
11383 test "X$hardcode_automatic" = "Xyes" ; then
11385 # We can hardcode non-existent directories.
11386 if test "$hardcode_direct" != no &&
11387 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11388 # have to relink, otherwise we might link with an installed library
11389 # when we should be linking with a yet-to-be-installed one
11390 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11391 test "$hardcode_minus_L" != no; then
11392 # Linking always hardcodes the temporary library directory.
11393 hardcode_action=relink
11395 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11396 hardcode_action=immediate
11399 # We cannot hardcode anything, or else we can only hardcode existing
11401 hardcode_action=unsupported
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11404 $as_echo "$hardcode_action" >&6; }
11406 if test "$hardcode_action" = relink ||
11407 test "$inherit_rpath" = yes; then
11408 # Fast installation is not supported
11409 enable_fast_install=no
11410 elif test "$shlibpath_overrides_runpath" = yes ||
11411 test "$enable_shared" = no; then
11412 # Fast installation is not necessary
11413 enable_fast_install=needless
11421 if test "x$enable_dlopen" != xyes; then
11422 enable_dlopen=unknown
11423 enable_dlopen_self=unknown
11424 enable_dlopen_self_static=unknown
11431 lt_cv_dlopen="load_add_on"
11433 lt_cv_dlopen_self=yes
11436 mingw* | pw32* | cegcc*)
11437 lt_cv_dlopen="LoadLibrary"
11442 lt_cv_dlopen="dlopen"
11447 # if libdl is installed we need to link against it
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11449 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11450 if ${ac_cv_lib_dl_dlopen+:} false; then :
11451 $as_echo_n "(cached) " >&6
11453 ac_check_lib_save_LIBS=$LIBS
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_dl_dlopen=yes
11476 ac_cv_lib_dl_dlopen=no
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11483 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11484 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11485 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11488 lt_cv_dlopen="dyld"
11490 lt_cv_dlopen_self=yes
11497 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11498 if test "x$ac_cv_func_shl_load" = xyes; then :
11499 lt_cv_dlopen="shl_load"
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11502 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11503 if ${ac_cv_lib_dld_shl_load+:} false; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_lib_save_LIBS=$LIBS
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11521 return shl_load ();
11526 if ac_fn_c_try_link "$LINENO"; then :
11527 ac_cv_lib_dld_shl_load=yes
11529 ac_cv_lib_dld_shl_load=no
11531 rm -f core conftest.err conftest.$ac_objext \
11532 conftest$ac_exeext conftest.$ac_ext
11533 LIBS=$ac_check_lib_save_LIBS
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11536 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11537 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11538 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11540 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11541 if test "x$ac_cv_func_dlopen" = xyes; then :
11542 lt_cv_dlopen="dlopen"
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11545 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11546 if ${ac_cv_lib_dl_dlopen+:} false; then :
11547 $as_echo_n "(cached) " >&6
11549 ac_check_lib_save_LIBS=$LIBS
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_dl_dlopen=yes
11572 ac_cv_lib_dl_dlopen=no
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11579 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11580 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11581 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11584 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11585 if ${ac_cv_lib_svld_dlopen+:} false; then :
11586 $as_echo_n "(cached) " >&6
11588 ac_check_lib_save_LIBS=$LIBS
11589 LIBS="-lsvld $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11608 if ac_fn_c_try_link "$LINENO"; then :
11609 ac_cv_lib_svld_dlopen=yes
11611 ac_cv_lib_svld_dlopen=no
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_lib_save_LIBS
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11618 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11619 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11620 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11623 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11624 if ${ac_cv_lib_dld_dld_link+:} false; then :
11625 $as_echo_n "(cached) " >&6
11627 ac_check_lib_save_LIBS=$LIBS
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11632 /* Override any GCC internal prototype to avoid an error.
11633 Use char because int might match the return type of a GCC
11634 builtin and then its argument prototype would still apply. */
11642 return dld_link ();
11647 if ac_fn_c_try_link "$LINENO"; then :
11648 ac_cv_lib_dld_dld_link=yes
11650 ac_cv_lib_dld_dld_link=no
11652 rm -f core conftest.err conftest.$ac_objext \
11653 conftest$ac_exeext conftest.$ac_ext
11654 LIBS=$ac_check_lib_save_LIBS
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11657 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11658 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11659 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11680 if test "x$lt_cv_dlopen" != xno; then
11686 case $lt_cv_dlopen in
11688 save_CPPFLAGS="$CPPFLAGS"
11689 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11691 save_LDFLAGS="$LDFLAGS"
11692 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11695 LIBS="$lt_cv_dlopen_libs $LIBS"
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11698 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11699 if ${lt_cv_dlopen_self+:} false; then :
11700 $as_echo_n "(cached) " >&6
11702 if test "$cross_compiling" = yes; then :
11703 lt_cv_dlopen_self=cross
11705 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11706 lt_status=$lt_dlunknown
11707 cat > conftest.$ac_ext <<_LT_EOF
11708 #line $LINENO "configure"
11709 #include "confdefs.h"
11718 # define LT_DLGLOBAL RTLD_GLOBAL
11721 # define LT_DLGLOBAL DL_GLOBAL
11723 # define LT_DLGLOBAL 0
11727 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11728 find out it does not work in some platform. */
11729 #ifndef LT_DLLAZY_OR_NOW
11731 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11734 # define LT_DLLAZY_OR_NOW DL_LAZY
11737 # define LT_DLLAZY_OR_NOW RTLD_NOW
11740 # define LT_DLLAZY_OR_NOW DL_NOW
11742 # define LT_DLLAZY_OR_NOW 0
11749 /* When -fvisbility=hidden is used, assume the code has been annotated
11750 correspondingly for the symbols needed. */
11751 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11752 int fnord () __attribute__((visibility("default")));
11755 int fnord () { return 42; }
11758 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11759 int status = $lt_dlunknown;
11763 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11766 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11767 else puts (dlerror ());
11769 /* dlclose (self); */
11777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11778 (eval $ac_link) 2>&5
11780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11781 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11782 (./conftest; exit; ) >&5 2>/dev/null
11784 case x$lt_status in
11785 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11786 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11787 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11790 # compilation failed
11791 lt_cv_dlopen_self=no
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11799 $as_echo "$lt_cv_dlopen_self" >&6; }
11801 if test "x$lt_cv_dlopen_self" = xyes; then
11802 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11804 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11805 if ${lt_cv_dlopen_self_static+:} false; then :
11806 $as_echo_n "(cached) " >&6
11808 if test "$cross_compiling" = yes; then :
11809 lt_cv_dlopen_self_static=cross
11811 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11812 lt_status=$lt_dlunknown
11813 cat > conftest.$ac_ext <<_LT_EOF
11814 #line $LINENO "configure"
11815 #include "confdefs.h"
11824 # define LT_DLGLOBAL RTLD_GLOBAL
11827 # define LT_DLGLOBAL DL_GLOBAL
11829 # define LT_DLGLOBAL 0
11833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11834 find out it does not work in some platform. */
11835 #ifndef LT_DLLAZY_OR_NOW
11837 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11840 # define LT_DLLAZY_OR_NOW DL_LAZY
11843 # define LT_DLLAZY_OR_NOW RTLD_NOW
11846 # define LT_DLLAZY_OR_NOW DL_NOW
11848 # define LT_DLLAZY_OR_NOW 0
11855 /* When -fvisbility=hidden is used, assume the code has been annotated
11856 correspondingly for the symbols needed. */
11857 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11858 int fnord () __attribute__((visibility("default")));
11861 int fnord () { return 42; }
11864 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11865 int status = $lt_dlunknown;
11869 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11872 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11873 else puts (dlerror ());
11875 /* dlclose (self); */
11883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11884 (eval $ac_link) 2>&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11887 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11888 (./conftest; exit; ) >&5 2>/dev/null
11890 case x$lt_status in
11891 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11892 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11893 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11896 # compilation failed
11897 lt_cv_dlopen_self_static=no
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11905 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11908 CPPFLAGS="$save_CPPFLAGS"
11909 LDFLAGS="$save_LDFLAGS"
11914 case $lt_cv_dlopen_self in
11915 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11916 *) enable_dlopen_self=unknown ;;
11919 case $lt_cv_dlopen_self_static in
11920 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11921 *) enable_dlopen_self_static=unknown ;;
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11944 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11945 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11946 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11947 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11949 $as_echo "yes" >&6; }
11951 # FIXME - insert some real tests, host_os isn't really good enough
11954 if test -n "$STRIP" ; then
11955 striplib="$STRIP -x"
11956 old_striplib="$STRIP -S"
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11958 $as_echo "yes" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961 $as_echo "no" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11966 $as_echo "no" >&6; }
11982 # Report which library types will actually be built
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11984 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11986 $as_echo "$can_build_shared" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11989 $as_echo_n "checking whether to build shared libraries... " >&6; }
11990 test "$can_build_shared" = "no" && enable_shared=no
11992 # On AIX, shared libraries and static libraries use the same namespace, and
11993 # are all built from PIC.
11996 test "$enable_shared" = yes && enable_static=no
11997 if test -n "$RANLIB"; then
11998 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11999 postinstall_cmds='$RANLIB $lib'
12004 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12005 test "$enable_shared" = yes && enable_static=no
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12010 $as_echo "$enable_shared" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12013 $as_echo_n "checking whether to build static libraries... " >&6; }
12014 # Make sure either enable_shared or enable_static is yes.
12015 test "$enable_shared" = yes || enable_static=yes
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12017 $as_echo "$enable_static" >&6; }
12024 ac_cpp='$CPP $CPPFLAGS'
12025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045 ac_config_commands="$ac_config_commands libtool"
12050 # Only expand once:
12054 # On Solaris 10 and 12 CPP gets set to cc -E, however this still
12055 # does some input parsing. We need strict ANSI-C style tokenization,
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C preprocessor that does not parse its input" >&5
12059 $as_echo_n "checking for a C preprocessor that does not parse its input... " >&6; }
12060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 /* end confdefs.h. */
12064 if ac_fn_c_try_cpp "$LINENO"; then :
12069 for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp" "cpp"; do
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12074 if ac_fn_c_try_cpp "$LINENO"; then :
12078 rm -f conftest.err conftest.i conftest.$ac_ext
12082 rm -f conftest.err conftest.i conftest.$ac_ext
12083 if test -n "$DFNCPP"; then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DFNCPP" >&5
12085 $as_echo "$DFNCPP" >&6; }
12088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12090 as_fn_error 1 "not found
12091 See \`config.log' for more details" "$LINENO" 5; }
12094 # Checks for header files.
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12096 $as_echo_n "checking for ANSI C header files... " >&6; }
12097 if ${ac_cv_header_stdc+:} false; then :
12098 $as_echo_n "(cached) " >&6
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12102 #include <stdlib.h>
12103 #include <stdarg.h>
12104 #include <string.h>
12115 if ac_fn_c_try_compile "$LINENO"; then :
12116 ac_cv_header_stdc=yes
12118 ac_cv_header_stdc=no
12120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122 if test $ac_cv_header_stdc = yes; then
12123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 #include <string.h>
12129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12130 $EGREP "memchr" >/dev/null 2>&1; then :
12133 ac_cv_header_stdc=no
12139 if test $ac_cv_header_stdc = yes; then
12140 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 #include <stdlib.h>
12146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12147 $EGREP "free" >/dev/null 2>&1; then :
12150 ac_cv_header_stdc=no
12156 if test $ac_cv_header_stdc = yes; then
12157 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12158 if test "$cross_compiling" = yes; then :
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 #include <stdlib.h>
12165 #if ((' ' & 0x0FF) == 0x020)
12166 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12167 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12169 # define ISLOWER(c) \
12170 (('a' <= (c) && (c) <= 'i') \
12171 || ('j' <= (c) && (c) <= 'r') \
12172 || ('s' <= (c) && (c) <= 'z'))
12173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12181 for (i = 0; i < 256; i++)
12182 if (XOR (islower (i), ISLOWER (i))
12183 || toupper (i) != TOUPPER (i))
12188 if ac_fn_c_try_run "$LINENO"; then :
12191 ac_cv_header_stdc=no
12193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12194 conftest.$ac_objext conftest.beam conftest.$ac_ext
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12200 $as_echo "$ac_cv_header_stdc" >&6; }
12201 if test $ac_cv_header_stdc = yes; then
12203 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12207 for ac_header in malloc.h stdlib.h string.h strings.h
12209 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12210 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12221 # Checks for typedefs, structures, and compiler characteristics.
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12223 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12224 if ${ac_cv_c_const+:} false; then :
12225 $as_echo_n "(cached) " >&6
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12234 #ifndef __cplusplus
12235 /* Ultrix mips cc rejects this sort of thing. */
12236 typedef int charset[2];
12237 const charset cs = { 0, 0 };
12238 /* SunOS 4.1.1 cc rejects this. */
12239 char const *const *pcpcc;
12241 /* NEC SVR4.0.2 mips cc rejects this. */
12242 struct point {int x, y;};
12243 static struct point const zero = {0,0};
12244 /* AIX XL C 1.02.0.0 rejects this.
12245 It does not let you subtract one const X* pointer from another in
12246 an arm of an if-expression whose if-part is not a constant
12248 const char *g = "string";
12249 pcpcc = &g + (g ? g-g : 0);
12250 /* HPUX 7.0 cc rejects these. */
12252 ppc = (char**) pcpcc;
12253 pcpcc = (char const *const *) ppc;
12254 { /* SCO 3.2v4 cc rejects this sort of thing. */
12257 char const *s = 0 ? (char *) 0 : (char const *) 0;
12262 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12263 int x[] = {25, 17};
12264 const int *foo = &x[0];
12267 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12268 typedef const int *iptr;
12272 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12273 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12274 struct s { int j; const int *ap[3]; } bx;
12275 struct s *b = &bx; b->j = 5;
12277 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12278 const int foo = 10;
12279 if (!foo) return 0;
12281 return !cs[0] && !zero.x;
12288 if ac_fn_c_try_compile "$LINENO"; then :
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12296 $as_echo "$ac_cv_c_const" >&6; }
12297 if test $ac_cv_c_const = no; then
12299 $as_echo "#define const /**/" >>confdefs.h
12303 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12304 if test "x$ac_cv_type_size_t" = xyes; then :
12308 cat >>confdefs.h <<_ACEOF
12309 #define size_t unsigned int
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12315 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12316 if ${ac_cv_struct_tm+:} false; then :
12317 $as_echo_n "(cached) " >&6
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 #include <sys/types.h>
12328 int *p = &tm.tm_sec;
12334 if ac_fn_c_try_compile "$LINENO"; then :
12335 ac_cv_struct_tm=time.h
12337 ac_cv_struct_tm=sys/time.h
12339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12342 $as_echo "$ac_cv_struct_tm" >&6; }
12343 if test $ac_cv_struct_tm = sys/time.h; then
12345 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
12350 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
12351 if ${ac_cv_c_restrict+:} false; then :
12352 $as_echo_n "(cached) " >&6
12354 ac_cv_c_restrict=no
12355 # The order here caters to the fact that C++ does not require restrict.
12356 for ac_kw in __restrict __restrict__ _Restrict restrict; do
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12359 typedef int * int_ptr;
12360 int foo (int_ptr $ac_kw ip) {
12367 int * $ac_kw t = s;
12374 if ac_fn_c_try_compile "$LINENO"; then :
12375 ac_cv_c_restrict=$ac_kw
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12378 test "$ac_cv_c_restrict" != no && break
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
12383 $as_echo "$ac_cv_c_restrict" >&6; }
12385 case $ac_cv_c_restrict in
12387 no) $as_echo "#define restrict /**/" >>confdefs.h
12389 *) cat >>confdefs.h <<_ACEOF
12390 #define restrict $ac_cv_c_restrict
12396 # Checks for library functions.
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12398 $as_echo_n "checking for working strtod... " >&6; }
12399 if ${ac_cv_func_strtod+:} false; then :
12400 $as_echo_n "(cached) " >&6
12402 if test "$cross_compiling" = yes; then :
12403 ac_cv_func_strtod=no
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 $ac_includes_default
12416 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12417 char *string = " +69";
12420 value = strtod (string, &term);
12421 if (value != 69 || term != (string + 4))
12426 /* Under Solaris 2.4, strtod returns the wrong value for the
12427 terminating character under some conditions. */
12428 char *string = "NaN";
12430 strtod (string, &term);
12431 if (term != string && *(term - 1) == 0)
12438 if ac_fn_c_try_run "$LINENO"; then :
12439 ac_cv_func_strtod=yes
12441 ac_cv_func_strtod=no
12443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12444 conftest.$ac_objext conftest.beam conftest.$ac_ext
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12449 $as_echo "$ac_cv_func_strtod" >&6; }
12450 if test $ac_cv_func_strtod = no; then
12451 case " $LIBOBJS " in
12452 *" strtod.$ac_objext "* ) ;;
12453 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
12457 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
12458 if test "x$ac_cv_func_pow" = xyes; then :
12462 if test $ac_cv_func_pow = no; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12464 $as_echo_n "checking for pow in -lm... " >&6; }
12465 if ${ac_cv_lib_m_pow+:} false; then :
12466 $as_echo_n "(cached) " >&6
12468 ac_check_lib_save_LIBS=$LIBS
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 ac_cv_lib_m_pow=yes
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_lib_save_LIBS
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12498 $as_echo "$ac_cv_lib_m_pow" >&6; }
12499 if test "x$ac_cv_lib_m_pow" = xyes; then :
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12503 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12510 for ac_func in memset
12512 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
12513 if test "x$ac_cv_func_memset" = xyes; then :
12514 cat >>confdefs.h <<_ACEOF
12515 #define HAVE_MEMSET 1
12519 as_fn_error $? "memset not found in libc" "$LINENO" 5
12525 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
12526 if test "x$ac_cv_func_pow" = xyes; then :
12527 cat >>confdefs.h <<_ACEOF
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12533 $as_echo_n "checking for pow in -lm... " >&6; }
12534 if ${ac_cv_lib_m_pow+:} false; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_check_lib_save_LIBS=$LIBS
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12557 if ac_fn_c_try_link "$LINENO"; then :
12558 ac_cv_lib_m_pow=yes
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12567 $as_echo "$ac_cv_lib_m_pow" >&6; }
12568 if test "x$ac_cv_lib_m_pow" = xyes; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define HAVE_LIBM 1
12576 as_fn_error $? "cannot find pow" "$LINENO" 5
12583 # Check whether --with-zlib-prefix was given.
12584 if test "${with_zlib_prefix+set}" = set; then :
12585 withval=$with_zlib_prefix; ZPREFIX=${withval}
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12591 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12592 if ${ac_cv_lib_z_zlibVersion+:} false; then :
12593 $as_echo_n "(cached) " >&6
12595 ac_check_lib_save_LIBS=$LIBS
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12606 char zlibVersion ();
12610 return zlibVersion ();
12615 if ac_fn_c_try_link "$LINENO"; then :
12616 ac_cv_lib_z_zlibVersion=yes
12618 ac_cv_lib_z_zlibVersion=no
12620 rm -f core conftest.err conftest.$ac_objext \
12621 conftest$ac_exeext conftest.$ac_ext
12622 LIBS=$ac_check_lib_save_LIBS
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12625 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12626 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
12627 cat >>confdefs.h <<_ACEOF
12628 #define HAVE_LIBZ 1
12634 as_ac_Lib=`$as_echo "ac_cv_lib_z_${ZPREFIX}zlibVersion" | $as_tr_sh`
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5
12636 $as_echo_n "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; }
12637 if eval \${$as_ac_Lib+:} false; then :
12638 $as_echo_n "(cached) " >&6
12640 ac_check_lib_save_LIBS=$LIBS
12642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12643 /* end confdefs.h. */
12645 /* Override any GCC internal prototype to avoid an error.
12646 Use char because int might match the return type of a GCC
12647 builtin and then its argument prototype would still apply. */
12651 char ${ZPREFIX}zlibVersion ();
12655 return ${ZPREFIX}zlibVersion ();
12660 if ac_fn_c_try_link "$LINENO"; then :
12661 eval "$as_ac_Lib=yes"
12663 eval "$as_ac_Lib=no"
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667 LIBS=$ac_check_lib_save_LIBS
12669 eval ac_res=\$$as_ac_Lib
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12671 $as_echo "$ac_res" >&6; }
12672 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define HAVE_LIBZ 1
12680 as_fn_error $? "zlib not installed" "$LINENO" 5
12686 # The following is for pngvalid, to ensure it catches FP errors even on
12687 # platforms that don't enable FP exceptions, the function appears in the math
12688 # library (typically), it's not an error if it is not found.
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
12690 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
12691 if ${ac_cv_lib_m_feenableexcept+:} false; then :
12692 $as_echo_n "(cached) " >&6
12694 ac_check_lib_save_LIBS=$LIBS
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12705 char feenableexcept ();
12709 return feenableexcept ();
12714 if ac_fn_c_try_link "$LINENO"; then :
12715 ac_cv_lib_m_feenableexcept=yes
12717 ac_cv_lib_m_feenableexcept=no
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
12724 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
12725 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
12726 cat >>confdefs.h <<_ACEOF
12727 #define HAVE_LIBM 1
12734 for ac_func in feenableexcept
12736 ac_fn_c_check_func "$LINENO" "feenableexcept" "ac_cv_func_feenableexcept"
12737 if test "x$ac_cv_func_feenableexcept" = xyes; then :
12738 cat >>confdefs.h <<_ACEOF
12739 #define HAVE_FEENABLEEXCEPT 1
12746 LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG
12747 LIBPNG_DEFINES=$LIBPNG_DEFINES
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5
12751 $as_echo_n "checking if using Solaris linker... " >&6; }
12752 SLD=`$LD --version 2>&1 | grep Solaris`
12753 if test "$SLD"; then
12754 have_solaris_ld=yes
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12756 $as_echo "yes" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12762 if test "$have_solaris_ld" = "yes"; then
12763 HAVE_SOLARIS_LD_TRUE=
12764 HAVE_SOLARIS_LD_FALSE='#'
12766 HAVE_SOLARIS_LD_TRUE='#'
12767 HAVE_SOLARIS_LD_FALSE=
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
12772 $as_echo_n "checking if libraries can be versioned... " >&6; }
12773 # Special case for PE/COFF platforms: ld reports
12774 # support for version-script, but doesn't actually
12775 # DO anything with it.
12777 *cygwin* | *mingw32* | *interix* )
12778 have_ld_version_script=no
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12784 if test "$have_solaris_ld" = "yes"; then
12785 GLD=`$LD --help < /dev/null 2>&1 | grep 'M mapfile'`
12787 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
12790 if test "$GLD"; then
12791 have_ld_version_script=yes
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12793 $as_echo "yes" >&6; }
12795 have_ld_version_script=no
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12797 $as_echo "no" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5
12799 $as_echo "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}
12804 if test "$have_ld_version_script" = "yes"; then
12805 HAVE_LD_VERSION_SCRIPT_TRUE=
12806 HAVE_LD_VERSION_SCRIPT_FALSE='#'
12808 HAVE_LD_VERSION_SCRIPT_TRUE='#'
12809 HAVE_LD_VERSION_SCRIPT_FALSE=
12813 if test "$have_ld_version_script" = "yes"; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
12815 $as_echo_n "checking for symbol prefix... " >&6; }
12816 SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \
12817 | ${CPP-${CC-gcc} -E} - 2>&1 \
12818 | ${EGREP-grep} "^PREFIX=" \
12819 | ${SED-sed} -e "s:^PREFIX=::" -e "s:__USER_LABEL_PREFIX__::"`
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
12822 $as_echo "$SYMBOL_PREFIX" >&6; }
12825 # Substitutions for .in files
12831 # Additional arguments (and substitutions)
12832 # Allow the pkg-config directory to be set
12834 # Check whether --with-pkgconfigdir was given.
12835 if test "${with_pkgconfigdir+set}" = set; then :
12836 withval=$with_pkgconfigdir; pkgconfigdir=${withval}
12838 pkgconfigdir='${libdir}/pkgconfig'
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5
12844 $as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;}
12846 # Make the *-config binary config scripts optional
12848 # Check whether --with-binconfigs was given.
12849 if test "${with_binconfigs+set}" = set; then :
12850 withval=$with_binconfigs; if test "${withval}" = no; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5
12853 $as_echo "$as_me: libpng-config scripts will not be built" >&6;}
12855 binconfigs='${binconfigs}'
12858 binconfigs='${binconfigs}'
12863 # Because GCC by default assembles code with an executable stack, even though it
12864 # compiles C code with a non-executable stack, it is necessary to do a fixup
12865 # here (this may by GCC specific)
12866 AM_CCASFLAGS=-Wa,--noexecstack
12869 # Check whether --enable-arm-neon was given.
12870 if test "${enable_arm_neon+set}" = set; then :
12871 enableval=$enable_arm_neon; if test "${enableval}" = yes; then
12873 $as_echo "#define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_neon" >>confdefs.h
12876 $as_echo "#define PNG_ALIGNED_MEMORY_SUPPORTED 1" >>confdefs.h
12881 if test "${enable_arm_neon:-no}" = yes; then
12883 PNG_ARM_NEON_FALSE='#'
12885 PNG_ARM_NEON_TRUE='#'
12886 PNG_ARM_NEON_FALSE=
12890 # Config files, substituting as above
12891 ac_config_files="$ac_config_files Makefile libpng.pc:libpng.pc.in"
12893 ac_config_files="$ac_config_files libpng-config:libpng-config.in"
12896 cat >confcache <<\_ACEOF
12897 # This file is a shell script that caches the results of configure
12898 # tests run on this system so they can be shared between configure
12899 # scripts and configure runs, see configure's option --config-cache.
12900 # It is not useful on other systems. If it contains results you don't
12901 # want to keep, you may remove or edit it.
12903 # config.status only pays attention to the cache file if you give it
12904 # the --recheck option to rerun configure.
12906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12908 # following values.
12912 # The following way of writing the cache mishandles newlines in values,
12913 # but we know of no workaround that is simple, portable, and efficient.
12914 # So, we kill variables containing newlines.
12915 # Ultrix sh set writes to stderr and can't be redirected directly,
12916 # and sets the high bit in the cache file unless we assign to the vars.
12918 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12919 eval ac_val=\$$ac_var
12923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12927 _ | IFS | as_nl) ;; #(
12928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12929 *) { eval $ac_var=; unset $ac_var;} ;;
12935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12936 *${as_nl}ac_space=\ *)
12937 # `set' does not quote correctly, so add quotes: double-quote
12938 # substitution turns \\\\ into \\, and sed turns \\ into \.
12941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12944 # `set' quotes correctly as required by POSIX, so do not add quotes.
12945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12959 if test -w "$cache_file"; then
12960 if test "x$cache_file" != "x/dev/null"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12962 $as_echo "$as_me: updating cache $cache_file" >&6;}
12963 if test ! -f "$cache_file" || test -h "$cache_file"; then
12964 cat confcache >"$cache_file"
12966 case $cache_file in #(
12968 mv -f confcache "$cache_file"$$ &&
12969 mv -f "$cache_file"$$ "$cache_file" ;; #(
12971 mv -f confcache "$cache_file" ;;
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12983 # Let make expand exec_prefix.
12984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12986 DEFS=-DHAVE_CONFIG_H
12991 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12992 # 1. Remove the extension, and $U if already installed.
12993 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12994 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12995 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12996 # will be set to the directory where LIBOBJS objects are built.
12997 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12998 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13000 LIBOBJS=$ac_libobjs
13002 LTLIBOBJS=$ac_ltlibobjs
13005 if test -n "$EXEEXT"; then
13007 am__EXEEXT_FALSE='#'
13009 am__EXEEXT_TRUE='#'
13013 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13014 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13017 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13018 as_fn_error $? "conditional \"AMDEP\" was never defined.
13019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13021 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13022 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13025 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13026 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
13027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13029 if test -z "${HAVE_SOLARIS_LD_TRUE}" && test -z "${HAVE_SOLARIS_LD_FALSE}"; then
13030 as_fn_error $? "conditional \"HAVE_SOLARIS_LD\" was never defined.
13031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13033 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
13034 as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
13035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13037 if test -z "${PNG_ARM_NEON_TRUE}" && test -z "${PNG_ARM_NEON_FALSE}"; then
13038 as_fn_error $? "conditional \"PNG_ARM_NEON\" was never defined.
13039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13042 : "${CONFIG_STATUS=./config.status}"
13044 ac_clean_files_save=$ac_clean_files
13045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13051 # Generated by $as_me.
13052 # Run this file to recreate the current configuration.
13053 # Compiler output produced by configure, useful for debugging
13054 # configure, is in config.log if it exists.
13057 ac_cs_recheck=false
13060 SHELL=\${CONFIG_SHELL-$SHELL}
13063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13064 ## -------------------- ##
13065 ## M4sh Initialization. ##
13066 ## -------------------- ##
13068 # Be more Bourne compatible
13069 DUALCASE=1; export DUALCASE # for MKS sh
13070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13073 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13074 # is contrary to our usage. Disable this feature.
13075 alias -g '${1+"$@"}'='"$@"'
13076 setopt NO_GLOB_SUBST
13078 case `(set -o) 2>/dev/null` in #(
13090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13094 # Prefer a ksh shell builtin over an external printf program on Solaris,
13095 # but without wasting forks for bash or zsh.
13096 if test -z "$BASH_VERSION$ZSH_VERSION" \
13097 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13098 as_echo='print -r --'
13099 as_echo_n='print -rn --'
13100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13101 as_echo='printf %s\n'
13102 as_echo_n='printf %s'
13104 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13105 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13106 as_echo_n='/usr/ucb/echo -n'
13108 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13109 as_echo_n_body='eval
13113 expr "X$arg" : "X\\(.*\\)$as_nl";
13114 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13116 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13118 export as_echo_n_body
13119 as_echo_n='sh -c $as_echo_n_body as_echo'
13121 export as_echo_body
13122 as_echo='sh -c $as_echo_body as_echo'
13125 # The user is always right.
13126 if test "${PATH_SEPARATOR+set}" != set; then
13128 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13129 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13136 # We need space, tab and new line, in precisely that order. Quoting is
13137 # there to prevent editors from complaining about space-tab.
13138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13139 # splitting by setting IFS to empty value.)
13142 # Find who we are. Look in the path if we contain no directory separator.
13145 *[\\/]* ) as_myself=$0 ;;
13146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13147 for as_dir in $PATH
13150 test -z "$as_dir" && as_dir=.
13151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13157 # We did not find ourselves, most probably we were run as `sh COMMAND'
13158 # in which case we are not to be found in the path.
13159 if test "x$as_myself" = x; then
13162 if test ! -f "$as_myself"; then
13163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13167 # Unset variables that we do not need and which cause bugs (e.g. in
13168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13169 # suppresses any "Segmentation fault" message there. '((' could
13170 # trigger a bug in pdksh 5.2.14.
13171 for as_var in BASH_ENV ENV MAIL MAILPATH
13172 do eval test x\${$as_var+set} = xset \
13173 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13189 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13190 # ----------------------------------------
13191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13193 # script with STATUS, using 1 if that was 0.
13196 as_status=$1; test $as_status -eq 0 && as_status=1
13198 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13201 $as_echo "$as_me: error: $2" >&2
13202 as_fn_exit $as_status
13206 # as_fn_set_status STATUS
13207 # -----------------------
13208 # Set $? to STATUS, without forking.
13209 as_fn_set_status ()
13212 } # as_fn_set_status
13214 # as_fn_exit STATUS
13215 # -----------------
13216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13220 as_fn_set_status $1
13226 # Portably unset VAR.
13229 { eval $1=; unset $1;}
13231 as_unset=as_fn_unset
13232 # as_fn_append VAR VALUE
13233 # ----------------------
13234 # Append the text in VALUE to the end of the definition contained in VAR. Take
13235 # advantage of any shell optimizations that allow amortized linear growth over
13236 # repeated appends, instead of the typical quadratic growth present in naive
13238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13239 eval 'as_fn_append ()
13250 # as_fn_arith ARG...
13251 # ------------------
13252 # Perform arithmetic evaluation on the ARGs, and store the result in the
13253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13254 # must be portable across $(()) and expr.
13255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13256 eval 'as_fn_arith ()
13263 as_val=`expr "$@" || test $? -eq 1`
13268 if expr a : '\(a\)' >/dev/null 2>&1 &&
13269 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13276 as_basename=basename
13281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13287 as_me=`$as_basename -- "$0" ||
13288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13289 X"$0" : 'X\(//\)$' \| \
13290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13292 sed '/^.*\/\([^/][^/]*\)\/*$/{
13306 # Avoid depending upon Character Ranges.
13307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13310 as_cr_digits='0123456789'
13311 as_cr_alnum=$as_cr_Letters$as_cr_digits
13313 ECHO_C= ECHO_N= ECHO_T=
13314 case `echo -n x` in #(((((
13316 case `echo 'xy\c'` in
13317 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13319 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13326 rm -f conf$$ conf$$.exe conf$$.file
13327 if test -d conf$$.dir; then
13328 rm -f conf$$.dir/conf$$.file
13331 mkdir conf$$.dir 2>/dev/null
13333 if (echo >conf$$.file) 2>/dev/null; then
13334 if ln -s conf$$.file conf$$ 2>/dev/null; then
13336 # ... but there are two gotchas:
13337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13339 # In both cases, we have to default to `cp -pR'.
13340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13342 elif ln conf$$.file conf$$ 2>/dev/null; then
13350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13351 rmdir conf$$.dir 2>/dev/null
13356 # Create "$as_dir" as a directory, including parents if necessary.
13361 -*) as_dir=./$as_dir;;
13363 test -d "$as_dir" || eval $as_mkdir_p || {
13367 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13368 *) as_qdir=$as_dir;;
13370 as_dirs="'$as_qdir' $as_dirs"
13371 as_dir=`$as_dirname -- "$as_dir" ||
13372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13373 X"$as_dir" : 'X\(//\)[^/]' \| \
13374 X"$as_dir" : 'X\(//\)$' \| \
13375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13376 $as_echo X"$as_dir" |
13377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13381 /^X\(\/\/\)[^/].*/{
13394 test -d "$as_dir" && break
13396 test -z "$as_dirs" || eval "mkdir $as_dirs"
13397 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13401 if mkdir -p . 2>/dev/null; then
13402 as_mkdir_p='mkdir -p "$as_dir"'
13404 test -d ./-p && rmdir ./-p
13409 # as_fn_executable_p FILE
13410 # -----------------------
13411 # Test if FILE is an executable regular file.
13412 as_fn_executable_p ()
13414 test -f "$1" && test -x "$1"
13415 } # as_fn_executable_p
13416 as_test_x='test -x'
13417 as_executable_p=as_fn_executable_p
13419 # Sed expression to map a string onto a valid CPP name.
13420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13422 # Sed expression to map a string onto a valid variable name.
13423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13427 ## ----------------------------------- ##
13428 ## Main body of $CONFIG_STATUS script. ##
13429 ## ----------------------------------- ##
13431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13434 # Save the log message, to keep $0 and so on meaningful, and to
13435 # report actual input values of CONFIG_FILES etc. instead of their
13436 # values after options handling.
13438 This file was extended by libpng $as_me 1.5.14, which was
13439 generated by GNU Autoconf 2.69. Invocation command line was
13441 CONFIG_FILES = $CONFIG_FILES
13442 CONFIG_HEADERS = $CONFIG_HEADERS
13443 CONFIG_LINKS = $CONFIG_LINKS
13444 CONFIG_COMMANDS = $CONFIG_COMMANDS
13447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13452 case $ac_config_files in *"
13453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13456 case $ac_config_headers in *"
13457 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13462 # Files that config.status was made for.
13463 config_files="$ac_config_files"
13464 config_headers="$ac_config_headers"
13465 config_commands="$ac_config_commands"
13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13471 \`$as_me' instantiates files and other configuration actions
13472 from templates according to the current configuration. Unless the files
13473 and actions are specified as TAGs, all are instantiated by default.
13475 Usage: $0 [OPTION]... [TAG]...
13477 -h, --help print this help, then exit
13478 -V, --version print version number and configuration settings, then exit
13479 --config print configuration, then exit
13480 -q, --quiet, --silent
13481 do not print progress messages
13482 -d, --debug don't remove temporary files
13483 --recheck update $as_me by reconfiguring in the same conditions
13484 --file=FILE[:TEMPLATE]
13485 instantiate the configuration file FILE
13486 --header=FILE[:TEMPLATE]
13487 instantiate the configuration header FILE
13489 Configuration files:
13492 Configuration headers:
13495 Configuration commands:
13498 Report bugs to <png-mng-implement@lists.sourceforge.net>."
13501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13504 libpng config.status 1.5.14
13505 configured by $0, generated by GNU Autoconf 2.69,
13506 with options \\"\$ac_cs_config\\"
13508 Copyright (C) 2012 Free Software Foundation, Inc.
13509 This config.status script is free software; the Free Software Foundation
13510 gives unlimited permission to copy, distribute and modify it."
13517 test -n "\$AWK" || AWK=awk
13520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13521 # The default lists apply if the user does not specify any file.
13527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13532 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13544 # Handling of the options.
13545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13547 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13548 $as_echo "$ac_cs_version"; exit ;;
13549 --config | --confi | --conf | --con | --co | --c )
13550 $as_echo "$ac_cs_config"; exit ;;
13551 --debug | --debu | --deb | --de | --d | -d )
13553 --file | --fil | --fi | --f )
13556 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13557 '') as_fn_error $? "missing file argument" ;;
13559 as_fn_append CONFIG_FILES " '$ac_optarg'"
13560 ac_need_defaults=false;;
13561 --header | --heade | --head | --hea )
13564 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13566 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13567 ac_need_defaults=false;;
13569 # Conflict between --help and --header
13570 as_fn_error $? "ambiguous option: \`$1'
13571 Try \`$0 --help' for more information.";;
13572 --help | --hel | -h )
13573 $as_echo "$ac_cs_usage"; exit ;;
13574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13578 # This is an error.
13579 -*) as_fn_error $? "unrecognized option: \`$1'
13580 Try \`$0 --help' for more information." ;;
13582 *) as_fn_append ac_config_targets " $1"
13583 ac_need_defaults=false ;;
13589 ac_configure_extra_args=
13591 if $ac_cs_silent; then
13593 ac_configure_extra_args="$ac_configure_extra_args --silent"
13597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13598 if \$ac_cs_recheck; then
13599 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13602 CONFIG_SHELL='$SHELL'
13603 export CONFIG_SHELL
13608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13613 ## Running $as_me. ##
13619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13623 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13626 # The HP-UX ksh and POSIX shell print the target directory to stdout
13627 # if CDPATH is set.
13628 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13630 sed_quote_subst='$sed_quote_subst'
13631 double_quote_subst='$double_quote_subst'
13632 delay_variable_subst='$delay_variable_subst'
13633 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13634 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13635 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13636 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13637 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13638 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13639 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13640 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13641 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13642 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13643 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13644 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13645 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13646 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13647 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13648 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13649 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13650 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13651 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13652 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13653 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13654 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13655 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13656 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13657 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13658 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13659 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13660 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13661 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13662 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13663 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13664 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13665 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13666 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13667 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13668 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13669 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13670 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13671 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13672 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13673 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13674 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13675 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13676 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13677 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13678 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13679 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13680 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13681 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13682 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13683 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13684 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13685 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13686 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13687 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13688 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13689 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13690 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"`'
13691 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13692 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13693 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13694 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13695 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13696 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13697 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13698 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13699 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13700 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13701 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13702 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13703 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13704 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13705 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13706 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13707 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13708 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13709 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13710 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13711 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13712 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13713 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13714 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13715 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13716 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13717 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13718 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13719 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13720 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13721 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13722 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13723 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13724 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13725 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13726 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13727 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13728 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13729 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13730 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13731 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13732 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13733 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13734 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13735 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13736 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13737 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13738 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13739 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13740 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13741 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13742 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13743 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13744 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13745 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13746 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13747 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13748 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13749 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13750 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13751 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13752 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13753 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13754 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13755 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13756 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13757 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13758 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13759 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13760 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13761 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13762 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13763 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13766 LTCFLAGS='$LTCFLAGS'
13767 compiler='$compiler_DEFAULT'
13769 # A function that is used when there is no print builtin or printf.
13770 func_fallback_echo ()
13772 eval 'cat <<_LTECHO_EOF
13777 # Quote evaled strings.
13794 deplibs_check_method \
13798 sharedlib_from_linklib_cmd \
13801 archiver_list_spec \
13807 lt_cv_sys_global_symbol_pipe \
13808 lt_cv_sys_global_symbol_to_cdecl \
13809 lt_cv_sys_global_symbol_to_c_name_address \
13810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13811 nm_file_list_spec \
13812 lt_prog_compiler_no_builtin_flag \
13813 lt_prog_compiler_pic \
13814 lt_prog_compiler_wl \
13815 lt_prog_compiler_static \
13816 lt_cv_prog_compiler_c_o \
13825 export_dynamic_flag_spec \
13826 whole_archive_flag_spec \
13827 compiler_needs_object \
13829 allow_undefined_flag \
13830 no_undefined_flag \
13831 hardcode_libdir_flag_spec \
13832 hardcode_libdir_separator \
13836 variables_saved_for_relink \
13838 library_names_spec \
13840 install_override_mode \
13844 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13845 *[\\\\\\\`\\"\\\$]*)
13846 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13849 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13854 # Double-quote double-evaled strings.
13855 for var in reload_cmds \
13856 old_postinstall_cmds \
13857 old_postuninstall_cmds \
13859 extract_expsyms_cmds \
13860 old_archive_from_new_cmds \
13861 old_archive_from_expsyms_cmds \
13863 archive_expsym_cmds \
13865 module_expsym_cmds \
13866 export_symbols_cmds \
13870 postuninstall_cmds \
13872 sys_lib_search_path_spec \
13873 sys_lib_dlsearch_path_spec; do
13874 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13875 *[\\\\\\\`\\"\\\$]*)
13876 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13879 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13884 ac_aux_dir='$ac_aux_dir'
13885 xsi_shell='$xsi_shell'
13886 lt_shell_append='$lt_shell_append'
13888 # See if we are running on zsh, and set the options which allow our
13889 # commands through without removal of \ escapes INIT.
13890 if test -n "\${ZSH_VERSION+set}" ; then
13891 setopt NO_GLOB_SUBST
13897 TIMESTAMP='$TIMESTAMP'
13906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13908 # Handling of arguments.
13909 for ac_config_target in $ac_config_targets
13911 case $ac_config_target in
13912 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13913 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13914 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13915 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13916 "libpng.pc") CONFIG_FILES="$CONFIG_FILES libpng.pc:libpng.pc.in" ;;
13917 "libpng-config") CONFIG_FILES="$CONFIG_FILES libpng-config:libpng-config.in" ;;
13919 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13924 # If the user did not use the arguments to specify the items to instantiate,
13925 # then the envvar interface is used. Set only those that are not.
13926 # We use the long form for the default assignment because of an extremely
13927 # bizarre bug on SunOS 4.1.3.
13928 if $ac_need_defaults; then
13929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13930 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13931 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13934 # Have a temporary directory for convenience. Make it in the build tree
13935 # simply because there is no reason against having it here, and in addition,
13936 # creating and moving files from /tmp can sometimes cause problems.
13937 # Hook for its removal unless debugging.
13938 # Note that there is a small window in which the directory will not be cleaned:
13939 # after its creation but before its name has been assigned to `$tmp'.
13943 trap 'exit_status=$?
13944 : "${ac_tmp:=$tmp}"
13945 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13947 trap 'as_fn_exit 1' 1 2 13 15
13949 # Create a (secure) tmp directory for tmp files.
13952 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13956 tmp=./conf$$-$RANDOM
13957 (umask 077 && mkdir "$tmp")
13958 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13961 # Set up the scripts for CONFIG_FILES section.
13962 # No need to generate them if there are no CONFIG_FILES.
13963 # This happens for instance with `./config.status config.h'.
13964 if test -n "$CONFIG_FILES"; then
13967 ac_cr=`echo X | tr X '\015'`
13968 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13969 # But we know of no other shell where ac_cr would be empty at this
13970 # point, so we can use a bashism as a fallback.
13971 if test "x$ac_cr" = x; then
13972 eval ac_cr=\$\'\\r\'
13974 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13975 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13978 ac_cs_awk_cr=$ac_cr
13981 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13986 echo "cat >conf$$subs.awk <<_ACEOF" &&
13987 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13989 } >conf$$subs.sh ||
13990 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13991 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13993 for ac_last_try in false false false false false :; do
13994 . ./conf$$subs.sh ||
13995 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13997 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13998 if test $ac_delim_n = $ac_delim_num; then
14000 elif $ac_last_try; then
14001 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14003 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14006 rm -f conf$$subs.sh
14008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14009 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14013 s/^/S["/; s/!.*/"]=/
14023 s/\(.\{148\}\)..*/\1/
14025 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14030 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14037 s/\(.\{148\}\)..*/\1/
14039 s/["\\]/\\&/g; s/^/"/; s/$/"/
14043 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14048 ' <conf$$subs.awk | sed '
14053 ' >>$CONFIG_STATUS || ac_write_fail=1
14054 rm -f conf$$subs.awk
14055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14057 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14058 for (key in S) S_is_set[key] = 1
14064 nfields = split(line, field, "@")
14066 len = length(field[1])
14067 for (i = 2; i < nfields; i++) {
14069 keylen = length(key)
14070 if (S_is_set[key]) {
14072 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14073 len += length(value) + length(field[++i])
14084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14085 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14086 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14089 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14090 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14093 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14094 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14095 # trailing colons and then remove the whole line if VPATH becomes empty
14096 # (actually we leave an empty line to preserve line numbers).
14097 if test "x$srcdir" = x.; then
14098 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14117 fi # test -n "$CONFIG_FILES"
14119 # Set up the scripts for CONFIG_HEADERS section.
14120 # No need to generate them if there are no CONFIG_HEADERS.
14121 # This happens for instance with `./config.status Makefile'.
14122 if test -n "$CONFIG_HEADERS"; then
14123 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14127 # Transform confdefs.h into an awk script `defines.awk', embedded as
14128 # here-document in config.status, that substitutes the proper values into
14129 # config.h.in to produce config.h.
14131 # Create a delimiter string that does not exist in confdefs.h, to ease
14132 # handling of long lines.
14134 for ac_last_try in false false :; do
14135 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14136 if test -z "$ac_tt"; then
14138 elif $ac_last_try; then
14139 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14141 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14145 # For the awk script, D is an array of macro values keyed by name,
14146 # likewise P contains macro parameters if any. Preserve backslash
14147 # newline sequences.
14149 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14151 s/.\{148\}/&'"$ac_delim"'/g
14154 s/^[ ]*#[ ]*define[ ][ ]*/ /
14161 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14163 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14167 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14168 D["\1"]=" \3\\\\\\n"\\/p
14170 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14175 s/.\{148\}/&'"$ac_delim"'/g
14180 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14183 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14185 ' <confdefs.h | sed '
14186 s/'"$ac_delim"'/"\\\
14187 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14190 for (key in D) D_is_set[key] = 1
14193 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14195 split(line, arg, " ")
14196 if (arg[1] == "#") {
14200 defundef = substr(arg[1], 2)
14203 split(mac1, mac2, "(") #)
14205 prefix = substr(line, 1, index(line, defundef) - 1)
14206 if (D_is_set[macro]) {
14207 # Preserve the white space surrounding the "#".
14208 print prefix "define", macro P[macro] D[macro]
14211 # Replace #undef with comments. This is necessary, for example,
14212 # in the case of _POSIX_SOURCE, which is predefined and required
14213 # on some systems where configure will not decide to define it.
14214 if (defundef == "undef") {
14215 print "/*", prefix defundef, macro, "*/"
14223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14224 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14225 fi # test -n "$CONFIG_HEADERS"
14228 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14233 :[FHLC]) ac_mode=$ac_tag; continue;;
14235 case $ac_mode$ac_tag in
14237 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14238 :[FH]-) ac_tag=-:-;;
14239 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14256 -) ac_f="$ac_tmp/stdin";;
14257 *) # Look for the file first in the build tree, then in the source tree
14258 # (if the path is not absolute). The absolute path cannot be DOS-style,
14259 # because $ac_f cannot contain `:'.
14263 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14265 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14267 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14268 as_fn_append ac_file_inputs " '$ac_f'"
14271 # Let's still pretend it is `configure' which instantiates (i.e., don't
14272 # use $as_me), people would be surprised to read:
14273 # /* config.h. Generated by config.status. */
14274 configure_input='Generated from '`
14275 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14277 if test x"$ac_file" != x-; then
14278 configure_input="$ac_file. $configure_input"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14280 $as_echo "$as_me: creating $ac_file" >&6;}
14282 # Neutralize special characters interpreted by sed in replacement strings.
14283 case $configure_input in #(
14284 *\&* | *\|* | *\\* )
14285 ac_sed_conf_input=`$as_echo "$configure_input" |
14286 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14287 *) ac_sed_conf_input=$configure_input;;
14291 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14292 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14297 ac_dir=`$as_dirname -- "$ac_file" ||
14298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14299 X"$ac_file" : 'X\(//\)[^/]' \| \
14300 X"$ac_file" : 'X\(//\)$' \| \
14301 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14302 $as_echo X"$ac_file" |
14303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14307 /^X\(\/\/\)[^/].*/{
14320 as_dir="$ac_dir"; as_fn_mkdir_p
14324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14326 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14327 # A ".." for each directory in $ac_dir_suffix.
14328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14329 case $ac_top_builddir_sub in
14330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14334 ac_abs_top_builddir=$ac_pwd
14335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14336 # for backward compatibility:
14337 ac_top_builddir=$ac_top_build_prefix
14340 .) # We are building in place.
14342 ac_top_srcdir=$ac_top_builddir_sub
14343 ac_abs_top_srcdir=$ac_pwd ;;
14344 [\\/]* | ?:[\\/]* ) # Absolute name.
14345 ac_srcdir=$srcdir$ac_dir_suffix;
14346 ac_top_srcdir=$srcdir
14347 ac_abs_top_srcdir=$srcdir ;;
14348 *) # Relative name.
14349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14350 ac_top_srcdir=$ac_top_build_prefix$srcdir
14351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14363 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14364 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14366 ac_MKDIR_P=$MKDIR_P
14368 [\\/$]* | ?:[\\/]* ) ;;
14369 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14374 # If the template does not know about datarootdir, expand it.
14375 # FIXME: This hack should be removed a few years after 2.60.
14376 ac_datarootdir_hack=; ac_datarootdir_seen=
14387 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14388 *datarootdir*) ac_datarootdir_seen=yes;;
14389 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14391 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14394 ac_datarootdir_hack='
14395 s&@datadir@&$datadir&g
14396 s&@docdir@&$docdir&g
14397 s&@infodir@&$infodir&g
14398 s&@localedir@&$localedir&g
14399 s&@mandir@&$mandir&g
14400 s&\\\${datarootdir}&$datarootdir&g' ;;
14404 # Neutralize VPATH when `$srcdir' = `.'.
14405 # Shell code in configure.ac might set extrasub.
14406 # FIXME: do we really want to maintain this feature?
14407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14408 ac_sed_extra="$ac_vpsub
14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14413 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14414 s|@configure_input@|$ac_sed_conf_input|;t t
14415 s&@top_builddir@&$ac_top_builddir_sub&;t t
14416 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14417 s&@srcdir@&$ac_srcdir&;t t
14418 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14419 s&@top_srcdir@&$ac_top_srcdir&;t t
14420 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14421 s&@builddir@&$ac_builddir&;t t
14422 s&@abs_builddir@&$ac_abs_builddir&;t t
14423 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14424 s&@INSTALL@&$ac_INSTALL&;t t
14425 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14426 $ac_datarootdir_hack
14428 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14429 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14431 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14432 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14433 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14434 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14436 which seems to be undefined. Please make sure it is defined" >&5
14437 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14438 which seems to be undefined. Please make sure it is defined" >&2;}
14440 rm -f "$ac_tmp/stdin"
14442 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14443 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14451 if test x"$ac_file" != x-; then
14453 $as_echo "/* $configure_input */" \
14454 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14455 } >"$ac_tmp/config.h" \
14456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14457 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14459 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14462 mv "$ac_tmp/config.h" "$ac_file" \
14463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14466 $as_echo "/* $configure_input */" \
14467 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14468 || as_fn_error $? "could not create -" "$LINENO" 5
14470 # Compute "$ac_file"'s index in $config_headers.
14473 for _am_header in $config_headers :; do
14474 case $_am_header in
14475 $_am_arg | $_am_arg:* )
14478 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14481 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14482 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14483 X"$_am_arg" : 'X\(//\)[^/]' \| \
14484 X"$_am_arg" : 'X\(//\)$' \| \
14485 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14486 $as_echo X"$_am_arg" |
14487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14491 /^X\(\/\/\)[^/].*/{
14503 s/.*/./; q'`/stamp-h$_am_stamp_count
14506 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14507 $as_echo "$as_me: executing $ac_file commands" >&6;}
14512 case $ac_file$ac_mode in
14513 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14514 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14515 # are listed without --file. Let's play safe and only enable the eval
14516 # if we detect the quoting.
14517 case $CONFIG_FILES in
14518 *\'*) eval set x "$CONFIG_FILES" ;;
14519 *) set x $CONFIG_FILES ;;
14524 # Strip MF so we end up with the name of the file.
14525 mf=`echo "$mf" | sed -e 's/:.*$//'`
14526 # Check whether this is an Automake generated Makefile or not.
14527 # We used to match only the files named `Makefile.in', but
14528 # some people rename them; so instead we look at the file content.
14529 # Grep'ing the first line is not enough: some people post-process
14530 # each Makefile.in and add a new line on top of each file to say so.
14531 # Grep'ing the whole file is not good either: AIX grep has a line
14532 # limit of 2048, but all sed's we know have understand at least 4000.
14533 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14534 dirpart=`$as_dirname -- "$mf" ||
14535 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14536 X"$mf" : 'X\(//\)[^/]' \| \
14537 X"$mf" : 'X\(//\)$' \| \
14538 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14544 /^X\(\/\/\)[^/].*/{
14560 # Extract the definition of DEPDIR, am__include, and am__quote
14561 # from the Makefile without running `make'.
14562 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14563 test -z "$DEPDIR" && continue
14564 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14565 test -z "am__include" && continue
14566 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14567 # When using ansi2knr, U may be empty or an underscore; expand it
14568 U=`sed -n 's/^U = //p' < "$mf"`
14569 # Find all dependency output files, they are included files with
14570 # $(DEPDIR) in their names. We invoke sed twice because it is the
14571 # simplest approach to changing $(DEPDIR) to its actual value in the
14573 for file in `sed -n "
14574 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14575 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14576 # Make sure the directory exists.
14577 test -f "$dirpart/$file" && continue
14578 fdir=`$as_dirname -- "$file" ||
14579 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14580 X"$file" : 'X\(//\)[^/]' \| \
14581 X"$file" : 'X\(//\)$' \| \
14582 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14583 $as_echo X"$file" |
14584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14588 /^X\(\/\/\)[^/].*/{
14601 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14602 # echo "creating $dirpart/$file"
14603 echo '# dummy' > "$dirpart/$file"
14610 # See if we are running on zsh, and set the options which allow our
14611 # commands through without removal of \ escapes.
14612 if test -n "${ZSH_VERSION+set}" ; then
14613 setopt NO_GLOB_SUBST
14616 cfgfile="${ofile}T"
14617 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14620 cat <<_LT_EOF >> "$cfgfile"
14623 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14624 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14625 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14626 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14628 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14629 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14631 # Written by Gordon Matzigkeit, 1996
14633 # This file is part of GNU Libtool.
14635 # GNU Libtool is free software; you can redistribute it and/or
14636 # modify it under the terms of the GNU General Public License as
14637 # published by the Free Software Foundation; either version 2 of
14638 # the License, or (at your option) any later version.
14640 # As a special exception to the GNU General Public License,
14641 # if you distribute this file as part of a program or library that
14642 # is built using GNU Libtool, you may include this file under the
14643 # same distribution terms that you use for the rest of that program.
14645 # GNU Libtool is distributed in the hope that it will be useful,
14646 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14647 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14648 # GNU General Public License for more details.
14650 # You should have received a copy of the GNU General Public License
14651 # along with GNU Libtool; see the file COPYING. If not, a copy
14652 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14653 # obtained by writing to the Free Software Foundation, Inc.,
14654 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14657 # The names of the tagged configurations supported by this script.
14660 # ### BEGIN LIBTOOL CONFIG
14662 # A sed program that does not truncate output.
14665 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14666 Xsed="\$SED -e 1s/^X//"
14668 # A grep program that handles long lines.
14674 # A literal string matcher.
14677 # Shell to use when invoking shell scripts.
14680 # An echo program that protects backslashes.
14683 # Which release of libtool.m4 was used?
14684 macro_version=$macro_version
14685 macro_revision=$macro_revision
14687 # Assembler program.
14690 # DLL creation program.
14691 DLLTOOL=$lt_DLLTOOL
14693 # Object dumper program.
14694 OBJDUMP=$lt_OBJDUMP
14696 # Whether or not to build shared libraries.
14697 build_libtool_libs=$enable_shared
14699 # Whether or not to build static libraries.
14700 build_old_libs=$enable_static
14702 # What type of objects to build.
14705 # Whether or not to optimize for fast installation.
14706 fast_install=$enable_fast_install
14708 # The PATH separator for the build system.
14709 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14712 host_alias=$host_alias
14716 # The build system.
14717 build_alias=$build_alias
14721 # A BSD- or MS-compatible name lister.
14724 # Whether we need soft or hard links.
14727 # What is the maximum length of a command?
14728 max_cmd_len=$max_cmd_len
14730 # Object file suffix (normally "o").
14733 # Executable file suffix (normally "").
14736 # whether the shell understands "unset".
14739 # turn spaces into newlines.
14742 # turn newlines into spaces.
14745 # convert \$build file names to \$host format.
14746 to_host_file_cmd=$lt_cv_to_host_file_cmd
14748 # convert \$build files to toolchain format.
14749 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14751 # Method to check whether dependent libraries are shared objects.
14752 deplibs_check_method=$lt_deplibs_check_method
14754 # Command to use when deplibs_check_method = "file_magic".
14755 file_magic_cmd=$lt_file_magic_cmd
14757 # How to find potential files when deplibs_check_method = "file_magic".
14758 file_magic_glob=$lt_file_magic_glob
14760 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14761 want_nocaseglob=$lt_want_nocaseglob
14763 # Command to associate shared and link libraries.
14764 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14769 # Flags to create an archive.
14770 AR_FLAGS=$lt_AR_FLAGS
14772 # How to feed a file listing to the archiver.
14773 archiver_list_spec=$lt_archiver_list_spec
14775 # A symbol stripping program.
14778 # Commands used to install an old-style archive.
14780 old_postinstall_cmds=$lt_old_postinstall_cmds
14781 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14783 # Whether to use a lock for old archive extraction.
14784 lock_old_archive_extraction=$lock_old_archive_extraction
14789 # LTCC compiler flags.
14790 LTCFLAGS=$lt_CFLAGS
14792 # Take the output of nm and produce a listing of raw symbols and C names.
14793 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14795 # Transform the output of nm in a proper C declaration.
14796 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14798 # Transform the output of nm in a C name address pair.
14799 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14801 # Transform the output of nm in a C name address pair when lib prefix is needed.
14802 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14804 # Specify filename containing input files for \$NM.
14805 nm_file_list_spec=$lt_nm_file_list_spec
14807 # The root where to search for dependent libraries,and in which our libraries should be installed.
14808 lt_sysroot=$lt_sysroot
14810 # The name of the directory that contains temporary libtool files.
14813 # Used to examine libraries when file_magic_cmd begins with "file".
14814 MAGIC_CMD=$MAGIC_CMD
14816 # Must we lock files when doing compilation?
14817 need_locks=$lt_need_locks
14820 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14822 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14823 DSYMUTIL=$lt_DSYMUTIL
14825 # Tool to change global to local symbols on Mac OS X.
14828 # Tool to manipulate fat objects and archives on Mac OS X.
14831 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14834 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14835 OTOOL64=$lt_OTOOL64
14837 # Old archive suffix (normally "a").
14840 # Shared library suffix (normally ".so").
14841 shrext_cmds=$lt_shrext_cmds
14843 # The commands to extract the exported symbol list from a shared archive.
14844 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14846 # Variables whose values should be saved in libtool wrapper scripts and
14847 # restored at link time.
14848 variables_saved_for_relink=$lt_variables_saved_for_relink
14850 # Do we need the "lib" prefix for modules?
14851 need_lib_prefix=$need_lib_prefix
14853 # Do we need a version for libraries?
14854 need_version=$need_version
14856 # Library versioning type.
14857 version_type=$version_type
14859 # Shared library runtime path variable.
14860 runpath_var=$runpath_var
14862 # Shared library path variable.
14863 shlibpath_var=$shlibpath_var
14865 # Is shlibpath searched before the hard-coded library search path?
14866 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14868 # Format of library name prefix.
14869 libname_spec=$lt_libname_spec
14871 # List of archive names. First name is the real one, the rest are links.
14872 # The last name is the one that the linker finds with -lNAME
14873 library_names_spec=$lt_library_names_spec
14875 # The coded name of the library, if different from the real name.
14876 soname_spec=$lt_soname_spec
14878 # Permission mode override for installation of shared libraries.
14879 install_override_mode=$lt_install_override_mode
14881 # Command to use after installation of a shared archive.
14882 postinstall_cmds=$lt_postinstall_cmds
14884 # Command to use after uninstallation of a shared archive.
14885 postuninstall_cmds=$lt_postuninstall_cmds
14887 # Commands used to finish a libtool library installation in a directory.
14888 finish_cmds=$lt_finish_cmds
14890 # As "finish_cmds", except a single script fragment to be evaled but
14892 finish_eval=$lt_finish_eval
14894 # Whether we should hardcode library paths into libraries.
14895 hardcode_into_libs=$hardcode_into_libs
14897 # Compile-time system search path for libraries.
14898 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14900 # Run-time system search path for libraries.
14901 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14903 # Whether dlopen is supported.
14904 dlopen_support=$enable_dlopen
14906 # Whether dlopen of programs is supported.
14907 dlopen_self=$enable_dlopen_self
14909 # Whether dlopen of statically linked programs is supported.
14910 dlopen_self_static=$enable_dlopen_self_static
14912 # Commands to strip libraries.
14913 old_striplib=$lt_old_striplib
14914 striplib=$lt_striplib
14917 # The linker used to build libraries.
14920 # How to create reloadable object files.
14921 reload_flag=$lt_reload_flag
14922 reload_cmds=$lt_reload_cmds
14924 # Commands used to build an old-style archive.
14925 old_archive_cmds=$lt_old_archive_cmds
14927 # A language specific compiler.
14930 # Is the compiler the GNU compiler?
14933 # Compiler flag to turn off builtin functions.
14934 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14936 # Additional compiler flags for building library objects.
14937 pic_flag=$lt_lt_prog_compiler_pic
14939 # How to pass a linker flag through the compiler.
14940 wl=$lt_lt_prog_compiler_wl
14942 # Compiler flag to prevent dynamic linking.
14943 link_static_flag=$lt_lt_prog_compiler_static
14945 # Does compiler simultaneously support -c and -o options?
14946 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14948 # Whether or not to add -lc for building shared libraries.
14949 build_libtool_need_lc=$archive_cmds_need_lc
14951 # Whether or not to disallow shared libs when runtime libs are static.
14952 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14954 # Compiler flag to allow reflexive dlopens.
14955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14957 # Compiler flag to generate shared objects directly from archives.
14958 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14960 # Whether the compiler copes with passing no objects directly.
14961 compiler_needs_object=$lt_compiler_needs_object
14963 # Create an old-style archive from a shared archive.
14964 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14966 # Create a temporary old-style archive to link instead of a shared archive.
14967 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14969 # Commands used to build a shared archive.
14970 archive_cmds=$lt_archive_cmds
14971 archive_expsym_cmds=$lt_archive_expsym_cmds
14973 # Commands used to build a loadable module if different from building
14974 # a shared archive.
14975 module_cmds=$lt_module_cmds
14976 module_expsym_cmds=$lt_module_expsym_cmds
14978 # Whether we are building with GNU ld or not.
14979 with_gnu_ld=$lt_with_gnu_ld
14981 # Flag that allows shared libraries with undefined symbols to be built.
14982 allow_undefined_flag=$lt_allow_undefined_flag
14984 # Flag that enforces no undefined symbols.
14985 no_undefined_flag=$lt_no_undefined_flag
14987 # Flag to hardcode \$libdir into a binary during linking.
14988 # This must work even if \$libdir does not exist
14989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14991 # Whether we need a single "-rpath" flag with a separated argument.
14992 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14994 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14995 # DIR into the resulting binary.
14996 hardcode_direct=$hardcode_direct
14998 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14999 # DIR into the resulting binary and the resulting library dependency is
15000 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15001 # library is relocated.
15002 hardcode_direct_absolute=$hardcode_direct_absolute
15004 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15005 # into the resulting binary.
15006 hardcode_minus_L=$hardcode_minus_L
15008 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15009 # into the resulting binary.
15010 hardcode_shlibpath_var=$hardcode_shlibpath_var
15012 # Set to "yes" if building a shared library automatically hardcodes DIR
15013 # into the library and all subsequent libraries and executables linked
15015 hardcode_automatic=$hardcode_automatic
15017 # Set to yes if linker adds runtime paths of dependent libraries
15018 # to runtime path list.
15019 inherit_rpath=$inherit_rpath
15021 # Whether libtool must link a program against all its dependency libraries.
15022 link_all_deplibs=$link_all_deplibs
15024 # Set to "yes" if exported symbols are required.
15025 always_export_symbols=$always_export_symbols
15027 # The commands to list exported symbols.
15028 export_symbols_cmds=$lt_export_symbols_cmds
15030 # Symbols that should not be listed in the preloaded symbols.
15031 exclude_expsyms=$lt_exclude_expsyms
15033 # Symbols that must always be exported.
15034 include_expsyms=$lt_include_expsyms
15036 # Commands necessary for linking programs (against libraries) with templates.
15037 prelink_cmds=$lt_prelink_cmds
15039 # Commands necessary for finishing linking programs.
15040 postlink_cmds=$lt_postlink_cmds
15042 # Specify filename containing input files.
15043 file_list_spec=$lt_file_list_spec
15045 # How to hardcode a shared library path into an executable.
15046 hardcode_action=$hardcode_action
15048 # ### END LIBTOOL CONFIG
15054 cat <<\_LT_EOF >> "$cfgfile"
15055 # AIX sometimes has problems with the GCC collect2 program. For some
15056 # reason, if we set the COLLECT_NAMES environment variable, the problems
15057 # vanish in a puff of smoke.
15058 if test "X${COLLECT_NAMES+set}" != Xset; then
15060 export COLLECT_NAMES
15067 ltmain="$ac_aux_dir/ltmain.sh"
15070 # We use sed instead of cat because bash on DJGPP gets confused if
15071 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15072 # text mode, it properly converts lines to CR/LF. This bash problem
15073 # is reportedly fixed, but why not run on old versions too?
15074 sed '$q' "$ltmain" >> "$cfgfile" \
15075 || (rm -f "$cfgfile"; exit 1)
15077 if test x"$xsi_shell" = xyes; then
15078 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15082 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15083 \ * ) func_dirname_result="${3}" ;;\
15085 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15086 && mv -f "$cfgfile.tmp" "$cfgfile" \
15087 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15088 test 0 -eq $? || _lt_function_replace_fail=:
15091 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15094 \ func_basename_result="${1##*/}"\
15095 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15096 && mv -f "$cfgfile.tmp" "$cfgfile" \
15097 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15098 test 0 -eq $? || _lt_function_replace_fail=:
15101 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15102 func_dirname_and_basename ()\
15105 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15106 \ * ) func_dirname_result="${3}" ;;\
15108 \ func_basename_result="${1##*/}"\
15109 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15110 && mv -f "$cfgfile.tmp" "$cfgfile" \
15111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15112 test 0 -eq $? || _lt_function_replace_fail=:
15115 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15118 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15119 \ # positional parameters, so assign one to ordinary parameter first.\
15120 \ func_stripname_result=${3}\
15121 \ func_stripname_result=${func_stripname_result#"${1}"}\
15122 \ func_stripname_result=${func_stripname_result%"${2}"}\
15123 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15124 && mv -f "$cfgfile.tmp" "$cfgfile" \
15125 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15126 test 0 -eq $? || _lt_function_replace_fail=:
15129 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15130 func_split_long_opt ()\
15132 \ func_split_long_opt_name=${1%%=*}\
15133 \ func_split_long_opt_arg=${1#*=}\
15134 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15135 && mv -f "$cfgfile.tmp" "$cfgfile" \
15136 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15137 test 0 -eq $? || _lt_function_replace_fail=:
15140 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15141 func_split_short_opt ()\
15143 \ func_split_short_opt_arg=${1#??}\
15144 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15145 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15146 && mv -f "$cfgfile.tmp" "$cfgfile" \
15147 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15148 test 0 -eq $? || _lt_function_replace_fail=:
15151 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15155 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15156 \ *) func_lo2o_result=${1} ;;\
15158 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15159 && mv -f "$cfgfile.tmp" "$cfgfile" \
15160 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15161 test 0 -eq $? || _lt_function_replace_fail=:
15164 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15167 func_xform_result=${1%.*}.lo\
15168 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15169 && mv -f "$cfgfile.tmp" "$cfgfile" \
15170 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15171 test 0 -eq $? || _lt_function_replace_fail=:
15174 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15177 func_arith_result=$(( $* ))\
15178 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15179 && mv -f "$cfgfile.tmp" "$cfgfile" \
15180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15181 test 0 -eq $? || _lt_function_replace_fail=:
15184 sed -e '/^func_len ()$/,/^} # func_len /c\
15187 func_len_result=${#1}\
15188 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15189 && mv -f "$cfgfile.tmp" "$cfgfile" \
15190 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15191 test 0 -eq $? || _lt_function_replace_fail=:
15195 if test x"$lt_shell_append" = xyes; then
15196 sed -e '/^func_append ()$/,/^} # func_append /c\
15199 eval "${1}+=\\${2}"\
15200 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15201 && mv -f "$cfgfile.tmp" "$cfgfile" \
15202 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15203 test 0 -eq $? || _lt_function_replace_fail=:
15206 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15207 func_append_quoted ()\
15209 \ func_quote_for_eval "${2}"\
15210 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15211 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15212 && mv -f "$cfgfile.tmp" "$cfgfile" \
15213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15214 test 0 -eq $? || _lt_function_replace_fail=:
15217 # Save a `func_append' function call where possible by direct use of '+='
15218 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15219 && mv -f "$cfgfile.tmp" "$cfgfile" \
15220 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15221 test 0 -eq $? || _lt_function_replace_fail=:
15223 # Save a `func_append' function call even when '+=' is not available
15224 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15225 && mv -f "$cfgfile.tmp" "$cfgfile" \
15226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15227 test 0 -eq $? || _lt_function_replace_fail=:
15230 if test x"$_lt_function_replace_fail" = x":"; then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15232 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15236 mv -f "$cfgfile" "$ofile" ||
15237 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15241 "libpng-config":F) chmod +x libpng-config ;;
15249 ac_clean_files=$ac_clean_files_save
15251 test $ac_write_fail = 0 ||
15252 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15255 # configure is writing to config.log, and then calls config.status.
15256 # config.status does its own redirection, appending to config.log.
15257 # Unfortunately, on DOS this fails, as config.log is still kept open
15258 # by configure, so config.status won't be able to write to it; its
15259 # output is simply discarded. So we exec the FD to /dev/null,
15260 # effectively closing config.log, so it can be properly (re)opened and
15261 # appended to by config.status. When coming back to configure, we
15262 # need to make the FD available again.
15263 if test "$no_create" != yes; then
15265 ac_config_status_args=
15266 test "$silent" = yes &&
15267 ac_config_status_args="$ac_config_status_args --quiet"
15269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15272 # would make configure fail if this is the last instruction.
15273 $ac_cs_success || as_fn_exit 1
15275 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15277 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}