2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libpng 1.5.7.
5 # Report bugs to <png-mng-implement@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: png-mng-implement@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir -p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='libpng'
572 PACKAGE_TARNAME
='libpng'
573 PACKAGE_VERSION
='1.5.7'
574 PACKAGE_STRING
='libpng 1.5.7'
575 PACKAGE_BUGREPORT
='png-mng-implement@lists.sourceforge.net'
578 ac_unique_file
="pngget.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
628 HAVE_LD_VERSION_SCRIPT_FALSE
629 HAVE_LD_VERSION_SCRIPT_TRUE
630 HAVE_SOLARIS_LD_FALSE
667 am__fastdepCCAS_FALSE
689 MAINTAINER_MODE_FALSE
699 INSTALL_STRIP_PROGRAM
741 program_transform_name
754 enable_option_checking
755 enable_maintainer_mode
756 enable_dependency_tracking
769 ac_precious_vars
='build_alias
783 # Initialize some variables set by options.
785 ac_init_version
=false
786 ac_unrecognized_opts
=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name
=s
,x
,x
,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir
='${exec_prefix}/bin'
812 sbindir
='${exec_prefix}/sbin'
813 libexecdir
='${exec_prefix}/libexec'
814 datarootdir
='${prefix}/share'
815 datadir
='${datarootdir}'
816 sysconfdir
='${prefix}/etc'
817 sharedstatedir
='${prefix}/com'
818 localstatedir
='${prefix}/var'
819 includedir
='${prefix}/include'
820 oldincludedir
='/usr/include'
821 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir
='${datarootdir}/info'
827 libdir
='${exec_prefix}/lib'
828 localedir
='${datarootdir}/locale'
829 mandir
='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\
$ac_option
843 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
859 -build | --build | --buil | --bui | --bu)
860 ac_prev
=build_alias
;;
861 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862 build_alias
=$ac_optarg ;;
864 -cache-file | --cache-file | --cache-fil | --cache-fi \
865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866 ac_prev
=cache_file
;;
867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869 cache_file
=$ac_optarg ;;
872 cache_file
=config.cache
;;
874 -datadir | --datadir | --datadi | --datad)
876 -datadir=* | --datadir=* | --datadi=* | --datad=*)
877 datadir
=$ac_optarg ;;
879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880 | --dataroo | --dataro | --datar)
881 ac_prev
=datarootdir
;;
882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884 datarootdir
=$ac_optarg ;;
886 -disable-* | --disable-*)
887 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
890 as_fn_error $?
"invalid feature name: $ac_useropt"
891 ac_useropt_orig
=$ac_useropt
892 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep
=', ';;
900 eval enable_
$ac_useropt=no
;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
916 as_fn_error $?
"invalid feature name: $ac_useropt"
917 ac_useropt_orig
=$ac_useropt
918 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep
=', ';;
926 eval enable_
$ac_useropt=\
$ac_optarg ;;
928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930 | --exec | --exe | --ex)
931 ac_prev
=exec_prefix
;;
932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934 | --exec=* | --exe=* | --ex=*)
935 exec_prefix
=$ac_optarg ;;
937 -gas | --gas | --ga | --g)
938 # Obsolete; use --with-gas.
941 -help | --help | --hel | --he | -h)
943 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
944 ac_init_help
=recursive
;;
945 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
946 ac_init_help
=short
;;
948 -host | --host | --hos | --ho)
949 ac_prev
=host_alias
;;
950 -host=* | --host=* | --hos=* | --ho=*)
951 host_alias
=$ac_optarg ;;
953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 htmldir
=$ac_optarg ;;
959 -includedir | --includedir | --includedi | --included | --include \
960 | --includ | --inclu | --incl | --inc)
961 ac_prev
=includedir
;;
962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 includedir
=$ac_optarg ;;
966 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 infodir
=$ac_optarg ;;
971 -libdir | --libdir | --libdi | --libd)
973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977 | --libexe | --libex | --libe)
978 ac_prev
=libexecdir
;;
979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980 | --libexe=* | --libex=* | --libe=*)
981 libexecdir
=$ac_optarg ;;
983 -localedir | --localedir | --localedi | --localed | --locale)
985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 localedir
=$ac_optarg ;;
988 -localstatedir | --localstatedir | --localstatedi | --localstated \
989 | --localstate | --localstat | --localsta | --localst | --locals)
990 ac_prev
=localstatedir
;;
991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 localstatedir
=$ac_optarg ;;
995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 -nfp | --nfp | --nf)
1001 # Obsolete; use --without-fp.
1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005 | --no-cr | --no-c | -n)
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014 | --oldin | --oldi | --old | --ol | --o)
1015 ac_prev
=oldincludedir
;;
1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 oldincludedir
=$ac_optarg ;;
1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 prefix
=$ac_optarg ;;
1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027 | --program-pre | --program-pr | --program-p)
1028 ac_prev
=program_prefix
;;
1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 program_prefix
=$ac_optarg ;;
1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034 | --program-suf | --program-su | --program-s)
1035 ac_prev
=program_suffix
;;
1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 program_suffix
=$ac_optarg ;;
1040 -program-transform-name | --program-transform-name \
1041 | --program-transform-nam | --program-transform-na \
1042 | --program-transform-n | --program-transform- \
1043 | --program-transform | --program-transfor \
1044 | --program-transfo | --program-transf \
1045 | --program-trans | --program-tran \
1046 | --progr-tra | --program-tr | --program-t)
1047 ac_prev
=program_transform_name
;;
1048 -program-transform-name=* | --program-transform-name=* \
1049 | --program-transform-nam=* | --program-transform-na=* \
1050 | --program-transform-n=* | --program-transform-=* \
1051 | --program-transform=* | --program-transfor=* \
1052 | --program-transfo=* | --program-transf=* \
1053 | --program-trans=* | --program-tran=* \
1054 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 program_transform_name
=$ac_optarg ;;
1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 pdfdir
=$ac_optarg ;;
1062 -psdir | --psdir | --psdi | --psd | --ps)
1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 sbindir
=$ac_optarg ;;
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1081 ac_prev
=sharedstatedir
;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 sharedstatedir
=$ac_optarg ;;
1088 -site | --site | --sit)
1090 -site=* | --site=* | --sit=*)
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir
=$ac_optarg ;;
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev
=sysconfdir
;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir
=$ac_optarg ;;
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev
=target_alias
;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias
=$ac_optarg ;;
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version
=: ;;
1117 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error $?
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=\
$ac_optarg ;;
1132 -without-* | --without-*)
1133 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1136 as_fn_error $?
"invalid package name: $ac_useropt"
1137 ac_useropt_orig
=$ac_useropt
1138 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep
=', ';;
1146 eval with_
$ac_useropt=no
;;
1149 # Obsolete; use --with-x.
1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153 | --x-incl | --x-inc | --x-in | --x-i)
1154 ac_prev
=x_includes
;;
1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 x_includes
=$ac_optarg ;;
1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161 ac_prev
=x_libraries
;;
1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 x_libraries
=$ac_optarg ;;
1166 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1171 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1175 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\
$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1191 if test -n "$ac_prev"; then
1192 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $?
"missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val
=\$
$ac_var
1211 # Remove trailing slashes.
1214 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\
$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$
]* | ?
:[\\/]* ) continue;;
1220 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1222 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target
=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x
; then
1234 if test "x$build_alias" = x
; then
1235 cross_compiling
=maybe
1236 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1237 If a cross compiler is detected then cross compile mode will be used" >&2
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1246 test "$silent" = yes && exec 6>/dev
/null
1249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di
=`ls -di .` &&
1251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $?
"working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $?
"pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures libpng 1.5.7 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/libpng]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short
| recursive
) echo "Configuration of libpng 1.5.7:";;
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-maintainer-mode enable make rules and dependencies not useful
1402 (and sometimes confusing
) to the casual installer
1403 --disable-dependency-tracking speeds up one
-time build
1404 --enable-dependency-tracking do not reject slow dependency extractors
1405 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1406 --enable-static[=PKGS
] build static libraries
[default
=yes]
1407 --enable-fast-install[=PKGS
]
1408 optimize
for fast installation
[default
=yes]
1409 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1410 --enable-arm-neon Enable ARM NEON optimizations
1413 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1414 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1415 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1416 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1418 --with-sysroot=DIR Search
for dependent libraries within DIR
1419 (or the compiler
's sysroot if not specified).
1420 --with-zlib-prefix prefix that may have been used in installed zlib
1421 --with-pkgconfigdir Use the specified pkgconfig dir (default is
1423 --with-binconfigs Generate shell libpng-config scripts as well as
1424 pkg-config data [default=yes]
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1434 CCAS assembler compiler command (defaults to CC)
1435 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1438 Use these variables to override the choices made by `configure' or to
help
1439 it to
find libraries and programs with nonstandard names
/locations.
1441 Report bugs to
<png
-mng-implement@lists.sourceforge.net
>.
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1449 test -d "$ac_dir" ||
1450 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458 # A ".." for each directory in $ac_dir_suffix.
1459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460 case $ac_top_builddir_sub in
1461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1465 ac_abs_top_builddir
=$ac_pwd
1466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir
=$ac_top_build_prefix
1471 .
) # We are building in place.
1473 ac_top_srcdir
=$ac_top_builddir_sub
1474 ac_abs_top_srcdir
=$ac_pwd ;;
1475 [\\/]* | ?
:[\\/]* ) # Absolute name.
1476 ac_srcdir
=$srcdir$ac_dir_suffix;
1477 ac_top_srcdir
=$srcdir
1478 ac_abs_top_srcdir
=$srcdir ;;
1480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1486 cd "$ac_dir" || { ac_status
=$?
; continue; }
1487 # Check for guested configure.
1488 if test -f "$ac_srcdir/configure.gnu"; then
1490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491 elif test -f "$ac_srcdir/configure"; then
1493 $SHELL "$ac_srcdir/configure" --help=recursive
1495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 cd "$ac_pwd" || { ac_status
=$?
; break; }
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1504 libpng configure
1.5.7
1505 generated by GNU Autoconf
2.68
1507 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1508 This configure
script is free software
; the Free Software Foundation
1509 gives unlimited permission to copy
, distribute and modify it.
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compile
()
1523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1524 rm -f conftest.
$ac_objext
1525 if { { ac_try
="$ac_compile"
1527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_compile") 2>conftest.err
1534 if test -s conftest.err; then
1535 grep -v '^ *+' conftest.err >conftest.er1
1536 cat conftest.er1 >&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest.$ac_objext; then :
1546 $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.$ac_ext >&5
1551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552 as_fn_set_status $ac_retval
1554 } # ac_fn_c_try_compile
1556 # ac_fn_c_try_cpp LINENO
1557 # ----------------------
1558 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 if { { ac_try="$ac_cpp conftest.$ac_ext"
1564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1565 *) ac_try_echo
=$ac_try;;
1567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1571 if test -s conftest.err
; then
1572 grep -v '^ *+' conftest.err
>conftest.er1
1573 cat conftest.er1
>&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } > conftest.i
&& {
1578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.
$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status
$ac_retval
1593 # ac_fn_c_try_link LINENO
1594 # -----------------------
1595 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1599 rm -f conftest.
$ac_objext conftest
$ac_exeext
1600 if { { ac_try
="$ac_link"
1602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_link") 2>conftest.err
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest$ac_exeext && {
1619 test "$cross_compiling" = yes ||
1620 $as_test_x conftest$ac_exeext
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1630 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1631 # interfere with the next link command; also delete a directory that is
1632 # left behind by Apple's compiler. We do this before executing the actions.
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_link
1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists and can be compiled using the include files in
1642 # INCLUDES, setting the cache variable VAR accordingly.
1643 ac_fn_c_check_header_compile ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if eval \${$3+:} false; then :
1649 $as_echo_n "(cached) " >&6
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile "$LINENO"; then :
1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 } # ac_fn_c_check_header_compile
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=$ac_status
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_c_check_func LINENO FUNC VAR
1713 # ----------------------------------
1714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1715 ac_fn_c_check_func ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719 $as_echo_n "checking for $2... " >&6; }
1720 if eval \${$3+:} false; then :
1721 $as_echo_n "(cached) " >&6
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1725 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1727 #define $2 innocuous_$2
1729 /* System header to define __stub macros and hopefully few prototypes,
1730 which can conflict with char $2 (); below.
1731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1732 <limits.h> exists even on freestanding compilers. */
1735 # include <limits.h>
1737 # include <assert.h>
1742 /* Override any GCC internal prototype to avoid an error.
1743 Use char because int might match the return type of a GCC
1744 builtin and then its argument prototype would still apply. */
1749 /* The GNU C library defines this for functions which it implements
1750 to always fail with ENOSYS. Some functions are actually named
1751 something starting with __ and the normal name is an alias. */
1752 #if defined __stub_$2 || defined __stub___$2
1764 if ac_fn_c_try_link "$LINENO"; then :
1769 rm -f core conftest.err conftest.$ac_objext \
1770 conftest$ac_exeext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_func
1779 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1780 # -------------------------------------------------------
1781 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1782 # the include files in INCLUDES and setting the cache variable VAR
1784 ac_fn_c_check_header_mongrel ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 if eval \${$3+:} false; then :
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if eval \${$3+:} false; then :
1791 $as_echo_n "(cached) " >&6
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1797 # Is the header compilable?
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1799 $as_echo_n "checking $2 usability... " >&6; }
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1805 if ac_fn_c_try_compile "$LINENO"; then :
1806 ac_header_compiler=yes
1808 ac_header_compiler=no
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1812 $as_echo "$ac_header_compiler" >&6; }
1814 # Is the header present?
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1816 $as_echo_n "checking $2 presence... " >&6; }
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1821 if ac_fn_c_try_cpp "$LINENO"; then :
1822 ac_header_preproc=yes
1824 ac_header_preproc=no
1826 rm -f conftest.err conftest.i conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1828 $as_echo "$ac_header_preproc" >&6; }
1830 # So? What about this header?
1831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1834 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1840 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1842 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1844 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1846 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1848 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1849 ( $as_echo "## ------------------------------------------------------ ##
1850 ## Report this to png-mng-implement@lists.sourceforge.net ##
1851 ## ------------------------------------------------------ ##"
1852 ) | sed "s/^/$as_me: WARNING: /" >&2
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856 $as_echo_n "checking for $2... " >&6; }
1857 if eval \${$3+:} false; then :
1858 $as_echo_n "(cached) " >&6
1860 eval "$3=\$ac_header_compiler"
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 } # ac_fn_c_check_header_mongrel
1870 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1871 # -------------------------------------------
1872 # Tests whether TYPE exists after having included INCLUDES, setting cache
1873 # variable VAR accordingly.
1874 ac_fn_c_check_type ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1895 if ac_fn_c_try_compile "$LINENO"; then :
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1908 if ac_fn_c_try_compile "$LINENO"; then :
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 } # ac_fn_c_check_type
1923 cat >config.log <<_ACEOF
1924 This file contains any messages produced by compilers while
1925 running configure, to aid debugging if configure makes a mistake.
1927 It was created by libpng $as_me 1.5.7, which was
1928 generated by GNU Autoconf 2.68. Invocation command line was
1940 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1941 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1942 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1943 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1944 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1946 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1947 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1949 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1950 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1951 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1952 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1953 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1954 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1955 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 $as_echo "PATH: $as_dir"
1980 # Keep a trace of the command line.
1981 # Strip out --no-create and --no-recursion so they do not pile up.
1982 # Strip out --silent because we don't want to record it for future runs.
1983 # Also quote any args containing shell meta-characters.
1984 # Make two passes to allow for proper duplicate-argument suppression.
1988 ac_must_keep_next=false
1994 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1996 | -silent | --silent | --silen | --sile | --sil)
1999 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2002 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2004 as_fn_append ac_configure_args1 " '$ac_arg'"
2005 if test $ac_must_keep_next = true; then
2006 ac_must_keep_next=false # Got value, back to normal.
2009 *=* | --config-cache | -C | -disable-* | --disable-* \
2010 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2011 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2012 | -with-* | --with-* | -without-* | --without-* | --x)
2013 case "$ac_configure_args0 " in
2014 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2017 -* ) ac_must_keep_next=true ;;
2020 as_fn_append ac_configure_args " '$ac_arg'"
2025 { ac_configure_args0=; unset ac_configure_args0;}
2026 { ac_configure_args1=; unset ac_configure_args1;}
2028 # When interrupted or exit'd, cleanup temporary files, and complete
2029 # config.log. We remove comments because anyway the quotes in there
2030 # would cause problems or look ugly.
2031 # WARNING: Use '\'' to represent an apostrophe within the trap.
2032 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2033 trap 'exit_status=$?
2034 # Save into config.log some information that might help in debugging.
2038 $as_echo "## ---------------- ##
2039 ## Cache variables. ##
2040 ## ---------------- ##"
2042 # The following way of writing the cache mishandles newlines in values,
2044 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2045 eval ac_val=\$$ac_var
2049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2053 _ | IFS | as_nl) ;; #(
2054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2055 *) { eval $ac_var=; unset $ac_var;} ;;
2060 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2061 *${as_nl}ac_space=\ *)
2063 "s/'\''/'\''\\\\'\'''\''/g;
2064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2074 $as_echo "## ----------------- ##
2075 ## Output variables. ##
2076 ## ----------------- ##"
2078 for ac_var in $ac_subst_vars
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -n "$ac_subst_files"; then
2089 $as_echo "## ------------------- ##
2090 ## File substitutions. ##
2091 ## ------------------- ##"
2093 for ac_var in $ac_subst_files
2095 eval ac_val=\$$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -s confdefs.h; then
2105 $as_echo "## ----------- ##
2112 test "$ac_signal" != 0 &&
2113 $as_echo "$as_me: caught signal $ac_signal"
2114 $as_echo "$as_me: exit $exit_status"
2116 rm -f core *.core core.conftest.* &&
2117 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2120 for ac_signal in 1 2 13 15; do
2121 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2125 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2126 rm -f -r conftest* confdefs.h
2128 $as_echo "/* confdefs.h */" > confdefs.h
2130 # Predefined preprocessor variables.
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_NAME "$PACKAGE_NAME"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_STRING "$PACKAGE_STRING"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_URL "$PACKAGE_URL"
2157 # Let the site file select an alternate cache file if it wants to.
2158 # Prefer an explicitly selected file to automatically selected ones.
2161 if test -n "$CONFIG_SITE"; then
2162 # We do not want a PATH search for config.site.
2163 case $CONFIG_SITE in #((
2164 -*) ac_site_file1=./$CONFIG_SITE;;
2165 */*) ac_site_file1=$CONFIG_SITE;;
2166 *) ac_site_file1=./$CONFIG_SITE;;
2168 elif test "x$prefix" != xNONE; then
2169 ac_site_file1=$prefix/share/config.site
2170 ac_site_file2=$prefix/etc/config.site
2172 ac_site_file1=$ac_default_prefix/share/config.site
2173 ac_site_file2=$ac_default_prefix/etc/config.site
2175 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2177 test "x$ac_site_file" = xNONE && continue
2178 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2180 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2181 sed 's/^/| /' "$ac_site_file" >&5
2183 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185 as_fn_error $? "failed to load site
script $ac_site_file
2186 See \
`config.log' for more details" "$LINENO" 5; }
2190 if test -r "$cache_file"; then
2191 # Some versions of bash will fail to source /dev/null (special files
2192 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2193 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2195 $as_echo "$as_me: loading cache $cache_file" >&6;}
2197 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2198 *) . "./$cache_file";;
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2203 $as_echo "$as_me: creating cache $cache_file" >&6;}
2207 # Check that the precious variables saved in the cache have kept the same
2209 ac_cache_corrupted=false
2210 for ac_var in $ac_precious_vars; do
2211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2212 eval ac_new_set=\$ac_env_${ac_var}_set
2213 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2214 eval ac_new_val=\$ac_env_${ac_var}_value
2215 case $ac_old_set,$ac_new_set in
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2218 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2222 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2226 if test "x$ac_old_val" != "x$ac_new_val"; then
2227 # differences in whitespace do not lead to failure.
2228 ac_old_val_w=`echo x
$ac_old_val`
2229 ac_new_val_w=`echo x
$ac_new_val`
2230 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2232 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2233 ac_cache_corrupted=:
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2236 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2237 eval $ac_var=\$ac_old_val
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2240 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2242 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2245 # Pass precious variables to config.status.
2246 if test "$ac_new_set" = set; then
2248 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2249 *) ac_arg=$ac_var=$ac_new_val ;;
2251 case " $ac_configure_args " in
2252 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2253 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2257 if $ac_cache_corrupted; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2261 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2262 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2264 ## -------------------- ##
2265 ## Main body of script. ##
2266 ## -------------------- ##
2269 ac_cpp='$CPP $CPPFLAGS'
2270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2275 am__api_version='1.11'
2278 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2279 if test -f "$ac_dir/install-sh"; then
2281 ac_install_sh="$ac_aux_dir/install-sh -c"
2283 elif test -f "$ac_dir/install.sh"; then
2285 ac_install_sh="$ac_aux_dir/install.sh -c"
2287 elif test -f "$ac_dir/shtool"; then
2289 ac_install_sh="$ac_aux_dir/shtool install -c"
2293 if test -z "$ac_aux_dir"; then
2294 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2297 # These three variables are undocumented and unsupported,
2298 # and are intended to be withdrawn in a future Autoconf release.
2299 # They can cause serious problems if a builder's source tree is in a directory
2300 # whose full name contains unusual characters.
2301 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2302 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2303 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2306 # Find a good install program. We prefer a C program (faster),
2307 # so one script is as good as another. But avoid the broken or
2308 # incompatible versions:
2309 # SysV /etc/install, /usr/sbin/install
2310 # SunOS /usr/etc/install
2311 # IRIX /sbin/install
2313 # AmigaOS /C/install, which installs bootblocks on floppy discs
2314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2317 # OS/2's system install, which has a completely different semantic
2318 # ./install, which can be erroneously created by make from ./install.sh.
2319 # Reject install programs that cannot install multiple files.
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2322 if test -z "$INSTALL"; then
2323 if ${ac_cv_path_install+:} false; then :
2324 $as_echo_n "(cached) " >&6
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 # Account for people who put trailing slashes in PATH elements.
2332 case $as_dir/ in #((
2333 ./ | .// | /[cC]/* | \
2334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2338 # OSF1 and SCO ODT 3.0 have their own names for install.
2339 # Don't use installbsd from OSF since it installs stuff as root
2341 for ac_prog in ginstall scoinst install; do
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2344 if test $ac_prog = install &&
2345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2346 # AIX install. It has an incompatible calling convention.
2348 elif test $ac_prog = install &&
2349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2350 # program-specific install script used by HP pwplus--don't use.
2353 rm -rf conftest.one conftest.two conftest.dir
2354 echo one > conftest.one
2355 echo two > conftest.two
2357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2358 test -s conftest.one && test -s conftest.two &&
2359 test -s conftest.dir/conftest.one &&
2360 test -s conftest.dir/conftest.two
2362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2375 rm -rf conftest.one conftest.two conftest.dir
2378 if test "${ac_cv_path_install+set}" = set; then
2379 INSTALL=$ac_cv_path_install
2381 # As a last resort, use the slow shell script. Don't cache a
2382 # value for INSTALL within a source directory, because that will
2383 # break other packages using the cache if that directory is
2384 # removed, or if the value is a relative name.
2385 INSTALL=$ac_install_sh
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2389 $as_echo "$INSTALL" >&6; }
2391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2392 # It thinks the first close brace ends the variable substitution.
2393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2400 $as_echo_n "checking whether build environment is sane... " >&6; }
2403 echo timestamp > conftest.file
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name. Accept space and tab only in the latter.
2409 *[\\\"\#\$\&\'\`$am_lf]*)
2410 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2413 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2414 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2417 # Do `set' in a subshell so we don
't clobber the current shell's
2418 # arguments. Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2423 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2424 if test "$*" = "X"; then
2426 set X
`ls -t "$srcdir/configure" conftest.file`
2429 if test "$*" != "X $srcdir/configure conftest.file" \
2430 && test "$*" != "X conftest.file $srcdir/configure"; then
2432 # If neither matched, then we have a broken ls. This can happen
2433 # if, for instance, CONFIG_SHELL is bash and it inherits a
2434 # broken ls alias from the environment. This has actually
2435 # happened. Such a system could not be considered "sane".
2436 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2437 alias in your environment" "$LINENO" 5
2440 test "$2" = conftest.
file
2446 as_fn_error $?
"newly created file is older than distributed files!
2447 Check your system clock" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2451 test "$program_prefix" != NONE
&&
2452 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE
&&
2455 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.
2457 # By default was `s,x,x', remove it if useless.
2458 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2459 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461 # expand $ac_aux_dir to an absolute path
2462 am_aux_dir
=`cd $ac_aux_dir && pwd`
2464 if test x
"${MISSING+set}" != xset
; then
2467 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --run true"; then
2474 am_missing_run
="$MISSING --run "
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2478 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2481 if test x
"${install_sh}" != xset
; then
2484 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2490 # Installed binaries are usually stripped using `strip' when the user
2491 # run `make install-strip'. However `strip' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the `STRIP' environment variable to overrule this program.
2494 if test "$cross_compiling" != no
; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_STRIP+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$STRIP"; then
2504 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_exec_ext
in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 STRIP
=$ac_cv_prog_STRIP
2524 if test -n "$STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2526 $as_echo "$STRIP" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_STRIP"; then
2536 # Extract the first word of "strip", so it can be a program name with args.
2537 set dummy strip
; ac_word
=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_STRIP"; then
2544 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_ac_ct_STRIP
="strip"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2564 if test -n "$ac_ct_STRIP"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2566 $as_echo "$ac_ct_STRIP" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_STRIP" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned
=yes ;;
2584 STRIP
="$ac_cv_prog_STRIP"
2588 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2592 if test -z "$MKDIR_P"; then
2593 if ${ac_cv_path_mkdir+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2597 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_prog
in mkdir gmkdir
; do
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2605 'mkdir (GNU coreutils) '* | \
2606 'mkdir (coreutils) '* | \
2607 'mkdir (fileutils) '4.1*)
2608 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2618 test -d .
/--version && rmdir .
/--version
2619 if test "${ac_cv_path_mkdir+set}" = set; then
2620 MKDIR_P
="$ac_cv_path_mkdir -p"
2622 # As a last resort, use the slow shell script. Don't cache a
2623 # value for MKDIR_P within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the value is a relative name.
2626 MKDIR_P
="$ac_install_sh -d"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2634 [\\/$
]* | ?
:[\\/]*) ;;
2635 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2638 for ac_prog
in gawk mawk nawk
awk
2640 # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy
$ac_prog; ac_word
=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_AWK+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$AWK"; then
2648 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir
=.
2655 for ac_exec_ext
in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_AWK
="$ac_prog"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$AWK"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$AWK" && break
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2683 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2684 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 cat >conftest.
make <<\_ACEOF
2690 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2695 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2697 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2701 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 SET_MAKE
="MAKE=${MAKE-make}"
2711 rm -rf .tst
2>/dev
/null
2712 mkdir .tst
2>/dev
/null
2713 if test -d .tst
; then
2718 rmdir .tst
2>/dev
/null
2720 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2721 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2722 # is not polluted with repeated "-I."
2723 am__isrc
=' -I$(srcdir)'
2724 # test to see if srcdir already configured
2725 if test -f $srcdir/config.status
; then
2726 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2730 # test whether we have cygpath
2731 if test -z "$CYGPATH_W"; then
2732 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2733 CYGPATH_W
='cygpath -w'
2740 # Define the identity of the package.
2745 cat >>confdefs.h
<<_ACEOF
2746 #define PACKAGE "$PACKAGE"
2750 cat >>confdefs.h
<<_ACEOF
2751 #define VERSION "$VERSION"
2754 # Some tools Automake needs.
2756 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2759 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2762 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2765 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2768 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2770 # We need awk for the "check" target. The system "awk" is bad on
2772 # Always define AMTAR for backward compatibility.
2774 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2776 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2784 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2785 # Check whether --enable-maintainer-mode was given.
2786 if test "${enable_maintainer_mode+set}" = set; then :
2787 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2789 USE_MAINTAINER_MODE
=no
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2793 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2794 if test $USE_MAINTAINER_MODE = yes; then
2795 MAINTAINER_MODE_TRUE
=
2796 MAINTAINER_MODE_FALSE
='#'
2798 MAINTAINER_MODE_TRUE
='#'
2799 MAINTAINER_MODE_FALSE
=
2802 MAINT
=$MAINTAINER_MODE_TRUE
2806 PNGLIB_VERSION
=1.5.7
2813 ac_config_headers
="$ac_config_headers config.h"
2816 # Checks for programs.
2818 ac_cpp
='$CPP $CPPFLAGS'
2819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2824 ac_cpp
='$CPP $CPPFLAGS'
2825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2828 if test -n "$ac_tool_prefix"; then
2829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2830 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if ${ac_cv_prog_CC+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$CC"; then
2837 ac_cv_prog_CC
="$CC" # Let the user override the test.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 for ac_exec_ext
in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2859 $as_echo "$CC" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2867 if test -z "$ac_cv_prog_CC"; then
2869 # Extract the first word of "gcc", so it can be a program name with args.
2870 set dummy gcc
; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$ac_ct_CC"; then
2877 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 ac_cv_prog_ac_ct_CC
="gcc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2897 if test -n "$ac_ct_CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2899 $as_echo "$ac_ct_CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2905 if test "x$ac_ct_CC" = x
; then
2908 case $cross_compiling:$ac_tool_warned in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912 ac_tool_warned
=yes ;;
2920 if test -z "$CC"; then
2921 if test -n "$ac_tool_prefix"; then
2922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2923 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_CC+:} false
; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$CC"; then
2930 ac_cv_prog_CC
="$CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test -n "$CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2952 $as_echo "$CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2961 if test -z "$CC"; then
2962 # Extract the first word of "cc", so it can be a program name with args.
2963 set dummy cc
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_CC+:} false
; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC
="$CC" # Let the user override the test.
2973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir
=.
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2981 ac_prog_rejected
=yes
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 if test $ac_prog_rejected = yes; then
2993 # We found a bogon in the path, so make sure we never use it.
2994 set dummy
$ac_cv_prog_CC
2996 if test $# != 0; then
2997 # We chose a different compiler from the bogus one.
2998 # However, it has the same basename, so the bogon will be chosen
2999 # first if we set CC to just the basename; use the full file name.
3001 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3007 if test -n "$CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009 $as_echo "$CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3017 if test -z "$CC"; then
3018 if test -n "$ac_tool_prefix"; then
3019 for ac_prog
in cl.exe
3021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_CC+:} false
; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC
="$CC" # Let the user override the test.
3031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir
=.
3036 for ac_exec_ext
in '' $ac_executable_extensions; do
3037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3038 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 if test -n "$CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3051 $as_echo "$CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3058 test -n "$CC" && break
3061 if test -z "$CC"; then
3063 for ac_prog
in cl.exe
3065 # Extract the first word of "$ac_prog", so it can be a program name with args.
3066 set dummy
$ac_prog; ac_word
=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$ac_ct_CC"; then
3073 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_ac_ct_CC
="$ac_prog"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3093 if test -n "$ac_ct_CC"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3095 $as_echo "$ac_ct_CC" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3102 test -n "$ac_ct_CC" && break
3105 if test "x$ac_ct_CC" = x
; then
3108 case $cross_compiling:$ac_tool_warned in
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3112 ac_tool_warned
=yes ;;
3121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 as_fn_error $?
"no acceptable C compiler found in \$PATH
3124 See \`config.log' for more details" "$LINENO" 5; }
3126 # Provide some information about the compiler.
3127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3130 for ac_option
in --version -v -V -qversion; do
3131 { { ac_try
="$ac_compiler $ac_option >&5"
3133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3140 if test -s conftest.err; then
3142 ... rest of stderr output deleted ...
3143 10q' conftest.err >conftest.er1
3144 cat conftest.er1 >&5
3146 rm -f conftest.er1 conftest.err
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 ac_clean_files_save=$ac_clean_files
3163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3164 # Try to create an executable without -o first, disregard a.out.
3165 # It will help us diagnose broken compilers, and finding out an intuition
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3168 $as_echo_n "checking whether the C compiler works... " >&6; }
3169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3171 # The possible output files:
3172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3175 for ac_file in $ac_files
3178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3184 if { { ac_try="$ac_link_default"
3186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3187 *) ac_try_echo
=$ac_try;;
3189 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_link_default") 2>&5
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }; then :
3195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3198 # so that the user can short-circuit this test for compilers unknown to
3200 for ac_file
in $ac_files ''
3202 test -f "$ac_file" || continue
3204 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3207 # We found the default executable, but exeext='' is most
3211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3213 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3215 # We set ac_cv_exeext here because the later test for it is not
3216 # safe: cross compilers may not add the suffix if given an `-o'
3217 # argument, so we may need to know it at that point already.
3218 # Even if this section looks crufty: it has the advantage of
3225 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3230 if test -z "$ac_file"; then :
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3233 $as_echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.
$ac_ext >&5
3236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3238 as_fn_error
77 "C compiler cannot create executables
3239 See \`config.log' for more details" "$LINENO" 5; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3242 $as_echo "yes" >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3245 $as_echo_n "checking for C compiler default output file name... " >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3247 $as_echo "$ac_file" >&6; }
3248 ac_exeext
=$ac_cv_exeext
3250 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3251 ac_clean_files
=$ac_clean_files_save
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3253 $as_echo_n "checking for suffix of executables... " >&6; }
3254 if { { ac_try
="$ac_link"
3256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3260 $as_echo "$ac_try_echo"; } >&5
3261 (eval "$ac_link") 2>&5
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }; then :
3265 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3266 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3267 # work properly (i.e., refer to `conftest.exe'), while it won't with
3269 for ac_file
in conftest.exe conftest conftest.
*; do
3270 test -f "$ac_file" || continue
3272 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3273 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3282 See \`config.log' for more details" "$LINENO" 5; }
3284 rm -f conftest conftest
$ac_cv_exeext
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3286 $as_echo "$ac_cv_exeext" >&6; }
3288 rm -f conftest.
$ac_ext
3289 EXEEXT
=$ac_cv_exeext
3291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3297 FILE *f = fopen ("conftest.out", "w");
3298 return ferror (f) || fclose (f) != 0;
3304 ac_clean_files
="$ac_clean_files conftest.out"
3305 # Check that the compiler produces executables we can run. If not, either
3306 # the compiler is broken, or we cross compile.
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3308 $as_echo_n "checking whether we are cross compiling... " >&6; }
3309 if test "$cross_compiling" != yes; then
3310 { { ac_try
="$ac_link"
3312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3316 $as_echo "$ac_try_echo"; } >&5
3317 (eval "$ac_link") 2>&5
3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320 test $ac_status = 0; }
3321 if { ac_try='./conftest$ac_cv_exeext'
3322 { { case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3324 *) ac_try_echo
=$ac_try;;
3326 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_try") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; }; then
3334 if test "$cross_compiling" = maybe
; then
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error $?
"cannot run C compiled programs.
3340 If you meant to cross compile, use \`--host'.
3341 See \`config.log' for more details" "$LINENO" 5; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3346 $as_echo "$cross_compiling" >&6; }
3348 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3349 ac_clean_files
=$ac_clean_files_save
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3351 $as_echo_n "checking for suffix of object files... " >&6; }
3352 if ${ac_cv_objext+:} false
; then :
3353 $as_echo_n "(cached) " >&6
3355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3366 rm -f conftest.o conftest.obj
3367 if { { ac_try
="$ac_compile"
3369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374 (eval "$ac_compile") 2>&5
3376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377 test $ac_status = 0; }; then :
3378 for ac_file in conftest.o conftest.obj conftest.*; do
3379 test -f "$ac_file" || continue;
3381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3387 $as_echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3393 See \
`config.log' for more details" "$LINENO" 5; }
3395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3398 $as_echo "$ac_cv_objext" >&6; }
3399 OBJEXT=$ac_cv_objext
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3403 if ${ac_cv_c_compiler_gnu+:} false; then :
3404 $as_echo_n "(cached) " >&6
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3420 if ac_fn_c_try_compile "$LINENO"; then :
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3431 if test $ac_compiler_gnu = yes; then
3436 ac_test_CFLAGS=${CFLAGS+set}
3437 ac_save_CFLAGS=$CFLAGS
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3440 if ${ac_cv_prog_cc_g+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 ac_save_c_werror_flag=$ac_c_werror_flag
3444 ac_c_werror_flag=yes
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 if ac_fn_c_try_compile "$LINENO"; then :
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 if ac_fn_c_try_compile "$LINENO"; then :
3476 ac_c_werror_flag=$ac_save_c_werror_flag
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3489 if ac_fn_c_try_compile "$LINENO"; then :
3492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_c_werror_flag=$ac_save_c_werror_flag
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3500 $as_echo "$ac_cv_prog_cc_g" >&6; }
3501 if test "$ac_test_CFLAGS" = set; then
3502 CFLAGS=$ac_save_CFLAGS
3503 elif test $ac_cv_prog_cc_g = yes; then
3504 if test "$GCC" = yes; then
3510 if test "$GCC" = yes; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3518 if ${ac_cv_prog_cc_c89+:} false; then :
3519 $as_echo_n "(cached) " >&6
3521 ac_cv_prog_cc_c89=no
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3527 #include <sys/types.h>
3528 #include <sys/stat.h>
3529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3530 struct buf { int x; };
3531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3532 static char *e (p, i)
3538 static char *f (char * (*g) (char **, int), char **p, ...)
3543 s = g (p, va_arg (v,int));
3548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3549 function prototypes and stuff, but not '\xHH' hex character constants.
3550 These don't provoke an error unfortunately, instead are silently treated
3551 as 'x'. The following induces an error, until -std is added to get
3552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3553 array size at least. It's necessary to write '\x00'==0 to get something
3554 that's true only with -std. */
3555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3558 inside strings and character constants. */
3560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3562 int test (int i, double x);
3563 struct s1 {int (*f) (int a);};
3564 struct s2 {int (*f) (double a);};
3565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3579 CC="$ac_save_CC $ac_arg"
3580 if ac_fn_c_try_compile "$LINENO"; then :
3581 ac_cv_prog_cc_c89=$ac_arg
3583 rm -f core conftest.err conftest.$ac_objext
3584 test "x$ac_cv_prog_cc_c89" != "xno" && break
3586 rm -f conftest.$ac_ext
3591 case "x$ac_cv_prog_cc_c89" in
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3594 $as_echo "none needed" >&6; } ;;
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3597 $as_echo "unsupported" >&6; } ;;
3599 CC="$CC $ac_cv_prog_cc_c89"
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3603 if test "x$ac_cv_prog_cc_c89" != xno; then :
3608 ac_cpp='$CPP $CPPFLAGS'
3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 DEPDIR="${am__leading_dot}deps"
3614 ac_config_commands="$ac_config_commands depfiles"
3617 am_make=${MAKE-make}
3618 cat > confinc << 'END'
3620 @echo this is the am__doit target
3623 # If we don't find an include directive, just comment out the code.
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3625 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3629 # First try GNU make style include.
3630 echo "include confinc" > confmf
3631 # Ignore all kinds of additional output from `make'.
3632 case `$am_make -s -f confmf 2> /dev/null` in #(
3633 *the\ am__doit\ target*)
3639 # Now try BSD make style include.
3640 if test "$am__include" = "#"; then
3641 echo '.include
"confinc"' > confmf
3642 case `$am_make -s -f confmf 2> /dev/null` in #(
3643 *the\ am__doit\ target*)
3644 am__include=.include
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3653 $as_echo "$_am_result" >&6; }
3654 rm -f confinc confmf
3656 # Check whether --enable-dependency-tracking was given.
3657 if test "${enable_dependency_tracking+set}" = set; then :
3658 enableval=$enable_dependency_tracking;
3661 if test "x$enable_dependency_tracking" != xno; then
3662 am_depcomp="$ac_aux_dir/depcomp"
3665 if test "x$enable_dependency_tracking" != xno
; then
3675 depcc
="$CC" am_compiler_list
=
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3678 $as_echo_n "checking dependency style of $depcc... " >&6; }
3679 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3683 # We make a subdir and do the tests there. Otherwise we can end up
3684 # making bogus files that we don't know about and never remove. For
3685 # instance it was reported that on HP-UX the gcc test will end up
3686 # making a dummy file named `D' -- because `-MD' means `put the output
3689 # Copy depcomp to subdir because otherwise we won't find it if we're
3690 # using a relative directory.
3691 cp "$am_depcomp" conftest.dir
3693 # We will build objects and dependencies in a subdirectory because
3694 # it helps to detect inapplicable dependency modes. For instance
3695 # both Tru64's cc and ICC support -MD to output dependencies as a
3696 # side effect of compilation, but ICC will put the dependencies in
3697 # the current directory while Tru64 will put them in the object
3701 am_cv_CC_dependencies_compiler_type
=none
3702 if test "$am_compiler_list" = ""; then
3703 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3706 case " $depcc " in #(
3707 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3710 for depmode
in $am_compiler_list; do
3711 # Setup a source with many dependencies, because some compilers
3712 # like to wrap large dependency lists on column 80 (with \), and
3713 # we should not choose a depcomp mode which is confused by this.
3715 # We need to recreate these files for each test, as the compiler may
3716 # overwrite some of them when testing with obscure command lines.
3717 # This happens at least with the AIX C compiler.
3719 for i
in 1 2 3 4 5 6; do
3720 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3721 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3722 # Solaris 8's {/usr,}/bin/sh.
3723 touch sub
/conftst
$i.h
3725 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3727 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3728 # mode. It turns out that the SunPro C++ compiler does not properly
3729 # handle `-M -o', and we need to detect this. Also, some Intel
3730 # versions had trouble with output in subdirs
3731 am__obj
=sub
/conftest.
${OBJEXT-o}
3732 am__minus_obj
="-o $am__obj"
3735 # This depmode causes a compiler race in universal mode.
3736 test "$am__universal" = false
|| continue
3739 # after this tag, mechanisms are not by side-effect, so they'll
3740 # only be used when explicitly requested
3741 if test "x$enable_dependency_tracking" = xyes
; then
3747 msvisualcpp
| msvcmsys
)
3748 # This compiler won't grok `-c -o', but also, the minuso test has
3749 # not run yet. These depmodes are late enough in the game, and
3750 # so weak that their functioning should not be impacted.
3751 am__obj
=conftest.
${OBJEXT-o}
3756 if depmode
=$depmode \
3757 source=sub
/conftest.c object
=$am__obj \
3758 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3759 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3760 >/dev
/null
2>conftest.err
&&
3761 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3762 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3763 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3764 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3765 # icc doesn't choke on unknown options, it will just issue warnings
3766 # or remarks (even with -Werror). So we grep stderr for any message
3767 # that says an option was ignored or not supported.
3768 # When given -MP, icc 7.0 and 7.1 complain thusly:
3769 # icc: Command line warning: ignoring option '-M'; no argument required
3770 # The diagnosis changed in icc 8.0:
3771 # icc: Command line remark: option '-MP' not supported
3772 if (grep 'ignoring option' conftest.err
||
3773 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3774 am_cv_CC_dependencies_compiler_type
=$depmode
3783 am_cv_CC_dependencies_compiler_type
=none
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3788 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3789 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3792 test "x$enable_dependency_tracking" != xno \
3793 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3795 am__fastdepCC_FALSE
='#'
3797 am__fastdepCC_TRUE
='#'
3798 am__fastdepCC_FALSE
=
3802 # By default we simply use the C compiler to build assembly code.
3804 test "${CCAS+set}" = set || CCAS
=$CC
3805 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
3809 depcc
="$CCAS" am_compiler_list
=
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3812 $as_echo_n "checking dependency style of $depcc... " >&6; }
3813 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
3814 $as_echo_n "(cached) " >&6
3816 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3817 # We make a subdir and do the tests there. Otherwise we can end up
3818 # making bogus files that we don't know about and never remove. For
3819 # instance it was reported that on HP-UX the gcc test will end up
3820 # making a dummy file named `D' -- because `-MD' means `put the output
3823 # Copy depcomp to subdir because otherwise we won't find it if we're
3824 # using a relative directory.
3825 cp "$am_depcomp" conftest.dir
3827 # We will build objects and dependencies in a subdirectory because
3828 # it helps to detect inapplicable dependency modes. For instance
3829 # both Tru64's cc and ICC support -MD to output dependencies as a
3830 # side effect of compilation, but ICC will put the dependencies in
3831 # the current directory while Tru64 will put them in the object
3835 am_cv_CCAS_dependencies_compiler_type
=none
3836 if test "$am_compiler_list" = ""; then
3837 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3842 for depmode
in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3851 for i
in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3853 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3854 # Solaris 8's {/usr,}/bin/sh.
3855 touch sub
/conftst
$i.h
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3859 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3860 # mode. It turns out that the SunPro C++ compiler does not properly
3861 # handle `-M -o', and we need to detect this. Also, some Intel
3862 # versions had trouble with output in subdirs
3863 am__obj
=sub
/conftest.
${OBJEXT-o}
3864 am__minus_obj
="-o $am__obj"
3867 # This depmode causes a compiler race in universal mode.
3868 test "$am__universal" = false
|| continue
3871 # after this tag, mechanisms are not by side-effect, so they'll
3872 # only be used when explicitly requested
3873 if test "x$enable_dependency_tracking" = xyes
; then
3879 msvisualcpp
| msvcmsys
)
3880 # This compiler won't grok `-c -o', but also, the minuso test has
3881 # not run yet. These depmodes are late enough in the game, and
3882 # so weak that their functioning should not be impacted.
3883 am__obj
=conftest.
${OBJEXT-o}
3888 if depmode
=$depmode \
3889 source=sub
/conftest.c object
=$am__obj \
3890 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3891 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3892 >/dev
/null
2>conftest.err
&&
3893 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3894 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3895 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3896 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3897 # icc doesn't choke on unknown options, it will just issue warnings
3898 # or remarks (even with -Werror). So we grep stderr for any message
3899 # that says an option was ignored or not supported.
3900 # When given -MP, icc 7.0 and 7.1 complain thusly:
3901 # icc: Command line warning: ignoring option '-M'; no argument required
3902 # The diagnosis changed in icc 8.0:
3903 # icc: Command line remark: option '-MP' not supported
3904 if (grep 'ignoring option' conftest.err
||
3905 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3906 am_cv_CCAS_dependencies_compiler_type
=$depmode
3915 am_cv_CCAS_dependencies_compiler_type
=none
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3920 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3921 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
3924 test "x$enable_dependency_tracking" != xno \
3925 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
3926 am__fastdepCCAS_TRUE
=
3927 am__fastdepCCAS_FALSE
='#'
3929 am__fastdepCCAS_TRUE
='#'
3930 am__fastdepCCAS_FALSE
=
3934 # Make sure we can run config.sub.
3935 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3936 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3939 $as_echo_n "checking build system type... " >&6; }
3940 if ${ac_cv_build+:} false
; then :
3941 $as_echo_n "(cached) " >&6
3943 ac_build_alias
=$build_alias
3944 test "x$ac_build_alias" = x
&&
3945 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3946 test "x$ac_build_alias" = x
&&
3947 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3948 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3949 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3953 $as_echo "$ac_cv_build" >&6; }
3954 case $ac_cv_build in
3956 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3959 ac_save_IFS
=$IFS; IFS
='-'
3965 # Remember, the first character of IFS is used to create $*,
3966 # except with old shells:
3969 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3973 $as_echo_n "checking host system type... " >&6; }
3974 if ${ac_cv_host+:} false
; then :
3975 $as_echo_n "(cached) " >&6
3977 if test "x$host_alias" = x
; then
3978 ac_cv_host
=$ac_cv_build
3980 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3981 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3986 $as_echo "$ac_cv_host" >&6; }
3989 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3992 ac_save_IFS
=$IFS; IFS
='-'
3998 # Remember, the first character of IFS is used to create $*,
3999 # except with old shells:
4002 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4006 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4007 if ${ac_cv_path_SED+:} false
; then :
4008 $as_echo_n "(cached) " >&6
4010 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4011 for ac_i
in 1 2 3 4 5 6 7; do
4012 ac_script
="$ac_script$as_nl$ac_script"
4014 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4015 { ac_script
=; unset ac_script
;}
4016 if test -z "$SED"; then
4017 ac_path_SED_found
=false
4018 # Loop through the user's path and test for each of PROGNAME-LIST
4019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 test -z "$as_dir" && as_dir
=.
4024 for ac_prog
in sed gsed
; do
4025 for ac_exec_ext
in '' $ac_executable_extensions; do
4026 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4027 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4028 # Check for GNU ac_path_SED and select it if it is found.
4029 # Check for GNU $ac_path_SED
4030 case `"$ac_path_SED" --version 2>&1` in
4032 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4035 $as_echo_n 0123456789 >"conftest.in"
4038 cat "conftest.in" "conftest.in" >"conftest.tmp"
4039 mv "conftest.tmp" "conftest.in"
4040 cp "conftest.in" "conftest.nl"
4041 $as_echo '' >> "conftest.nl"
4042 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4043 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4044 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4045 if test $ac_count -gt ${ac_path_SED_max-0}; then
4046 # Best one so far, save it but keep looking for a better one
4047 ac_cv_path_SED
="$ac_path_SED"
4048 ac_path_SED_max
=$ac_count
4050 # 10*(2^10) chars as input seems more than enough
4051 test $ac_count -gt 10 && break
4053 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4056 $ac_path_SED_found && break 3
4061 if test -z "$ac_cv_path_SED"; then
4062 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4070 $as_echo "$ac_cv_path_SED" >&6; }
4071 SED
="$ac_cv_path_SED"
4074 test -z "$SED" && SED
=sed
4075 Xsed
="$SED -e 1s/^X//"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4088 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4089 if ${ac_cv_path_GREP+:} false
; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$GREP"; then
4093 ac_path_GREP_found
=false
4094 # Loop through the user's path and test for each of PROGNAME-LIST
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_prog
in grep ggrep
; do
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4103 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4104 # Check for GNU ac_path_GREP and select it if it is found.
4105 # Check for GNU $ac_path_GREP
4106 case `"$ac_path_GREP" --version 2>&1` in
4108 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4111 $as_echo_n 0123456789 >"conftest.in"
4114 cat "conftest.in" "conftest.in" >"conftest.tmp"
4115 mv "conftest.tmp" "conftest.in"
4116 cp "conftest.in" "conftest.nl"
4117 $as_echo 'GREP' >> "conftest.nl"
4118 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4120 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4121 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4122 # Best one so far, save it but keep looking for a better one
4123 ac_cv_path_GREP
="$ac_path_GREP"
4124 ac_path_GREP_max
=$ac_count
4126 # 10*(2^10) chars as input seems more than enough
4127 test $ac_count -gt 10 && break
4129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4132 $ac_path_GREP_found && break 3
4137 if test -z "$ac_cv_path_GREP"; then
4138 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4141 ac_cv_path_GREP
=$GREP
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4146 $as_echo "$ac_cv_path_GREP" >&6; }
4147 GREP
="$ac_cv_path_GREP"
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4151 $as_echo_n "checking for egrep... " >&6; }
4152 if ${ac_cv_path_EGREP+:} false
; then :
4153 $as_echo_n "(cached) " >&6
4155 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4156 then ac_cv_path_EGREP
="$GREP -E"
4158 if test -z "$EGREP"; then
4159 ac_path_EGREP_found
=false
4160 # Loop through the user's path and test for each of PROGNAME-LIST
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_prog
in egrep; do
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4169 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4170 # Check for GNU ac_path_EGREP and select it if it is found.
4171 # Check for GNU $ac_path_EGREP
4172 case `"$ac_path_EGREP" --version 2>&1` in
4174 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4177 $as_echo_n 0123456789 >"conftest.in"
4180 cat "conftest.in" "conftest.in" >"conftest.tmp"
4181 mv "conftest.tmp" "conftest.in"
4182 cp "conftest.in" "conftest.nl"
4183 $as_echo 'EGREP' >> "conftest.nl"
4184 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4185 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4186 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4187 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4188 # Best one so far, save it but keep looking for a better one
4189 ac_cv_path_EGREP
="$ac_path_EGREP"
4190 ac_path_EGREP_max
=$ac_count
4192 # 10*(2^10) chars as input seems more than enough
4193 test $ac_count -gt 10 && break
4195 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4198 $ac_path_EGREP_found && break 3
4203 if test -z "$ac_cv_path_EGREP"; then
4204 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4207 ac_cv_path_EGREP
=$EGREP
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4213 $as_echo "$ac_cv_path_EGREP" >&6; }
4214 EGREP
="$ac_cv_path_EGREP"
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4218 $as_echo_n "checking for fgrep... " >&6; }
4219 if ${ac_cv_path_FGREP+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
4223 then ac_cv_path_FGREP
="$GREP -F"
4225 if test -z "$FGREP"; then
4226 ac_path_FGREP_found
=false
4227 # Loop through the user's path and test for each of PROGNAME-LIST
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_prog
in fgrep
; do
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4236 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4237 # Check for GNU ac_path_FGREP and select it if it is found.
4238 # Check for GNU $ac_path_FGREP
4239 case `"$ac_path_FGREP" --version 2>&1` in
4241 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4244 $as_echo_n 0123456789 >"conftest.in"
4247 cat "conftest.in" "conftest.in" >"conftest.tmp"
4248 mv "conftest.tmp" "conftest.in"
4249 cp "conftest.in" "conftest.nl"
4250 $as_echo 'FGREP' >> "conftest.nl"
4251 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4252 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4253 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4254 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4255 # Best one so far, save it but keep looking for a better one
4256 ac_cv_path_FGREP
="$ac_path_FGREP"
4257 ac_path_FGREP_max
=$ac_count
4259 # 10*(2^10) chars as input seems more than enough
4260 test $ac_count -gt 10 && break
4262 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4265 $ac_path_FGREP_found && break 3
4270 if test -z "$ac_cv_path_FGREP"; then
4271 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274 ac_cv_path_FGREP
=$FGREP
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4280 $as_echo "$ac_cv_path_FGREP" >&6; }
4281 FGREP
="$ac_cv_path_FGREP"
4284 test -z "$GREP" && GREP
=grep
4302 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4304 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4307 $as_echo_n "checking how to print strings... " >&6; }
4308 # Test print first, because it will be a builtin if present.
4309 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4310 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4312 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4315 # Use this function as a fallback that always works.
4316 func_fallback_echo ()
4318 eval 'cat <<_LTECHO_EOF
4322 ECHO='func_fallback_echo
'
4325 # func_echo_all arg...
4326 # Invoke $ECHO with all args, space-separated.
4333 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4334 $as_echo "printf" >&6; } ;;
4335 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4336 $as_echo "print -r" >&6; } ;;
4337 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4338 $as_echo "cat" >&6; } ;;
4356 # Check whether --with-gnu-ld was given.
4357 if test "${with_gnu_ld+set}" = set; then :
4358 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4364 if test "$GCC" = yes; then
4365 # Check if gcc -print-prog-name=ld gives a path.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4367 $as_echo_n "checking for ld used by $CC... " >&6; }
4370 # gcc leaves a trailing carriage return which upsets mingw
4371 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4373 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4376 # Accept absolute paths.
4378 re_direlt='/[^
/][^
/]*/\.\.
/'
4379 # Canonicalize the pathname of ld
4380 ac_prog=`$ECHO "$ac_prog"| $SED 's
%\\\\%/%g
'`
4381 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4382 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4384 test -z "$LD" && LD="$ac_prog"
4387 # If it fails, then pretend we aren't using GCC.
4391 # If it is relative, then search for the first ld in PATH.
4395 elif test "$with_gnu_ld" = yes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4397 $as_echo_n "checking for GNU ld... " >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4400 $as_echo_n "checking for non-GNU ld... " >&6; }
4402 if ${lt_cv_path_LD+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -z "$LD"; then
4406 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4407 for ac_dir
in $PATH; do
4409 test -z "$ac_dir" && ac_dir
=.
4410 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4411 lt_cv_path_LD
="$ac_dir/$ac_prog"
4412 # Check to see if the program is GNU ld. I'd rather use --version,
4413 # but apparently some variants of GNU ld only accept -v.
4414 # Break only if it was the GNU/non-GNU ld that we prefer.
4415 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4416 *GNU
* | *'with BFD'*)
4417 test "$with_gnu_ld" != no
&& break
4420 test "$with_gnu_ld" != yes && break
4427 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4432 if test -n "$LD"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4434 $as_echo "$LD" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4439 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4441 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4442 if ${lt_cv_prog_gnu_ld+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4446 case `$LD -v 2>&1 </dev/null` in
4447 *GNU
* | *'with BFD'*)
4448 lt_cv_prog_gnu_ld
=yes
4451 lt_cv_prog_gnu_ld
=no
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4456 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4457 with_gnu_ld
=$lt_cv_prog_gnu_ld
4468 ac_cpp
='$CPP $CPPFLAGS'
4469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4474 # On Suns, sometimes $CPP names a directory.
4475 if test -n "$CPP" && test -d "$CPP"; then
4478 if test -z "$CPP"; then
4479 if ${ac_cv_prog_CPP+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 # Double quotes because CPP needs to be expanded
4483 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4486 for ac_c_preproc_warn_flag
in '' yes
4488 # Use a header file that comes with gcc, so configuring glibc
4489 # with a fresh cross-compiler works.
4490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4491 # <limits.h> exists even on freestanding compilers.
4492 # On the NeXT, cc -E runs the code through the compiler's parser,
4493 # not just through cpp. "Syntax error" is here to catch this case.
4494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4497 # include <limits.h>
4499 # include <assert.h>
4503 if ac_fn_c_try_cpp
"$LINENO"; then :
4506 # Broken: fails on valid input.
4509 rm -f conftest.err conftest.i conftest.
$ac_ext
4511 # OK, works on sane cases. Now check whether nonexistent headers
4512 # can be detected and how.
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4515 #include <ac_nonexistent.h>
4517 if ac_fn_c_try_cpp
"$LINENO"; then :
4518 # Broken: success on invalid input.
4521 # Passes both tests.
4525 rm -f conftest.err conftest.i conftest.
$ac_ext
4528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4529 rm -f conftest.i conftest.err conftest.
$ac_ext
4530 if $ac_preproc_ok; then :
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4543 $as_echo "$CPP" >&6; }
4545 for ac_c_preproc_warn_flag
in '' yes
4547 # Use a header file that comes with gcc, so configuring glibc
4548 # with a fresh cross-compiler works.
4549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4550 # <limits.h> exists even on freestanding compilers.
4551 # On the NeXT, cc -E runs the code through the compiler's parser,
4552 # not just through cpp. "Syntax error" is here to catch this case.
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4556 # include <limits.h>
4558 # include <assert.h>
4562 if ac_fn_c_try_cpp
"$LINENO"; then :
4565 # Broken: fails on valid input.
4568 rm -f conftest.err conftest.i conftest.
$ac_ext
4570 # OK, works on sane cases. Now check whether nonexistent headers
4571 # can be detected and how.
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #include <ac_nonexistent.h>
4576 if ac_fn_c_try_cpp
"$LINENO"; then :
4577 # Broken: success on invalid input.
4580 # Passes both tests.
4584 rm -f conftest.err conftest.i conftest.
$ac_ext
4587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4588 rm -f conftest.i conftest.err conftest.
$ac_ext
4589 if $ac_preproc_ok; then :
4592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4595 See \`config.log' for more details" "$LINENO" 5; }
4599 ac_cpp
='$CPP $CPPFLAGS'
4600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 # Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
4606 set dummy
${ac_tool_prefix}sed; ac_word
=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_SED+:} false
; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$SED"; then
4613 ac_cv_prog_SED
="$SED" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_SED
="${ac_tool_prefix}sed"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 if test -n "$SED"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4635 $as_echo "$SED" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4643 if test -z "$ac_cv_prog_SED"; then
4645 # Extract the first word of "sed", so it can be a program name with args.
4646 set dummy
sed; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_ac_ct_SED+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$ac_ct_SED"; then
4653 ac_cv_prog_ac_ct_SED
="$ac_ct_SED" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 ac_cv_prog_ac_ct_SED
="sed"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 ac_ct_SED
=$ac_cv_prog_ac_ct_SED
4673 if test -n "$ac_ct_SED"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_SED" >&5
4675 $as_echo "$ac_ct_SED" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4681 if test "x$ac_ct_SED" = x
; then
4684 case $cross_compiling:$ac_tool_warned in
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned
=yes ;;
4693 SED
="$ac_cv_prog_SED"
4696 if test -n "$ac_tool_prefix"; then
4697 # Extract the first word of "${ac_tool_prefix}awk", so it can be a program name with args.
4698 set dummy
${ac_tool_prefix}awk; ac_word
=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if ${ac_cv_prog_AWK+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$AWK"; then
4705 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_exec_ext
in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_AWK
="${ac_tool_prefix}awk"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 if test -n "$AWK"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4727 $as_echo "$AWK" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4735 if test -z "$ac_cv_prog_AWK"; then
4737 # Extract the first word of "awk", so it can be a program name with args.
4738 set dummy
awk; ac_word
=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_ac_ct_AWK+:} false
; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -n "$ac_ct_AWK"; then
4745 ac_cv_prog_ac_ct_AWK
="$ac_ct_AWK" # Let the user override the test.
4747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4751 test -z "$as_dir" && as_dir
=.
4752 for ac_exec_ext
in '' $ac_executable_extensions; do
4753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4754 ac_cv_prog_ac_ct_AWK
="awk"
4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4764 ac_ct_AWK
=$ac_cv_prog_ac_ct_AWK
4765 if test -n "$ac_ct_AWK"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AWK" >&5
4767 $as_echo "$ac_ct_AWK" >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4773 if test "x$ac_ct_AWK" = x
; then
4776 case $cross_compiling:$ac_tool_warned in
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4780 ac_tool_warned
=yes ;;
4785 AWK
="$ac_cv_prog_AWK"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4790 $as_echo_n "checking whether ln -s works... " >&6; }
4792 if test "$LN_S" = "ln -s"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4797 $as_echo "no, using $LN_S" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4803 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4804 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4805 $as_echo_n "(cached) " >&6
4807 cat >conftest.
make <<\_ACEOF
4810 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4815 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4817 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4821 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4823 $as_echo "yes" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4828 SET_MAKE
="MAKE=${MAKE-make}"
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4834 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4839 macro_version
='2.4.2'
4840 macro_revision
='1.3337'
4854 ltmain
="$ac_aux_dir/ltmain.sh"
4856 # Backslashify metacharacters that are still active within
4857 # double-quoted strings.
4858 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4860 # Same as above, but do not quote variable references.
4861 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4863 # Sed substitution to delay expansion of an escaped shell variable in a
4864 # double_quote_subst'ed string.
4865 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4867 # Sed substitution to delay expansion of an escaped single quote.
4868 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4870 # Sed substitution to avoid accidental globbing in evaled expressions
4871 no_glob_subst
='s/\*/\\\*/g'
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4874 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4875 if ${lt_cv_path_NM+:} false
; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$NM"; then
4879 # Let the user override the test.
4882 lt_nm_to_check
="${ac_tool_prefix}nm"
4883 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4884 lt_nm_to_check
="$lt_nm_to_check nm"
4886 for lt_tmp_nm
in $lt_nm_to_check; do
4887 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4888 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4890 test -z "$ac_dir" && ac_dir
=.
4891 tmp_nm
="$ac_dir/$lt_tmp_nm"
4892 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4893 # Check to see if the nm accepts a BSD-compat flag.
4894 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4895 # nm: unknown option "B" ignored
4896 # Tru64's nm complains that /dev/null is an invalid object file
4897 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4898 */dev
/null
* | *'Invalid file or object type'*)
4899 lt_cv_path_NM
="$tmp_nm -B"
4903 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4905 lt_cv_path_NM
="$tmp_nm -p"
4909 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4910 continue # so that we can try to find one that supports BSD flags
4919 : ${lt_cv_path_NM=no}
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4923 $as_echo "$lt_cv_path_NM" >&6; }
4924 if test "$lt_cv_path_NM" != "no"; then
4927 # Didn't find any BSD compatible name lister, look for dumpbin.
4928 if test -n "$DUMPBIN"; then :
4929 # Let the user override the test.
4931 if test -n "$ac_tool_prefix"; then
4932 for ac_prog
in dumpbin
"link -dump"
4934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$DUMPBIN"; then
4942 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir
=.
4949 for ac_exec_ext
in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 DUMPBIN
=$ac_cv_prog_DUMPBIN
4962 if test -n "$DUMPBIN"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4964 $as_echo "$DUMPBIN" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 test -n "$DUMPBIN" && break
4974 if test -z "$DUMPBIN"; then
4975 ac_ct_DUMPBIN
=$DUMPBIN
4976 for ac_prog
in dumpbin
"link -dump"
4978 # Extract the first word of "$ac_prog", so it can be a program name with args.
4979 set dummy
$ac_prog; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$ac_ct_DUMPBIN"; then
4986 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5006 if test -n "$ac_ct_DUMPBIN"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5008 $as_echo "$ac_ct_DUMPBIN" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$ac_ct_DUMPBIN" && break
5018 if test "x$ac_ct_DUMPBIN" = x
; then
5021 case $cross_compiling:$ac_tool_warned in
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5025 ac_tool_warned
=yes ;;
5027 DUMPBIN
=$ac_ct_DUMPBIN
5031 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5033 DUMPBIN
="$DUMPBIN -symbols"
5041 if test "$DUMPBIN" != ":"; then
5045 test -z "$NM" && NM
=nm
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5053 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5054 if ${lt_cv_nm_interface+:} false
; then :
5055 $as_echo_n "(cached) " >&6
5057 lt_cv_nm_interface
="BSD nm"
5058 echo "int some_variable = 0;" > conftest.
$ac_ext
5059 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5060 (eval "$ac_compile" 2>conftest.err
)
5061 cat conftest.err
>&5
5062 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5063 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5064 cat conftest.err
>&5
5065 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5066 cat conftest.out
>&5
5067 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5068 lt_cv_nm_interface
="MS dumpbin"
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5073 $as_echo "$lt_cv_nm_interface" >&6; }
5075 # find the maximum length of command line arguments
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5077 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5078 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5086 # On DJGPP, this test can blow up pretty badly due to problems in libc
5087 # (any single argument exceeding 2000 bytes causes a buffer overrun
5088 # during glob expansion). Even if it were fixed, the result of this
5089 # check would be larger than it should be.
5090 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5094 # Under GNU Hurd, this test is not required because there is
5095 # no limit to the length of command line arguments.
5096 # Libtool will interpret -1 as no limit whatsoever
5097 lt_cv_sys_max_cmd_len
=-1;
5100 cygwin
* | mingw
* | cegcc
*)
5101 # On Win9x/ME, this test blows up -- it succeeds, but takes
5102 # about 5 minutes as the teststring grows exponentially.
5103 # Worse, since 9x/ME are not pre-emptively multitasking,
5104 # you end up with a "frozen" computer, even though with patience
5105 # the test eventually succeeds (with a max line length of 256k).
5106 # Instead, let's just punt: use the minimum linelength reported by
5107 # all of the supported platforms: 8192 (on NT/2K/XP).
5108 lt_cv_sys_max_cmd_len
=8192;
5112 # On MiNT this can take a long time and run out of memory.
5113 lt_cv_sys_max_cmd_len
=8192;
5117 # On AmigaOS with pdksh, this test takes hours, literally.
5118 # So we just punt and use a minimum line length of 8192.
5119 lt_cv_sys_max_cmd_len
=8192;
5122 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5123 # This has been around since 386BSD, at least. Likely further.
5124 if test -x /sbin
/sysctl
; then
5125 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5126 elif test -x /usr
/sbin
/sysctl
; then
5127 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5129 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5131 # And add a safety zone
5132 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5133 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5137 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5138 lt_cv_sys_max_cmd_len
=196608
5142 # The test takes a long time on OS/2.
5143 lt_cv_sys_max_cmd_len
=8192
5147 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5148 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5149 # nice to cause kernel panics so lets avoid the loop below.
5150 # First set a reasonable default.
5151 lt_cv_sys_max_cmd_len
=16384
5153 if test -x /sbin
/sysconfig
; then
5154 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5155 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5160 lt_cv_sys_max_cmd_len
=102400
5162 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5163 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5164 if test -n "$kargmax"; then
5165 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5167 lt_cv_sys_max_cmd_len
=32768
5171 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5172 if test -n "$lt_cv_sys_max_cmd_len"; then
5173 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5174 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5176 # Make teststring a little bigger before we do anything with it.
5177 # a 1K string should be a reasonable start.
5178 for i
in 1 2 3 4 5 6 7 8 ; do
5179 teststring
=$teststring$teststring
5181 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5182 # If test is not a shell built-in, we'll probably end up computing a
5183 # maximum length that is only half of the actual maximum length, but
5185 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5186 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5187 test $i != 17 # 1/2 MB should be enough
5190 teststring
=$teststring$teststring
5192 # Only check the string length outside the loop.
5193 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5195 # Add a significant safety factor because C++ compilers can tack on
5196 # massive amounts of additional arguments before passing them to the
5197 # linker. It appears as though 1/2 is a usable value.
5198 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5205 if test -n $lt_cv_sys_max_cmd_len ; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5207 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5210 $as_echo "none" >&6; }
5212 max_cmd_len
=$lt_cv_sys_max_cmd_len
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5224 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5225 # Try some XSI features
5228 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5230 && eval 'test $(( 1 + 1 )) -eq 2 \
5231 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5234 $as_echo "$xsi_shell" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5238 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5240 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5242 && lt_shell_append
=yes
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5244 $as_echo "$lt_shell_append" >&6; }
5247 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
5257 # test EBCDIC or ASCII
5258 case `echo X|tr X '\101'` in
5259 A
) # ASCII based system
5260 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5261 lt_SP2NL
='tr \040 \012'
5262 lt_NL2SP
='tr \015\012 \040\040'
5264 *) # EBCDIC based system
5265 lt_SP2NL
='tr \100 \n'
5266 lt_NL2SP
='tr \r\n \100\100'
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5279 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5280 if ${lt_cv_to_host_file_cmd+:} false
; then :
5281 $as_echo_n "(cached) " >&6
5286 *-*-mingw* ) # actually msys
5287 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5290 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5292 * ) # otherwise, assume *nix
5293 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5299 *-*-mingw* ) # actually msys
5300 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5303 lt_cv_to_host_file_cmd
=func_convert_file_noop
5305 * ) # otherwise, assume *nix
5306 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5310 * ) # unhandled hosts (and "normal" native builds)
5311 lt_cv_to_host_file_cmd
=func_convert_file_noop
5317 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5319 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5326 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5327 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5328 $as_echo_n "(cached) " >&6
5330 #assume ordinary cross tools, or native build.
5331 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5335 *-*-mingw* ) # actually msys
5336 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5344 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5346 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5353 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5354 if ${lt_cv_ld_reload_flag+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 lt_cv_ld_reload_flag
='-r'
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5360 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5361 reload_flag
=$lt_cv_ld_reload_flag
5362 case $reload_flag in
5364 *) reload_flag
=" $reload_flag" ;;
5366 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5368 cygwin
* | mingw
* | pw32
* | cegcc
*)
5369 if test "$GCC" != yes; then
5374 if test "$GCC" = yes; then
5375 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5377 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5392 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5398 if test -n "$OBJDUMP"; then
5399 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 OBJDUMP
=$ac_cv_prog_OBJDUMP
5419 if test -n "$OBJDUMP"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5421 $as_echo "$OBJDUMP" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$ac_cv_prog_OBJDUMP"; then
5430 ac_ct_OBJDUMP
=$OBJDUMP
5431 # Extract the first word of "objdump", so it can be a program name with args.
5432 set dummy objdump
; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$ac_ct_OBJDUMP"; then
5439 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5459 if test -n "$ac_ct_OBJDUMP"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5461 $as_echo "$ac_ct_OBJDUMP" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5467 if test "x$ac_ct_OBJDUMP" = x
; then
5470 case $cross_compiling:$ac_tool_warned in
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned
=yes ;;
5476 OBJDUMP
=$ac_ct_OBJDUMP
5479 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5482 test -z "$OBJDUMP" && OBJDUMP
=objdump
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5490 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5491 if ${lt_cv_deplibs_check_method+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5495 lt_cv_file_magic_test_file
=
5496 lt_cv_deplibs_check_method
='unknown'
5497 # Need to set the preceding variable on all platforms that support
5498 # interlibrary dependencies.
5499 # 'none' -- dependencies not supported.
5500 # `unknown' -- same as none, but documents that we really don't know.
5501 # 'pass_all' -- all dependencies passed with no checks.
5502 # 'test_compile' -- check by making test program.
5503 # 'file_magic [[regex]]' -- check by looking for files in library path
5504 # which responds to the $file_magic_cmd with a given extended regex.
5505 # If you have `file' or equivalent on your system and you're not sure
5506 # whether `pass_all' will *always* work, you probably want this one.
5510 lt_cv_deplibs_check_method
=pass_all
5514 lt_cv_deplibs_check_method
=pass_all
5518 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5519 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5520 lt_cv_file_magic_test_file
=/shlib
/libc.so
5524 # func_win32_libid is a shell function defined in ltmain.sh
5525 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5526 lt_cv_file_magic_cmd
='func_win32_libid'
5530 # Base MSYS/MinGW do not provide the 'file' command needed by
5531 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5532 # unless we find 'file', for example because we are cross-compiling.
5533 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5534 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5535 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5536 lt_cv_file_magic_cmd
='func_win32_libid'
5538 # Keep this pattern in sync with the one in func_win32_libid.
5539 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5540 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5545 # use the weaker test based on 'objdump'. See mingw*.
5546 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5547 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5550 darwin
* | rhapsody
*)
5551 lt_cv_deplibs_check_method
=pass_all
5554 freebsd
* | dragonfly
*)
5555 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5558 # Not sure whether the presence of OpenBSD here was a mistake.
5559 # Let's accept both of them until this is cleared up.
5560 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5561 lt_cv_file_magic_cmd
=/usr
/bin
/file
5562 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5566 lt_cv_deplibs_check_method
=pass_all
5571 lt_cv_deplibs_check_method
=pass_all
5575 lt_cv_deplibs_check_method
=pass_all
5578 hpux10.20
* | hpux11
*)
5579 lt_cv_file_magic_cmd
=/usr
/bin
/file
5582 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5583 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5586 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]'
5587 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5590 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5591 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5597 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5598 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5601 irix5
* | irix6
* | nonstopux
*)
5603 *-32|*"-32 ") libmagic
=32-bit;;
5604 *-n32|*"-n32 ") libmagic
=N32
;;
5605 *-64|*"-64 ") libmagic
=64-bit;;
5606 *) libmagic
=never
-match;;
5608 lt_cv_deplibs_check_method
=pass_all
5611 # This must be glibc/ELF.
5612 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5613 lt_cv_deplibs_check_method
=pass_all
5617 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5618 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5620 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5625 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5626 lt_cv_file_magic_cmd
=/usr
/bin
/file
5627 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5631 lt_cv_deplibs_check_method
=pass_all
5635 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5636 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5638 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5642 osf3
* | osf4
* | osf5
*)
5643 lt_cv_deplibs_check_method
=pass_all
5647 lt_cv_deplibs_check_method
=pass_all
5651 lt_cv_deplibs_check_method
=pass_all
5654 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5655 lt_cv_deplibs_check_method
=pass_all
5659 case $host_vendor in
5661 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]'
5662 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5665 lt_cv_deplibs_check_method
=pass_all
5668 lt_cv_file_magic_cmd
='/bin/file'
5669 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5672 lt_cv_file_magic_cmd
='/bin/file'
5673 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5674 lt_cv_file_magic_test_file
=/lib
/libc.so
5677 lt_cv_deplibs_check_method
=pass_all
5680 lt_cv_deplibs_check_method
=pass_all
5686 lt_cv_deplibs_check_method
=pass_all
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5692 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5696 if test "$build" = "$host"; then
5699 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
5702 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5708 file_magic_cmd
=$lt_cv_file_magic_cmd
5709 deplibs_check_method
=$lt_cv_deplibs_check_method
5710 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5733 if test -n "$ac_tool_prefix"; then
5734 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5735 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$DLLTOOL"; then
5742 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir
=.
5749 for ac_exec_ext
in '' $ac_executable_extensions; do
5750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 DLLTOOL
=$ac_cv_prog_DLLTOOL
5762 if test -n "$DLLTOOL"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5764 $as_echo "$DLLTOOL" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5772 if test -z "$ac_cv_prog_DLLTOOL"; then
5773 ac_ct_DLLTOOL
=$DLLTOOL
5774 # Extract the first word of "dlltool", so it can be a program name with args.
5775 set dummy dlltool
; ac_word
=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$ac_ct_DLLTOOL"; then
5782 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir
=.
5789 for ac_exec_ext
in '' $ac_executable_extensions; do
5790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5802 if test -n "$ac_ct_DLLTOOL"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5804 $as_echo "$ac_ct_DLLTOOL" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5810 if test "x$ac_ct_DLLTOOL" = x
; then
5813 case $cross_compiling:$ac_tool_warned in
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned
=yes ;;
5819 DLLTOOL
=$ac_ct_DLLTOOL
5822 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5825 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5834 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5835 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5836 $as_echo_n "(cached) " >&6
5838 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5841 cygwin
* | mingw
* | pw32
* | cegcc
*)
5842 # two different shell functions defined in ltmain.sh
5843 # decide which to use based on capabilities of $DLLTOOL
5844 case `$DLLTOOL --help 2>&1` in
5845 *--identify-strict*)
5846 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5849 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5854 # fallback: assume linklib IS sharedlib
5855 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5861 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5862 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5863 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5872 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5876 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5878 $as_echo_n "checking for $ac_word... " >&6; }
5879 if ${ac_cv_prog_AR+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 if test -n "$AR"; then
5883 ac_cv_prog_AR
="$AR" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 if test -n "$AR"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5905 $as_echo "$AR" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5912 test -n "$AR" && break
5915 if test -z "$AR"; then
5919 # Extract the first word of "$ac_prog", so it can be a program name with args.
5920 set dummy
$ac_prog; ac_word
=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$ac_ct_AR"; then
5927 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_ac_ct_AR
="$ac_prog"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5947 if test -n "$ac_ct_AR"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5949 $as_echo "$ac_ct_AR" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5956 test -n "$ac_ct_AR" && break
5959 if test "x$ac_ct_AR" = x
; then
5962 case $cross_compiling:$ac_tool_warned in
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5966 ac_tool_warned
=yes ;;
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5986 $as_echo_n "checking for archiver @FILE support... " >&6; }
5987 if ${lt_cv_ar_at_file+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
6002 if ac_fn_c_try_compile
"$LINENO"; then :
6003 echo conftest.
$ac_objext > conftest.lst
6004 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6005 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6006 (eval $lt_ar_try) 2>&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }
6010 if test "$ac_status" -eq 0; then
6011 # Ensure the archiver fails upon bogus file names.
6012 rm -f conftest.
$ac_objext libconftest.a
6013 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6014 (eval $lt_ar_try) 2>&5
6016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6017 test $ac_status = 0; }
6018 if test "$ac_status" -ne 0; then
6022 rm -f conftest.
* libconftest.a
6025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6029 $as_echo "$lt_cv_ar_at_file" >&6; }
6031 if test "x$lt_cv_ar_at_file" = xno
; then
6034 archiver_list_spec
=$lt_cv_ar_at_file
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6045 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_STRIP+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$STRIP"; then
6052 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 STRIP
=$ac_cv_prog_STRIP
6072 if test -n "$STRIP"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6074 $as_echo "$STRIP" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6082 if test -z "$ac_cv_prog_STRIP"; then
6084 # Extract the first word of "strip", so it can be a program name with args.
6085 set dummy strip
; ac_word
=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6089 $as_echo_n "(cached) " >&6
6091 if test -n "$ac_ct_STRIP"; then
6092 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir
=.
6099 for ac_exec_ext
in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_ac_ct_STRIP
="strip"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6112 if test -n "$ac_ct_STRIP"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6114 $as_echo "$ac_ct_STRIP" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6120 if test "x$ac_ct_STRIP" = x
; then
6123 case $cross_compiling:$ac_tool_warned in
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6127 ac_tool_warned
=yes ;;
6132 STRIP
="$ac_cv_prog_STRIP"
6135 test -z "$STRIP" && STRIP
=:
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6144 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_RANLIB+:} false
; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$RANLIB"; then
6151 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir
=.
6158 for ac_exec_ext
in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 RANLIB
=$ac_cv_prog_RANLIB
6171 if test -n "$RANLIB"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6173 $as_echo "$RANLIB" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6181 if test -z "$ac_cv_prog_RANLIB"; then
6182 ac_ct_RANLIB
=$RANLIB
6183 # Extract the first word of "ranlib", so it can be a program name with args.
6184 set dummy ranlib
; ac_word
=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6188 $as_echo_n "(cached) " >&6
6190 if test -n "$ac_ct_RANLIB"; then
6191 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir
=.
6198 for ac_exec_ext
in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6211 if test -n "$ac_ct_RANLIB"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6213 $as_echo "$ac_ct_RANLIB" >&6; }
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6219 if test "x$ac_ct_RANLIB" = x
; then
6222 case $cross_compiling:$ac_tool_warned in
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6226 ac_tool_warned
=yes ;;
6228 RANLIB
=$ac_ct_RANLIB
6231 RANLIB
="$ac_cv_prog_RANLIB"
6234 test -z "$RANLIB" && RANLIB
=:
6241 # Determine commands to create old-style static archives.
6242 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6243 old_postinstall_cmds
='chmod 644 $oldlib'
6244 old_postuninstall_cmds
=
6246 if test -n "$RANLIB"; then
6249 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6252 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6255 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6260 lock_old_archive_extraction
=yes ;;
6262 lock_old_archive_extraction
=no
;;
6303 # If no C compiler was specified, use CC.
6306 # If no C compiler flags were specified, use CFLAGS.
6307 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6309 # Allow CC to be a program name with arguments.
6313 # Check for command to grab the raw symbol name followed by C symbol from nm.
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6315 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6316 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6320 # These are sane defaults that work on at least a few old systems.
6321 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6323 # Character class describing NM global symbol codes.
6324 symcode
='[BCDEGRST]'
6326 # Regexp to match symbols that can be accessed directly from C.
6327 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6329 # Define system-specific variables.
6334 cygwin
* | mingw
* | pw32
* | cegcc
*)
6335 symcode
='[ABCDGISTW]'
6338 if test "$host_cpu" = ia64
; then
6339 symcode
='[ABCDEGRST]'
6343 symcode
='[BCDEGRST]'
6346 symcode
='[BCDEGQRST]'
6357 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6365 # If we're using GNU nm, then use its standard symbol codes.
6366 case `$NM -V 2>&1` in
6367 *GNU
* | *'with BFD'*)
6368 symcode
='[ABCDGIRSTW]' ;;
6371 # Transform an extracted symbol line into a proper C declaration.
6372 # Some systems (esp. on ia64) link data and code symbols differently,
6373 # so use this general approach.
6374 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6376 # Transform an extracted symbol line into symbol name and symbol address
6377 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6378 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'"
6380 # Handle CRLF in mingw tool chain
6384 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6388 # Try without a prefix underscore, then with it.
6389 for ac_symprfx
in "" "_"; do
6391 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6392 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6394 # Write the raw and C identifiers.
6395 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6396 # Fake it for dumpbin and say T for any non-static function
6397 # and D for any global variable.
6398 # Also find C++ and __fastcall symbols from MSVC++,
6399 # which start with @ or ?.
6400 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6401 " {last_section=section; section=\$ 3};"\
6402 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6403 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6404 " \$ 0!~/External *\|/{next};"\
6405 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6406 " {if(hide[section]) next};"\
6407 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6408 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6409 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6410 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6411 " ' prfx=^$ac_symprfx"
6413 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6415 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6417 # Check to see that the pipe works correctly.
6421 cat > conftest.
$ac_ext <<_LT_EOF
6426 void nm_test_func(void);
6427 void nm_test_func(void){}
6431 int main(){nm_test_var='a';nm_test_func();return(0);}
6434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6435 (eval $ac_compile) 2>&5
6437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6438 test $ac_status = 0; }; then
6439 # Now try to grab the symbols.
6441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6442 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6445 test $ac_status = 0; } && test -s "$nlist"; then
6446 # Try sorting and uniquifying the output.
6447 if sort "$nlist" | uniq > "$nlist"T
; then
6448 mv -f "$nlist"T
"$nlist"
6453 # Make sure that we snagged all the symbols we need.
6454 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6455 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6456 cat <<_LT_EOF > conftest.$ac_ext
6457 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6458 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6459 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6460 relocations are performed -- see ld's documentation on pseudo-relocs. */
6461 # define LT_DLSYM_CONST
6462 #elif defined(__osf__)
6463 /* This system does not cope well with relocations in const data. */
6464 # define LT_DLSYM_CONST
6466 # define LT_DLSYM_CONST const
6474 # Now generate the symbol file.
6475 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6477 cat <<_LT_EOF >> conftest.$ac_ext
6479 /* The mapping between symbol names and symbols. */
6480 LT_DLSYM_CONST struct {
6484 lt__PROGRAM__LTX_preloaded_symbols[] =
6486 { "@PROGRAM@", (void *) 0 },
6488 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
6489 cat <<\_LT_EOF
>> conftest.
$ac_ext
6493 /* This works around a problem
in FreeBSD linker
*/
6494 #ifdef FREEBSD_WORKAROUND
6495 static const void
*lt_preloaded_setup
() {
6496 return lt__PROGRAM__LTX_preloaded_symbols
;
6504 # Now try linking the two files.
6505 mv conftest.
$ac_objext conftstm.
$ac_objext
6506 lt_globsym_save_LIBS
=$LIBS
6507 lt_globsym_save_CFLAGS
=$CFLAGS
6508 LIBS
="conftstm.$ac_objext"
6509 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6511 (eval $ac_link) 2>&5
6513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6514 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6517 LIBS
=$lt_globsym_save_LIBS
6518 CFLAGS
=$lt_globsym_save_CFLAGS
6520 echo "cannot find nm_test_func in $nlist" >&5
6523 echo "cannot find nm_test_var in $nlist" >&5
6526 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6529 echo "$progname: failed program was:" >&5
6530 cat conftest.
$ac_ext >&5
6532 rm -rf conftest
* conftst
*
6534 # Do not use the global_symbol_pipe unless it works.
6535 if test "$pipe_works" = yes; then
6538 lt_cv_sys_global_symbol_pipe
=
6544 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6545 lt_cv_sys_global_symbol_to_cdecl
=
6547 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6549 $as_echo "failed" >&6; }
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6552 $as_echo "ok" >&6; }
6555 # Response file support.
6556 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6557 nm_file_list_spec
='@'
6558 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
6559 nm_file_list_spec
='@'
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6589 $as_echo_n "checking for sysroot... " >&6; }
6591 # Check whether --with-sysroot was given.
6592 if test "${with_sysroot+set}" = set; then :
6593 withval
=$with_sysroot;
6600 case ${with_sysroot} in #(
6602 if test "$GCC" = yes; then
6603 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6607 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6613 $as_echo "${with_sysroot}" >&6; }
6614 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6619 $as_echo "${lt_sysroot:-no}" >&6; }
6625 # Check whether --enable-libtool-lock was given.
6626 if test "${enable_libtool_lock+set}" = set; then :
6627 enableval
=$enable_libtool_lock;
6630 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6632 # Some flags need to be propagated to the compiler or linker for good
6636 # Find out which ABI we are using.
6637 echo 'int i;' > conftest.
$ac_ext
6638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6639 (eval $ac_compile) 2>&5
6641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6642 test $ac_status = 0; }; then
6643 case `/usr/bin/file conftest.$ac_objext` in
6655 # Find out which ABI we are using.
6656 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6658 (eval $ac_compile) 2>&5
6660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6661 test $ac_status = 0; }; then
6662 if test "$lt_cv_prog_gnu_ld" = yes; then
6663 case `/usr/bin/file conftest.$ac_objext` in
6665 LD
="${LD-ld} -melf32bsmip"
6668 LD
="${LD-ld} -melf32bmipn32"
6671 LD
="${LD-ld} -melf64bmip"
6675 case `/usr/bin/file conftest.$ac_objext` in
6691 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6692 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6693 # Find out which ABI we are using.
6694 echo 'int i;' > conftest.
$ac_ext
6695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6696 (eval $ac_compile) 2>&5
6698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6699 test $ac_status = 0; }; then
6700 case `/usr/bin/file conftest.o` in
6703 x86_64
-*kfreebsd
*-gnu)
6704 LD
="${LD-ld} -m elf_i386_fbsd"
6707 LD
="${LD-ld} -m elf_i386"
6709 ppc64
-*linux
*|powerpc64
-*linux
*)
6710 LD
="${LD-ld} -m elf32ppclinux"
6713 LD
="${LD-ld} -m elf_s390"
6716 LD
="${LD-ld} -m elf32_sparc"
6722 x86_64
-*kfreebsd
*-gnu)
6723 LD
="${LD-ld} -m elf_x86_64_fbsd"
6726 LD
="${LD-ld} -m elf_x86_64"
6728 ppc
*-*linux
*|powerpc
*-*linux
*)
6729 LD
="${LD-ld} -m elf64ppc"
6731 s390
*-*linux
*|s390
*-*tpf
*)
6732 LD
="${LD-ld} -m elf64_s390"
6735 LD
="${LD-ld} -m elf64_sparc"
6745 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6746 SAVE_CFLAGS
="$CFLAGS"
6747 CFLAGS
="$CFLAGS -belf"
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6749 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6750 if ${lt_cv_cc_needs_belf+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6754 ac_cpp
='$CPP $CPPFLAGS'
6755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6770 if ac_fn_c_try_link
"$LINENO"; then :
6771 lt_cv_cc_needs_belf
=yes
6773 lt_cv_cc_needs_belf
=no
6775 rm -f core conftest.err conftest.
$ac_objext \
6776 conftest
$ac_exeext conftest.
$ac_ext
6778 ac_cpp
='$CPP $CPPFLAGS'
6779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6785 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6786 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6787 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6788 CFLAGS
="$SAVE_CFLAGS"
6792 # Find out which ABI we are using.
6793 echo 'int i;' > conftest.
$ac_ext
6794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6795 (eval $ac_compile) 2>&5
6797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6798 test $ac_status = 0; }; then
6799 case `/usr/bin/file conftest.o` in
6801 case $lt_cv_prog_gnu_ld in
6805 LD
="${LD-ld} -m elf_x86_64"
6808 LD
="${LD-ld} -m elf64_sparc"
6811 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6812 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
6817 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6829 need_locks
="$enable_libtool_lock"
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6833 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6837 $as_echo_n "(cached) " >&6
6839 if test -n "$MANIFEST_TOOL"; then
6840 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir
=.
6847 for ac_exec_ext
in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6860 if test -n "$MANIFEST_TOOL"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6862 $as_echo "$MANIFEST_TOOL" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6870 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6871 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6872 # Extract the first word of "mt", so it can be a program name with args.
6873 set dummy mt
; ac_word
=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6877 $as_echo_n "(cached) " >&6
6879 if test -n "$ac_ct_MANIFEST_TOOL"; then
6880 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6900 if test -n "$ac_ct_MANIFEST_TOOL"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6902 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6908 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned
=yes ;;
6917 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6920 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6923 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6925 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6926 if ${lt_cv_path_mainfest_tool+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 lt_cv_path_mainfest_tool
=no
6930 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6931 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6932 cat conftest.err
>&5
6933 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6934 lt_cv_path_mainfest_tool
=yes
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6939 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6940 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6950 rhapsody
* | darwin
*)
6951 if test -n "$ac_tool_prefix"; then
6952 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6953 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 $as_echo_n "checking for $ac_word... " >&6; }
6956 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6957 $as_echo_n "(cached) " >&6
6959 if test -n "$DSYMUTIL"; then
6960 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir
=.
6967 for ac_exec_ext
in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6980 if test -n "$DSYMUTIL"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6982 $as_echo "$DSYMUTIL" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 $as_echo "no" >&6; }
6990 if test -z "$ac_cv_prog_DSYMUTIL"; then
6991 ac_ct_DSYMUTIL
=$DSYMUTIL
6992 # Extract the first word of "dsymutil", so it can be a program name with args.
6993 set dummy dsymutil
; ac_word
=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6997 $as_echo_n "(cached) " >&6
6999 if test -n "$ac_ct_DSYMUTIL"; then
7000 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir
=.
7007 for ac_exec_ext
in '' $ac_executable_extensions; do
7008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7009 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7020 if test -n "$ac_ct_DSYMUTIL"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7022 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7028 if test "x$ac_ct_DSYMUTIL" = x
; then
7031 case $cross_compiling:$ac_tool_warned in
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7035 ac_tool_warned
=yes ;;
7037 DSYMUTIL
=$ac_ct_DSYMUTIL
7040 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7043 if test -n "$ac_tool_prefix"; then
7044 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7045 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_NMEDIT+:} false
; then :
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$NMEDIT"; then
7052 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 NMEDIT
=$ac_cv_prog_NMEDIT
7072 if test -n "$NMEDIT"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7074 $as_echo "$NMEDIT" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7082 if test -z "$ac_cv_prog_NMEDIT"; then
7083 ac_ct_NMEDIT
=$NMEDIT
7084 # Extract the first word of "nmedit", so it can be a program name with args.
7085 set dummy nmedit
; ac_word
=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7089 $as_echo_n "(cached) " >&6
7091 if test -n "$ac_ct_NMEDIT"; then
7092 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir
=.
7099 for ac_exec_ext
in '' $ac_executable_extensions; do
7100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7101 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7112 if test -n "$ac_ct_NMEDIT"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7114 $as_echo "$ac_ct_NMEDIT" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7120 if test "x$ac_ct_NMEDIT" = x
; then
7123 case $cross_compiling:$ac_tool_warned in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7127 ac_tool_warned
=yes ;;
7129 NMEDIT
=$ac_ct_NMEDIT
7132 NMEDIT
="$ac_cv_prog_NMEDIT"
7135 if test -n "$ac_tool_prefix"; then
7136 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7137 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 $as_echo_n "checking for $ac_word... " >&6; }
7140 if ${ac_cv_prog_LIPO+:} false
; then :
7141 $as_echo_n "(cached) " >&6
7143 if test -n "$LIPO"; then
7144 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7150 test -z "$as_dir" && as_dir
=.
7151 for ac_exec_ext
in '' $ac_executable_extensions; do
7152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7153 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 LIPO
=$ac_cv_prog_LIPO
7164 if test -n "$LIPO"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7166 $as_echo "$LIPO" >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 $as_echo "no" >&6; }
7174 if test -z "$ac_cv_prog_LIPO"; then
7176 # Extract the first word of "lipo", so it can be a program name with args.
7177 set dummy lipo
; ac_word
=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7181 $as_echo_n "(cached) " >&6
7183 if test -n "$ac_ct_LIPO"; then
7184 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir
=.
7191 for ac_exec_ext
in '' $ac_executable_extensions; do
7192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7193 ac_cv_prog_ac_ct_LIPO
="lipo"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7204 if test -n "$ac_ct_LIPO"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7206 $as_echo "$ac_ct_LIPO" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7212 if test "x$ac_ct_LIPO" = x
; then
7215 case $cross_compiling:$ac_tool_warned in
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7219 ac_tool_warned
=yes ;;
7224 LIPO
="$ac_cv_prog_LIPO"
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7229 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_OTOOL+:} false
; then :
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$OTOOL"; then
7236 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 OTOOL
=$ac_cv_prog_OTOOL
7256 if test -n "$OTOOL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7258 $as_echo "$OTOOL" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7266 if test -z "$ac_cv_prog_OTOOL"; then
7268 # Extract the first word of "otool", so it can be a program name with args.
7269 set dummy otool
; ac_word
=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7273 $as_echo_n "(cached) " >&6
7275 if test -n "$ac_ct_OTOOL"; then
7276 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir
=.
7283 for ac_exec_ext
in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_ac_ct_OTOOL
="otool"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7296 if test -n "$ac_ct_OTOOL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7298 $as_echo "$ac_ct_OTOOL" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7304 if test "x$ac_ct_OTOOL" = x
; then
7307 case $cross_compiling:$ac_tool_warned in
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned
=yes ;;
7316 OTOOL
="$ac_cv_prog_OTOOL"
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7321 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_OTOOL64+:} false
; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$OTOOL64"; then
7328 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir
=.
7335 for ac_exec_ext
in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 OTOOL64
=$ac_cv_prog_OTOOL64
7348 if test -n "$OTOOL64"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7350 $as_echo "$OTOOL64" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7358 if test -z "$ac_cv_prog_OTOOL64"; then
7359 ac_ct_OTOOL64
=$OTOOL64
7360 # Extract the first word of "otool64", so it can be a program name with args.
7361 set dummy otool64
; ac_word
=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7365 $as_echo_n "(cached) " >&6
7367 if test -n "$ac_ct_OTOOL64"; then
7368 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7388 if test -n "$ac_ct_OTOOL64"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7390 $as_echo "$ac_ct_OTOOL64" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396 if test "x$ac_ct_OTOOL64" = x
; then
7399 case $cross_compiling:$ac_tool_warned in
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned
=yes ;;
7405 OTOOL64
=$ac_ct_OTOOL64
7408 OTOOL64
="$ac_cv_prog_OTOOL64"
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7438 $as_echo_n "checking for -single_module linker flag... " >&6; }
7439 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7440 $as_echo_n "(cached) " >&6
7442 lt_cv_apple_cc_single_mod
=no
7443 if test -z "${LT_MULTI_MODULE}"; then
7444 # By default we will add the -single_module flag. You can override
7445 # by either setting the environment variable LT_MULTI_MODULE
7446 # non-empty at configure time, or by adding -multi_module to the
7448 rm -rf libconftest.dylib
*
7449 echo "int foo(void){return 1;}" > conftest.c
7450 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7451 -dynamiclib -Wl,-single_module conftest.c" >&5
7452 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7453 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7455 # If there is a non-empty error log, and "single_module"
7456 # appears in it, assume the flag caused a linker warning
7457 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7458 cat conftest.err
>&5
7459 # Otherwise, if the output was created with a 0 exit code from
7460 # the compiler, it worked.
7461 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7462 lt_cv_apple_cc_single_mod
=yes
7464 cat conftest.err
>&5
7466 rm -rf libconftest.dylib
*
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7471 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7474 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7475 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7476 $as_echo_n "(cached) " >&6
7478 lt_cv_ld_exported_symbols_list
=no
7479 save_LDFLAGS
=$LDFLAGS
7480 echo "_main" > conftest.sym
7481 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7493 if ac_fn_c_try_link
"$LINENO"; then :
7494 lt_cv_ld_exported_symbols_list
=yes
7496 lt_cv_ld_exported_symbols_list
=no
7498 rm -f core conftest.err conftest.
$ac_objext \
7499 conftest
$ac_exeext conftest.
$ac_ext
7500 LDFLAGS
="$save_LDFLAGS"
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7504 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7507 $as_echo_n "checking for -force_load linker flag... " >&6; }
7508 if ${lt_cv_ld_force_load+:} false
; then :
7509 $as_echo_n "(cached) " >&6
7511 lt_cv_ld_force_load
=no
7512 cat > conftest.c
<< _LT_EOF
7513 int forced_loaded() { return 2;}
7515 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7516 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7517 echo "$AR cru libconftest.a conftest.o" >&5
7518 $AR cru libconftest.a conftest.o
2>&5
7519 echo "$RANLIB libconftest.a" >&5
7520 $RANLIB libconftest.a
2>&5
7521 cat > conftest.c
<< _LT_EOF
7522 int main() { return 0;}
7524 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7525 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7527 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7528 cat conftest.err
>&5
7529 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7530 lt_cv_ld_force_load
=yes
7532 cat conftest.err
>&5
7534 rm -f conftest.err libconftest.a conftest conftest.c
7535 rm -rf conftest.dSYM
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7539 $as_echo "$lt_cv_ld_force_load" >&6; }
7541 rhapsody
* | darwin1.
[012])
7542 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7544 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7545 darwin
*) # darwin 5.x on
7546 # if running on 10.5 or later, the deployment target defaults
7547 # to the OS version, if on x86, and 10.4, the deployment
7548 # target defaults to 10.4. Don't you love it?
7549 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7550 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7551 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7553 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7555 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7559 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7560 _lt_dar_single_mod
='$single_module'
7562 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7563 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7565 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7567 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7568 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7577 $as_echo_n "checking for ANSI C header files... " >&6; }
7578 if ${ac_cv_header_stdc+:} false
; then :
7579 $as_echo_n "(cached) " >&6
7581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7596 if ac_fn_c_try_compile
"$LINENO"; then :
7597 ac_cv_header_stdc
=yes
7599 ac_cv_header_stdc
=no
7601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7603 if test $ac_cv_header_stdc = yes; then
7604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7611 $EGREP "memchr" >/dev
/null
2>&1; then :
7614 ac_cv_header_stdc
=no
7620 if test $ac_cv_header_stdc = yes; then
7621 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628 $EGREP "free" >/dev
/null
2>&1; then :
7631 ac_cv_header_stdc
=no
7637 if test $ac_cv_header_stdc = yes; then
7638 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7639 if test "$cross_compiling" = yes; then :
7642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7646 #if ((' ' & 0x0FF) == 0x020)
7647 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7648 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7650 # define ISLOWER(c) \
7651 (('a' <= (c) && (c) <= 'i') \
7652 || ('j' <= (c) && (c) <= 'r') \
7653 || ('s' <= (c) && (c) <= 'z'))
7654 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7662 for (i = 0; i < 256; i++)
7663 if (XOR (islower (i), ISLOWER (i))
7664 || toupper (i) != TOUPPER (i))
7669 if ac_fn_c_try_run
"$LINENO"; then :
7672 ac_cv_header_stdc
=no
7674 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7675 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7681 $as_echo "$ac_cv_header_stdc" >&6; }
7682 if test $ac_cv_header_stdc = yes; then
7684 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7688 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7689 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7690 inttypes.h stdint.h unistd.h
7692 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7695 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7696 cat >>confdefs.h
<<_ACEOF
7697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7705 for ac_header
in dlfcn.h
7707 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7709 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7710 cat >>confdefs.h
<<_ACEOF
7711 #define HAVE_DLFCN_H 1
7723 enable_win32_dll
=yes
7726 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7727 if test -n "$ac_tool_prefix"; then
7728 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7729 set dummy
${ac_tool_prefix}as
; ac_word
=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_AS+:} false
; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$AS"; then
7736 ac_cv_prog_AS
="$AS" # Let the user override the test.
7738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir
=.
7743 for ac_exec_ext
in '' $ac_executable_extensions; do
7744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7745 ac_cv_prog_AS
="${ac_tool_prefix}as"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756 if test -n "$AS"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7758 $as_echo "$AS" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7766 if test -z "$ac_cv_prog_AS"; then
7768 # Extract the first word of "as", so it can be a program name with args.
7769 set dummy as
; ac_word
=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7775 if test -n "$ac_ct_AS"; then
7776 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir
=.
7783 for ac_exec_ext
in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_prog_ac_ct_AS
="as"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
7796 if test -n "$ac_ct_AS"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7798 $as_echo "$ac_ct_AS" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7804 if test "x$ac_ct_AS" = x
; then
7807 case $cross_compiling:$ac_tool_warned in
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7811 ac_tool_warned
=yes ;;
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7821 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$DLLTOOL"; then
7828 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 DLLTOOL
=$ac_cv_prog_DLLTOOL
7848 if test -n "$DLLTOOL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7850 $as_echo "$DLLTOOL" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7858 if test -z "$ac_cv_prog_DLLTOOL"; then
7859 ac_ct_DLLTOOL
=$DLLTOOL
7860 # Extract the first word of "dlltool", so it can be a program name with args.
7861 set dummy dlltool
; ac_word
=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863 $as_echo_n "checking for $ac_word... " >&6; }
7864 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7865 $as_echo_n "(cached) " >&6
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir
=.
7875 for ac_exec_ext
in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7888 if test -n "$ac_ct_DLLTOOL"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7890 $as_echo "$ac_ct_DLLTOOL" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7896 if test "x$ac_ct_DLLTOOL" = x
; then
7899 case $cross_compiling:$ac_tool_warned in
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7903 ac_tool_warned
=yes ;;
7905 DLLTOOL
=$ac_ct_DLLTOOL
7908 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7913 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 if test -n "$OBJDUMP"; then
7920 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir
=.
7927 for ac_exec_ext
in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7939 OBJDUMP
=$ac_cv_prog_OBJDUMP
7940 if test -n "$OBJDUMP"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7942 $as_echo "$OBJDUMP" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_OBJDUMP"; then
7951 ac_ct_OBJDUMP
=$OBJDUMP
7952 # Extract the first word of "objdump", so it can be a program name with args.
7953 set dummy objdump
; ac_word
=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 if test -n "$ac_ct_OBJDUMP"; then
7960 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir
=.
7967 for ac_exec_ext
in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7980 if test -n "$ac_ct_OBJDUMP"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7982 $as_echo "$ac_ct_OBJDUMP" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_OBJDUMP" = x
; then
7991 case $cross_compiling:$ac_tool_warned in
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned
=yes ;;
7997 OBJDUMP
=$ac_ct_OBJDUMP
8000 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8006 test -z "$AS" && AS
=as
8012 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8018 test -z "$OBJDUMP" && OBJDUMP
=objdump
8030 # Check whether --enable-shared was given.
8031 if test "${enable_shared+set}" = set; then :
8032 enableval
=$enable_shared; p
=${PACKAGE-default}
8034 yes) enable_shared
=yes ;;
8035 no
) enable_shared
=no
;;
8038 # Look at the argument we got. We use all the common list separators.
8039 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8040 for pkg
in $enableval; do
8042 if test "X$pkg" = "X$p"; then
8061 # Check whether --enable-static was given.
8062 if test "${enable_static+set}" = set; then :
8063 enableval
=$enable_static; p
=${PACKAGE-default}
8065 yes) enable_static
=yes ;;
8066 no
) enable_static
=no
;;
8069 # Look at the argument we got. We use all the common list separators.
8070 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8071 for pkg
in $enableval; do
8073 if test "X$pkg" = "X$p"; then
8093 # Check whether --with-pic was given.
8094 if test "${with_pic+set}" = set; then :
8095 withval
=$with_pic; lt_p
=${PACKAGE-default}
8097 yes|no
) pic_mode
=$withval ;;
8100 # Look at the argument we got. We use all the common list separators.
8101 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8102 for lt_pkg
in $withval; do
8104 if test "X$lt_pkg" = "X$lt_p"; then
8116 test -z "$pic_mode" && pic_mode
=default
8124 # Check whether --enable-fast-install was given.
8125 if test "${enable_fast_install+set}" = set; then :
8126 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8128 yes) enable_fast_install
=yes ;;
8129 no
) enable_fast_install
=no
;;
8131 enable_fast_install
=no
8132 # Look at the argument we got. We use all the common list separators.
8133 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8134 for pkg
in $enableval; do
8136 if test "X$pkg" = "X$p"; then
8137 enable_fast_install
=yes
8144 enable_fast_install
=yes
8157 # This can be used to rebuild libtool when needed
8158 LIBTOOL_DEPS
="$ltmain"
8160 # Always use our own libtool.
8161 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8192 test -z "$LN_S" && LN_S
="ln -s"
8207 if test -n "${ZSH_VERSION+set}" ; then
8208 setopt NO_GLOB_SUBST
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8212 $as_echo_n "checking for objdir... " >&6; }
8213 if ${lt_cv_objdir+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 rm -f .libs
2>/dev
/null
8217 mkdir .libs
2>/dev
/null
8218 if test -d .libs
; then
8221 # MS-DOS does not allow filenames that begin with a dot.
8224 rmdir .libs
2>/dev
/null
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8227 $as_echo "$lt_cv_objdir" >&6; }
8228 objdir
=$lt_cv_objdir
8234 cat >>confdefs.h
<<_ACEOF
8235 #define LT_OBJDIR "$lt_cv_objdir/"
8243 # AIX sometimes has problems with the GCC collect2 program. For some
8244 # reason, if we set the COLLECT_NAMES environment variable, the problems
8245 # vanish in a puff of smoke.
8246 if test "X${COLLECT_NAMES+set}" != Xset
; then
8248 export COLLECT_NAMES
8255 can_build_shared
=yes
8257 # All known linkers require a `.a' archive for static linking (except MSVC,
8258 # which needs '.lib').
8261 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8264 old_CFLAGS
="$CFLAGS"
8266 # Set sane defaults for various variables
8267 test -z "$CC" && CC
=cc
8268 test -z "$LTCC" && LTCC
=$CC
8269 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8270 test -z "$LD" && LD
=ld
8271 test -z "$ac_objext" && ac_objext
=o
8273 for cc_temp
in $compiler""; do
8275 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8276 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8281 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8284 # Only perform the check for file, if the check method requires it
8285 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8286 case $deplibs_check_method in
8288 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8290 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8291 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8292 $as_echo_n "(cached) " >&6
8296 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8299 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8300 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8301 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8302 for ac_dir
in $ac_dummy; do
8304 test -z "$ac_dir" && ac_dir
=.
8305 if test -f $ac_dir/${ac_tool_prefix}file; then
8306 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8307 if test -n "$file_magic_test_file"; then
8308 case $deplibs_check_method in
8310 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8311 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8312 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8313 $EGREP "$file_magic_regex" > /dev
/null
; then
8318 *** Warning: the command libtool uses to detect shared libraries,
8319 *** $file_magic_cmd, produces output that libtool cannot recognize.
8320 *** The result is that libtool may fail to recognize shared libraries
8321 *** as such. This will affect the creation of libtool libraries that
8322 *** depend on shared libraries, but programs linked with such libtool
8323 *** libraries will work regardless of this problem. Nevertheless, you
8324 *** may want to report the problem to your system manager and/or to
8325 *** bug-libtool@gnu.org
8335 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8340 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8341 if test -n "$MAGIC_CMD"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8343 $as_echo "$MAGIC_CMD" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8353 if test -z "$lt_cv_path_MAGIC_CMD"; then
8354 if test -n "$ac_tool_prefix"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8356 $as_echo_n "checking for file... " >&6; }
8357 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8362 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8365 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8366 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8367 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8368 for ac_dir
in $ac_dummy; do
8370 test -z "$ac_dir" && ac_dir
=.
8371 if test -f $ac_dir/file; then
8372 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8373 if test -n "$file_magic_test_file"; then
8374 case $deplibs_check_method in
8376 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8377 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8378 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8379 $EGREP "$file_magic_regex" > /dev
/null
; then
8384 *** Warning: the command libtool uses to detect shared libraries,
8385 *** $file_magic_cmd, produces output that libtool cannot recognize.
8386 *** The result is that libtool may fail to recognize shared libraries
8387 *** as such. This will affect the creation of libtool libraries that
8388 *** depend on shared libraries, but programs linked with such libtool
8389 *** libraries will work regardless of this problem. Nevertheless, you
8390 *** may want to report the problem to your system manager and/or to
8391 *** bug-libtool@gnu.org
8401 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8406 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8407 if test -n "$MAGIC_CMD"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8409 $as_echo "$MAGIC_CMD" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8425 # Use C for the default configuration in the libtool script
8429 ac_cpp
='$CPP $CPPFLAGS'
8430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8435 # Source file extension for C test sources.
8438 # Object file extension for compiled C test sources.
8442 # Code to be used in simple compile tests
8443 lt_simple_compile_test_code
="int some_variable = 0;"
8445 # Code to be used in simple link tests
8446 lt_simple_link_test_code
='int main(){return(0);}'
8454 # If no C compiler was specified, use CC.
8457 # If no C compiler flags were specified, use CFLAGS.
8458 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8460 # Allow CC to be a program name with arguments.
8463 # Save the default compiler, since it gets overwritten when the other
8464 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8465 compiler_DEFAULT
=$CC
8467 # save warnings/boilerplate of simple test code
8468 ac_outfile
=conftest.
$ac_objext
8469 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8470 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_compiler_boilerplate
=`cat conftest.err`
8474 ac_outfile
=conftest.
$ac_objext
8475 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8476 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8477 _lt_linker_boilerplate
=`cat conftest.err`
8481 if test -n "$compiler"; then
8483 lt_prog_compiler_no_builtin_flag
=
8485 if test "$GCC" = yes; then
8486 case $cc_basename in
8488 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8490 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8494 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8495 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 lt_cv_prog_compiler_rtti_exceptions
=no
8499 ac_outfile
=conftest.
$ac_objext
8500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8501 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8502 # Insert the option either (1) after the last *FLAGS variable, or
8503 # (2) before a word containing "conftest.", or (3) at the end.
8504 # Note that $ac_compile itself does not contain backslashes and begins
8505 # with a dollar sign (not a hyphen), so the echo should work correctly.
8506 # The option is referenced via a variable to avoid confusing sed.
8507 lt_compile
=`echo "$ac_compile" | $SED \
8508 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8510 -e 's:$: $lt_compiler_flag:'`
8511 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8512 (eval "$lt_compile" 2>conftest.err
)
8514 cat conftest.err
>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 if (exit $ac_status) && test -s "$ac_outfile"; then
8517 # The compiler can only warn and ignore the option if not recognized
8518 # So say no if there are warnings other than the usual output.
8519 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8520 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8521 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8522 lt_cv_prog_compiler_rtti_exceptions
=yes
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8529 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8531 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8532 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8544 lt_prog_compiler_wl
=
8545 lt_prog_compiler_pic
=
8546 lt_prog_compiler_static
=
8549 if test "$GCC" = yes; then
8550 lt_prog_compiler_wl
='-Wl,'
8551 lt_prog_compiler_static
='-static'
8555 # All AIX code is PIC.
8556 if test "$host_cpu" = ia64
; then
8557 # AIX 5 now supports IA64 processor
8558 lt_prog_compiler_static
='-Bstatic'
8565 # see comment about AmigaOS4 .so support
8566 lt_prog_compiler_pic
='-fPIC'
8569 # FIXME: we need at least 68020 code to build shared libraries, but
8570 # adding the `-m68020' flag to GCC prevents building anything better,
8572 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8577 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8578 # PIC is the default for these OSes.
8581 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8582 # This hack is so that the source file can tell whether it is being
8583 # built for inclusion in a dll (and should export symbols for example).
8584 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8585 # (--disable-auto-import) libraries
8586 lt_prog_compiler_pic
='-DDLL_EXPORT'
8589 darwin
* | rhapsody
*)
8590 # PIC is the default on this platform
8591 # Common symbols not allowed in MH_DYLIB files
8592 lt_prog_compiler_pic
='-fno-common'
8596 # PIC is the default for Haiku.
8597 # The "-static" flag exists, but is broken.
8598 lt_prog_compiler_static
=
8602 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8603 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8604 # sets the default TLS model and affects inlining.
8610 lt_prog_compiler_pic
='-fPIC'
8616 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8617 # Instead, we relocate shared libraries at runtime.
8621 # Just because we use GCC doesn't mean we suddenly get shared libraries
8622 # on systems that don't support them.
8623 lt_prog_compiler_can_build_shared
=no
8628 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 lt_prog_compiler_pic
='-fPIC -shared'
8634 if test -d /usr
/nec
; then
8635 lt_prog_compiler_pic
=-Kconform_pic
8640 lt_prog_compiler_pic
='-fPIC'
8644 case $cc_basename in
8645 nvcc
*) # Cuda Compiler Driver 2.2
8646 lt_prog_compiler_wl
='-Xlinker '
8647 if test -n "$lt_prog_compiler_pic"; then
8648 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8653 # PORTME Check for flag to pass linker flags through the system compiler.
8656 lt_prog_compiler_wl
='-Wl,'
8657 if test "$host_cpu" = ia64
; then
8658 # AIX 5 now supports IA64 processor
8659 lt_prog_compiler_static
='-Bstatic'
8661 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8665 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8666 # This hack is so that the source file can tell whether it is being
8667 # built for inclusion in a dll (and should export symbols for example).
8668 lt_prog_compiler_pic
='-DDLL_EXPORT'
8671 hpux9
* | hpux10
* | hpux11
*)
8672 lt_prog_compiler_wl
='-Wl,'
8673 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8680 lt_prog_compiler_pic
='+Z'
8683 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8684 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8687 irix5
* | irix6
* | nonstopux
*)
8688 lt_prog_compiler_wl
='-Wl,'
8689 # PIC (with -KPIC) is the default.
8690 lt_prog_compiler_static
='-non_shared'
8693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8694 case $cc_basename in
8695 # old Intel for x86_64 which still supported -KPIC.
8697 lt_prog_compiler_wl
='-Wl,'
8698 lt_prog_compiler_pic
='-KPIC'
8699 lt_prog_compiler_static
='-static'
8701 # icc used to be incompatible with GCC.
8702 # ICC 10 doesn't accept -KPIC any more.
8704 lt_prog_compiler_wl
='-Wl,'
8705 lt_prog_compiler_pic
='-fPIC'
8706 lt_prog_compiler_static
='-static'
8708 # Lahey Fortran 8.1.
8710 lt_prog_compiler_wl
='-Wl,'
8711 lt_prog_compiler_pic
='--shared'
8712 lt_prog_compiler_static
='--static'
8715 # NAG Fortran compiler
8716 lt_prog_compiler_wl
='-Wl,-Wl,,'
8717 lt_prog_compiler_pic
='-PIC'
8718 lt_prog_compiler_static
='-Bstatic'
8720 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8721 # Portland Group compilers (*not* the Pentium gcc compiler,
8722 # which looks to be a dead project)
8723 lt_prog_compiler_wl
='-Wl,'
8724 lt_prog_compiler_pic
='-fpic'
8725 lt_prog_compiler_static
='-Bstatic'
8728 lt_prog_compiler_wl
='-Wl,'
8729 # All Alpha code is PIC.
8730 lt_prog_compiler_static
='-non_shared'
8732 xl
* | bgxl
* | bgf
* | mpixl
*)
8733 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8734 lt_prog_compiler_wl
='-Wl,'
8735 lt_prog_compiler_pic
='-qpic'
8736 lt_prog_compiler_static
='-qstaticlink'
8739 case `$CC -V 2>&1 | sed 5q` in
8740 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
8741 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8742 lt_prog_compiler_pic
='-KPIC'
8743 lt_prog_compiler_static
='-Bstatic'
8744 lt_prog_compiler_wl
=''
8746 *Sun\ F
* | *Sun
*Fortran
*)
8747 lt_prog_compiler_pic
='-KPIC'
8748 lt_prog_compiler_static
='-Bstatic'
8749 lt_prog_compiler_wl
='-Qoption ld '
8753 lt_prog_compiler_pic
='-KPIC'
8754 lt_prog_compiler_static
='-Bstatic'
8755 lt_prog_compiler_wl
='-Wl,'
8757 *Intel
*\
[CF
]*Compiler
*)
8758 lt_prog_compiler_wl
='-Wl,'
8759 lt_prog_compiler_pic
='-fPIC'
8760 lt_prog_compiler_static
='-static'
8763 lt_prog_compiler_wl
='-Wl,'
8764 lt_prog_compiler_pic
='-fpic'
8765 lt_prog_compiler_static
='-Bstatic'
8773 lt_prog_compiler_pic
='-KPIC'
8774 lt_prog_compiler_static
='-Bstatic'
8778 # QNX uses GNU C++, but need to define -shared option too, otherwise
8780 lt_prog_compiler_pic
='-fPIC -shared'
8783 osf3
* | osf4
* | osf5
*)
8784 lt_prog_compiler_wl
='-Wl,'
8785 # All OSF/1 code is PIC.
8786 lt_prog_compiler_static
='-non_shared'
8790 lt_prog_compiler_static
='-non_shared'
8794 lt_prog_compiler_pic
='-KPIC'
8795 lt_prog_compiler_static
='-Bstatic'
8796 case $cc_basename in
8797 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8798 lt_prog_compiler_wl
='-Qoption ld ';;
8800 lt_prog_compiler_wl
='-Wl,';;
8805 lt_prog_compiler_wl
='-Qoption ld '
8806 lt_prog_compiler_pic
='-PIC'
8807 lt_prog_compiler_static
='-Bstatic'
8810 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8811 lt_prog_compiler_wl
='-Wl,'
8812 lt_prog_compiler_pic
='-KPIC'
8813 lt_prog_compiler_static
='-Bstatic'
8817 if test -d /usr
/nec
;then
8818 lt_prog_compiler_pic
='-Kconform_pic'
8819 lt_prog_compiler_static
='-Bstatic'
8823 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8824 lt_prog_compiler_wl
='-Wl,'
8825 lt_prog_compiler_pic
='-KPIC'
8826 lt_prog_compiler_static
='-Bstatic'
8830 lt_prog_compiler_wl
='-Wl,'
8831 lt_prog_compiler_can_build_shared
=no
8835 lt_prog_compiler_pic
='-pic'
8836 lt_prog_compiler_static
='-Bstatic'
8840 lt_prog_compiler_can_build_shared
=no
8846 # For platforms which do not support PIC, -DPIC is meaningless:
8848 lt_prog_compiler_pic
=
8851 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8857 if ${lt_cv_prog_compiler_pic+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8860 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8863 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8864 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8867 # Check to make sure the PIC flag actually works.
8869 if test -n "$lt_prog_compiler_pic"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8871 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8872 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8873 $as_echo_n "(cached) " >&6
8875 lt_cv_prog_compiler_pic_works
=no
8876 ac_outfile
=conftest.
$ac_objext
8877 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8878 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8879 # Insert the option either (1) after the last *FLAGS variable, or
8880 # (2) before a word containing "conftest.", or (3) at the end.
8881 # Note that $ac_compile itself does not contain backslashes and begins
8882 # with a dollar sign (not a hyphen), so the echo should work correctly.
8883 # The option is referenced via a variable to avoid confusing sed.
8884 lt_compile
=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>conftest.err
)
8891 cat conftest.err
>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 if (exit $ac_status) && test -s "$ac_outfile"; then
8894 # The compiler can only warn and ignore the option if not recognized
8895 # So say no if there are warnings other than the usual output.
8896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8897 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8898 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8899 lt_cv_prog_compiler_pic_works
=yes
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8906 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8908 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8909 case $lt_prog_compiler_pic in
8911 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8914 lt_prog_compiler_pic
=
8915 lt_prog_compiler_can_build_shared
=no
8931 # Check to make sure the static flag actually works.
8933 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8935 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8936 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 lt_cv_prog_compiler_static_works
=no
8940 save_LDFLAGS
="$LDFLAGS"
8941 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8942 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8943 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8944 # The linker can only warn and ignore the option if not recognized
8945 # So say no if there are warnings
8946 if test -s conftest.err
; then
8947 # Append any errors to the config.log.
8948 cat conftest.err
1>&5
8949 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8950 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8951 if diff conftest.exp conftest.er2
>/dev
/null
; then
8952 lt_cv_prog_compiler_static_works
=yes
8955 lt_cv_prog_compiler_static_works
=yes
8959 LDFLAGS
="$save_LDFLAGS"
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8963 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8965 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8968 lt_prog_compiler_static
=
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8979 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8980 $as_echo_n "(cached) " >&6
8982 lt_cv_prog_compiler_c_o
=no
8983 $RM -r conftest
2>/dev
/null
8987 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8989 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8990 # Insert the option either (1) after the last *FLAGS variable, or
8991 # (2) before a word containing "conftest.", or (3) at the end.
8992 # Note that $ac_compile itself does not contain backslashes and begins
8993 # with a dollar sign (not a hyphen), so the echo should work correctly.
8994 lt_compile
=`echo "$ac_compile" | $SED \
8995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8997 -e 's:$: $lt_compiler_flag:'`
8998 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8999 (eval "$lt_compile" 2>out
/conftest.err
)
9001 cat out
/conftest.err
>&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9005 # The compiler can only warn and ignore the option if not recognized
9006 # So say no if there are warnings
9007 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9008 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9009 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9010 lt_cv_prog_compiler_c_o
=yes
9015 # SGI C++ compiler will create directory out/ii_files/ for
9016 # template instantiation
9017 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9018 $RM out
/* && rmdir out
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9034 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9035 $as_echo_n "(cached) " >&6
9037 lt_cv_prog_compiler_c_o
=no
9038 $RM -r conftest
2>/dev
/null
9042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9044 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9045 # Insert the option either (1) after the last *FLAGS variable, or
9046 # (2) before a word containing "conftest.", or (3) at the end.
9047 # Note that $ac_compile itself does not contain backslashes and begins
9048 # with a dollar sign (not a hyphen), so the echo should work correctly.
9049 lt_compile
=`echo "$ac_compile" | $SED \
9050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9052 -e 's:$: $lt_compiler_flag:'`
9053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9054 (eval "$lt_compile" 2>out
/conftest.err
)
9056 cat out
/conftest.err
>&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9060 # The compiler can only warn and ignore the option if not recognized
9061 # So say no if there are warnings
9062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9063 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9064 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9065 lt_cv_prog_compiler_c_o
=yes
9070 # SGI C++ compiler will create directory out/ii_files/ for
9071 # template instantiation
9072 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9073 $RM out
/* && rmdir out
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9080 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9085 hard_links
="nottested"
9086 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9087 # do not overwrite the value of need_locks provided by the user
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9089 $as_echo_n "checking if we can lock with hard links... " >&6; }
9092 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9094 ln conftest.a conftest.b
2>&5 || hard_links
=no
9095 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9097 $as_echo "$hard_links" >&6; }
9098 if test "$hard_links" = no
; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9100 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9113 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9116 allow_undefined_flag
=
9117 always_export_symbols
=no
9119 archive_expsym_cmds
=
9120 compiler_needs_object
=no
9121 enable_shared_with_static_runtimes
=no
9122 export_dynamic_flag_spec
=
9123 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9124 hardcode_automatic
=no
9126 hardcode_direct_absolute
=no
9127 hardcode_libdir_flag_spec
=
9128 hardcode_libdir_separator
=
9130 hardcode_shlibpath_var
=unsupported
9132 link_all_deplibs
=unknown
9135 old_archive_from_new_cmds
=
9136 old_archive_from_expsyms_cmds
=
9137 thread_safe_flag_spec
=
9138 whole_archive_flag_spec
=
9139 # include_expsyms should be a list of space-separated symbols to be *always*
9140 # included in the symbol list
9142 # exclude_expsyms can be an extended regexp of symbols to exclude
9143 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9144 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9145 # as well as any symbol that contains `d'.
9146 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9147 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9148 # platforms (ab)use it in PIC code, but their linkers get confused if
9149 # the symbol is explicitly referenced. Since portable code cannot
9150 # rely on this symbol name, it's probably fine to never include it in
9151 # preloaded symbol tables.
9152 # Exclude shared library initialization/finalization symbols.
9153 extract_expsyms_cmds
=
9156 cygwin
* | mingw
* | pw32
* | cegcc
*)
9157 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9158 # When not using gcc, we currently assume that we are using
9159 # Microsoft Visual C++.
9160 if test "$GCC" != yes; then
9165 # we just hope/assume this is gcc and not c89 (= MSVC++)
9175 # On some targets, GNU ld is compatible enough with the native linker
9176 # that we're better off using the native interface for both.
9177 lt_use_gnu_ld_interface
=no
9178 if test "$with_gnu_ld" = yes; then
9181 # The AIX port of GNU ld has always aspired to compatibility
9182 # with the native linker. However, as the warning in the GNU ld
9183 # block says, versions before 2.19.5* couldn't really create working
9184 # shared libraries, regardless of the interface used.
9185 case `$LD -v 2>&1` in
9186 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9187 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9188 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9190 lt_use_gnu_ld_interface
=yes
9195 lt_use_gnu_ld_interface
=yes
9200 if test "$lt_use_gnu_ld_interface" = yes; then
9201 # If archive_cmds runs LD, not CC, wlarc should be empty
9204 # Set some defaults for GNU ld with shared library support. These
9205 # are reset later if shared libraries are not supported. Putting them
9206 # here allows them to be overridden if necessary.
9207 runpath_var
=LD_RUN_PATH
9208 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9209 export_dynamic_flag_spec
='${wl}--export-dynamic'
9210 # ancient GNU ld didn't support --whole-archive et. al.
9211 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9212 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9214 whole_archive_flag_spec
=
9216 supports_anon_versioning
=no
9217 case `$LD -v 2>&1` in
9218 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9219 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9220 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9221 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9222 *\
2.11.
*) ;; # other 2.11 versions
9223 *) supports_anon_versioning
=yes ;;
9226 # See if GNU ld supports shared libraries.
9229 # On AIX/PPC, the GNU linker is very broken
9230 if test "$host_cpu" != ia64
; then
9234 *** Warning: the GNU linker, at least up to release 2.19, is reported
9235 *** to be unable to reliably create shared libraries on AIX.
9236 *** Therefore, libtool is disabling shared libraries support. If you
9237 *** really care for shared libraries, you may want to install binutils
9238 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9239 *** You will then need to restart the configuration process.
9248 # see comment about AmigaOS4 .so support
9249 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 archive_expsym_cmds
=''
9253 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)'
9254 hardcode_libdir_flag_spec
='-L$libdir'
9255 hardcode_minus_L
=yes
9261 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9262 allow_undefined_flag
=unsupported
9263 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9264 # support --undefined. This deserves some investigation. FIXME
9265 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 cygwin
* | mingw
* | pw32
* | cegcc
*)
9272 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9273 # as there is no search path for DLLs.
9274 hardcode_libdir_flag_spec
='-L$libdir'
9275 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9276 allow_undefined_flag
=unsupported
9277 always_export_symbols
=no
9278 enable_shared_with_static_runtimes
=yes
9279 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'
9280 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9282 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9283 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9284 # If the export-symbols file already is a .def file (1st line
9285 # is EXPORTS), use it as is; otherwise, prepend...
9286 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9287 cp $export_symbols $output_objdir/$soname.def;
9289 echo EXPORTS > $output_objdir/$soname.def;
9290 cat $export_symbols >> $output_objdir/$soname.def;
9292 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300 link_all_deplibs
=yes
9305 hardcode_shlibpath_var
=no
9306 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9307 export_dynamic_flag_spec
='${wl}-E'
9308 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9309 # Instead, shared libraries are loaded at an image base (0x10000000 by
9310 # default) and relocated if they conflict, which is a slow very memory
9311 # consuming and fragmenting process. To avoid this, we pick a random,
9312 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9313 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9314 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9315 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'
9318 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9320 if test "$host_os" = linux
-dietlibc; then
9321 case $cc_basename in
9322 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9325 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9326 && test "$tmp_diet" = no
9328 tmp_addflag
=' $pic_flag'
9329 tmp_sharedflag
='-shared'
9330 case $cc_basename,$host_cpu in
9331 pgcc
*) # Portland Group C compiler
9332 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'
9333 tmp_addflag
=' $pic_flag'
9335 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9336 # Portland Group f77 and f90 compilers
9337 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'
9338 tmp_addflag
=' $pic_flag -Mnomain' ;;
9339 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9340 tmp_addflag
=' -i_dynamic' ;;
9341 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9342 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9343 ifc
* | ifort
*) # Intel Fortran compiler
9344 tmp_addflag
=' -nofor_main' ;;
9345 lf95
*) # Lahey Fortran 8.1
9346 whole_archive_flag_spec
=
9347 tmp_sharedflag
='--shared' ;;
9348 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9349 tmp_sharedflag
='-qmkshrobj'
9351 nvcc
*) # Cuda Compiler Driver 2.2
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 compiler_needs_object
=yes
9356 case `$CC -V 2>&1 | sed 5q` in
9357 *Sun\ C
*) # Sun C 5.9
9358 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'
9359 compiler_needs_object
=yes
9360 tmp_sharedflag
='-G' ;;
9361 *Sun\ F
*) # Sun Fortran 8.3
9362 tmp_sharedflag
='-G' ;;
9364 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9366 if test "x$supports_anon_versioning" = xyes
; then
9367 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9368 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9369 echo "local: *; };" >> $output_objdir/$libname.ver~
9370 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9373 case $cc_basename in
9374 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9375 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9376 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9377 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9378 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9379 if test "x$supports_anon_versioning" = xyes
; then
9380 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9381 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9382 echo "local: *; };" >> $output_objdir/$libname.ver~
9383 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9393 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9394 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9397 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9403 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9407 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9408 *** create shared libraries on Solaris systems. Therefore, libtool
9409 *** is disabling shared libraries support. We urge you to upgrade GNU
9410 *** binutils to release 2.9.1 or newer. Another option is to modify
9411 *** your PATH or compiler configuration so that the native linker is
9412 *** used, and then restart.
9415 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9416 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 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 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9424 case `$LD -v 2>&1` in
9425 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9429 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9430 *** reliably create shared libraries on SCO systems. Therefore, libtool
9431 *** is disabling shared libraries support. We urge you to upgrade GNU
9432 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9433 *** your PATH or compiler configuration so that the native linker is
9434 *** used, and then restart.
9439 # For security reasons, it is highly recommended that you always
9440 # use absolute paths for naming shared libraries, and exclude the
9441 # DT_RUNPATH tag from executables and libraries. But doing so
9442 # requires that you compile everything twice, which is a pain.
9443 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9455 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_shlibpath_var
=no
9462 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9463 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9471 if test "$ld_shlibs" = no
; then
9473 hardcode_libdir_flag_spec
=
9474 export_dynamic_flag_spec
=
9475 whole_archive_flag_spec
=
9478 # PORTME fill in a description of your system's linker (not GNU ld)
9481 allow_undefined_flag
=unsupported
9482 always_export_symbols
=yes
9483 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'
9484 # Note: this linker hardcodes the directories in LIBPATH if there
9485 # are no directories specified by -L.
9486 hardcode_minus_L
=yes
9487 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9488 # Neither direct hardcoding nor static linking is supported with a
9490 hardcode_direct
=unsupported
9495 if test "$host_cpu" = ia64
; then
9496 # On IA64, the linker does run time linking by default, so we don't
9497 # have to do anything special.
9498 aix_use_runtimelinking
=no
9499 exp_sym_flag
='-Bexport'
9502 # If we're using GNU nm, then we don't want the "-C" option.
9503 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9504 # Also, AIX nm treats weak defined symbols like other global
9505 # defined symbols, whereas GNU nm marks them as "W".
9506 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9507 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'
9509 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'
9511 aix_use_runtimelinking
=no
9513 # Test if we are trying to use run time linking or normal
9514 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9515 # need to do runtime linking.
9516 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9517 for ld_flag
in $LDFLAGS; do
9518 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9519 aix_use_runtimelinking
=yes
9526 exp_sym_flag
='-bexport'
9527 no_entry_flag
='-bnoentry'
9530 # When large executables or shared objects are built, AIX ld can
9531 # have problems creating the table of contents. If linking a library
9532 # or program results in "error TOC overflow" add -mminimal-toc to
9533 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9534 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9538 hardcode_direct_absolute
=yes
9539 hardcode_libdir_separator
=':'
9540 link_all_deplibs
=yes
9541 file_list_spec
='${wl}-f,'
9543 if test "$GCC" = yes; then
9544 case $host_os in aix4.
[012]|aix4.
[012].
*)
9545 # We only want to do this on AIX 4.2 and lower, the check
9546 # below for broken collect2 doesn't work under 4.3+
9547 collect2name
=`${CC} -print-prog-name=collect2`
9548 if test -f "$collect2name" &&
9549 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9551 # We have reworked collect2
9554 # We have old collect2
9555 hardcode_direct
=unsupported
9556 # It fails to find uninstalled libraries when the uninstalled
9557 # path is not listed in the libpath. Setting hardcode_minus_L
9558 # to unsupported forces relinking
9559 hardcode_minus_L
=yes
9560 hardcode_libdir_flag_spec
='-L$libdir'
9561 hardcode_libdir_separator
=
9565 shared_flag
='-shared'
9566 if test "$aix_use_runtimelinking" = yes; then
9567 shared_flag
="$shared_flag "'${wl}-G'
9571 if test "$host_cpu" = ia64
; then
9572 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9573 # chokes on -Wl,-G. The following line is correct:
9576 if test "$aix_use_runtimelinking" = yes; then
9577 shared_flag
='${wl}-G'
9579 shared_flag
='${wl}-bM:SRE'
9584 export_dynamic_flag_spec
='${wl}-bexpall'
9585 # It seems that -bexpall does not export symbols beginning with
9586 # underscore (_), so it is better to generate a list of symbols to export.
9587 always_export_symbols
=yes
9588 if test "$aix_use_runtimelinking" = yes; then
9589 # Warning - without using the other runtime loading flags (-brtl),
9590 # -berok will link without error, but may produce a broken library.
9591 allow_undefined_flag
='-berok'
9592 # Determine the default libpath from the value encoded in an
9594 if test "${lt_cv_aix_libpath+set}" = set; then
9595 aix_libpath
=$lt_cv_aix_libpath
9597 if ${lt_cv_aix_libpath_+:} false
; then :
9598 $as_echo_n "(cached) " >&6
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9611 if ac_fn_c_try_link
"$LINENO"; then :
9613 lt_aix_libpath_sed
='
9614 /Import File Strings/,/^$/ {
9616 s/^0 *\([^ ]*\) *$/\1/
9620 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9621 # Check for a 64-bit object if we didn't find anything.
9622 if test -z "$lt_cv_aix_libpath_"; then
9623 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 if test -z "$lt_cv_aix_libpath_"; then
9629 lt_cv_aix_libpath_
="/usr/lib:/lib"
9634 aix_libpath
=$lt_cv_aix_libpath_
9637 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9638 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"
9640 if test "$host_cpu" = ia64
; then
9641 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9642 allow_undefined_flag
="-z nodefs"
9643 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"
9645 # Determine the default libpath from the value encoded in an
9647 if test "${lt_cv_aix_libpath+set}" = set; then
9648 aix_libpath
=$lt_cv_aix_libpath
9650 if ${lt_cv_aix_libpath_+:} false
; then :
9651 $as_echo_n "(cached) " >&6
9653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9664 if ac_fn_c_try_link
"$LINENO"; then :
9666 lt_aix_libpath_sed
='
9667 /Import File Strings/,/^$/ {
9669 s/^0 *\([^ ]*\) *$/\1/
9673 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9674 # Check for a 64-bit object if we didn't find anything.
9675 if test -z "$lt_cv_aix_libpath_"; then
9676 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9679 rm -f core conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9681 if test -z "$lt_cv_aix_libpath_"; then
9682 lt_cv_aix_libpath_
="/usr/lib:/lib"
9687 aix_libpath
=$lt_cv_aix_libpath_
9690 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9691 # Warning - without using the other run time loading flags,
9692 # -berok will link without error, but may produce a broken library.
9693 no_undefined_flag
=' ${wl}-bernotok'
9694 allow_undefined_flag
=' ${wl}-berok'
9695 if test "$with_gnu_ld" = yes; then
9696 # We only use this code for GNU lds that support --whole-archive.
9697 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9699 # Exported symbols can be pulled into shared objects from archives
9700 whole_archive_flag_spec
='$convenience'
9702 archive_cmds_need_lc
=yes
9703 # This is similar to how AIX traditionally builds its shared libraries.
9704 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'
9712 # see comment about AmigaOS4 .so support
9713 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9714 archive_expsym_cmds
=''
9717 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)'
9718 hardcode_libdir_flag_spec
='-L$libdir'
9719 hardcode_minus_L
=yes
9725 export_dynamic_flag_spec
=-rdynamic
9728 cygwin
* | mingw
* | pw32
* | cegcc
*)
9729 # When not using gcc, we currently assume that we are using
9730 # Microsoft Visual C++.
9731 # hardcode_libdir_flag_spec is actually meaningless, as there is
9732 # no search path for DLLs.
9733 case $cc_basename in
9736 hardcode_libdir_flag_spec
=' '
9737 allow_undefined_flag
=unsupported
9738 always_export_symbols
=yes
9740 # Tell ltmain to make .lib files, not .a files.
9742 # Tell ltmain to make .dll files, not .so files.
9744 # FIXME: Setting linknames here is a bad hack.
9745 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9746 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9747 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9749 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9751 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9753 # The linker will not automatically build a static lib if we build a DLL.
9754 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9755 enable_shared_with_static_runtimes
=yes
9756 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9757 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9759 old_postinstall_cmds
='chmod 644 $oldlib'
9760 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9761 lt_tool_outputfile="@TOOL_OUTPUT@"~
9762 case $lt_outputfile in
9765 lt_outputfile="$lt_outputfile.exe"
9766 lt_tool_outputfile="$lt_tool_outputfile.exe"
9769 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9770 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9771 $RM "$lt_outputfile.manifest";
9775 # Assume MSVC wrapper
9776 hardcode_libdir_flag_spec
=' '
9777 allow_undefined_flag
=unsupported
9778 # Tell ltmain to make .lib files, not .a files.
9780 # Tell ltmain to make .dll files, not .so files.
9782 # FIXME: Setting linknames here is a bad hack.
9783 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9784 # The linker will automatically build a .lib file if we build a DLL.
9785 old_archive_from_new_cmds
='true'
9786 # FIXME: Should let the user specify the lib program.
9787 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9788 enable_shared_with_static_runtimes
=yes
9793 darwin
* | rhapsody
*)
9796 archive_cmds_need_lc
=no
9798 hardcode_automatic
=yes
9799 hardcode_shlibpath_var
=unsupported
9800 if test "$lt_cv_ld_force_load" = "yes"; then
9801 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\"`'
9804 whole_archive_flag_spec
=''
9806 link_all_deplibs
=yes
9807 allow_undefined_flag
="$_lt_dar_allow_undefined"
9808 case $cc_basename in
9809 ifort
*) _lt_dar_can_shared
=yes ;;
9810 *) _lt_dar_can_shared
=$GCC ;;
9812 if test "$_lt_dar_can_shared" = "yes"; then
9813 output_verbose_link_cmd
=func_echo_all
9814 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9815 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9816 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}"
9817 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}"
9826 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_libdir_flag_spec
='-L$libdir'
9828 hardcode_shlibpath_var
=no
9831 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9832 # support. Future versions do this automatically, but an explicit c++rt0.o
9833 # does not break anything, and helps significantly (at the cost of a little
9836 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9837 hardcode_libdir_flag_spec
='-R$libdir'
9839 hardcode_shlibpath_var
=no
9842 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9844 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9846 hardcode_minus_L
=yes
9847 hardcode_shlibpath_var
=no
9850 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9851 freebsd
* | dragonfly
*)
9852 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9853 hardcode_libdir_flag_spec
='-R$libdir'
9855 hardcode_shlibpath_var
=no
9859 if test "$GCC" = yes; then
9860 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'
9862 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'
9864 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator
=:
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L
=yes
9871 export_dynamic_flag_spec
='${wl}-E'
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9876 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9880 if test "$with_gnu_ld" = no
; then
9881 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9882 hardcode_libdir_separator
=:
9884 hardcode_direct_absolute
=yes
9885 export_dynamic_flag_spec
='${wl}-E'
9886 # hardcode_minus_L: Not really in the search PATH,
9887 # but as the default location of the library.
9888 hardcode_minus_L
=yes
9893 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9896 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9911 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9915 # Older versions of the 11.00 compiler do not understand -b yet
9916 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9918 $as_echo_n "checking if $CC understands -b... " >&6; }
9919 if ${lt_cv_prog_compiler__b+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 lt_cv_prog_compiler__b
=no
9923 save_LDFLAGS
="$LDFLAGS"
9924 LDFLAGS
="$LDFLAGS -b"
9925 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9926 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9927 # The linker can only warn and ignore the option if not recognized
9928 # So say no if there are warnings
9929 if test -s conftest.err
; then
9930 # Append any errors to the config.log.
9931 cat conftest.err
1>&5
9932 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9933 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9934 if diff conftest.exp conftest.er2
>/dev
/null
; then
9935 lt_cv_prog_compiler__b
=yes
9938 lt_cv_prog_compiler__b
=yes
9942 LDFLAGS
="$save_LDFLAGS"
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9946 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9948 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9949 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9957 if test "$with_gnu_ld" = no
; then
9958 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9959 hardcode_libdir_separator
=:
9964 hardcode_shlibpath_var
=no
9968 hardcode_direct_absolute
=yes
9969 export_dynamic_flag_spec
='${wl}-E'
9971 # hardcode_minus_L: Not really in the search PATH,
9972 # but as the default location of the library.
9973 hardcode_minus_L
=yes
9979 irix5
* | irix6
* | nonstopux
*)
9980 if test "$GCC" = yes; then
9981 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'
9982 # Try to use the -exported_symbol ld option, if it does not
9983 # work, assume that -exports_file does not work either and
9984 # implicitly export all symbols.
9985 # This should be the same for all languages, so no per-tag cache variable.
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9987 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9988 if ${lt_cv_irix_exported_symbol+:} false
; then :
9989 $as_echo_n "(cached) " >&6
9991 save_LDFLAGS
="$LDFLAGS"
9992 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 int foo (void) { return 0; }
9997 if ac_fn_c_try_link
"$LINENO"; then :
9998 lt_cv_irix_exported_symbol
=yes
10000 lt_cv_irix_exported_symbol
=no
10002 rm -f core conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10004 LDFLAGS
="$save_LDFLAGS"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10007 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10008 if test "$lt_cv_irix_exported_symbol" = yes; then
10009 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'
10012 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'
10013 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'
10015 archive_cmds_need_lc
='no'
10016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10017 hardcode_libdir_separator
=:
10019 link_all_deplibs
=yes
10023 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10024 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10026 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10028 hardcode_libdir_flag_spec
='-R$libdir'
10029 hardcode_direct
=yes
10030 hardcode_shlibpath_var
=no
10034 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_direct
=yes
10036 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10037 hardcode_libdir_separator
=:
10038 hardcode_shlibpath_var
=no
10045 if test -f /usr
/libexec
/ld.so
; then
10046 hardcode_direct
=yes
10047 hardcode_shlibpath_var
=no
10048 hardcode_direct_absolute
=yes
10049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10050 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10051 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10052 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10053 export_dynamic_flag_spec
='${wl}-E'
10056 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10057 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_libdir_flag_spec
='-R$libdir'
10061 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10072 hardcode_libdir_flag_spec
='-L$libdir'
10073 hardcode_minus_L
=yes
10074 allow_undefined_flag
=unsupported
10075 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'
10076 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10080 if test "$GCC" = yes; then
10081 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10082 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'
10084 allow_undefined_flag
=' -expect_unresolved \*'
10085 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'
10087 archive_cmds_need_lc
='no'
10088 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10089 hardcode_libdir_separator
=:
10092 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10093 if test "$GCC" = yes; then
10094 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10095 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'
10096 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10098 allow_undefined_flag
=' -expect_unresolved \*'
10099 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'
10100 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~
10101 $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'
10103 # Both c and cxx compiler support -rpath directly
10104 hardcode_libdir_flag_spec
='-rpath $libdir'
10106 archive_cmds_need_lc
='no'
10107 hardcode_libdir_separator
=:
10111 no_undefined_flag
=' -z defs'
10112 if test "$GCC" = yes; then
10114 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116 $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'
10118 case `$CC -V 2>&1` in
10121 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10122 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10123 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10127 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10129 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10133 hardcode_libdir_flag_spec
='-R$libdir'
10134 hardcode_shlibpath_var
=no
10136 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10138 # The compiler driver will combine and reorder linker options,
10139 # but understands `-z linker_flag'. GCC discards it without `$wl',
10140 # but is careful enough not to reorder.
10141 # Supported since Solaris 2.6 (maybe 2.5.1?)
10142 if test "$GCC" = yes; then
10143 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10145 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10149 link_all_deplibs
=yes
10153 if test "x$host_vendor" = xsequent
; then
10154 # Use $CC to link under sequent, because it throws in some extra .o
10155 # files that make .init and .fini sections work.
10156 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10158 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_libdir_flag_spec
='-L$libdir'
10161 hardcode_direct
=yes
10162 hardcode_minus_L
=yes
10163 hardcode_shlibpath_var
=no
10167 case $host_vendor in
10169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170 hardcode_direct
=yes # is this really true???
10173 ## LD is ld it makes a PLAMLIB
10174 ## CC just makes a GrossModule.
10175 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10176 reload_cmds
='$CC -r -o $output$reload_objs'
10180 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10184 runpath_var
='LD_RUN_PATH'
10185 hardcode_shlibpath_var
=no
10189 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_shlibpath_var
=no
10191 export_dynamic_flag_spec
='-Bexport'
10195 if test -d /usr
/nec
; then
10196 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197 hardcode_shlibpath_var
=no
10198 runpath_var
=LD_RUN_PATH
10199 hardcode_runpath_var
=yes
10204 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10205 no_undefined_flag
='${wl}-z,text'
10206 archive_cmds_need_lc
=no
10207 hardcode_shlibpath_var
=no
10208 runpath_var
='LD_RUN_PATH'
10210 if test "$GCC" = yes; then
10211 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 sysv5
* | sco3.2v5
* | sco5v6
*)
10220 # Note: We can NOT use -z defs as we might desire, because we do not
10221 # link with -lc, and that would cause any symbols used from libc to
10222 # always be unresolved, which means just about no library would
10223 # ever link correctly. If we're not using GNU ld we use -z text
10224 # though, which does catch some bad symbols but isn't as heavy-handed
10226 no_undefined_flag
='${wl}-z,text'
10227 allow_undefined_flag
='${wl}-z,nodefs'
10228 archive_cmds_need_lc
=no
10229 hardcode_shlibpath_var
=no
10230 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10231 hardcode_libdir_separator
=':'
10232 link_all_deplibs
=yes
10233 export_dynamic_flag_spec
='${wl}-Bexport'
10234 runpath_var
='LD_RUN_PATH'
10236 if test "$GCC" = yes; then
10237 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10240 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10247 hardcode_libdir_flag_spec
='-L$libdir'
10248 hardcode_shlibpath_var
=no
10256 if test x
$host_vendor = xsni
; then
10258 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10259 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10266 $as_echo "$ld_shlibs" >&6; }
10267 test "$ld_shlibs" = no
&& can_build_shared
=no
10269 with_gnu_ld
=$with_gnu_ld
10286 # Do we need to explicitly link libc?
10288 case "x$archive_cmds_need_lc" in
10290 # Assume -lc should be added
10291 archive_cmds_need_lc
=yes
10293 if test "$enable_shared" = yes && test "$GCC" = yes; then
10294 case $archive_cmds in
10296 # FIXME: we may have to deal with multi-command sequences.
10299 # Test whether the compiler implicitly links with -lc since on some
10300 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10301 # to ld, don't add -lc before -lgcc.
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10303 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10304 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10305 $as_echo_n "(cached) " >&6
10308 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10311 (eval $ac_compile) 2>&5
10313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10314 test $ac_status = 0; } 2>conftest.err
; then
10317 libobjs
=conftest.
$ac_objext
10319 wl
=$lt_prog_compiler_wl
10320 pic_flag
=$lt_prog_compiler_pic
10326 lt_save_allow_undefined_flag
=$allow_undefined_flag
10327 allow_undefined_flag
=
10328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10329 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332 test $ac_status = 0; }
10334 lt_cv_archive_cmds_need_lc
=no
10336 lt_cv_archive_cmds_need_lc
=yes
10338 allow_undefined_flag
=$lt_save_allow_undefined_flag
10340 cat conftest.err
1>&5
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10346 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10347 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10506 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10508 if test "$GCC" = yes; then
10510 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10511 *) lt_awk_arg
="/^libraries:/" ;;
10514 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10515 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10517 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10518 case $lt_search_path_spec in
10520 # if the path contains ";" then we assume it to be the separator
10521 # otherwise default to the standard path separator (i.e. ":") - it is
10522 # assumed that no part of a normal pathname contains ";" but that should
10523 # okay in the real world where ";" in dirpaths is itself problematic.
10524 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10527 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10530 # Ok, now we have the path, separated by spaces, we can step through it
10531 # and add multilib dir if necessary.
10532 lt_tmp_lt_search_path_spec
=
10533 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10534 for lt_sys_path
in $lt_search_path_spec; do
10535 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10536 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10538 test -d "$lt_sys_path" && \
10539 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10542 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10543 BEGIN {RS=" "; FS="/|\n";} {
10546 for (lt_i = NF; lt_i > 0; lt_i--) {
10547 if ($lt_i != "" && $lt_i != ".") {
10548 if ($lt_i == "..") {
10551 if (lt_count == 0) {
10552 lt_foo="/" $lt_i lt_foo;
10559 if (lt_foo != "") { lt_freq[lt_foo]++; }
10560 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10562 # AWK program above erroneously prepends '/' to C:/dos/paths
10565 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10566 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10568 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10570 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10572 library_names_spec
=
10573 libname_spec
='lib$name'
10577 postuninstall_cmds
=
10581 shlibpath_overrides_runpath
=unknown
10583 dynamic_linker
="$host_os ld.so"
10584 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10585 need_lib_prefix
=unknown
10586 hardcode_into_libs
=no
10588 # when you set need_version to no, make sure it does not cause -set_version
10589 # flags to be left without arguments
10590 need_version
=unknown
10594 version_type
=linux
# correct to gnu/linux during the next big refactor
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10596 shlibpath_var
=LIBPATH
10598 # AIX 3 has no versioning support, so we append a major version to the name.
10599 soname_spec
='${libname}${release}${shared_ext}$major'
10603 version_type
=linux
# correct to gnu/linux during the next big refactor
10606 hardcode_into_libs
=yes
10607 if test "$host_cpu" = ia64
; then
10608 # AIX 5 supports IA64
10609 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10610 shlibpath_var
=LD_LIBRARY_PATH
10612 # With GCC up to 2.95.x, collect2 would create an import file
10613 # for dependence libraries. The import file would start with
10614 # the line `#! .'. This would cause the generated library to
10615 # depend on `.', always an invalid library. This was fixed in
10616 # development snapshots of GCC prior to 3.0.
10618 aix4
| aix4.
[01] | aix4.
[01].
*)
10619 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10621 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10624 can_build_shared
=no
10628 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10629 # soname into executable. Probably we can add versioning support to
10630 # collect2, so additional links can be useful in future.
10631 if test "$aix_use_runtimelinking" = yes; then
10632 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10633 # instead of lib<name>.a to let people know that these are not
10634 # typical AIX shared libraries.
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 # We preserve .a as extension for shared libraries through AIX4.2
10638 # and later when we are not doing run time linking.
10639 library_names_spec
='${libname}${release}.a $libname.a'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10642 shlibpath_var
=LIBPATH
10649 # Since July 2007 AmigaOS4 officially supports .so libraries.
10650 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 library_names_spec
='$libname.ixlibrary $libname.a'
10655 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10656 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'
10662 library_names_spec
='${libname}${shared_ext}'
10663 dynamic_linker
="$host_os ld.so"
10664 shlibpath_var
=LIBRARY_PATH
10668 version_type
=linux
# correct to gnu/linux during the next big refactor
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec
='${libname}${release}${shared_ext}$major'
10672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10676 # the default ld.so.conf also contains /usr/contrib/lib and
10677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10678 # libtool to hard-code these into programs
10681 cygwin
* | mingw
* | pw32
* | cegcc
*)
10682 version_type
=windows
10687 case $GCC,$cc_basename in
10690 library_names_spec
='$libname.dll.a'
10691 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10692 postinstall_cmds
='base_file=`basename \${file}`~
10693 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10694 dldir=$destdir/`dirname \$dlpath`~
10695 test -d \$dldir || mkdir -p \$dldir~
10696 $install_prog $dir/$dlname \$dldir/$dlname~
10697 chmod a+x \$dldir/$dlname~
10698 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10699 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10701 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10702 dlpath=$dir/\$dldll~
10704 shlibpath_overrides_runpath
=yes
10708 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10709 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10711 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10714 # MinGW DLLs use traditional 'lib' prefix
10715 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10718 # pw32 DLLs use 'pw' prefix rather than 'lib'
10719 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10722 dynamic_linker
='Win32 ld.exe'
10727 libname_spec
='$name'
10728 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10729 library_names_spec
='${libname}.dll.lib'
10733 sys_lib_search_path_spec
=
10736 for lt_path
in $LIB
10739 # Let DOS variable expansion print the short 8.3 style file name.
10740 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10741 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10744 # Convert to MSYS style.
10745 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10748 # Convert to unix form, then to dos form, then back to unix form
10749 # but this time dos style (no spaces!) so that the unix form looks
10750 # like /cygdrive/c/PROGRA~1:/cygdr...
10751 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10752 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10753 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10756 sys_lib_search_path_spec
="$LIB"
10757 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10758 # It is most probably a Windows format PATH.
10759 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10761 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10763 # FIXME: find the short name or the path components, as spaces are
10764 # common. (e.g. "Program Files" -> "PROGRA~1")
10768 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10769 postinstall_cmds
='base_file=`basename \${file}`~
10770 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10771 dldir=$destdir/`dirname \$dlpath`~
10772 test -d \$dldir || mkdir -p \$dldir~
10773 $install_prog $dir/$dlname \$dldir/$dlname'
10774 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10775 dlpath=$dir/\$dldll~
10777 shlibpath_overrides_runpath
=yes
10778 dynamic_linker
='Win32 link.exe'
10782 # Assume MSVC wrapper
10783 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10784 dynamic_linker
='Win32 ld.exe'
10787 # FIXME: first we should search . and the directory the executable is in
10791 darwin
* | rhapsody
*)
10792 dynamic_linker
="$host_os dyld"
10793 version_type
=darwin
10796 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10797 soname_spec
='${libname}${release}${major}$shared_ext'
10798 shlibpath_overrides_runpath
=yes
10799 shlibpath_var
=DYLD_LIBRARY_PATH
10800 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10802 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10803 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10807 version_type
=linux
# correct to gnu/linux during the next big refactor
10810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10811 soname_spec
='${libname}${release}${shared_ext}$major'
10812 shlibpath_var
=LD_LIBRARY_PATH
10815 freebsd
* | dragonfly
*)
10816 # DragonFly does not have aout. When/if they implement a new
10817 # versioning mechanism, adjust this.
10818 if test -x /usr
/bin
/objformat
; then
10819 objformat
=`/usr/bin/objformat`
10822 freebsd
[23].
*) objformat
=aout
;;
10823 *) objformat
=elf
;;
10826 version_type
=freebsd
-$objformat
10827 case $version_type in
10829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10834 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10838 shlibpath_var
=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath
=yes
10843 freebsd3.
[01]* | freebsdelf3.
[01]*)
10844 shlibpath_overrides_runpath
=yes
10845 hardcode_into_libs
=yes
10847 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10848 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10849 shlibpath_overrides_runpath
=no
10850 hardcode_into_libs
=yes
10852 *) # from 4.6 on, and DragonFly
10853 shlibpath_overrides_runpath
=yes
10854 hardcode_into_libs
=yes
10860 version_type
=linux
# correct to gnu/linux during the next big refactor
10863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10864 soname_spec
='${libname}${release}${shared_ext}$major'
10865 shlibpath_var
=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath
=no
10867 hardcode_into_libs
=yes
10871 version_type
=linux
# correct to gnu/linux during the next big refactor
10874 dynamic_linker
="$host_os runtime_loader"
10875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10876 soname_spec
='${libname}${release}${shared_ext}$major'
10877 shlibpath_var
=LIBRARY_PATH
10878 shlibpath_overrides_runpath
=yes
10879 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10880 hardcode_into_libs
=yes
10883 hpux9
* | hpux10
* | hpux11
*)
10884 # Give a soname corresponding to the major version so that dld.sl refuses to
10885 # link against other versions.
10892 hardcode_into_libs
=yes
10893 dynamic_linker
="$host_os dld.so"
10894 shlibpath_var
=LD_LIBRARY_PATH
10895 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
10899 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10901 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10903 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10907 hardcode_into_libs
=yes
10908 dynamic_linker
="$host_os dld.sl"
10909 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10910 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912 soname_spec
='${libname}${release}${shared_ext}$major'
10913 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10914 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10918 dynamic_linker
="$host_os dld.sl"
10919 shlibpath_var
=SHLIB_PATH
10920 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec
='${libname}${release}${shared_ext}$major'
10925 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10926 postinstall_cmds
='chmod 555 $lib'
10927 # or fails outright, so override atomically:
10928 install_override_mode
=555
10932 version_type
=linux
# correct to gnu/linux during the next big refactor
10935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10936 soname_spec
='${libname}${release}${shared_ext}$major'
10937 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10938 shlibpath_var
=LD_LIBRARY_PATH
10939 shlibpath_overrides_runpath
=no
10940 hardcode_into_libs
=yes
10943 irix5
* | irix6
* | nonstopux
*)
10945 nonstopux
*) version_type
=nonstopux
;;
10947 if test "$lt_cv_prog_gnu_ld" = yes; then
10948 version_type
=linux
# correct to gnu/linux during the next big refactor
10955 soname_spec
='${libname}${release}${shared_ext}$major'
10956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10958 irix5
* | nonstopux
*)
10959 libsuff
= shlibsuff
=
10962 case $LD in # libtool.m4 will add one of these switches to LD
10963 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10964 libsuff
= shlibsuff
= libmagic
=32-bit;;
10965 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10966 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10967 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10968 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10969 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10973 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10974 shlibpath_overrides_runpath
=no
10975 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10976 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10977 hardcode_into_libs
=yes
10980 # No shared lib support for Linux oldld, aout, or coff.
10981 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10985 # This must be glibc/ELF.
10986 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10987 version_type
=linux
# correct to gnu/linux during the next big refactor
10990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec
='${libname}${release}${shared_ext}$major'
10992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10993 shlibpath_var
=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath
=no
10996 # Some binutils ld are patched to set DT_RUNPATH
10997 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10998 $as_echo_n "(cached) " >&6
11000 lt_cv_shlibpath_overrides_runpath
=no
11001 save_LDFLAGS
=$LDFLAGS
11002 save_libdir
=$libdir
11003 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11004 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11016 if ac_fn_c_try_link
"$LINENO"; then :
11017 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11018 lt_cv_shlibpath_overrides_runpath
=yes
11021 rm -f core conftest.err conftest.
$ac_objext \
11022 conftest
$ac_exeext conftest.
$ac_ext
11023 LDFLAGS
=$save_LDFLAGS
11024 libdir
=$save_libdir
11028 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11030 # This implies no fast_install, which is unacceptable.
11031 # Some rework will be needed to allow for fast_install
11032 # before this can be enabled.
11033 hardcode_into_libs
=yes
11035 # Append ld.so.conf contents to the search path
11036 if test -f /etc
/ld.so.conf
; then
11037 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' ' '`
11038 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11041 # We used to test for /lib/ld.so.1 and disable shared libraries on
11042 # powerpc, because MkLinux only supported shared libraries with the
11043 # GNU dynamic linker. Since this was broken with cross compilers,
11044 # most powerpc-linux boxes support dynamic linking these days and
11045 # people can always --disable-shared, the test was removed, and we
11046 # assume the GNU/Linux dynamic linker is in use.
11047 dynamic_linker
='GNU/Linux ld.so'
11054 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11057 dynamic_linker
='NetBSD (a.out) ld.so'
11059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11060 soname_spec
='${libname}${release}${shared_ext}$major'
11061 dynamic_linker
='NetBSD ld.elf_so'
11063 shlibpath_var
=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath
=yes
11065 hardcode_into_libs
=yes
11069 version_type
=linux
# correct to gnu/linux during the next big refactor
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 shlibpath_var
=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath
=yes
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec
='${libname}${release}${shared_ext}$major'
11081 shlibpath_var
=LD_LIBRARY_PATH
11082 shlibpath_overrides_runpath
=no
11083 hardcode_into_libs
=yes
11084 dynamic_linker
='ldqnx.so'
11089 sys_lib_dlsearch_path_spec
="/usr/lib"
11091 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11093 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11094 *) need_version
=no
;;
11096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11097 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11098 shlibpath_var
=LD_LIBRARY_PATH
11099 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11101 openbsd2.
[89] | openbsd2.
[89].
*)
11102 shlibpath_overrides_runpath
=no
11105 shlibpath_overrides_runpath
=yes
11109 shlibpath_overrides_runpath
=yes
11114 libname_spec
='$name'
11117 library_names_spec
='$libname${shared_ext} $libname.a'
11118 dynamic_linker
='OS/2 ld.exe'
11119 shlibpath_var
=LIBPATH
11122 osf3
* | osf4
* | osf5
*)
11126 soname_spec
='${libname}${release}${shared_ext}$major'
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 shlibpath_var
=LD_LIBRARY_PATH
11129 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11130 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11138 version_type
=linux
# correct to gnu/linux during the next big refactor
11141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 soname_spec
='${libname}${release}${shared_ext}$major'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11145 hardcode_into_libs
=yes
11146 # ldd complains unless libraries are executable
11147 postinstall_cmds
='chmod +x $lib'
11152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11153 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11154 shlibpath_var
=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath
=yes
11156 if test "$with_gnu_ld" = yes; then
11163 version_type
=linux
# correct to gnu/linux during the next big refactor
11164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11165 soname_spec
='${libname}${release}${shared_ext}$major'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 case $host_vendor in
11169 shlibpath_overrides_runpath
=no
11171 runpath_var
=LD_RUN_PATH
11179 shlibpath_overrides_runpath
=no
11180 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11186 if test -d /usr
/nec
;then
11187 version_type
=linux
# correct to gnu/linux during the next big refactor
11188 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11189 soname_spec
='$libname${shared_ext}.$major'
11190 shlibpath_var
=LD_LIBRARY_PATH
11194 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11195 version_type
=freebsd
-elf
11198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11199 soname_spec
='${libname}${release}${shared_ext}$major'
11200 shlibpath_var
=LD_LIBRARY_PATH
11201 shlibpath_overrides_runpath
=yes
11202 hardcode_into_libs
=yes
11203 if test "$with_gnu_ld" = yes; then
11204 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11206 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11213 sys_lib_dlsearch_path_spec
='/usr/lib'
11217 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11218 version_type
=linux
# correct to gnu/linux during the next big refactor
11221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 shlibpath_var
=LD_LIBRARY_PATH
11223 shlibpath_overrides_runpath
=no
11224 hardcode_into_libs
=yes
11228 version_type
=linux
# correct to gnu/linux during the next big refactor
11229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11230 soname_spec
='${libname}${release}${shared_ext}$major'
11231 shlibpath_var
=LD_LIBRARY_PATH
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11239 $as_echo "$dynamic_linker" >&6; }
11240 test "$dynamic_linker" = no
&& can_build_shared
=no
11242 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11243 if test "$GCC" = yes; then
11244 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11247 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11248 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11250 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11251 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11346 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11348 if test -n "$hardcode_libdir_flag_spec" ||
11349 test -n "$runpath_var" ||
11350 test "X$hardcode_automatic" = "Xyes" ; then
11352 # We can hardcode non-existent directories.
11353 if test "$hardcode_direct" != no
&&
11354 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11355 # have to relink, otherwise we might link with an installed library
11356 # when we should be linking with a yet-to-be-installed one
11357 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11358 test "$hardcode_minus_L" != no
; then
11359 # Linking always hardcodes the temporary library directory.
11360 hardcode_action
=relink
11362 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11363 hardcode_action
=immediate
11366 # We cannot hardcode anything, or else we can only hardcode existing
11368 hardcode_action
=unsupported
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11371 $as_echo "$hardcode_action" >&6; }
11373 if test "$hardcode_action" = relink
||
11374 test "$inherit_rpath" = yes; then
11375 # Fast installation is not supported
11376 enable_fast_install
=no
11377 elif test "$shlibpath_overrides_runpath" = yes ||
11378 test "$enable_shared" = no
; then
11379 # Fast installation is not necessary
11380 enable_fast_install
=needless
11388 if test "x$enable_dlopen" != xyes
; then
11389 enable_dlopen
=unknown
11390 enable_dlopen_self
=unknown
11391 enable_dlopen_self_static
=unknown
11398 lt_cv_dlopen
="load_add_on"
11400 lt_cv_dlopen_self
=yes
11403 mingw
* | pw32
* | cegcc
*)
11404 lt_cv_dlopen
="LoadLibrary"
11409 lt_cv_dlopen
="dlopen"
11414 # if libdl is installed we need to link against it
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11416 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11417 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 ac_check_lib_save_LIBS
=$LIBS
11422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11440 if ac_fn_c_try_link
"$LINENO"; then :
11441 ac_cv_lib_dl_dlopen
=yes
11443 ac_cv_lib_dl_dlopen
=no
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_lib_save_LIBS
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11451 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11452 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11455 lt_cv_dlopen
="dyld"
11457 lt_cv_dlopen_self
=yes
11464 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11465 if test "x$ac_cv_func_shl_load" = xyes
; then :
11466 lt_cv_dlopen
="shl_load"
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11469 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11470 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 ac_check_lib_save_LIBS
=$LIBS
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11488 return shl_load ();
11493 if ac_fn_c_try_link
"$LINENO"; then :
11494 ac_cv_lib_dld_shl_load
=yes
11496 ac_cv_lib_dld_shl_load
=no
11498 rm -f core conftest.err conftest.
$ac_objext \
11499 conftest
$ac_exeext conftest.
$ac_ext
11500 LIBS
=$ac_check_lib_save_LIBS
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11503 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11504 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11505 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11507 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11508 if test "x$ac_cv_func_dlopen" = xyes
; then :
11509 lt_cv_dlopen
="dlopen"
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11512 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11513 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11514 $as_echo_n "(cached) " >&6
11516 ac_check_lib_save_LIBS
=$LIBS
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11536 if ac_fn_c_try_link
"$LINENO"; then :
11537 ac_cv_lib_dl_dlopen
=yes
11539 ac_cv_lib_dl_dlopen
=no
11541 rm -f core conftest.err conftest.
$ac_objext \
11542 conftest
$ac_exeext conftest.
$ac_ext
11543 LIBS
=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11546 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11547 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11548 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11551 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11552 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11553 $as_echo_n "(cached) " >&6
11555 ac_check_lib_save_LIBS
=$LIBS
11556 LIBS
="-lsvld $LIBS"
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11575 if ac_fn_c_try_link
"$LINENO"; then :
11576 ac_cv_lib_svld_dlopen
=yes
11578 ac_cv_lib_svld_dlopen
=no
11580 rm -f core conftest.err conftest.
$ac_objext \
11581 conftest
$ac_exeext conftest.
$ac_ext
11582 LIBS
=$ac_check_lib_save_LIBS
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11585 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11586 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11587 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11590 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11591 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11594 ac_check_lib_save_LIBS
=$LIBS
11596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11609 return dld_link ();
11614 if ac_fn_c_try_link
"$LINENO"; then :
11615 ac_cv_lib_dld_dld_link
=yes
11617 ac_cv_lib_dld_dld_link
=no
11619 rm -f core conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 LIBS
=$ac_check_lib_save_LIBS
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11624 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11625 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11626 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11647 if test "x$lt_cv_dlopen" != xno
; then
11653 case $lt_cv_dlopen in
11655 save_CPPFLAGS
="$CPPFLAGS"
11656 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11658 save_LDFLAGS
="$LDFLAGS"
11659 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11662 LIBS
="$lt_cv_dlopen_libs $LIBS"
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11665 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11666 if ${lt_cv_dlopen_self+:} false
; then :
11667 $as_echo_n "(cached) " >&6
11669 if test "$cross_compiling" = yes; then :
11670 lt_cv_dlopen_self
=cross
11672 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11673 lt_status
=$lt_dlunknown
11674 cat > conftest.
$ac_ext <<_LT_EOF
11675 #line $LINENO "configure"
11676 #include "confdefs.h"
11685 # define LT_DLGLOBAL RTLD_GLOBAL
11688 # define LT_DLGLOBAL DL_GLOBAL
11690 # define LT_DLGLOBAL 0
11694 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11695 find out it does not work in some platform. */
11696 #ifndef LT_DLLAZY_OR_NOW
11698 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11701 # define LT_DLLAZY_OR_NOW DL_LAZY
11704 # define LT_DLLAZY_OR_NOW RTLD_NOW
11707 # define LT_DLLAZY_OR_NOW DL_NOW
11709 # define LT_DLLAZY_OR_NOW 0
11716 /* When -fvisbility=hidden is used, assume the code has been annotated
11717 correspondingly for the symbols needed. */
11718 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11719 int fnord () __attribute__((visibility("default")));
11722 int fnord () { return 42; }
11725 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11726 int status = $lt_dlunknown;
11730 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11733 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11734 else puts (dlerror ());
11736 /* dlclose (self); */
11744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11745 (eval $ac_link) 2>&5
11747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11748 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11749 (.
/conftest
; exit; ) >&5 2>/dev
/null
11751 case x
$lt_status in
11752 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11753 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11754 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11757 # compilation failed
11758 lt_cv_dlopen_self
=no
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11766 $as_echo "$lt_cv_dlopen_self" >&6; }
11768 if test "x$lt_cv_dlopen_self" = xyes
; then
11769 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11771 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11772 if ${lt_cv_dlopen_self_static+:} false
; then :
11773 $as_echo_n "(cached) " >&6
11775 if test "$cross_compiling" = yes; then :
11776 lt_cv_dlopen_self_static
=cross
11778 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11779 lt_status
=$lt_dlunknown
11780 cat > conftest.
$ac_ext <<_LT_EOF
11781 #line $LINENO "configure"
11782 #include "confdefs.h"
11791 # define LT_DLGLOBAL RTLD_GLOBAL
11794 # define LT_DLGLOBAL DL_GLOBAL
11796 # define LT_DLGLOBAL 0
11800 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11801 find out it does not work in some platform. */
11802 #ifndef LT_DLLAZY_OR_NOW
11804 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11807 # define LT_DLLAZY_OR_NOW DL_LAZY
11810 # define LT_DLLAZY_OR_NOW RTLD_NOW
11813 # define LT_DLLAZY_OR_NOW DL_NOW
11815 # define LT_DLLAZY_OR_NOW 0
11822 /* When -fvisbility=hidden is used, assume the code has been annotated
11823 correspondingly for the symbols needed. */
11824 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11825 int fnord () __attribute__((visibility("default")));
11828 int fnord () { return 42; }
11831 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11832 int status = $lt_dlunknown;
11836 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11839 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11840 else puts (dlerror ());
11842 /* dlclose (self); */
11850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11851 (eval $ac_link) 2>&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11854 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11855 (.
/conftest
; exit; ) >&5 2>/dev
/null
11857 case x
$lt_status in
11858 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11859 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11860 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11863 # compilation failed
11864 lt_cv_dlopen_self_static
=no
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11872 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11875 CPPFLAGS
="$save_CPPFLAGS"
11876 LDFLAGS
="$save_LDFLAGS"
11881 case $lt_cv_dlopen_self in
11882 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11883 *) enable_dlopen_self
=unknown
;;
11886 case $lt_cv_dlopen_self_static in
11887 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11888 *) enable_dlopen_self_static
=unknown
;;
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11911 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11912 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
11913 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11914 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916 $as_echo "yes" >&6; }
11918 # FIXME - insert some real tests, host_os isn't really good enough
11921 if test -n "$STRIP" ; then
11922 striplib
="$STRIP -x"
11923 old_striplib
="$STRIP -S"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11925 $as_echo "yes" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11928 $as_echo "no" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11933 $as_echo "no" >&6; }
11949 # Report which library types will actually be built
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11951 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11953 $as_echo "$can_build_shared" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11956 $as_echo_n "checking whether to build shared libraries... " >&6; }
11957 test "$can_build_shared" = "no" && enable_shared
=no
11959 # On AIX, shared libraries and static libraries use the same namespace, and
11960 # are all built from PIC.
11963 test "$enable_shared" = yes && enable_static
=no
11964 if test -n "$RANLIB"; then
11965 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11966 postinstall_cmds
='$RANLIB $lib'
11971 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11972 test "$enable_shared" = yes && enable_static
=no
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11977 $as_echo "$enable_shared" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11980 $as_echo_n "checking whether to build static libraries... " >&6; }
11981 # Make sure either enable_shared or enable_static is yes.
11982 test "$enable_shared" = yes || enable_static
=yes
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11984 $as_echo "$enable_static" >&6; }
11991 ac_cpp
='$CPP $CPPFLAGS'
11992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12012 ac_config_commands
="$ac_config_commands libtool"
12017 # Only expand once:
12021 # On Solaris 10 and 12 CPP gets set to cc -E, however this still
12022 # does some input parsing. We need strict ANSI-C style tokenization,
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C preprocessor that does not parse its input" >&5
12026 $as_echo_n "checking for a C preprocessor that does not parse its input... " >&6; }
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12031 if ac_fn_c_try_cpp
"$LINENO"; then :
12036 for CPP
in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp" "cpp"; do
12037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12041 if ac_fn_c_try_cpp
"$LINENO"; then :
12045 rm -f conftest.err conftest.i conftest.
$ac_ext
12049 rm -f conftest.err conftest.i conftest.
$ac_ext
12050 if test -n "$DFNCPP"; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DFNCPP" >&5
12052 $as_echo "$DFNCPP" >&6; }
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12057 as_fn_error
1 "not found
12058 See \`config.log' for more details" "$LINENO" 5; }
12061 # Checks for header files.
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12063 $as_echo_n "checking for ANSI C header files... " >&6; }
12064 if ${ac_cv_header_stdc+:} false
; then :
12065 $as_echo_n "(cached) " >&6
12067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 #include <stdlib.h>
12070 #include <stdarg.h>
12071 #include <string.h>
12082 if ac_fn_c_try_compile
"$LINENO"; then :
12083 ac_cv_header_stdc
=yes
12085 ac_cv_header_stdc
=no
12087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12089 if test $ac_cv_header_stdc = yes; then
12090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #include <string.h>
12096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12097 $EGREP "memchr" >/dev
/null
2>&1; then :
12100 ac_cv_header_stdc
=no
12106 if test $ac_cv_header_stdc = yes; then
12107 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12110 #include <stdlib.h>
12113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12114 $EGREP "free" >/dev
/null
2>&1; then :
12117 ac_cv_header_stdc
=no
12123 if test $ac_cv_header_stdc = yes; then
12124 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12125 if test "$cross_compiling" = yes; then :
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 #include <stdlib.h>
12132 #if ((' ' & 0x0FF) == 0x020)
12133 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12134 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12136 # define ISLOWER(c) \
12137 (('a' <= (c) && (c) <= 'i') \
12138 || ('j' <= (c) && (c) <= 'r') \
12139 || ('s' <= (c) && (c) <= 'z'))
12140 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12143 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12148 for (i = 0; i < 256; i++)
12149 if (XOR (islower (i), ISLOWER (i))
12150 || toupper (i) != TOUPPER (i))
12155 if ac_fn_c_try_run
"$LINENO"; then :
12158 ac_cv_header_stdc
=no
12160 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12161 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12167 $as_echo "$ac_cv_header_stdc" >&6; }
12168 if test $ac_cv_header_stdc = yes; then
12170 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12174 for ac_header
in malloc.h stdlib.h string.h
strings.h
12176 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12177 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12178 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12179 cat >>confdefs.h
<<_ACEOF
12180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12188 # Checks for typedefs, structures, and compiler characteristics.
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12190 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12191 if ${ac_cv_c_const+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12200 /* FIXME: Include the comments suggested by Paul. */
12201 #ifndef __cplusplus
12202 /* Ultrix mips cc rejects this. */
12203 typedef int charset[2];
12205 /* SunOS 4.1.1 cc rejects this. */
12206 char const *const *pcpcc;
12208 /* NEC SVR4.0.2 mips cc rejects this. */
12209 struct point {int x, y;};
12210 static struct point const zero = {0,0};
12211 /* AIX XL C 1.02.0.0 rejects this.
12212 It does not let you subtract one const X* pointer from another in
12213 an arm of an if-expression whose if-part is not a constant
12215 const char *g = "string";
12216 pcpcc = &g + (g ? g-g : 0);
12217 /* HPUX 7.0 cc rejects these. */
12219 ppc = (char**) pcpcc;
12220 pcpcc = (char const *const *) ppc;
12221 { /* SCO 3.2v4 cc rejects this. */
12223 char const *s = 0 ? (char *) 0 : (char const *) 0;
12228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12229 int x[] = {25, 17};
12230 const int *foo = &x[0];
12233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12234 typedef const int *iptr;
12238 { /* AIX XL C 1.02.0.0 rejects this saying
12239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12240 struct s { int j; const int *ap[3]; };
12241 struct s *b; b->j = 5;
12243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12244 const int foo = 10;
12245 if (!foo) return 0;
12247 return !cs[0] && !zero.x;
12254 if ac_fn_c_try_compile
"$LINENO"; then :
12259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12262 $as_echo "$ac_cv_c_const" >&6; }
12263 if test $ac_cv_c_const = no
; then
12265 $as_echo "#define const /**/" >>confdefs.h
12269 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12270 if test "x$ac_cv_type_size_t" = xyes
; then :
12274 cat >>confdefs.h
<<_ACEOF
12275 #define size_t unsigned int
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12281 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12282 if ${ac_cv_struct_tm+:} false
; then :
12283 $as_echo_n "(cached) " >&6
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 #include <sys/types.h>
12294 int *p = &tm.tm_sec;
12300 if ac_fn_c_try_compile
"$LINENO"; then :
12301 ac_cv_struct_tm
=time.h
12303 ac_cv_struct_tm
=sys
/time.h
12305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12308 $as_echo "$ac_cv_struct_tm" >&6; }
12309 if test $ac_cv_struct_tm = sys
/time.h
; then
12311 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
12316 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
12317 if ${ac_cv_c_restrict+:} false
; then :
12318 $as_echo_n "(cached) " >&6
12320 ac_cv_c_restrict
=no
12321 # The order here caters to the fact that C++ does not require restrict.
12322 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
12323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12325 typedef int * int_ptr;
12326 int foo (int_ptr $ac_kw ip) {
12333 int * $ac_kw t = s;
12340 if ac_fn_c_try_compile
"$LINENO"; then :
12341 ac_cv_c_restrict
=$ac_kw
12343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12344 test "$ac_cv_c_restrict" != no
&& break
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
12349 $as_echo "$ac_cv_c_restrict" >&6; }
12351 case $ac_cv_c_restrict in
12353 no
) $as_echo "#define restrict /**/" >>confdefs.h
12355 *) cat >>confdefs.h
<<_ACEOF
12356 #define restrict $ac_cv_c_restrict
12362 # Checks for library functions.
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12364 $as_echo_n "checking for working strtod... " >&6; }
12365 if ${ac_cv_func_strtod+:} false
; then :
12366 $as_echo_n "(cached) " >&6
12368 if test "$cross_compiling" = yes; then :
12369 ac_cv_func_strtod
=no
12371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 $ac_includes_default
12382 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12383 char *string = " +69";
12386 value = strtod (string, &term);
12387 if (value != 69 || term != (string + 4))
12392 /* Under Solaris 2.4, strtod returns the wrong value for the
12393 terminating character under some conditions. */
12394 char *string = "NaN";
12396 strtod (string, &term);
12397 if (term != string && *(term - 1) == 0)
12404 if ac_fn_c_try_run
"$LINENO"; then :
12405 ac_cv_func_strtod
=yes
12407 ac_cv_func_strtod
=no
12409 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12410 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12415 $as_echo "$ac_cv_func_strtod" >&6; }
12416 if test $ac_cv_func_strtod = no
; then
12417 case " $LIBOBJS " in
12418 *" strtod.$ac_objext "* ) ;;
12419 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
12423 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12424 if test "x$ac_cv_func_pow" = xyes
; then :
12428 if test $ac_cv_func_pow = no
; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12430 $as_echo_n "checking for pow in -lm... " >&6; }
12431 if ${ac_cv_lib_m_pow+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 ac_check_lib_save_LIBS
=$LIBS
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12454 if ac_fn_c_try_link
"$LINENO"; then :
12455 ac_cv_lib_m_pow
=yes
12459 rm -f core conftest.err conftest.
$ac_objext \
12460 conftest
$ac_exeext conftest.
$ac_ext
12461 LIBS
=$ac_check_lib_save_LIBS
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12464 $as_echo "$ac_cv_lib_m_pow" >&6; }
12465 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12469 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12476 for ac_func
in memset
12478 ac_fn_c_check_func
"$LINENO" "memset" "ac_cv_func_memset"
12479 if test "x$ac_cv_func_memset" = xyes
; then :
12480 cat >>confdefs.h
<<_ACEOF
12481 #define HAVE_MEMSET 1
12485 as_fn_error $?
"memset not found in libc" "$LINENO" 5
12491 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12492 if test "x$ac_cv_func_pow" = xyes
; then :
12493 cat >>confdefs.h
<<_ACEOF
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12499 $as_echo_n "checking for pow in -lm... " >&6; }
12500 if ${ac_cv_lib_m_pow+:} false
; then :
12501 $as_echo_n "(cached) " >&6
12503 ac_check_lib_save_LIBS
=$LIBS
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12523 if ac_fn_c_try_link
"$LINENO"; then :
12524 ac_cv_lib_m_pow
=yes
12528 rm -f core conftest.err conftest.
$ac_objext \
12529 conftest
$ac_exeext conftest.
$ac_ext
12530 LIBS
=$ac_check_lib_save_LIBS
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12533 $as_echo "$ac_cv_lib_m_pow" >&6; }
12534 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12535 cat >>confdefs.h
<<_ACEOF
12536 #define HAVE_LIBM 1
12542 as_fn_error $?
"cannot find pow" "$LINENO" 5
12549 # Check whether --with-zlib-prefix was given.
12550 if test "${with_zlib_prefix+set}" = set; then :
12551 withval
=$with_zlib_prefix; ZPREFIX
=${withval}
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
12557 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
12558 if ${ac_cv_lib_z_zlibVersion+:} false
; then :
12559 $as_echo_n "(cached) " >&6
12561 ac_check_lib_save_LIBS
=$LIBS
12563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12572 char zlibVersion ();
12576 return zlibVersion ();
12581 if ac_fn_c_try_link
"$LINENO"; then :
12582 ac_cv_lib_z_zlibVersion
=yes
12584 ac_cv_lib_z_zlibVersion
=no
12586 rm -f core conftest.err conftest.
$ac_objext \
12587 conftest
$ac_exeext conftest.
$ac_ext
12588 LIBS
=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
12591 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
12592 if test "x$ac_cv_lib_z_zlibVersion" = xyes
; then :
12593 cat >>confdefs.h
<<_ACEOF
12594 #define HAVE_LIBZ 1
12600 as_ac_Lib
=`$as_echo "ac_cv_lib_z_${ZPREFIX}zlibVersion" | $as_tr_sh`
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5
12602 $as_echo_n "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; }
12603 if eval \
${$as_ac_Lib+:} false
; then :
12604 $as_echo_n "(cached) " >&6
12606 ac_check_lib_save_LIBS
=$LIBS
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12617 char ${ZPREFIX}zlibVersion ();
12621 return ${ZPREFIX}zlibVersion ();
12626 if ac_fn_c_try_link
"$LINENO"; then :
12627 eval "$as_ac_Lib=yes"
12629 eval "$as_ac_Lib=no"
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12633 LIBS
=$ac_check_lib_save_LIBS
12635 eval ac_res
=\$
$as_ac_Lib
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12637 $as_echo "$ac_res" >&6; }
12638 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
12639 cat >>confdefs.h
<<_ACEOF
12640 #define HAVE_LIBZ 1
12646 as_fn_error $?
"zlib not installed" "$LINENO" 5
12652 # The following is for pngvalid, to ensure it catches FP errors even on
12653 # platforms that don't enable FP exceptions, the function appears in the math
12654 # library (typically), it's not an error if it is not found.
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
12656 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
12657 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
12658 $as_echo_n "(cached) " >&6
12660 ac_check_lib_save_LIBS
=$LIBS
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12671 char feenableexcept ();
12675 return feenableexcept ();
12680 if ac_fn_c_try_link
"$LINENO"; then :
12681 ac_cv_lib_m_feenableexcept
=yes
12683 ac_cv_lib_m_feenableexcept
=no
12685 rm -f core conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 LIBS
=$ac_check_lib_save_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
12690 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
12691 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
12692 cat >>confdefs.h
<<_ACEOF
12693 #define HAVE_LIBM 1
12700 for ac_func
in feenableexcept
12702 ac_fn_c_check_func
"$LINENO" "feenableexcept" "ac_cv_func_feenableexcept"
12703 if test "x$ac_cv_func_feenableexcept" = xyes
; then :
12704 cat >>confdefs.h
<<_ACEOF
12705 #define HAVE_FEENABLEEXCEPT 1
12712 LIBPNG_DEFINES
=-DPNG_CONFIGURE_LIBPNG
12713 LIBPNG_DEFINES
=$LIBPNG_DEFINES
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
12717 $as_echo_n "checking if libraries can be versioned... " >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5
12720 $as_echo_n "checking if using Solaris linker... " >&6; }
12721 SLD
=`$LD --version 2>&1 | grep Solaris`
12722 if test "$SLD"; then
12723 have_solaris_ld
=yes
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12725 $as_echo "yes" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12731 if test "$have_solaris_ld" = "yes"; then
12732 HAVE_SOLARIS_LD_TRUE
=
12733 HAVE_SOLARIS_LD_FALSE
='#'
12735 HAVE_SOLARIS_LD_TRUE
='#'
12736 HAVE_SOLARIS_LD_FALSE
=
12740 # Special case for PE/COFF platforms: ld reports
12741 # support for version-script, but doesn't actually
12742 # DO anything with it.
12744 *cygwin
* | *mingw32
* | *interix
* )
12745 have_ld_version_script
=no
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12747 $as_echo "no" >&6; }
12751 if test "$have_solaris_ld" = "yes"; then
12752 GLD
=`$LD --help < /dev/null 2>&1 | grep 'M mapfile'`
12754 GLD
=`$LD --help < /dev/null 2>/dev/null | grep version-script`
12757 if test "$GLD"; then
12758 have_ld_version_script
=yes
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12760 $as_echo "yes" >&6; }
12762 have_ld_version_script
=no
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5
12766 $as_echo "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}
12771 if test "$have_ld_version_script" = "yes"; then
12772 HAVE_LD_VERSION_SCRIPT_TRUE
=
12773 HAVE_LD_VERSION_SCRIPT_FALSE
='#'
12775 HAVE_LD_VERSION_SCRIPT_TRUE
='#'
12776 HAVE_LD_VERSION_SCRIPT_FALSE
=
12780 if test "$have_ld_version_script" = "yes"; then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
12782 $as_echo_n "checking for symbol prefix... " >&6; }
12783 SYMBOL_PREFIX
=`echo "PREFIX=__USER_LABEL_PREFIX__" \
12784 | ${CPP-${CC-gcc} -E} - 2>&1 \
12785 | ${EGREP-grep} "^PREFIX=" \
12786 | ${SED-sed} "s:^PREFIX=::"`
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
12789 $as_echo "$SYMBOL_PREFIX" >&6; }
12792 # Substitutions for .in files
12798 # Additional arguments (and substitutions)
12799 # Allow the pkg-config directory to be set
12801 # Check whether --with-pkgconfigdir was given.
12802 if test "${with_pkgconfigdir+set}" = set; then :
12803 withval
=$with_pkgconfigdir; pkgconfigdir
=${withval}
12805 pkgconfigdir
='${libdir}/pkgconfig'
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5
12811 $as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;}
12813 # Make the *-config binary config scripts optional
12815 # Check whether --with-binconfigs was given.
12816 if test "${with_binconfigs+set}" = set; then :
12817 withval
=$with_binconfigs; if test "${withval}" = no
; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5
12820 $as_echo "$as_me: libpng-config scripts will not be built" >&6;}
12822 binconfigs
='${binconfigs}'
12825 binconfigs
='${binconfigs}'
12830 # Because GCC by default assembles code with an executable stack, even though it
12831 # compiles C code with a non-executable stack, it is necessary to do a fixup
12832 # here (this may by GCC specific)
12833 AM_CCASFLAGS
=-Wa,--noexecstack
12836 # Check whether --enable-arm-neon was given.
12837 if test "${enable_arm_neon+set}" = set; then :
12838 enableval
=$enable_arm_neon; if test "${enableval}" = yes; then
12840 $as_echo "#define PNG_ARM_NEON 1" >>confdefs.h
12843 $as_echo "#define PNG_ALIGNED_MEMORY_SUPPORTED 1" >>confdefs.h
12848 if test "${enable_arm_neon:-no}" = yes; then
12850 PNG_ARM_NEON_FALSE
='#'
12852 PNG_ARM_NEON_TRUE
='#'
12853 PNG_ARM_NEON_FALSE
=
12857 # Config files, substituting as above
12858 ac_config_files
="$ac_config_files Makefile libpng.pc:libpng.pc.in"
12860 ac_config_files
="$ac_config_files libpng-config:libpng-config.in"
12863 cat >confcache
<<\_ACEOF
12864 # This file is a shell script that caches the results of configure
12865 # tests run on this system so they can be shared between configure
12866 # scripts and configure runs, see configure's option --config-cache.
12867 # It is not useful on other systems. If it contains results you don't
12868 # want to keep, you may remove or edit it.
12870 # config.status only pays attention to the cache file if you give it
12871 # the --recheck option to rerun configure.
12873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12875 # following values.
12879 # The following way of writing the cache mishandles newlines in values,
12880 # but we know of no workaround that is simple, portable, and efficient.
12881 # So, we kill variables containing newlines.
12882 # Ultrix sh set writes to stderr and can't be redirected directly,
12883 # and sets the high bit in the cache file unless we assign to the vars.
12885 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12886 eval ac_val
=\$
$ac_var
12890 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12894 _
| IFS
| as_nl
) ;; #(
12895 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
12896 *) { eval $ac_var=; unset $ac_var;} ;;
12902 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12903 *${as_nl}ac_space
=\
*)
12904 # `set' does not quote correctly, so add quotes: double-quote
12905 # substitution turns \\\\ into \\, and sed turns \\ into \.
12908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12911 # `set' quotes correctly as required by POSIX, so do not add quotes.
12912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12925 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12926 if test -w "$cache_file"; then
12927 if test "x$cache_file" != "x/dev/null"; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12929 $as_echo "$as_me: updating cache $cache_file" >&6;}
12930 if test ! -f "$cache_file" || test -h "$cache_file"; then
12931 cat confcache
>"$cache_file"
12933 case $cache_file in #(
12935 mv -f confcache
"$cache_file"$$
&&
12936 mv -f "$cache_file"$$
"$cache_file" ;; #(
12938 mv -f confcache
"$cache_file" ;;
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12944 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12949 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12950 # Let make expand exec_prefix.
12951 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12953 DEFS
=-DHAVE_CONFIG_H
12958 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12959 # 1. Remove the extension, and $U if already installed.
12960 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12961 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12962 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12963 # will be set to the directory where LIBOBJS objects are built.
12964 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12965 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12967 LIBOBJS
=$ac_libobjs
12969 LTLIBOBJS
=$ac_ltlibobjs
12972 if test -n "$EXEEXT"; then
12974 am__EXEEXT_FALSE
='#'
12976 am__EXEEXT_TRUE
='#'
12980 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12981 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12984 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12985 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12989 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12992 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
12993 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
12994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12996 if test -z "${HAVE_SOLARIS_LD_TRUE}" && test -z "${HAVE_SOLARIS_LD_FALSE}"; then
12997 as_fn_error $?
"conditional \"HAVE_SOLARIS_LD\" was never defined.
12998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13000 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
13001 as_fn_error $?
"conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
13002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13004 if test -z "${PNG_ARM_NEON_TRUE}" && test -z "${PNG_ARM_NEON_FALSE}"; then
13005 as_fn_error $?
"conditional \"PNG_ARM_NEON\" was never defined.
13006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13009 : "${CONFIG_STATUS=./config.status}"
13011 ac_clean_files_save
=$ac_clean_files
13012 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13014 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13016 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13018 # Generated by $as_me.
13019 # Run this file to recreate the current configuration.
13020 # Compiler output produced by configure, useful for debugging
13021 # configure, is in config.log if it exists.
13024 ac_cs_recheck=false
13027 SHELL=\${CONFIG_SHELL-$SHELL}
13030 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
13031 ## -------------------- ##
13032 ## M4sh Initialization. ##
13033 ## -------------------- ##
13035 # Be more Bourne compatible
13036 DUALCASE
=1; export DUALCASE
# for MKS sh
13037 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13040 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13041 # is contrary to our usage. Disable this feature.
13042 alias -g '${1+"$@"}'='"$@"'
13043 setopt NO_GLOB_SUBST
13045 case `(set -o) 2>/dev/null` in #(
13057 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13058 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13059 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13061 # Prefer a ksh shell builtin over an external printf program on Solaris,
13062 # but without wasting forks for bash or zsh.
13063 if test -z "$BASH_VERSION$ZSH_VERSION" \
13064 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13065 as_echo='print
-r --'
13066 as_echo_n='print
-rn --'
13067 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13068 as_echo='printf %s
\n'
13069 as_echo_n='printf %s
'
13071 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13072 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13073 as_echo_n='/usr
/ucb
/echo -n'
13075 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13076 as_echo_n_body='eval
13080 expr "X$arg" : "X\\(.*\\)$as_nl";
13081 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13083 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13085 export as_echo_n_body
13086 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13088 export as_echo_body
13089 as_echo='sh
-c $as_echo_body as_echo
'
13092 # The user is always right.
13093 if test "${PATH_SEPARATOR+set}" != set; then
13095 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13096 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13103 # We need space, tab and new line, in precisely that order. Quoting is
13104 # there to prevent editors from complaining about space-tab.
13105 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13106 # splitting by setting IFS to empty value.)
13109 # Find who we are. Look in the path if we contain no directory separator.
13112 *[\\/]* ) as_myself=$0 ;;
13113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13114 for as_dir in $PATH
13117 test -z "$as_dir" && as_dir=.
13118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13124 # We did not find ourselves, most probably we were run as `sh COMMAND'
13125 # in which case we are not to be found in the path.
13126 if test "x$as_myself" = x
; then
13129 if test ! -f "$as_myself"; then
13130 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13134 # Unset variables that we do not need and which cause bugs (e.g. in
13135 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13136 # suppresses any "Segmentation fault" message there. '((' could
13137 # trigger a bug in pdksh 5.2.14.
13138 for as_var
in BASH_ENV ENV MAIL MAILPATH
13139 do eval test x\
${$as_var+set} = xset \
13140 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
13153 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13156 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13157 # ----------------------------------------
13158 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13159 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13160 # script with STATUS, using 1 if that was 0.
13163 as_status
=$1; test $as_status -eq 0 && as_status
=1
13165 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13166 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13168 $as_echo "$as_me: error: $2" >&2
13169 as_fn_exit
$as_status
13173 # as_fn_set_status STATUS
13174 # -----------------------
13175 # Set $? to STATUS, without forking.
13176 as_fn_set_status
()
13179 } # as_fn_set_status
13181 # as_fn_exit STATUS
13182 # -----------------
13183 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13187 as_fn_set_status
$1
13193 # Portably unset VAR.
13196 { eval $1=; unset $1;}
13198 as_unset
=as_fn_unset
13199 # as_fn_append VAR VALUE
13200 # ----------------------
13201 # Append the text in VALUE to the end of the definition contained in VAR. Take
13202 # advantage of any shell optimizations that allow amortized linear growth over
13203 # repeated appends, instead of the typical quadratic growth present in naive
13205 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13206 eval 'as_fn_append ()
13217 # as_fn_arith ARG...
13218 # ------------------
13219 # Perform arithmetic evaluation on the ARGs, and store the result in the
13220 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13221 # must be portable across $(()) and expr.
13222 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13223 eval 'as_fn_arith ()
13230 as_val
=`expr "$@" || test $? -eq 1`
13235 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13236 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13242 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13243 as_basename
=basename
13248 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13254 as_me
=`$as_basename -- "$0" ||
13255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13256 X"$0" : 'X\(//\)$' \| \
13257 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13259 sed '/^.*\/\([^/][^/]*\)\/*$/{
13273 # Avoid depending upon Character Ranges.
13274 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13275 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13276 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13277 as_cr_digits
='0123456789'
13278 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13280 ECHO_C
= ECHO_N
= ECHO_T
=
13281 case `echo -n x` in #(((((
13283 case `echo 'xy\c'` in
13284 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13286 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13293 rm -f conf$$ conf$$.exe conf$$.
file
13294 if test -d conf$$.dir
; then
13295 rm -f conf$$.dir
/conf$$.
file
13298 mkdir conf$$.dir
2>/dev
/null
13300 if (echo >conf$$.
file) 2>/dev
/null
; then
13301 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13303 # ... but there are two gotchas:
13304 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13305 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13306 # In both cases, we have to default to `cp -p'.
13307 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
13309 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13317 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13318 rmdir conf$$.dir
2>/dev
/null
13323 # Create "$as_dir" as a directory, including parents if necessary.
13328 -*) as_dir
=.
/$as_dir;;
13330 test -d "$as_dir" || eval $as_mkdir_p || {
13334 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13335 *) as_qdir
=$as_dir;;
13337 as_dirs
="'$as_qdir' $as_dirs"
13338 as_dir
=`$as_dirname -- "$as_dir" ||
13339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13340 X"$as_dir" : 'X\(//\)[^/]' \| \
13341 X"$as_dir" : 'X\(//\)$' \| \
13342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13343 $as_echo X"$as_dir" |
13344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13348 /^X\(\/\/\)[^/].*/{
13361 test -d "$as_dir" && break
13363 test -z "$as_dirs" || eval "mkdir $as_dirs"
13364 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13368 if mkdir -p .
2>/dev
/null
; then
13369 as_mkdir_p
='mkdir -p "$as_dir"'
13371 test -d .
/-p && rmdir .
/-p
13375 if test -x / >/dev
/null
2>&1; then
13376 as_test_x
='test -x'
13378 if ls -dL / >/dev
/null
2>&1; then
13385 if test -d "$1"; then
13391 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13392 ???[sx]*):;;*)false;;esac;fi
13396 as_executable_p
=$as_test_x
13398 # Sed expression to map a string onto a valid CPP name.
13399 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13401 # Sed expression to map a string onto a valid variable name.
13402 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13406 ## ----------------------------------- ##
13407 ## Main body of $CONFIG_STATUS script. ##
13408 ## ----------------------------------- ##
13410 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13412 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13413 # Save the log message, to keep $0 and so on meaningful, and to
13414 # report actual input values of CONFIG_FILES etc. instead of their
13415 # values after options handling.
13417 This file was extended by libpng $as_me 1.5.7, which was
13418 generated by GNU Autoconf 2.68. Invocation command line was
13420 CONFIG_FILES = $CONFIG_FILES
13421 CONFIG_HEADERS = $CONFIG_HEADERS
13422 CONFIG_LINKS = $CONFIG_LINKS
13423 CONFIG_COMMANDS = $CONFIG_COMMANDS
13426 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13431 case $ac_config_files in *"
13432 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13435 case $ac_config_headers in *"
13436 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13441 # Files that config.status was made for.
13442 config_files="$ac_config_files"
13443 config_headers="$ac_config_headers"
13444 config_commands="$ac_config_commands"
13448 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13450 \`$as_me' instantiates files and other configuration actions
13451 from templates according to the current configuration. Unless the files
13452 and actions are specified as TAGs, all are instantiated by default.
13454 Usage: $0 [OPTION]... [TAG]...
13456 -h, --help print this help, then exit
13457 -V, --version print version number and configuration settings, then exit
13458 --config print configuration, then exit
13459 -q, --quiet, --silent
13460 do not print progress messages
13461 -d, --debug don't remove temporary files
13462 --recheck update $as_me by reconfiguring in the same conditions
13463 --file=FILE[:TEMPLATE]
13464 instantiate the configuration file FILE
13465 --header=FILE[:TEMPLATE]
13466 instantiate the configuration header FILE
13468 Configuration files:
13471 Configuration headers:
13474 Configuration commands:
13477 Report bugs to <png-mng-implement@lists.sourceforge.net>."
13480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13481 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13483 libpng config.status 1.5.7
13484 configured by $0, generated by GNU Autoconf 2.68,
13485 with options \\"\$ac_cs_config\\"
13487 Copyright (C) 2010 Free Software Foundation, Inc.
13488 This config.status script is free software; the Free Software Foundation
13489 gives unlimited permission to copy, distribute and modify it."
13496 test -n "\$AWK" || AWK=awk
13499 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13500 # The default lists apply if the user does not specify any file.
13506 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13507 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13511 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13523 # Handling of the options.
13524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13526 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13527 $as_echo "$ac_cs_version"; exit ;;
13528 --config | --confi | --conf | --con | --co | --c )
13529 $as_echo "$ac_cs_config"; exit ;;
13530 --debug | --debu | --deb | --de | --d | -d )
13532 --file | --fil | --fi | --f )
13535 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13536 '') as_fn_error $?
"missing file argument" ;;
13538 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13539 ac_need_defaults
=false
;;
13540 --header | --heade | --head | --hea )
13543 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13545 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13546 ac_need_defaults
=false
;;
13548 # Conflict between --help and --header
13549 as_fn_error $?
"ambiguous option: \`$1'
13550 Try \`$0 --help' for more information.";;
13551 --help | --hel | -h )
13552 $as_echo "$ac_cs_usage"; exit ;;
13553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13557 # This is an error.
13558 -*) as_fn_error $?
"unrecognized option: \`$1'
13559 Try \`$0 --help' for more information." ;;
13561 *) as_fn_append ac_config_targets
" $1"
13562 ac_need_defaults
=false
;;
13568 ac_configure_extra_args
=
13570 if $ac_cs_silent; then
13572 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13577 if \$ac_cs_recheck; then
13578 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13580 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13581 CONFIG_SHELL='$SHELL'
13582 export CONFIG_SHELL
13587 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13591 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13592 ## Running $as_me. ##
13598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13602 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13605 # The HP-UX ksh and POSIX shell print the target directory to stdout
13606 # if CDPATH is set.
13607 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13609 sed_quote_subst='$sed_quote_subst'
13610 double_quote_subst='$double_quote_subst'
13611 delay_variable_subst='$delay_variable_subst'
13612 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13613 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13614 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13615 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13616 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13617 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13618 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13619 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13620 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13621 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13622 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13623 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13624 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13625 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13626 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13627 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13628 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13629 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13630 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13631 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13632 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13633 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13634 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13635 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13636 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13637 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13638 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13639 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13640 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13641 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13642 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13643 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13644 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13645 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13646 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13647 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13648 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13649 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13650 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13651 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13652 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13653 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13654 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13655 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13656 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13657 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13658 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13659 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13660 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13661 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13662 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13663 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13664 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13665 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13666 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13667 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13668 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13669 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"`'
13670 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13671 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13672 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13673 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13674 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13675 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13676 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13677 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13678 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13679 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13680 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13681 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13682 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13683 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13684 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13685 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13686 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13687 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13688 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13689 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13690 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13691 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13692 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13693 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13694 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13695 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13696 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13697 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13698 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13699 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13700 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13701 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13702 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13703 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13704 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13705 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13706 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13707 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13708 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13709 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13710 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13711 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13712 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13713 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13714 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13715 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13716 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13717 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13718 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13719 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13720 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13721 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13722 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13723 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13724 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13725 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13726 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13727 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13728 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13729 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13730 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13731 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13732 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13733 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13734 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13735 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13736 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13737 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13738 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13739 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13740 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13741 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13742 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13745 LTCFLAGS='$LTCFLAGS'
13746 compiler='$compiler_DEFAULT'
13748 # A function that is used when there is no print builtin or printf.
13749 func_fallback_echo ()
13751 eval 'cat <<_LTECHO_EOF
13756 # Quote evaled strings.
13773 deplibs_check_method \
13777 sharedlib_from_linklib_cmd \
13780 archiver_list_spec \
13786 lt_cv_sys_global_symbol_pipe \
13787 lt_cv_sys_global_symbol_to_cdecl \
13788 lt_cv_sys_global_symbol_to_c_name_address \
13789 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13790 nm_file_list_spec \
13791 lt_prog_compiler_no_builtin_flag \
13792 lt_prog_compiler_pic \
13793 lt_prog_compiler_wl \
13794 lt_prog_compiler_static \
13795 lt_cv_prog_compiler_c_o \
13804 export_dynamic_flag_spec \
13805 whole_archive_flag_spec \
13806 compiler_needs_object \
13808 allow_undefined_flag \
13809 no_undefined_flag \
13810 hardcode_libdir_flag_spec \
13811 hardcode_libdir_separator \
13815 variables_saved_for_relink \
13817 library_names_spec \
13819 install_override_mode \
13823 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13824 *[\\\\\\\`\\"\\\$]*)
13825 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13828 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13833 # Double-quote double-evaled strings.
13834 for var in reload_cmds \
13835 old_postinstall_cmds \
13836 old_postuninstall_cmds \
13838 extract_expsyms_cmds \
13839 old_archive_from_new_cmds \
13840 old_archive_from_expsyms_cmds \
13842 archive_expsym_cmds \
13844 module_expsym_cmds \
13845 export_symbols_cmds \
13849 postuninstall_cmds \
13851 sys_lib_search_path_spec \
13852 sys_lib_dlsearch_path_spec; do
13853 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13854 *[\\\\\\\`\\"\\\$]*)
13855 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13858 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13863 ac_aux_dir='$ac_aux_dir'
13864 xsi_shell='$xsi_shell'
13865 lt_shell_append='$lt_shell_append'
13867 # See if we are running on zsh, and set the options which allow our
13868 # commands through without removal of \ escapes INIT.
13869 if test -n "\${ZSH_VERSION+set}" ; then
13870 setopt NO_GLOB_SUBST
13876 TIMESTAMP='$TIMESTAMP'
13885 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13887 # Handling of arguments.
13888 for ac_config_target
in $ac_config_targets
13890 case $ac_config_target in
13891 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13892 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13893 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13894 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13895 "libpng.pc") CONFIG_FILES
="$CONFIG_FILES libpng.pc:libpng.pc.in" ;;
13896 "libpng-config") CONFIG_FILES
="$CONFIG_FILES libpng-config:libpng-config.in" ;;
13898 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13903 # If the user did not use the arguments to specify the items to instantiate,
13904 # then the envvar interface is used. Set only those that are not.
13905 # We use the long form for the default assignment because of an extremely
13906 # bizarre bug on SunOS 4.1.3.
13907 if $ac_need_defaults; then
13908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13913 # Have a temporary directory for convenience. Make it in the build tree
13914 # simply because there is no reason against having it here, and in addition,
13915 # creating and moving files from /tmp can sometimes cause problems.
13916 # Hook for its removal unless debugging.
13917 # Note that there is a small window in which the directory will not be cleaned:
13918 # after its creation but before its name has been assigned to `$tmp'.
13922 trap 'exit_status=$?
13923 : "${ac_tmp:=$tmp}"
13924 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13926 trap 'as_fn_exit 1' 1 2 13 15
13928 # Create a (secure) tmp directory for tmp files.
13931 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13935 tmp
=.
/conf$$
-$RANDOM
13936 (umask 077 && mkdir "$tmp")
13937 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13940 # Set up the scripts for CONFIG_FILES section.
13941 # No need to generate them if there are no CONFIG_FILES.
13942 # This happens for instance with `./config.status config.h'.
13943 if test -n "$CONFIG_FILES"; then
13946 ac_cr
=`echo X | tr X '\015'`
13947 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13948 # But we know of no other shell where ac_cr would be empty at this
13949 # point, so we can use a bashism as a fallback.
13950 if test "x$ac_cr" = x
; then
13951 eval ac_cr
=\$
\'\\r
\'
13953 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13954 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13957 ac_cs_awk_cr
=$ac_cr
13960 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13965 echo "cat >conf$$subs.awk <<_ACEOF" &&
13966 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13968 } >conf$$subs.sh ||
13969 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13970 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13972 for ac_last_try in false false false false false :; do
13973 . ./conf$$subs.sh ||
13974 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13976 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13977 if test $ac_delim_n = $ac_delim_num; then
13979 elif $ac_last_try; then
13980 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13982 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13985 rm -f conf$$subs.sh
13987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13988 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13992 s/^/S["/; s
/!.
*/"]=/
14002 s/\(.\{148\}\)..*/\1/
14004 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14009 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14016 s/\(.\{148\}\)..*/\1/
14018 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14022 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14027 ' <conf$$subs.awk | sed '
14032 ' >>$CONFIG_STATUS || ac_write_fail=1
14033 rm -f conf$$subs.awk
14034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14036 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14037 for (key in S) S_is_set[key] = 1
14043 nfields = split(line, field, "@
")
14045 len = length(field[1])
14046 for (i = 2; i < nfields; i++) {
14048 keylen = length(key)
14049 if (S_is_set[key]) {
14051 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14052 len += length(value) + length(field[++i])
14063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14064 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14065 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14068 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14069 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14072 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14073 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14074 # trailing colons and then remove the whole line if VPATH becomes empty
14075 # (actually we leave an empty line to preserve line numbers).
14076 if test "x
$srcdir" = x.; then
14077 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14096 fi # test -n "$CONFIG_FILES"
14098 # Set up the scripts for CONFIG_HEADERS section.
14099 # No need to generate them if there are no CONFIG_HEADERS.
14100 # This happens for instance with `./config.status Makefile'.
14101 if test -n "$CONFIG_HEADERS"; then
14102 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14106 # Transform confdefs.h into an awk script `defines.awk', embedded as
14107 # here-document in config.status, that substitutes the proper values into
14108 # config.h.in to produce config.h.
14110 # Create a delimiter string that does not exist in confdefs.h, to ease
14111 # handling of long lines.
14113 for ac_last_try in false false :; do
14114 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14115 if test -z "$ac_tt"; then
14117 elif $ac_last_try; then
14118 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14120 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14124 # For the awk script, D is an array of macro values keyed by name,
14125 # likewise P contains macro parameters if any. Preserve backslash
14126 # newline sequences.
14128 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14130 s/.\{148\}/&'"$ac_delim"'/g
14133 s/^[ ]*#[ ]*define[ ][ ]*/ /
14140 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14142 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14147 D["\
1"]=" \
3\\\\\\n
"\\/p
14149 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14154 s/.\{148\}/&'"$ac_delim"'/g
14159 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14162 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14164 ' <confdefs.h | sed '
14165 s/'"$ac_delim"'/"\\\
14166 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14169 for (key in D) D_is_set[key] = 1
14172 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14174 split(line, arg, " ")
14175 if (arg[1] == "#") {
14179 defundef
= substr
(arg
[1], 2)
14182 split(mac1
, mac2
, "(") #)
14184 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14185 if (D_is_set
[macro
]) {
14186 # Preserve the white space surrounding the "#".
14187 print prefix
"define", macro P
[macro
] D
[macro
]
14190 # Replace #undef with comments. This is necessary, for example,
14191 # in the case of _POSIX_SOURCE, which is predefined and required
14192 # on some systems where configure will not decide to define it.
14193 if (defundef
== "undef") {
14194 print
"/*", prefix defundef
, macro
, "*/"
14202 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14203 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14204 fi # test -n "$CONFIG_HEADERS"
14207 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14212 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14214 case $ac_mode$ac_tag in
14216 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14217 :[FH
]-) ac_tag
=-:-;;
14218 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14235 -) ac_f
="$ac_tmp/stdin";;
14236 *) # Look for the file first in the build tree, then in the source tree
14237 # (if the path is not absolute). The absolute path cannot be DOS-style,
14238 # because $ac_f cannot contain `:'.
14242 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14244 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14246 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14247 as_fn_append ac_file_inputs
" '$ac_f'"
14250 # Let's still pretend it is `configure' which instantiates (i.e., don't
14251 # use $as_me), people would be surprised to read:
14252 # /* config.h. Generated by config.status. */
14253 configure_input
='Generated from '`
14254 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14256 if test x
"$ac_file" != x
-; then
14257 configure_input
="$ac_file. $configure_input"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14259 $as_echo "$as_me: creating $ac_file" >&6;}
14261 # Neutralize special characters interpreted by sed in replacement strings.
14262 case $configure_input in #(
14263 *\
&* | *\
|* | *\\* )
14264 ac_sed_conf_input
=`$as_echo "$configure_input" |
14265 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14266 *) ac_sed_conf_input
=$configure_input;;
14270 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14271 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14276 ac_dir
=`$as_dirname -- "$ac_file" ||
14277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14278 X"$ac_file" : 'X\(//\)[^/]' \| \
14279 X"$ac_file" : 'X\(//\)$' \| \
14280 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14281 $as_echo X"$ac_file" |
14282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14286 /^X\(\/\/\)[^/].*/{
14299 as_dir
="$ac_dir"; as_fn_mkdir_p
14303 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14305 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14306 # A ".." for each directory in $ac_dir_suffix.
14307 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14308 case $ac_top_builddir_sub in
14309 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14310 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14313 ac_abs_top_builddir
=$ac_pwd
14314 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14315 # for backward compatibility:
14316 ac_top_builddir
=$ac_top_build_prefix
14319 .
) # We are building in place.
14321 ac_top_srcdir
=$ac_top_builddir_sub
14322 ac_abs_top_srcdir
=$ac_pwd ;;
14323 [\\/]* | ?
:[\\/]* ) # Absolute name.
14324 ac_srcdir
=$srcdir$ac_dir_suffix;
14325 ac_top_srcdir
=$srcdir
14326 ac_abs_top_srcdir
=$srcdir ;;
14327 *) # Relative name.
14328 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14329 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14330 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14332 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14342 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14343 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14345 ac_MKDIR_P
=$MKDIR_P
14347 [\\/$
]* | ?
:[\\/]* ) ;;
14348 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14352 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14353 # If the template does not know about datarootdir, expand it.
14354 # FIXME: This hack should be removed a few years after 2.60.
14355 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14366 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14367 *datarootdir
*) ac_datarootdir_seen
=yes;;
14368 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14370 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14373 ac_datarootdir_hack='
14374 s&@datadir@&$datadir&g
14375 s&@docdir@&$docdir&g
14376 s&@infodir@&$infodir&g
14377 s&@localedir@&$localedir&g
14378 s&@mandir@&$mandir&g
14379 s&\\\${datarootdir}&$datarootdir&g' ;;
14383 # Neutralize VPATH when `$srcdir' = `.'.
14384 # Shell code in configure.ac might set extrasub.
14385 # FIXME: do we really want to maintain this feature?
14386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14387 ac_sed_extra="$ac_vpsub
14390 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14392 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
14393 s
|@configure_input@
|$ac_sed_conf_input|;t t
14394 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14395 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14396 s
&@srcdir@
&$ac_srcdir&;t t
14397 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14398 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14399 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14400 s
&@builddir@
&$ac_builddir&;t t
14401 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14402 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14403 s
&@INSTALL@
&$ac_INSTALL&;t t
14404 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14405 $ac_datarootdir_hack
14407 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14408 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14410 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14411 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14412 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14413 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14415 which seems to be undefined. Please make sure it is defined" >&5
14416 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14417 which seems to be undefined. Please make sure it is defined" >&2;}
14419 rm -f "$ac_tmp/stdin"
14421 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14422 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14430 if test x"$ac_file" != x-; then
14432 $as_echo "/* $configure_input */" \
14433 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14434 } >"$ac_tmp/config.h" \
14435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14436 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14438 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14441 mv "$ac_tmp/config.h" "$ac_file" \
14442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14445 $as_echo "/* $configure_input */" \
14446 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14447 || as_fn_error $? "could not create -" "$LINENO" 5
14449 # Compute "$ac_file"'s index
in $config_headers.
14452 for _am_header
in $config_headers :; do
14453 case $_am_header in
14454 $_am_arg | $_am_arg:* )
14457 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14460 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14461 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14462 X"$_am_arg" : 'X\(//\)[^/]' \| \
14463 X"$_am_arg" : 'X\(//\)$' \| \
14464 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14465 $as_echo X"$_am_arg" |
14466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14470 /^X\(\/\/\)[^/].*/{
14482 s/.*/./; q'`/stamp
-h$_am_stamp_count
14485 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14486 $as_echo "$as_me: executing $ac_file commands" >&6;}
14491 case $ac_file$ac_mode in
14492 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
14493 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14494 # are listed without --file. Let's play safe and only enable the eval
14495 # if we detect the quoting.
14496 case $CONFIG_FILES in
14497 *\'*) eval set x
"$CONFIG_FILES" ;;
14498 *) set x
$CONFIG_FILES ;;
14503 # Strip MF so we end up with the name of the file.
14504 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14505 # Check whether this is an Automake generated Makefile or not.
14506 # We used to match only the files named `Makefile.in', but
14507 # some people rename them; so instead we look at the file content.
14508 # Grep'ing the first line is not enough: some people post-process
14509 # each Makefile.in and add a new line on top of each file to say so.
14510 # Grep'ing the whole file is not good either: AIX grep has a line
14511 # limit of 2048, but all sed's we know have understand at least 4000.
14512 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
14513 dirpart
=`$as_dirname -- "$mf" ||
14514 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14515 X"$mf" : 'X\(//\)[^/]' \| \
14516 X"$mf" : 'X\(//\)$' \| \
14517 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14523 /^X\(\/\/\)[^/].*/{
14539 # Extract the definition of DEPDIR, am__include, and am__quote
14540 # from the Makefile without running `make'.
14541 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14542 test -z "$DEPDIR" && continue
14543 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14544 test -z "am__include" && continue
14545 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14546 # When using ansi2knr, U may be empty or an underscore; expand it
14547 U
=`sed -n 's/^U = //p' < "$mf"`
14548 # Find all dependency output files, they are included files with
14549 # $(DEPDIR) in their names. We invoke sed twice because it is the
14550 # simplest approach to changing $(DEPDIR) to its actual value in the
14552 for file in `sed -n "
14553 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14554 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14555 # Make sure the directory exists.
14556 test -f "$dirpart/$file" && continue
14557 fdir
=`$as_dirname -- "$file" ||
14558 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14559 X"$file" : 'X\(//\)[^/]' \| \
14560 X"$file" : 'X\(//\)$' \| \
14561 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14562 $as_echo X"$file" |
14563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14567 /^X\(\/\/\)[^/].*/{
14580 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14581 # echo "creating $dirpart/$file"
14582 echo '# dummy' > "$dirpart/$file"
14589 # See if we are running on zsh, and set the options which allow our
14590 # commands through without removal of \ escapes.
14591 if test -n "${ZSH_VERSION+set}" ; then
14592 setopt NO_GLOB_SUBST
14595 cfgfile
="${ofile}T"
14596 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14599 cat <<_LT_EOF >> "$cfgfile"
14602 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14603 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14604 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14605 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14607 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14608 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14610 # Written by Gordon Matzigkeit, 1996
14612 # This file is part of GNU Libtool.
14614 # GNU Libtool is free software; you can redistribute it and/or
14615 # modify it under the terms of the GNU General Public License as
14616 # published by the Free Software Foundation; either version 2 of
14617 # the License, or (at your option) any later version.
14619 # As a special exception to the GNU General Public License,
14620 # if you distribute this file as part of a program or library that
14621 # is built using GNU Libtool, you may include this file under the
14622 # same distribution terms that you use for the rest of that program.
14624 # GNU Libtool is distributed in the hope that it will be useful,
14625 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14626 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14627 # GNU General Public License for more details.
14629 # You should have received a copy of the GNU General Public License
14630 # along with GNU Libtool; see the file COPYING. If not, a copy
14631 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14632 # obtained by writing to the Free Software Foundation, Inc.,
14633 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14636 # The names of the tagged configurations supported by this script.
14639 # ### BEGIN LIBTOOL CONFIG
14641 # A sed program that does not truncate output.
14644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14645 Xsed="\$SED -e 1s/^X//"
14647 # A grep program that handles long lines.
14653 # A literal string matcher.
14656 # Shell to use when invoking shell scripts.
14659 # An echo program that protects backslashes.
14662 # Which release of libtool.m4 was used?
14663 macro_version=$macro_version
14664 macro_revision=$macro_revision
14666 # Assembler program.
14669 # DLL creation program.
14670 DLLTOOL=$lt_DLLTOOL
14672 # Object dumper program.
14673 OBJDUMP=$lt_OBJDUMP
14675 # Whether or not to build shared libraries.
14676 build_libtool_libs=$enable_shared
14678 # Whether or not to build static libraries.
14679 build_old_libs=$enable_static
14681 # What type of objects to build.
14684 # Whether or not to optimize for fast installation.
14685 fast_install=$enable_fast_install
14687 # The PATH separator for the build system.
14688 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14691 host_alias=$host_alias
14695 # The build system.
14696 build_alias=$build_alias
14700 # A BSD- or MS-compatible name lister.
14703 # Whether we need soft or hard links.
14706 # What is the maximum length of a command?
14707 max_cmd_len=$max_cmd_len
14709 # Object file suffix (normally "o").
14712 # Executable file suffix (normally "").
14715 # whether the shell understands "unset".
14718 # turn spaces into newlines.
14721 # turn newlines into spaces.
14724 # convert \$build file names to \$host format.
14725 to_host_file_cmd=$lt_cv_to_host_file_cmd
14727 # convert \$build files to toolchain format.
14728 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14730 # Method to check whether dependent libraries are shared objects.
14731 deplibs_check_method=$lt_deplibs_check_method
14733 # Command to use when deplibs_check_method = "file_magic".
14734 file_magic_cmd=$lt_file_magic_cmd
14736 # How to find potential files when deplibs_check_method = "file_magic".
14737 file_magic_glob=$lt_file_magic_glob
14739 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14740 want_nocaseglob=$lt_want_nocaseglob
14742 # Command to associate shared and link libraries.
14743 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14748 # Flags to create an archive.
14749 AR_FLAGS=$lt_AR_FLAGS
14751 # How to feed a file listing to the archiver.
14752 archiver_list_spec=$lt_archiver_list_spec
14754 # A symbol stripping program.
14757 # Commands used to install an old-style archive.
14759 old_postinstall_cmds=$lt_old_postinstall_cmds
14760 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14762 # Whether to use a lock for old archive extraction.
14763 lock_old_archive_extraction=$lock_old_archive_extraction
14768 # LTCC compiler flags.
14769 LTCFLAGS=$lt_CFLAGS
14771 # Take the output of nm and produce a listing of raw symbols and C names.
14772 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14774 # Transform the output of nm in a proper C declaration.
14775 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14777 # Transform the output of nm in a C name address pair.
14778 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14780 # Transform the output of nm in a C name address pair when lib prefix is needed.
14781 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14783 # Specify filename containing input files for \$NM.
14784 nm_file_list_spec=$lt_nm_file_list_spec
14786 # The root where to search for dependent libraries,and in which our libraries should be installed.
14787 lt_sysroot=$lt_sysroot
14789 # The name of the directory that contains temporary libtool files.
14792 # Used to examine libraries when file_magic_cmd begins with "file".
14793 MAGIC_CMD=$MAGIC_CMD
14795 # Must we lock files when doing compilation?
14796 need_locks=$lt_need_locks
14799 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14801 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14802 DSYMUTIL=$lt_DSYMUTIL
14804 # Tool to change global to local symbols on Mac OS X.
14807 # Tool to manipulate fat objects and archives on Mac OS X.
14810 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14813 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14814 OTOOL64=$lt_OTOOL64
14816 # Old archive suffix (normally "a").
14819 # Shared library suffix (normally ".so").
14820 shrext_cmds=$lt_shrext_cmds
14822 # The commands to extract the exported symbol list from a shared archive.
14823 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14825 # Variables whose values should be saved in libtool wrapper scripts and
14826 # restored at link time.
14827 variables_saved_for_relink=$lt_variables_saved_for_relink
14829 # Do we need the "lib" prefix for modules?
14830 need_lib_prefix=$need_lib_prefix
14832 # Do we need a version for libraries?
14833 need_version=$need_version
14835 # Library versioning type.
14836 version_type=$version_type
14838 # Shared library runtime path variable.
14839 runpath_var=$runpath_var
14841 # Shared library path variable.
14842 shlibpath_var=$shlibpath_var
14844 # Is shlibpath searched before the hard-coded library search path?
14845 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14847 # Format of library name prefix.
14848 libname_spec=$lt_libname_spec
14850 # List of archive names. First name is the real one, the rest are links.
14851 # The last name is the one that the linker finds with -lNAME
14852 library_names_spec=$lt_library_names_spec
14854 # The coded name of the library, if different from the real name.
14855 soname_spec=$lt_soname_spec
14857 # Permission mode override for installation of shared libraries.
14858 install_override_mode=$lt_install_override_mode
14860 # Command to use after installation of a shared archive.
14861 postinstall_cmds=$lt_postinstall_cmds
14863 # Command to use after uninstallation of a shared archive.
14864 postuninstall_cmds=$lt_postuninstall_cmds
14866 # Commands used to finish a libtool library installation in a directory.
14867 finish_cmds=$lt_finish_cmds
14869 # As "finish_cmds", except a single script fragment to be evaled but
14871 finish_eval=$lt_finish_eval
14873 # Whether we should hardcode library paths into libraries.
14874 hardcode_into_libs=$hardcode_into_libs
14876 # Compile-time system search path for libraries.
14877 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14879 # Run-time system search path for libraries.
14880 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14882 # Whether dlopen is supported.
14883 dlopen_support=$enable_dlopen
14885 # Whether dlopen of programs is supported.
14886 dlopen_self=$enable_dlopen_self
14888 # Whether dlopen of statically linked programs is supported.
14889 dlopen_self_static=$enable_dlopen_self_static
14891 # Commands to strip libraries.
14892 old_striplib=$lt_old_striplib
14893 striplib=$lt_striplib
14896 # The linker used to build libraries.
14899 # How to create reloadable object files.
14900 reload_flag=$lt_reload_flag
14901 reload_cmds=$lt_reload_cmds
14903 # Commands used to build an old-style archive.
14904 old_archive_cmds=$lt_old_archive_cmds
14906 # A language specific compiler.
14909 # Is the compiler the GNU compiler?
14912 # Compiler flag to turn off builtin functions.
14913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14915 # Additional compiler flags for building library objects.
14916 pic_flag=$lt_lt_prog_compiler_pic
14918 # How to pass a linker flag through the compiler.
14919 wl=$lt_lt_prog_compiler_wl
14921 # Compiler flag to prevent dynamic linking.
14922 link_static_flag=$lt_lt_prog_compiler_static
14924 # Does compiler simultaneously support -c and -o options?
14925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14927 # Whether or not to add -lc for building shared libraries.
14928 build_libtool_need_lc=$archive_cmds_need_lc
14930 # Whether or not to disallow shared libs when runtime libs are static.
14931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14933 # Compiler flag to allow reflexive dlopens.
14934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14936 # Compiler flag to generate shared objects directly from archives.
14937 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14939 # Whether the compiler copes with passing no objects directly.
14940 compiler_needs_object=$lt_compiler_needs_object
14942 # Create an old-style archive from a shared archive.
14943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14945 # Create a temporary old-style archive to link instead of a shared archive.
14946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14948 # Commands used to build a shared archive.
14949 archive_cmds=$lt_archive_cmds
14950 archive_expsym_cmds=$lt_archive_expsym_cmds
14952 # Commands used to build a loadable module if different from building
14953 # a shared archive.
14954 module_cmds=$lt_module_cmds
14955 module_expsym_cmds=$lt_module_expsym_cmds
14957 # Whether we are building with GNU ld or not.
14958 with_gnu_ld=$lt_with_gnu_ld
14960 # Flag that allows shared libraries with undefined symbols to be built.
14961 allow_undefined_flag=$lt_allow_undefined_flag
14963 # Flag that enforces no undefined symbols.
14964 no_undefined_flag=$lt_no_undefined_flag
14966 # Flag to hardcode \$libdir into a binary during linking.
14967 # This must work even if \$libdir does not exist
14968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14970 # Whether we need a single "-rpath" flag with a separated argument.
14971 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14974 # DIR into the resulting binary.
14975 hardcode_direct=$hardcode_direct
14977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14978 # DIR into the resulting binary and the resulting library dependency is
14979 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14980 # library is relocated.
14981 hardcode_direct_absolute=$hardcode_direct_absolute
14983 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14984 # into the resulting binary.
14985 hardcode_minus_L=$hardcode_minus_L
14987 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14988 # into the resulting binary.
14989 hardcode_shlibpath_var=$hardcode_shlibpath_var
14991 # Set to "yes" if building a shared library automatically hardcodes DIR
14992 # into the library and all subsequent libraries and executables linked
14994 hardcode_automatic=$hardcode_automatic
14996 # Set to yes if linker adds runtime paths of dependent libraries
14997 # to runtime path list.
14998 inherit_rpath=$inherit_rpath
15000 # Whether libtool must link a program against all its dependency libraries.
15001 link_all_deplibs=$link_all_deplibs
15003 # Set to "yes" if exported symbols are required.
15004 always_export_symbols=$always_export_symbols
15006 # The commands to list exported symbols.
15007 export_symbols_cmds=$lt_export_symbols_cmds
15009 # Symbols that should not be listed in the preloaded symbols.
15010 exclude_expsyms=$lt_exclude_expsyms
15012 # Symbols that must always be exported.
15013 include_expsyms=$lt_include_expsyms
15015 # Commands necessary for linking programs (against libraries) with templates.
15016 prelink_cmds=$lt_prelink_cmds
15018 # Commands necessary for finishing linking programs.
15019 postlink_cmds=$lt_postlink_cmds
15021 # Specify filename containing input files.
15022 file_list_spec=$lt_file_list_spec
15024 # How to hardcode a shared library path into an executable.
15025 hardcode_action=$hardcode_action
15027 # ### END LIBTOOL CONFIG
15033 cat <<\_LT_EOF
>> "$cfgfile"
15034 # AIX sometimes has problems with the GCC collect2 program. For some
15035 # reason, if we set the COLLECT_NAMES environment variable, the problems
15036 # vanish in a puff of smoke.
15037 if test "X${COLLECT_NAMES+set}" != Xset
; then
15039 export COLLECT_NAMES
15046 ltmain
="$ac_aux_dir/ltmain.sh"
15049 # We use sed instead of cat because bash on DJGPP gets confused if
15050 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15051 # text mode, it properly converts lines to CR/LF. This bash problem
15052 # is reportedly fixed, but why not run on old versions too?
15053 sed '$q' "$ltmain" >> "$cfgfile" \
15054 || (rm -f "$cfgfile"; exit 1)
15056 if test x
"$xsi_shell" = xyes
; then
15057 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15061 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15062 \ * ) func_dirname_result="${3}" ;;\
15064 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15065 && mv -f "$cfgfile.tmp" "$cfgfile" \
15066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15067 test 0 -eq $?
|| _lt_function_replace_fail
=:
15070 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15073 \ func_basename_result="${1##*/}"\
15074 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15075 && mv -f "$cfgfile.tmp" "$cfgfile" \
15076 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15077 test 0 -eq $?
|| _lt_function_replace_fail
=:
15080 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15081 func_dirname_and_basename ()\
15084 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15085 \ * ) func_dirname_result="${3}" ;;\
15087 \ func_basename_result="${1##*/}"\
15088 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15089 && mv -f "$cfgfile.tmp" "$cfgfile" \
15090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15091 test 0 -eq $?
|| _lt_function_replace_fail
=:
15094 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15097 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15098 \ # positional parameters, so assign one to ordinary parameter first.\
15099 \ func_stripname_result=${3}\
15100 \ func_stripname_result=${func_stripname_result#"${1}"}\
15101 \ func_stripname_result=${func_stripname_result%"${2}"}\
15102 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15103 && mv -f "$cfgfile.tmp" "$cfgfile" \
15104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15105 test 0 -eq $?
|| _lt_function_replace_fail
=:
15108 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15109 func_split_long_opt ()\
15111 \ func_split_long_opt_name=${1%%=*}\
15112 \ func_split_long_opt_arg=${1#*=}\
15113 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15114 && mv -f "$cfgfile.tmp" "$cfgfile" \
15115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15116 test 0 -eq $?
|| _lt_function_replace_fail
=:
15119 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15120 func_split_short_opt ()\
15122 \ func_split_short_opt_arg=${1#??}\
15123 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15124 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15125 && mv -f "$cfgfile.tmp" "$cfgfile" \
15126 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15127 test 0 -eq $?
|| _lt_function_replace_fail
=:
15130 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15134 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15135 \ *) func_lo2o_result=${1} ;;\
15137 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15138 && mv -f "$cfgfile.tmp" "$cfgfile" \
15139 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15140 test 0 -eq $?
|| _lt_function_replace_fail
=:
15143 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15146 func_xform_result=${1%.*}.lo\
15147 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15148 && mv -f "$cfgfile.tmp" "$cfgfile" \
15149 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15150 test 0 -eq $?
|| _lt_function_replace_fail
=:
15153 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15156 func_arith_result=$(( $* ))\
15157 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15158 && mv -f "$cfgfile.tmp" "$cfgfile" \
15159 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15160 test 0 -eq $?
|| _lt_function_replace_fail
=:
15163 sed -e '/^func_len ()$/,/^} # func_len /c\
15166 func_len_result=${#1}\
15167 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15168 && mv -f "$cfgfile.tmp" "$cfgfile" \
15169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15170 test 0 -eq $?
|| _lt_function_replace_fail
=:
15174 if test x
"$lt_shell_append" = xyes
; then
15175 sed -e '/^func_append ()$/,/^} # func_append /c\
15178 eval "${1}+=\\${2}"\
15179 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15180 && mv -f "$cfgfile.tmp" "$cfgfile" \
15181 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15182 test 0 -eq $?
|| _lt_function_replace_fail
=:
15185 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15186 func_append_quoted ()\
15188 \ func_quote_for_eval "${2}"\
15189 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15190 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15191 && mv -f "$cfgfile.tmp" "$cfgfile" \
15192 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15193 test 0 -eq $?
|| _lt_function_replace_fail
=:
15196 # Save a `func_append' function call where possible by direct use of '+='
15197 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15198 && mv -f "$cfgfile.tmp" "$cfgfile" \
15199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15200 test 0 -eq $?
|| _lt_function_replace_fail
=:
15202 # Save a `func_append' function call even when '+=' is not available
15203 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15204 && mv -f "$cfgfile.tmp" "$cfgfile" \
15205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15206 test 0 -eq $?
|| _lt_function_replace_fail
=:
15209 if test x
"$_lt_function_replace_fail" = x
":"; then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15211 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15215 mv -f "$cfgfile" "$ofile" ||
15216 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15220 "libpng-config":F
) chmod +x libpng
-config ;;
15228 ac_clean_files
=$ac_clean_files_save
15230 test $ac_write_fail = 0 ||
15231 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15234 # configure is writing to config.log, and then calls config.status.
15235 # config.status does its own redirection, appending to config.log.
15236 # Unfortunately, on DOS this fails, as config.log is still kept open
15237 # by configure, so config.status won't be able to write to it; its
15238 # output is simply discarded. So we exec the FD to /dev/null,
15239 # effectively closing config.log, so it can be properly (re)opened and
15240 # appended to by config.status. When coming back to configure, we
15241 # need to make the FD available again.
15242 if test "$no_create" != yes; then
15244 ac_config_status_args
=
15245 test "$silent" = yes &&
15246 ac_config_status_args
="$ac_config_status_args --quiet"
15248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15251 # would make configure fail if this is the last instruction.
15252 $ac_cs_success || as_fn_exit
1
15254 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15256 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}