2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libpng 1.6.36.
5 # Report bugs to <png-mng-implement@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: png-mng-implement@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libpng'
592 PACKAGE_TARNAME
='libpng'
593 PACKAGE_VERSION
='1.6.36'
594 PACKAGE_STRING
='libpng 1.6.36'
595 PACKAGE_BUGREPORT
='png-mng-implement@lists.sourceforge.net'
598 ac_unique_file
="pngget.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
638 PNG_POWERPC_VSX_FALSE
646 DO_INSTALL_LIBPNG_CONFIG_FALSE
647 DO_INSTALL_LIBPNG_CONFIG_TRUE
648 DO_INSTALL_LIBPNG_PC_FALSE
649 DO_INSTALL_LIBPNG_PC_TRUE
650 DO_INSTALL_LINKS_FALSE
651 DO_INSTALL_LINKS_TRUE
662 HAVE_LD_VERSION_SCRIPT_FALSE
663 HAVE_LD_VERSION_SCRIPT_TRUE
664 HAVE_SOLARIS_LD_FALSE
666 HAVE_CLOCK_GETTIME_FALSE
667 HAVE_CLOCK_GETTIME_TRUE
704 am__fastdepCCAS_FALSE
726 MAINTAINER_MODE_FALSE
740 INSTALL_STRIP_PROGRAM
782 program_transform_name
796 enable_option_checking
798 enable_maintainer_mode
799 enable_dependency_tracking
813 enable_unversioned_links
814 enable_unversioned_libpng_pc
815 enable_unversioned_libpng_config
816 enable_hardware_optimizations
822 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=no
;;
956 -docdir |
--docdir |
--docdi |
--doc |
--do)
958 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
961 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
963 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
966 -enable-* |
--enable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=\
$ac_optarg ;;
1186 -without-* |
--without-*)
1187 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=no
;;
1203 # Obsolete; use --with-x.
1206 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1207 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1208 ac_prev
=x_includes
;;
1209 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1210 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1211 x_includes
=$ac_optarg ;;
1213 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1214 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1215 ac_prev
=x_libraries
;;
1216 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1217 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1218 x_libraries
=$ac_optarg ;;
1220 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1229 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\
$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $?
"missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val
=\$
$ac_var
1265 # Remove trailing slashes.
1268 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\
$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$
]* | ?
:[\\/]* ) continue;;
1274 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1276 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1298 test "$silent" = yes && exec 6>/dev
/null
1301 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di
=`ls -di .` &&
1303 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $?
"working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $?
"pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted
=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir
=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted
=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1345 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var
in $ac_precious_vars; do
1362 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1364 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures libpng 1.6.36 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/libpng]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1438 --build=BUILD configure
for building on BUILD
[guessed
]
1439 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive
) echo "Configuration of libpng 1.6.36:";;
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1454 --disable-silent-rules verbose build output
(undo
: "make V=0")
1455 --enable-maintainer-mode
1456 enable make rules and dependencies not useful
(and
1457 sometimes confusing
) to the casual installer
1458 --enable-dependency-tracking
1459 do not reject slow dependency extractors
1460 --disable-dependency-tracking
1461 speeds up one-time build
1462 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1463 --enable-static[=PKGS
] build static libraries
[default
=yes]
1464 --enable-fast-install[=PKGS
]
1465 optimize
for fast installation
[default
=yes]
1466 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1467 --enable-werror[=OPT
] Pass
-Werror or the given argument to the compiler
1469 --enable-unversioned-links
1470 Installed libpng header files are placed
in a
1471 versioned subdirectory and installed libpng library
1472 (including DLL
) files are versioned. If this option
1473 is enabled unversioned links will be created
1474 pointing to the corresponding installed files. If
1475 you use libpng.pc or libpng-config
for all builds
1476 you
do not need these links
, but
if you compile
1477 programs directly they will typically
#include
1478 <png.h
> and link with
-lpng; in that
case you need
1479 the links. The links can be installed manually using
1480 'make install-header-links' and
'make
1481 install-library-links' and can be removed using the
1482 corresponding uninstall- targets. If you
do enable
1483 this option every libpng
'make install' will
1484 recreate the links to point to the just installed
1485 version of libpng. The default is to create the
1486 links
; use
--disable-unversioned-links to change
1488 --enable-unversioned-libpng-pc
1489 Install the configuration
file 'libpng.pc' as a link
1490 to the versioned version. This is
done by default
-
1491 use
--disable-unversioned-libpng-pc to change this.
1492 --enable-unversioned-libpng-config
1493 Install the configuration
file 'libpng-config' as a
1494 link to the versioned version. This is
done by
1495 default
- use
--disable-unversioned-libpng-config to
1497 --enable-hardware-optimizations
1498 Enable hardware optimizations
: =no
/off
, yes
/on
:
1499 --enable-arm-neon Enable ARM NEON optimizations
: =no
/off
, check
, api
,
1500 yes
/on
: no
/off
: disable the optimizations
; check
:
1501 use internal checking code
(deprecated and poorly
1502 supported
); api
: disable by default
, enable by a
1503 call to png_set_option
; yes
/on
: turn on
1504 unconditionally. If not specified
: determined by the
1506 --enable-mips-msa Enable MIPS MSA optimizations
: =no
/off
, check
, api
,
1507 yes
/on
: no
/off
: disable the optimizations
; check
:
1508 use internal checking code
(deprecated and poorly
1509 supported
); api
: disable by default
, enable by a
1510 call to png_set_option
; yes
/on
: turn on
1511 unconditionally. If not specified
: determined by the
1513 --enable-intel-sse Enable Intel SSE optimizations
: =no
/off
, yes
/on
:
1514 no
/off
: disable the optimizations
; yes
/on
: enable
1515 the optimizations. If not specified
: determined by
1517 --enable-powerpc-vsx Enable POWERPC VSX optimizations
: =no
/off
, check
,
1518 api
, yes
/on
: no
/off
: disable the optimizations
;
1519 check
: use internal checking code api
: disable by
1520 default
, enable by a call to png_set_option yes
/on
:
1521 turn on unconditionally. If not specified
:
1522 determined by the compiler.
1525 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1526 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1527 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1528 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1530 --with-aix-soname=aix|svr4|both
1531 shared library versioning
(aka
"SONAME") variant to
1532 provide on AIX
, [default
=aix
].
1533 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1534 compiler
's sysroot if not specified).
1535 --with-zlib-prefix prefix that may have been used in installed zlib
1536 --with-pkgconfigdir Use the specified pkgconfig dir (default is
1538 --with-binconfigs Generate shell libpng-config scripts as well as
1539 pkg-config data [default=yes]
1540 --with-libpng-prefix prefix libpng exported function (API) names with the
1543 Some influential environment variables:
1544 CC C compiler command
1545 CFLAGS C compiler flags
1546 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547 nonstandard directory <lib dir>
1548 LIBS libraries to pass to the linker, e.g. -l<library>
1549 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1550 you have headers in a nonstandard directory <include dir>
1551 CCAS assembler compiler command (defaults to CC)
1552 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1555 User-defined run-time library search path.
1556 PNG_COPTS additional flags for the C compiler, use this for options that
1557 would cause configure itself to fail
1559 Use these variables to override the choices made by `configure' or to
help
1560 it to
find libraries and programs with nonstandard names
/locations.
1562 Report bugs to
<png-mng-implement@lists.sourceforge.net
>.
1567 if test "$ac_init_help" = "recursive"; then
1568 # If there are subdirs, report their specific --help.
1569 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1570 test -d "$ac_dir" ||
1571 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1576 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1578 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1579 # A ".." for each directory in $ac_dir_suffix.
1580 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1581 case $ac_top_builddir_sub in
1582 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1583 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1586 ac_abs_top_builddir
=$ac_pwd
1587 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1588 # for backward compatibility:
1589 ac_top_builddir
=$ac_top_build_prefix
1592 .
) # We are building in place.
1594 ac_top_srcdir
=$ac_top_builddir_sub
1595 ac_abs_top_srcdir
=$ac_pwd ;;
1596 [\\/]* | ?
:[\\/]* ) # Absolute name.
1597 ac_srcdir
=$srcdir$ac_dir_suffix;
1598 ac_top_srcdir
=$srcdir
1599 ac_abs_top_srcdir
=$srcdir ;;
1601 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1602 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1603 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1605 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1607 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1608 # Check for guested configure.
1609 if test -f "$ac_srcdir/configure.gnu"; then
1611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1612 elif test -f "$ac_srcdir/configure"; then
1614 $SHELL "$ac_srcdir/configure" --help=recursive
1616 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1618 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1622 test -n "$ac_init_help" && exit $ac_status
1623 if $ac_init_version; then
1625 libpng configure
1.6.36
1626 generated by GNU Autoconf
2.69
1628 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1629 This configure
script is free software
; the Free Software Foundation
1630 gives unlimited permission to copy
, distribute and modify it.
1635 ## ------------------------ ##
1636 ## Autoconf initialization. ##
1637 ## ------------------------ ##
1639 # ac_fn_c_try_compile LINENO
1640 # --------------------------
1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_compile
()
1644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1645 rm -f conftest.
$ac_objext
1646 if { { ac_try
="$ac_compile"
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_compile") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest.$ac_objext; then :
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1675 } # ac_fn_c_try_compile
1677 # ac_fn_c_try_cpp LINENO
1678 # ----------------------
1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_cpp conftest.$ac_ext"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1692 if test -s conftest.err
; then
1693 grep -v '^ *+' conftest.err
>conftest.er1
1694 cat conftest.er1
>&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } > conftest.i
&& {
1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.
$ac_ext >&5
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status
$ac_retval
1714 # ac_fn_c_try_link LINENO
1715 # -----------------------
1716 # Try to link conftest.$ac_ext, and return whether this succeeded.
1719 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1720 rm -f conftest.
$ac_objext conftest
$ac_exeext
1721 if { { ac_try
="$ac_link"
1723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_link") 2>conftest.err
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest$ac_exeext && {
1740 test "$cross_compiling" = yes ||
1741 test -x conftest$ac_exeext
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1751 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1752 # interfere with the next link command; also delete a directory that is
1753 # left behind by Apple's compiler. We do this before executing the actions.
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1758 } # ac_fn_c_try_link
1760 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1761 # -------------------------------------------------------
1762 # Tests whether HEADER exists and can be compiled using the include files in
1763 # INCLUDES, setting the cache variable VAR accordingly.
1764 ac_fn_c_check_header_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 } # ac_fn_c_check_header_compile
1791 # ac_fn_c_try_run LINENO
1792 # ----------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1794 # that executables *can* be run.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_link"
1800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1801 *) ac_try_echo
=$ac_try;;
1803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>&5
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1809 { { case "(($ac_try" in
1810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_try") 2>&5
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; }; }; then :
1821 $as_echo "$as_me: program exited with status $ac_status" >&5
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1825 ac_retval=$ac_status
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1833 # ac_fn_c_check_func LINENO FUNC VAR
1834 # ----------------------------------
1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1836 ac_fn_c_check_func ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \${$3+:} false; then :
1842 $as_echo_n "(cached) " >&6
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1848 #define $2 innocuous_$2
1850 /* System header to define __stub macros and hopefully few prototypes,
1851 which can conflict with char $2 (); below.
1852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1853 <limits.h> exists even on freestanding compilers. */
1856 # include <limits.h>
1858 # include <assert.h>
1863 /* Override any GCC internal prototype to avoid an error.
1864 Use char because int might match the return type of a GCC
1865 builtin and then its argument prototype would still apply. */
1870 /* The GNU C library defines this for functions which it implements
1871 to always fail with ENOSYS. Some functions are actually named
1872 something starting with __ and the normal name is an alias. */
1873 #if defined __stub_$2 || defined __stub___$2
1885 if ac_fn_c_try_link "$LINENO"; then :
1890 rm -f core conftest.err conftest.$ac_objext \
1891 conftest$ac_exeext conftest.$ac_ext
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 } # ac_fn_c_check_func
1900 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1901 # -------------------------------------------
1902 # Tests whether TYPE exists after having included INCLUDES, setting cache
1903 # variable VAR accordingly.
1904 ac_fn_c_check_type ()
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if eval \${$3+:} false; then :
1910 $as_echo_n "(cached) " >&6
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1925 if ac_fn_c_try_compile "$LINENO"; then :
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1938 if ac_fn_c_try_compile "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_type
1953 cat >config.log <<_ACEOF
1954 This file contains any messages produced by compilers while
1955 running configure, to aid debugging if configure makes a mistake.
1957 It was created by libpng $as_me 1.6.36, which was
1958 generated by GNU Autoconf 2.69. Invocation command line was
1970 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1971 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1972 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1973 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1974 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1976 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1977 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1979 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1980 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1981 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1982 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1983 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1984 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1985 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 $as_echo "PATH: $as_dir"
2010 # Keep a trace of the command line.
2011 # Strip out --no-create and --no-recursion so they do not pile up.
2012 # Strip out --silent because we don't want to record it for future runs.
2013 # Also quote any args containing shell meta-characters.
2014 # Make two passes to allow for proper duplicate-argument suppression.
2018 ac_must_keep_next=false
2024 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2026 | -silent | --silent | --silen | --sile | --sil)
2029 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2032 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2034 as_fn_append ac_configure_args1 " '$ac_arg'"
2035 if test $ac_must_keep_next = true; then
2036 ac_must_keep_next=false # Got value, back to normal.
2039 *=* | --config-cache | -C | -disable-* | --disable-* \
2040 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2041 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2042 | -with-* | --with-* | -without-* | --without-* | --x)
2043 case "$ac_configure_args0 " in
2044 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2047 -* ) ac_must_keep_next=true ;;
2050 as_fn_append ac_configure_args " '$ac_arg'"
2055 { ac_configure_args0=; unset ac_configure_args0;}
2056 { ac_configure_args1=; unset ac_configure_args1;}
2058 # When interrupted or exit'd, cleanup temporary files, and complete
2059 # config.log. We remove comments because anyway the quotes in there
2060 # would cause problems or look ugly.
2061 # WARNING: Use '\'' to represent an apostrophe within the trap.
2062 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2063 trap 'exit_status=$?
2064 # Save into config.log some information that might help in debugging.
2068 $as_echo "## ---------------- ##
2069 ## Cache variables. ##
2070 ## ---------------- ##"
2072 # The following way of writing the cache mishandles newlines in values,
2074 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2075 eval ac_val=\$$ac_var
2079 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2080 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2083 _ | IFS | as_nl) ;; #(
2084 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2085 *) { eval $ac_var=; unset $ac_var;} ;;
2090 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2091 *${as_nl}ac_space=\ *)
2093 "s/'\''/'\''\\\\'\'''\''/g;
2094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2104 $as_echo "## ----------------- ##
2105 ## Output variables. ##
2106 ## ----------------- ##"
2108 for ac_var in $ac_subst_vars
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -n "$ac_subst_files"; then
2119 $as_echo "## ------------------- ##
2120 ## File substitutions. ##
2121 ## ------------------- ##"
2123 for ac_var in $ac_subst_files
2125 eval ac_val=\$$ac_var
2127 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -s confdefs.h; then
2135 $as_echo "## ----------- ##
2142 test "$ac_signal" != 0 &&
2143 $as_echo "$as_me: caught signal $ac_signal"
2144 $as_echo "$as_me: exit $exit_status"
2146 rm -f core *.core core.conftest.* &&
2147 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2150 for ac_signal in 1 2 13 15; do
2151 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2156 rm -f -r conftest* confdefs.h
2158 $as_echo "/* confdefs.h */" > confdefs.h
2160 # Predefined preprocessor variables.
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_NAME "$PACKAGE_NAME"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_STRING "$PACKAGE_STRING"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_URL "$PACKAGE_URL"
2187 # Let the site file select an alternate cache file if it wants to.
2188 # Prefer an explicitly selected file to automatically selected ones.
2191 if test -n "$CONFIG_SITE"; then
2192 # We do not want a PATH search for config.site.
2193 case $CONFIG_SITE in #((
2194 -*) ac_site_file1=./$CONFIG_SITE;;
2195 */*) ac_site_file1=$CONFIG_SITE;;
2196 *) ac_site_file1=./$CONFIG_SITE;;
2198 elif test "x$prefix" != xNONE; then
2199 ac_site_file1=$prefix/share/config.site
2200 ac_site_file2=$prefix/etc/config.site
2202 ac_site_file1=$ac_default_prefix/share/config.site
2203 ac_site_file2=$ac_default_prefix/etc/config.site
2205 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2207 test "x$ac_site_file" = xNONE && continue
2208 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2210 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2211 sed 's/^/| /' "$ac_site_file" >&5
2213 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 as_fn_error $? "failed to load site
script $ac_site_file
2216 See \
`config.log' for more details" "$LINENO" 5; }
2220 if test -r "$cache_file"; then
2221 # Some versions of bash will fail to source /dev/null (special files
2222 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2223 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2225 $as_echo "$as_me: loading cache $cache_file" >&6;}
2227 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2228 *) . "./$cache_file";;
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2233 $as_echo "$as_me: creating cache $cache_file" >&6;}
2237 # Check that the precious variables saved in the cache have kept the same
2239 ac_cache_corrupted=false
2240 for ac_var in $ac_precious_vars; do
2241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2242 eval ac_new_set=\$ac_env_${ac_var}_set
2243 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2244 eval ac_new_val=\$ac_env_${ac_var}_value
2245 case $ac_old_set,$ac_new_set in
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2248 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2252 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2253 ac_cache_corrupted=: ;;
2256 if test "x$ac_old_val" != "x$ac_new_val"; then
2257 # differences in whitespace do not lead to failure.
2258 ac_old_val_w=`echo x
$ac_old_val`
2259 ac_new_val_w=`echo x
$ac_new_val`
2260 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2263 ac_cache_corrupted=:
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2267 eval $ac_var=\$ac_old_val
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2270 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2275 # Pass precious variables to config.status.
2276 if test "$ac_new_set" = set; then
2278 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2279 *) ac_arg=$ac_var=$ac_new_val ;;
2281 case " $ac_configure_args " in
2282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2283 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2287 if $ac_cache_corrupted; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2292 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2294 ## -------------------- ##
2295 ## Main body of script. ##
2296 ## -------------------- ##
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307 # libpng does not follow GNU file name conventions (hence 'foreign')
2308 # color-tests requires automake 1.11 or later
2309 # silent-rules requires automake 1.11 or later
2310 # dist-xz requires automake 1.11 or later
2311 # 1.12.2 fixes a security issue in 1.11.2 and 1.12.1
2312 # 1.13 is required for parallel tests
2313 am__api_version='1.16'
2316 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2317 if test -f "$ac_dir/install-sh"; then
2319 ac_install_sh="$ac_aux_dir/install-sh -c"
2321 elif test -f "$ac_dir/install.sh"; then
2323 ac_install_sh="$ac_aux_dir/install.sh -c"
2325 elif test -f "$ac_dir/shtool"; then
2327 ac_install_sh="$ac_aux_dir/shtool install -c"
2331 if test -z "$ac_aux_dir"; then
2332 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2335 # These three variables are undocumented and unsupported,
2336 # and are intended to be withdrawn in a future Autoconf release.
2337 # They can cause serious problems if a builder's source tree is in a directory
2338 # whose full name contains unusual characters.
2339 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2340 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2341 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2344 # Find a good install program. We prefer a C program (faster),
2345 # so one script is as good as another. But avoid the broken or
2346 # incompatible versions:
2347 # SysV /etc/install, /usr/sbin/install
2348 # SunOS /usr/etc/install
2349 # IRIX /sbin/install
2351 # AmigaOS /C/install, which installs bootblocks on floppy discs
2352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2355 # OS/2's system install, which has a completely different semantic
2356 # ./install, which can be erroneously created by make from ./install.sh.
2357 # Reject install programs that cannot install multiple files.
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2359 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2360 if test -z "$INSTALL"; then
2361 if ${ac_cv_path_install+:} false; then :
2362 $as_echo_n "(cached) " >&6
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 # Account for people who put trailing slashes in PATH elements.
2370 case $as_dir/ in #((
2371 ./ | .// | /[cC]/* | \
2372 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2373 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2376 # OSF1 and SCO ODT 3.0 have their own names for install.
2377 # Don't use installbsd from OSF since it installs stuff as root
2379 for ac_prog in ginstall scoinst install; do
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2382 if test $ac_prog = install &&
2383 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2384 # AIX install. It has an incompatible calling convention.
2386 elif test $ac_prog = install &&
2387 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2388 # program-specific install script used by HP pwplus--don't use.
2391 rm -rf conftest.one conftest.two conftest.dir
2392 echo one > conftest.one
2393 echo two > conftest.two
2395 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2396 test -s conftest.one && test -s conftest.two &&
2397 test -s conftest.dir/conftest.one &&
2398 test -s conftest.dir/conftest.two
2400 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2413 rm -rf conftest.one conftest.two conftest.dir
2416 if test "${ac_cv_path_install+set}" = set; then
2417 INSTALL=$ac_cv_path_install
2419 # As a last resort, use the slow shell script. Don't cache a
2420 # value for INSTALL within a source directory, because that will
2421 # break other packages using the cache if that directory is
2422 # removed, or if the value is a relative name.
2423 INSTALL=$ac_install_sh
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2427 $as_echo "$INSTALL" >&6; }
2429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2430 # It thinks the first close brace ends the variable substitution.
2431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2435 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2438 $as_echo_n "checking whether build environment is sane... " >&6; }
2439 # Reject unsafe characters in $srcdir or the absolute working directory
2440 # name. Accept space and tab only in the latter.
2444 *[\\\"\#\$\&\'\`$am_lf]*)
2445 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2448 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2449 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2452 # Do 'set' in a subshell so we don't clobber the current shell's
2453 # arguments. Must try -L first in case configure is actually a
2454 # symlink; some systems play weird games with the mod time of symlinks
2455 # (eg FreeBSD returns the mod time of the symlink's containing
2459 for am_try
in 1 2; do
2460 echo "timestamp, slept: $am_has_slept" > conftest.
file
2461 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2462 if test "$*" = "X"; then
2464 set X
`ls -t "$srcdir/configure" conftest.file`
2466 if test "$*" != "X $srcdir/configure conftest.file" \
2467 && test "$*" != "X conftest.file $srcdir/configure"; then
2469 # If neither matched, then we have a broken ls. This can happen
2470 # if, for instance, CONFIG_SHELL is bash and it inherits a
2471 # broken ls alias from the environment. This has actually
2472 # happened. Such a system could not be considered "sane".
2473 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2474 alias in your environment" "$LINENO" 5
2476 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2483 test "$2" = conftest.
file
2489 as_fn_error $?
"newly created file is older than distributed files!
2490 Check your system clock" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2493 $as_echo "yes" >&6; }
2494 # If we didn't sleep, we still need to ensure time stamps of config.status and
2495 # generated files are strictly newer.
2497 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2504 test "$program_prefix" != NONE
&&
2505 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2506 # Use a double $ so make ignores it.
2507 test "$program_suffix" != NONE
&&
2508 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2509 # Double any \ or $.
2510 # By default was `s,x,x', remove it if useless.
2511 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2512 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2514 # Expand $ac_aux_dir to an absolute path.
2515 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2517 if test x
"${MISSING+set}" != xset
; then
2520 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2522 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2525 # Use eval to expand $SHELL
2526 if eval "$MISSING --is-lightweight"; then
2527 am_missing_run
="$MISSING "
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2531 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2534 if test x
"${install_sh+set}" != xset
; then
2537 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2539 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2543 # Installed binaries are usually stripped using 'strip' when the user
2544 # run "make install-strip". However 'strip' might not be the right
2545 # tool to use in cross-compilation environments, therefore Automake
2546 # will honor the 'STRIP' environment variable to overrule this program.
2547 if test "$cross_compiling" != no
; then
2548 if test -n "$ac_tool_prefix"; then
2549 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2550 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if ${ac_cv_prog_STRIP+:} false
; then :
2554 $as_echo_n "(cached) " >&6
2556 if test -n "$STRIP"; then
2557 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 STRIP
=$ac_cv_prog_STRIP
2577 if test -n "$STRIP"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2579 $as_echo "$STRIP" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 $as_echo "no" >&6; }
2587 if test -z "$ac_cv_prog_STRIP"; then
2589 # Extract the first word of "strip", so it can be a program name with args.
2590 set dummy strip
; ac_word
=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$ac_ct_STRIP"; then
2597 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2606 ac_cv_prog_ac_ct_STRIP
="strip"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2617 if test -n "$ac_ct_STRIP"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2619 $as_echo "$ac_ct_STRIP" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2625 if test "x$ac_ct_STRIP" = x
; then
2628 case $cross_compiling:$ac_tool_warned in
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632 ac_tool_warned
=yes ;;
2637 STRIP
="$ac_cv_prog_STRIP"
2641 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2644 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2645 if test -z "$MKDIR_P"; then
2646 if ${ac_cv_path_mkdir+:} false
; then :
2647 $as_echo_n "(cached) " >&6
2649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2653 test -z "$as_dir" && as_dir
=.
2654 for ac_prog
in mkdir gmkdir
; do
2655 for ac_exec_ext
in '' $ac_executable_extensions; do
2656 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2657 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2658 'mkdir (GNU coreutils) '* | \
2659 'mkdir (coreutils) '* | \
2660 'mkdir (fileutils) '4.1*)
2661 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2671 test -d .
/--version && rmdir .
/--version
2672 if test "${ac_cv_path_mkdir+set}" = set; then
2673 MKDIR_P
="$ac_cv_path_mkdir -p"
2675 # As a last resort, use the slow shell script. Don't cache a
2676 # value for MKDIR_P within a source directory, because that will
2677 # break other packages using the cache if that directory is
2678 # removed, or if the value is a relative name.
2679 MKDIR_P
="$ac_install_sh -d"
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2683 $as_echo "$MKDIR_P" >&6; }
2685 for ac_prog
in gawk mawk nawk
awk
2687 # Extract the first word of "$ac_prog", so it can be a program name with args.
2688 set dummy
$ac_prog; ac_word
=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_AWK+:} false
; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$AWK"; then
2695 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2704 ac_cv_prog_AWK
="$ac_prog"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test -n "$AWK"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2717 $as_echo "$AWK" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2724 test -n "$AWK" && break
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2728 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2730 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2731 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2734 cat >conftest.
make <<\_ACEOF
2737 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2739 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2740 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2742 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2744 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2748 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2750 $as_echo "yes" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2755 SET_MAKE
="MAKE=${MAKE-make}"
2758 rm -rf .tst
2>/dev
/null
2759 mkdir .tst
2>/dev
/null
2760 if test -d .tst
; then
2765 rmdir .tst
2>/dev
/null
2767 # Check whether --enable-silent-rules was given.
2768 if test "${enable_silent_rules+set}" = set; then :
2769 enableval
=$enable_silent_rules;
2772 case $enable_silent_rules in # (((
2773 yes) AM_DEFAULT_VERBOSITY
=0;;
2774 no
) AM_DEFAULT_VERBOSITY
=1;;
2775 *) AM_DEFAULT_VERBOSITY
=1;;
2777 am_make
=${MAKE-make}
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2779 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2780 if ${am_cv_make_support_nested_variables+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 if $as_echo 'TRUE=$(BAR$(V))
2789 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2790 am_cv_make_support_nested_variables
=yes
2792 am_cv_make_support_nested_variables
=no
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2796 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2797 if test $am_cv_make_support_nested_variables = yes; then
2799 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2801 AM_V
=$AM_DEFAULT_VERBOSITY
2802 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2806 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2807 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2808 # is not polluted with repeated "-I."
2809 am__isrc
=' -I$(srcdir)'
2810 # test to see if srcdir already configured
2811 if test -f $srcdir/config.status
; then
2812 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2816 # test whether we have cygpath
2817 if test -z "$CYGPATH_W"; then
2818 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2819 CYGPATH_W
='cygpath -w'
2826 # Define the identity of the package.
2831 cat >>confdefs.h
<<_ACEOF
2832 #define PACKAGE "$PACKAGE"
2836 cat >>confdefs.h
<<_ACEOF
2837 #define VERSION "$VERSION"
2840 # Some tools Automake needs.
2842 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2845 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2848 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2851 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2854 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2856 # For better backward compatibility. To be removed once Automake 1.9.x
2857 # dies out for good. For more background, see:
2858 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2859 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2860 mkdir_p
='$(MKDIR_P)'
2862 # We need awk for the "check" target (and possibly the TAP driver). The
2863 # system "awk" is bad on some platforms.
2864 # Always define AMTAR for backward compatibility. Yes, it's still used
2865 # in the wild :-( We should find a proper way to deprecate it ...
2869 # We'll loop over all known methods to create a tar archive until one works.
2870 _am_tools
='gnutar pax cpio none'
2872 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2879 # POSIX will say in a future version that running "rm -f" with no argument
2880 # is OK; and we want to be able to make that assumption in our Makefile
2881 # recipes. So use an aggressive probe to check that the usage we want is
2882 # actually supported "in the wild" to an acceptable degree.
2883 # See automake bug#10828.
2884 # To make any issue more visible, cause the running configure to be aborted
2885 # by default if the 'rm' program in use doesn't match our expectations; the
2886 # user can still override this though.
2887 if rm -f && rm -fr && rm -rf; then : OK
; else
2891 Your 'rm' program seems unable to run without file operands specified
2892 on the command line, even when the '-f' option is present. This is contrary
2893 to the behaviour of most rm programs out there, and not conforming with
2894 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2896 Please tell bug-automake@gnu.org about your system, including the value
2897 of your $PATH and any error possibly output before this message. This
2898 can help us improve future automake versions.
2901 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2902 echo 'Configuration will proceed anyway, since you have set the' >&2
2903 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2907 Aborting the configuration process, to ensure you take notice of the issue.
2909 You can download and install GNU coreutils to get an 'rm' implementation
2910 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2912 If you want to complete the configuration process using your problematic
2913 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2914 to "yes", and re-run configure.
2917 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2921 # The following line causes --disable-maintainer-mode to be the default to
2922 # configure. This is necessary because libpng distributions cannot rely on the
2923 # time stamps of the autotools generated files being correct
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2926 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2927 # Check whether --enable-maintainer-mode was given.
2928 if test "${enable_maintainer_mode+set}" = set; then :
2929 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2931 USE_MAINTAINER_MODE
=no
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2935 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2936 if test $USE_MAINTAINER_MODE = yes; then
2937 MAINTAINER_MODE_TRUE
=
2938 MAINTAINER_MODE_FALSE
='#'
2940 MAINTAINER_MODE_TRUE
='#'
2941 MAINTAINER_MODE_FALSE
=
2944 MAINT
=$MAINTAINER_MODE_TRUE
2949 PNGLIB_VERSION
=1.6.36
2956 ac_config_headers
="$ac_config_headers config.h"
2959 # Checks for programs.
2961 ac_cpp
='$CPP $CPPFLAGS'
2962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_CC+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC
="$CC" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3002 $as_echo "$CC" >&6; }
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3010 if test -z "$ac_cv_prog_CC"; then
3012 # Extract the first word of "gcc", so it can be a program name with args.
3013 set dummy gcc
; ac_word
=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3017 $as_echo_n "(cached) " >&6
3019 if test -n "$ac_ct_CC"; then
3020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 for ac_exec_ext
in '' $ac_executable_extensions; do
3028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3029 ac_cv_prog_ac_ct_CC
="gcc"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3042 $as_echo "$ac_ct_CC" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3048 if test "x$ac_ct_CC" = x
; then
3051 case $cross_compiling:$ac_tool_warned in
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3055 ac_tool_warned
=yes ;;
3063 if test -z "$CC"; then
3064 if test -n "$ac_tool_prefix"; then
3065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3066 set dummy
${ac_tool_prefix}cc
; 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_CC+:} false
; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$CC"; then
3073 ac_cv_prog_CC
="$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 as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 if test -n "$CC"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 $as_echo "$CC" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3104 if test -z "$CC"; then
3105 # Extract the first word of "cc", so it can be a program name with args.
3106 set dummy cc
; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false
; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC
="$CC" # Let the user override the test.
3116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir
=.
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3124 ac_prog_rejected
=yes
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test $ac_prog_rejected = yes; then
3136 # We found a bogon in the path, so make sure we never use it.
3137 set dummy
$ac_cv_prog_CC
3139 if test $# != 0; then
3140 # We chose a different compiler from the bogus one.
3141 # However, it has the same basename, so the bogon will be chosen
3142 # first if we set CC to just the basename; use the full file name.
3144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3150 if test -n "$CC"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3152 $as_echo "$CC" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 if test -n "$ac_tool_prefix"; then
3162 for ac_prog
in cl.exe
3164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3165 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_CC+:} false
; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$CC"; then
3172 ac_cv_prog_CC
="$CC" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 if test -n "$CC"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3194 $as_echo "$CC" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3201 test -n "$CC" && break
3204 if test -z "$CC"; then
3206 for ac_prog
in cl.exe
3208 # Extract the first word of "$ac_prog", so it can be a program name with args.
3209 set dummy
$ac_prog; ac_word
=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -n "$ac_ct_CC"; then
3216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3225 ac_cv_prog_ac_ct_CC
="$ac_prog"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3236 if test -n "$ac_ct_CC"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3238 $as_echo "$ac_ct_CC" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3245 test -n "$ac_ct_CC" && break
3248 if test "x$ac_ct_CC" = x
; then
3251 case $cross_compiling:$ac_tool_warned in
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3255 ac_tool_warned
=yes ;;
3264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266 as_fn_error $?
"no acceptable C compiler found in \$PATH
3267 See \`config.log' for more details" "$LINENO" 5; }
3269 # Provide some information about the compiler.
3270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3273 for ac_option
in --version -v -V -qversion; do
3274 { { ac_try
="$ac_compiler $ac_option >&5"
3276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3283 if test -s conftest.err; then
3285 ... rest of stderr output deleted ...
3286 10q' conftest.err >conftest.er1
3287 cat conftest.er1 >&5
3289 rm -f conftest.er1 conftest.err
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291 test $ac_status = 0; }
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 ac_clean_files_save=$ac_clean_files
3306 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3307 # Try to create an executable without -o first, disregard a.out.
3308 # It will help us diagnose broken compilers, and finding out an intuition
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3311 $as_echo_n "checking whether the C compiler works... " >&6; }
3312 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3314 # The possible output files:
3315 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3318 for ac_file in $ac_files
3321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3322 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3327 if { { ac_try="$ac_link_default"
3329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3330 *) ac_try_echo
=$ac_try;;
3332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link_default") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; then :
3338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3341 # so that the user can short-circuit this test for compilers unknown to
3343 for ac_file
in $ac_files ''
3345 test -f "$ac_file" ||
continue
3347 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3350 # We found the default executable, but exeext='' is most
3354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3356 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3358 # We set ac_cv_exeext here because the later test for it is not
3359 # safe: cross compilers may not add the suffix if given an `-o'
3360 # argument, so we may need to know it at that point already.
3361 # Even if this section looks crufty: it has the advantage of
3368 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3373 if test -z "$ac_file"; then :
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3376 $as_echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.
$ac_ext >&5
3379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error
77 "C compiler cannot create executables
3382 See \`config.log' for more details" "$LINENO" 5; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3385 $as_echo "yes" >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3388 $as_echo_n "checking for C compiler default output file name... " >&6; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3390 $as_echo "$ac_file" >&6; }
3391 ac_exeext
=$ac_cv_exeext
3393 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3394 ac_clean_files
=$ac_clean_files_save
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3396 $as_echo_n "checking for suffix of executables... " >&6; }
3397 if { { ac_try
="$ac_link"
3399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 $as_echo "$ac_try_echo"; } >&5
3404 (eval "$ac_link") 2>&5
3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407 test $ac_status = 0; }; then :
3408 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3409 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3410 # work properly (i.e., refer to `conftest.exe'), while it won't with
3412 for ac_file
in conftest.exe conftest conftest.
*; do
3413 test -f "$ac_file" ||
continue
3415 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3416 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3424 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3425 See \`config.log' for more details" "$LINENO" 5; }
3427 rm -f conftest conftest
$ac_cv_exeext
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3429 $as_echo "$ac_cv_exeext" >&6; }
3431 rm -f conftest.
$ac_ext
3432 EXEEXT
=$ac_cv_exeext
3434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3440 FILE *f = fopen ("conftest.out", "w");
3441 return ferror (f) || fclose (f) != 0;
3447 ac_clean_files
="$ac_clean_files conftest.out"
3448 # Check that the compiler produces executables we can run. If not, either
3449 # the compiler is broken, or we cross compile.
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3451 $as_echo_n "checking whether we are cross compiling... " >&6; }
3452 if test "$cross_compiling" != yes; then
3453 { { ac_try
="$ac_link"
3455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }
3464 if { ac_try='./conftest$ac_cv_exeext'
3465 { { case "(($ac_try" in
3466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3467 *) ac_try_echo
=$ac_try;;
3469 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_try") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; }; then
3477 if test "$cross_compiling" = maybe
; then
3480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3482 as_fn_error $?
"cannot run C compiled programs.
3483 If you meant to cross compile, use \`--host'.
3484 See \`config.log' for more details" "$LINENO" 5; }
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3489 $as_echo "$cross_compiling" >&6; }
3491 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3492 ac_clean_files
=$ac_clean_files_save
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3494 $as_echo_n "checking for suffix of object files... " >&6; }
3495 if ${ac_cv_objext+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 rm -f conftest.o conftest.obj
3510 if { { ac_try
="$ac_compile"
3512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_compile") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 for ac_file in conftest.o conftest.obj conftest.*; do
3522 test -f "$ac_file" || continue;
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3530 $as_echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.$ac_ext >&5
3533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3535 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3536 See \
`config.log' for more details" "$LINENO" 5; }
3538 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3541 $as_echo "$ac_cv_objext" >&6; }
3542 OBJEXT=$ac_cv_objext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3546 if ${ac_cv_c_compiler_gnu+:} false; then :
3547 $as_echo_n "(cached) " >&6
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3563 if ac_fn_c_try_compile "$LINENO"; then :
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3574 if test $ac_compiler_gnu = yes; then
3579 ac_test_CFLAGS=${CFLAGS+set}
3580 ac_save_CFLAGS=$CFLAGS
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3583 if ${ac_cv_prog_cc_g+:} false; then :
3584 $as_echo_n "(cached) " >&6
3586 ac_save_c_werror_flag=$ac_c_werror_flag
3587 ac_c_werror_flag=yes
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3601 if ac_fn_c_try_compile "$LINENO"; then :
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3616 if ac_fn_c_try_compile "$LINENO"; then :
3619 ac_c_werror_flag=$ac_save_c_werror_flag
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 if ac_fn_c_try_compile "$LINENO"; then :
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3640 ac_c_werror_flag=$ac_save_c_werror_flag
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3643 $as_echo "$ac_cv_prog_cc_g" >&6; }
3644 if test "$ac_test_CFLAGS" = set; then
3645 CFLAGS=$ac_save_CFLAGS
3646 elif test $ac_cv_prog_cc_g = yes; then
3647 if test "$GCC" = yes; then
3653 if test "$GCC" = yes; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3661 if ${ac_cv_prog_cc_c89+:} false; then :
3662 $as_echo_n "(cached) " >&6
3664 ac_cv_prog_cc_c89=no
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3672 struct buf { int x; };
3673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3674 static char *e (p, i)
3680 static char *f (char * (*g) (char **, int), char **p, ...)
3685 s = g (p, va_arg (v,int));
3690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3691 function prototypes and stuff, but not '\xHH' hex character constants.
3692 These don't provoke an error unfortunately, instead are silently treated
3693 as 'x'. The following induces an error, until -std is added to get
3694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3695 array size at least. It's necessary to write '\x00'==0 to get something
3696 that's true only with -std. */
3697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3700 inside strings and character constants. */
3702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3704 int test (int i, double x);
3705 struct s1 {int (*f) (int a);};
3706 struct s2 {int (*f) (double a);};
3707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3721 CC="$ac_save_CC $ac_arg"
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723 ac_cv_prog_cc_c89=$ac_arg
3725 rm -f core conftest.err conftest.$ac_objext
3726 test "x$ac_cv_prog_cc_c89" != "xno" && break
3728 rm -f conftest.$ac_ext
3733 case "x$ac_cv_prog_cc_c89" in
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3736 $as_echo "none needed" >&6; } ;;
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3739 $as_echo "unsupported" >&6; } ;;
3741 CC="$CC $ac_cv_prog_cc_c89"
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3745 if test "x$ac_cv_prog_cc_c89" != xno; then :
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 ac_cpp='$CPP $CPPFLAGS'
3757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3761 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3762 if ${am_cv_prog_cc_c_o+:} false; then :
3763 $as_echo_n "(cached) " >&6
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3776 # Make sure it works both with $CC and with simple cc.
3777 # Following AC_PROG_CC_C_O, we do the test twice because some
3778 # compilers refuse to overwrite an existing .o file with -o,
3779 # though they will create one.
3780 am_cv_prog_cc_c_o=yes
3782 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3783 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } \
3787 && test -f conftest2.$ac_objext; then
3790 am_cv_prog_cc_c_o=no
3794 rm -f core conftest*
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3798 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3799 if test "$am_cv_prog_cc_c_o" != yes; then
3800 # Losing compiler, so override with the script.
3801 # FIXME: It is wrong to rewrite CC.
3802 # But if we don't then we get into trouble of one sort or another.
3803 # A longer-term fix would be to have automake use am__CC in this case,
3804 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3805 CC="$am_aux_dir/compile $CC"
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 DEPDIR="${am__leading_dot}deps"
3815 ac_config_commands="$ac_config_commands depfiles"
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3818 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3819 cat > confinc.mk << 'END'
3821 @echo this is the am__doit target >confinc.out
3826 # BSD make does it like this.
3827 echo '.include "confinc.mk" # ignored' > confmf.BSD
3828 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3829 echo 'include confinc.mk # ignored' > confmf.GNU
3831 for s in GNU BSD; do
3832 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3833 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }
3837 case $?:`cat confinc.out
2>/dev
/null
` in #(
3838 '0:this is the am__doit target') :
3841 am__include='.include' am__quote='"' ;; #(
3843 am__include='include' am__quote='' ;;
3848 if test "$am__include" != "#"; then
3849 _am_result="yes ($s style)"
3853 rm -f confinc.* confmf.*
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3855 $as_echo "${_am_result}" >&6; }
3857 # Check whether --enable-dependency-tracking was given.
3858 if test "${enable_dependency_tracking+set}" = set; then :
3859 enableval=$enable_dependency_tracking;
3862 if test "x$enable_dependency_tracking" != xno; then
3863 am_depcomp="$ac_aux_dir/depcomp"
3867 if test "x$enable_dependency_tracking" != xno; then
3877 depcc="$CC" am_compiler_list=
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3880 $as_echo_n "checking dependency style of $depcc... " >&6; }
3881 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3885 # We make a subdir and do the tests there. Otherwise we can end up
3886 # making bogus files that we don't know about and never remove. For
3887 # instance it was reported that on HP-UX the gcc test will end up
3888 # making a dummy file named 'D' -- because '-MD' means "put the output
3892 # Copy depcomp to subdir because otherwise we won't find it if we're
3893 # using a relative directory.
3894 cp "$am_depcomp" conftest.dir
3896 # We will build objects and dependencies in a subdirectory because
3897 # it helps to detect inapplicable dependency modes. For instance
3898 # both Tru64's cc and ICC support -MD to output dependencies as a
3899 # side effect of compilation, but ICC will put the dependencies in
3900 # the current directory while Tru64 will put them in the object
3904 am_cv_CC_dependencies_compiler_type=none
3905 if test "$am_compiler_list" = ""; then
3906 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3909 case " $depcc " in #(
3910 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3913 for depmode in $am_compiler_list; do
3914 # Setup a source with many dependencies, because some compilers
3915 # like to wrap large dependency lists on column 80 (with \), and
3916 # we should not choose a depcomp mode which is confused by this.
3918 # We need to recreate these files for each test, as the compiler may
3919 # overwrite some of them when testing with obscure command lines.
3920 # This happens at least with the AIX C compiler.
3922 for i in 1 2 3 4 5 6; do
3923 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3924 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3925 # Solaris 10 /bin/sh.
3926 echo '/* dummy */' > sub/conftst$i.h
3928 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3930 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3931 # mode. It turns out that the SunPro C++ compiler does not properly
3932 # handle '-M -o', and we need to detect this. Also, some Intel
3933 # versions had trouble with output in subdirs.
3934 am__obj=sub/conftest.${OBJEXT-o}
3935 am__minus_obj="-o $am__obj"
3938 # This depmode causes a compiler race in universal mode.
3939 test "$am__universal" = false || continue
3942 # After this tag, mechanisms are not by side-effect, so they'll
3943 # only be used when explicitly requested.
3944 if test "x$enable_dependency_tracking" = xyes; then
3950 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3951 # This compiler won't grok '-c -o', but also, the minuso test has
3952 # not run yet. These depmodes are late enough in the game, and
3953 # so weak that their functioning should not be impacted.
3954 am__obj=conftest.${OBJEXT-o}
3959 if depmode=$depmode \
3960 source=sub/conftest.c object=$am__obj \
3961 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3962 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3963 >/dev/null 2>conftest.err &&
3964 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3965 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3966 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3967 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3968 # icc doesn't choke on unknown options, it will just issue warnings
3969 # or remarks (even with -Werror). So we grep stderr for any message
3970 # that says an option was ignored or not supported.
3971 # When given -MP, icc 7.0 and 7.1 complain thusly:
3972 # icc: Command line warning: ignoring option '-M'; no argument required
3973 # The diagnosis changed in icc 8.0:
3974 # icc: Command line remark: option '-MP' not supported
3975 if (grep 'ignoring option' conftest.err ||
3976 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3977 am_cv_CC_dependencies_compiler_type=$depmode
3986 am_cv_CC_dependencies_compiler_type=none
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3991 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3992 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3995 test "x$enable_dependency_tracking" != xno \
3996 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3998 am__fastdepCC_FALSE='#'
4000 am__fastdepCC_TRUE='#'
4001 am__fastdepCC_FALSE=
4005 # By default we simply use the C compiler to build assembly code.
4007 test "${CCAS+set}" = set || CCAS=$CC
4008 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4012 depcc="$CCAS" am_compiler_list=
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4015 $as_echo_n "checking dependency style of $depcc... " >&6; }
4016 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4017 $as_echo_n "(cached) " >&6
4019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4020 # We make a subdir and do the tests there. Otherwise we can end up
4021 # making bogus files that we don't know about and never remove. For
4022 # instance it was reported that on HP-UX the gcc test will end up
4023 # making a dummy file named 'D' -- because '-MD' means "put the output
4027 # Copy depcomp to subdir because otherwise we won't find it if we're
4028 # using a relative directory.
4029 cp "$am_depcomp" conftest.dir
4031 # We will build objects and dependencies in a subdirectory because
4032 # it helps to detect inapplicable dependency modes. For instance
4033 # both Tru64's cc and ICC support -MD to output dependencies as a
4034 # side effect of compilation, but ICC will put the dependencies in
4035 # the current directory while Tru64 will put them in the object
4039 am_cv_CCAS_dependencies_compiler_type=none
4040 if test "$am_compiler_list" = ""; then
4041 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4046 for depmode in $am_compiler_list; do
4047 # Setup a source with many dependencies, because some compilers
4048 # like to wrap large dependency lists on column 80 (with \), and
4049 # we should not choose a depcomp mode which is confused by this.
4051 # We need to recreate these files for each test, as the compiler may
4052 # overwrite some of them when testing with obscure command lines.
4053 # This happens at least with the AIX C compiler.
4055 for i in 1 2 3 4 5 6; do
4056 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4057 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4058 # Solaris 10 /bin/sh.
4059 echo '/* dummy */' > sub/conftst$i.h
4061 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4063 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4064 # mode. It turns out that the SunPro C++ compiler does not properly
4065 # handle '-M -o', and we need to detect this. Also, some Intel
4066 # versions had trouble with output in subdirs.
4067 am__obj=sub/conftest.${OBJEXT-o}
4068 am__minus_obj="-o $am__obj"
4071 # This depmode causes a compiler race in universal mode.
4072 test "$am__universal" = false || continue
4075 # After this tag, mechanisms are not by side-effect, so they'll
4076 # only be used when explicitly requested.
4077 if test "x$enable_dependency_tracking" = xyes; then
4083 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4084 # This compiler won't grok '-c -o', but also, the minuso test has
4085 # not run yet. These depmodes are late enough in the game, and
4086 # so weak that their functioning should not be impacted.
4087 am__obj=conftest.${OBJEXT-o}
4092 if depmode=$depmode \
4093 source=sub/conftest.c object=$am__obj \
4094 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4095 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4096 >/dev/null 2>conftest.err &&
4097 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4098 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4099 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4100 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4101 # icc doesn't choke on unknown options, it will just issue warnings
4102 # or remarks (even with -Werror). So we grep stderr for any message
4103 # that says an option was ignored or not supported.
4104 # When given -MP, icc 7.0 and 7.1 complain thusly:
4105 # icc: Command line warning: ignoring option '-M'; no argument required
4106 # The diagnosis changed in icc 8.0:
4107 # icc: Command line remark: option '-MP' not supported
4108 if (grep 'ignoring option' conftest.err ||
4109 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4110 am_cv_CCAS_dependencies_compiler_type=$depmode
4119 am_cv_CCAS_dependencies_compiler_type=none
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4124 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4125 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4128 test "x$enable_dependency_tracking" != xno \
4129 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4130 am__fastdepCCAS_TRUE=
4131 am__fastdepCCAS_FALSE='#'
4133 am__fastdepCCAS_TRUE='#'
4134 am__fastdepCCAS_FALSE=
4138 # Make sure we can run config.sub.
4139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4140 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4143 $as_echo_n "checking build system type... " >&6; }
4144 if ${ac_cv_build+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 ac_build_alias=$build_alias
4148 test "x$ac_build_alias" = x &&
4149 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4150 test "x$ac_build_alias" = x &&
4151 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4153 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4157 $as_echo "$ac_cv_build" >&6; }
4158 case $ac_cv_build in
4160 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4163 ac_save_IFS=$IFS; IFS='-'
4169 # Remember, the first character of IFS is used to create $*,
4170 # except with old shells:
4173 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4177 $as_echo_n "checking host system type... " >&6; }
4178 if ${ac_cv_host+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 if test "x$host_alias" = x; then
4182 ac_cv_host=$ac_cv_build
4184 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4190 $as_echo "$ac_cv_host" >&6; }
4193 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4196 ac_save_IFS=$IFS; IFS='-'
4202 # Remember, the first character of IFS is used to create $*,
4203 # except with old shells:
4206 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4210 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4211 if ${ac_cv_path_SED+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4215 for ac_i in 1 2 3 4 5 6 7; do
4216 ac_script="$ac_script$as_nl$ac_script"
4218 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4219 { ac_script=; unset ac_script;}
4220 if test -z "$SED"; then
4221 ac_path_SED_found=false
4222 # Loop through the user's path and test for each of PROGNAME-LIST
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir=.
4228 for ac_prog in sed gsed; do
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4231 as_fn_executable_p "$ac_path_SED" || continue
4232 # Check for GNU ac_path_SED and select it if it is found.
4233 # Check for GNU $ac_path_SED
4234 case `"$ac_path_SED" --version 2>&1` in
4236 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4239 $as_echo_n 0123456789 >"conftest.in"
4242 cat "conftest.in" "conftest.in" >"conftest.tmp"
4243 mv "conftest.tmp" "conftest.in"
4244 cp "conftest.in" "conftest.nl"
4245 $as_echo '' >> "conftest.nl"
4246 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4247 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4248 as_fn_arith $ac_count + 1 && ac_count=$as_val
4249 if test $ac_count -gt ${ac_path_SED_max-0}; then
4250 # Best one so far, save it but keep looking for a better one
4251 ac_cv_path_SED="$ac_path_SED"
4252 ac_path_SED_max=$ac_count
4254 # 10*(2^10) chars as input seems more than enough
4255 test $ac_count -gt 10 && break
4257 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4260 $ac_path_SED_found && break 3
4265 if test -z "$ac_cv_path_SED"; then
4266 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4274 $as_echo "$ac_cv_path_SED" >&6; }
4275 SED="$ac_cv_path_SED"
4278 test -z "$SED" && SED=sed
4279 Xsed="$SED -e 1s/^X//"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4293 if ${ac_cv_path_GREP+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 if test -z "$GREP"; then
4297 ac_path_GREP_found=false
4298 # Loop through the user's path and test for each of PROGNAME-LIST
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4303 test -z "$as_dir" && as_dir=.
4304 for ac_prog in grep ggrep; do
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4307 as_fn_executable_p "$ac_path_GREP" || continue
4308 # Check for GNU ac_path_GREP and select it if it is found.
4309 # Check for GNU $ac_path_GREP
4310 case `"$ac_path_GREP" --version 2>&1` in
4312 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4315 $as_echo_n 0123456789 >"conftest.in"
4318 cat "conftest.in" "conftest.in" >"conftest.tmp"
4319 mv "conftest.tmp" "conftest.in"
4320 cp "conftest.in" "conftest.nl"
4321 $as_echo 'GREP' >> "conftest.nl"
4322 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324 as_fn_arith $ac_count + 1 && ac_count=$as_val
4325 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4326 # Best one so far, save it but keep looking for a better one
4327 ac_cv_path_GREP="$ac_path_GREP"
4328 ac_path_GREP_max=$ac_count
4330 # 10*(2^10) chars as input seems more than enough
4331 test $ac_count -gt 10 && break
4333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4336 $ac_path_GREP_found && break 3
4341 if test -z "$ac_cv_path_GREP"; then
4342 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4345 ac_cv_path_GREP=$GREP
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4350 $as_echo "$ac_cv_path_GREP" >&6; }
4351 GREP="$ac_cv_path_GREP"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4355 $as_echo_n "checking for egrep... " >&6; }
4356 if ${ac_cv_path_EGREP+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4360 then ac_cv_path_EGREP="$GREP -E"
4362 if test -z "$EGREP"; then
4363 ac_path_EGREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in egrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4373 as_fn_executable_p "$ac_path_EGREP" || continue
4374 # Check for GNU ac_path_EGREP and select it if it is found.
4375 # Check for GNU $ac_path_EGREP
4376 case `"$ac_path_EGREP" --version 2>&1` in
4378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4381 $as_echo_n 0123456789 >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo 'EGREP' >> "conftest.nl"
4388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_EGREP="$ac_path_EGREP"
4394 ac_path_EGREP_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4402 $ac_path_EGREP_found && break 3
4407 if test -z "$ac_cv_path_EGREP"; then
4408 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4411 ac_cv_path_EGREP=$EGREP
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4417 $as_echo "$ac_cv_path_EGREP" >&6; }
4418 EGREP="$ac_cv_path_EGREP"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4422 $as_echo_n "checking for fgrep... " >&6; }
4423 if ${ac_cv_path_FGREP+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4427 then ac_cv_path_FGREP="$GREP -F"
4429 if test -z "$FGREP"; then
4430 ac_path_FGREP_found=false
4431 # Loop through the user's path and test for each of PROGNAME-LIST
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4436 test -z "$as_dir" && as_dir=.
4437 for ac_prog in fgrep; do
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4440 as_fn_executable_p "$ac_path_FGREP" || continue
4441 # Check for GNU ac_path_FGREP and select it if it is found.
4442 # Check for GNU $ac_path_FGREP
4443 case `"$ac_path_FGREP" --version 2>&1` in
4445 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4448 $as_echo_n 0123456789 >"conftest.in"
4451 cat "conftest.in" "conftest.in" >"conftest.tmp"
4452 mv "conftest.tmp" "conftest.in"
4453 cp "conftest.in" "conftest.nl"
4454 $as_echo 'FGREP' >> "conftest.nl"
4455 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4457 as_fn_arith $ac_count + 1 && ac_count=$as_val
4458 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4459 # Best one so far, save it but keep looking for a better one
4460 ac_cv_path_FGREP="$ac_path_FGREP"
4461 ac_path_FGREP_max=$ac_count
4463 # 10*(2^10) chars as input seems more than enough
4464 test $ac_count -gt 10 && break
4466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4469 $ac_path_FGREP_found && break 3
4474 if test -z "$ac_cv_path_FGREP"; then
4475 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4478 ac_cv_path_FGREP=$FGREP
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4484 $as_echo "$ac_cv_path_FGREP" >&6; }
4485 FGREP="$ac_cv_path_FGREP"
4488 test -z "$GREP" && GREP=grep
4506 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4507 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4508 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4511 $as_echo_n "checking how to print strings... " >&6; }
4512 # Test print first, because it will be a builtin if present.
4513 if test "X`( print
-r -- -n ) 2>/dev
/null
`" = X-n && \
4514 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4516 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4519 # Use this function as a fallback that always works.
4520 func_fallback_echo ()
4522 eval 'cat <<_LTECHO_EOF
4526 ECHO='func_fallback_echo'
4529 # func_echo_all arg...
4530 # Invoke $ECHO with all args, space-separated.
4537 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4538 $as_echo "printf" >&6; } ;;
4539 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4540 $as_echo "print -r" >&6; } ;;
4541 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4542 $as_echo "cat" >&6; } ;;
4560 # Check whether --with-gnu-ld was given.
4561 if test "${with_gnu_ld+set}" = set; then :
4562 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4568 if test yes = "$GCC"; then
4569 # Check if gcc -print-prog-name=ld gives a path.
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4571 $as_echo_n "checking for ld used by $CC... " >&6; }
4574 # gcc leaves a trailing carriage return, which upsets mingw
4575 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4577 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4580 # Accept absolute paths.
4582 re_direlt='/[^/][^/]*/\.\./'
4583 # Canonicalize the pathname of ld
4584 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4586 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4588 test -z "$LD" && LD=$ac_prog
4591 # If it fails, then pretend we aren't using GCC.
4595 # If it is relative, then search for the first ld in PATH.
4599 elif test yes = "$with_gnu_ld"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4601 $as_echo_n "checking for GNU ld... " >&6; }
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4604 $as_echo_n "checking for non-GNU ld... " >&6; }
4606 if ${lt_cv_path_LD+:} false; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -z "$LD"; then
4610 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4611 for ac_dir in $PATH; do
4613 test -z "$ac_dir" && ac_dir=.
4614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4615 lt_cv_path_LD=$ac_dir/$ac_prog
4616 # Check to see if the program is GNU ld. I'd rather use --version,
4617 # but apparently some variants of GNU ld only accept -v.
4618 # Break only if it was the GNU/non-GNU ld that we prefer.
4619 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4620 *GNU* | *'with BFD'*)
4621 test no != "$with_gnu_ld" && break
4624 test yes != "$with_gnu_ld" && break
4631 lt_cv_path_LD=$LD # Let the user override the test with a path.
4636 if test -n "$LD"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4638 $as_echo "$LD" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4643 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4646 if ${lt_cv_prog_gnu_ld+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4650 case `$LD -v 2>&1 </dev
/null
` in
4651 *GNU* | *'with BFD'*)
4652 lt_cv_prog_gnu_ld=yes
4655 lt_cv_prog_gnu_ld=no
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4661 with_gnu_ld=$lt_cv_prog_gnu_ld
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4677 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4678 # On Suns, sometimes $CPP names a directory.
4679 if test -n "$CPP" && test -d "$CPP"; then
4682 if test -z "$CPP"; then
4683 if ${ac_cv_prog_CPP+:} false; then :
4684 $as_echo_n "(cached) " >&6
4686 # Double quotes because CPP needs to be expanded
4687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4690 for ac_c_preproc_warn_flag in '' yes
4692 # Use a header file that comes with gcc, so configuring glibc
4693 # with a fresh cross-compiler works.
4694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4695 # <limits.h> exists even on freestanding compilers.
4696 # On the NeXT, cc -E runs the code through the compiler's parser,
4697 # not just through cpp. "Syntax error" is here to catch this case.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4701 # include <limits.h>
4703 # include <assert.h>
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: fails on valid input.
4713 rm -f conftest.err conftest.i conftest.$ac_ext
4715 # OK, works on sane cases. Now check whether nonexistent headers
4716 # can be detected and how.
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4719 #include <ac_nonexistent.h>
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4722 # Broken: success on invalid input.
4725 # Passes both tests.
4729 rm -f conftest.err conftest.i conftest.$ac_ext
4732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4733 rm -f conftest.i conftest.err conftest.
$ac_ext
4734 if $ac_preproc_ok; then :
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4747 $as_echo "$CPP" >&6; }
4749 for ac_c_preproc_warn_flag
in '' yes
4751 # Use a header file that comes with gcc, so configuring glibc
4752 # with a fresh cross-compiler works.
4753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4754 # <limits.h> exists even on freestanding compilers.
4755 # On the NeXT, cc -E runs the code through the compiler's parser,
4756 # not just through cpp. "Syntax error" is here to catch this case.
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4760 # include <limits.h>
4762 # include <assert.h>
4766 if ac_fn_c_try_cpp
"$LINENO"; then :
4769 # Broken: fails on valid input.
4772 rm -f conftest.err conftest.i conftest.
$ac_ext
4774 # OK, works on sane cases. Now check whether nonexistent headers
4775 # can be detected and how.
4776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 #include <ac_nonexistent.h>
4780 if ac_fn_c_try_cpp
"$LINENO"; then :
4781 # Broken: success on invalid input.
4784 # Passes both tests.
4788 rm -f conftest.err conftest.i conftest.
$ac_ext
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.i conftest.err conftest.
$ac_ext
4793 if $ac_preproc_ok; then :
4796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4798 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4799 See \`config.log' for more details" "$LINENO" 5; }
4803 ac_cpp
='$CPP $CPPFLAGS'
4804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4808 for ac_prog
in gawk mawk nawk
awk
4810 # Extract the first word of "$ac_prog", so it can be a program name with args.
4811 set dummy
$ac_prog; ac_word
=$2
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 $as_echo_n "checking for $ac_word... " >&6; }
4814 if ${ac_cv_prog_AWK+:} false
; then :
4815 $as_echo_n "(cached) " >&6
4817 if test -n "$AWK"; then
4818 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir
=.
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_prog_AWK
="$ac_prog"
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 if test -n "$AWK"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4840 $as_echo "$AWK" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4847 test -n "$AWK" && break
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4852 $as_echo_n "checking whether ln -s works... " >&6; }
4854 if test "$LN_S" = "ln -s"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4856 $as_echo "yes" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4859 $as_echo "no, using $LN_S" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4863 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4865 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4866 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 cat >conftest.
make <<\_ACEOF
4872 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4874 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4877 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4879 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4883 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4885 $as_echo "yes" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4890 SET_MAKE
="MAKE=${MAKE-make}"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4897 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4902 macro_version
='2.4.6'
4903 macro_revision
='2.4.6'
4917 ltmain
=$ac_aux_dir/ltmain.sh
4919 # Backslashify metacharacters that are still active within
4920 # double-quoted strings.
4921 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4923 # Same as above, but do not quote variable references.
4924 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4926 # Sed substitution to delay expansion of an escaped shell variable in a
4927 # double_quote_subst'ed string.
4928 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4930 # Sed substitution to delay expansion of an escaped single quote.
4931 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4933 # Sed substitution to avoid accidental globbing in evaled expressions
4934 no_glob_subst
='s/\*/\\\*/g'
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4937 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4938 if ${lt_cv_path_NM+:} false
; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$NM"; then
4942 # Let the user override the test.
4945 lt_nm_to_check
=${ac_tool_prefix}nm
4946 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4947 lt_nm_to_check
="$lt_nm_to_check nm"
4949 for lt_tmp_nm
in $lt_nm_to_check; do
4950 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
4951 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4953 test -z "$ac_dir" && ac_dir
=.
4954 tmp_nm
=$ac_dir/$lt_tmp_nm
4955 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
4956 # Check to see if the nm accepts a BSD-compat flag.
4957 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4958 # nm: unknown option "B" ignored
4959 # Tru64's nm complains that /dev/null is an invalid object file
4960 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4962 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
4963 *) lt_bad_file
=/dev
/null
;;
4965 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4966 *$lt_bad_file* |
*'Invalid file or object type'*)
4967 lt_cv_path_NM
="$tmp_nm -B"
4971 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4973 lt_cv_path_NM
="$tmp_nm -p"
4977 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4978 continue # so that we can try to find one that supports BSD flags
4987 : ${lt_cv_path_NM=no}
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4991 $as_echo "$lt_cv_path_NM" >&6; }
4992 if test no
!= "$lt_cv_path_NM"; then
4995 # Didn't find any BSD compatible name lister, look for dumpbin.
4996 if test -n "$DUMPBIN"; then :
4997 # Let the user override the test.
4999 if test -n "$ac_tool_prefix"; then
5000 for ac_prog
in dumpbin
"link -dump"
5002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5003 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$DUMPBIN"; then
5010 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 DUMPBIN
=$ac_cv_prog_DUMPBIN
5030 if test -n "$DUMPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5032 $as_echo "$DUMPBIN" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$DUMPBIN" && break
5042 if test -z "$DUMPBIN"; then
5043 ac_ct_DUMPBIN
=$DUMPBIN
5044 for ac_prog
in dumpbin
"link -dump"
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy
$ac_prog; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$ac_ct_DUMPBIN"; then
5054 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5063 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5074 if test -n "$ac_ct_DUMPBIN"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5076 $as_echo "$ac_ct_DUMPBIN" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 test -n "$ac_ct_DUMPBIN" && break
5086 if test "x$ac_ct_DUMPBIN" = x
; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned
=yes ;;
5095 DUMPBIN
=$ac_ct_DUMPBIN
5099 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5101 DUMPBIN
="$DUMPBIN -symbols -headers"
5109 if test : != "$DUMPBIN"; then
5113 test -z "$NM" && NM
=nm
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5121 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5122 if ${lt_cv_nm_interface+:} false
; then :
5123 $as_echo_n "(cached) " >&6
5125 lt_cv_nm_interface
="BSD nm"
5126 echo "int some_variable = 0;" > conftest.
$ac_ext
5127 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5128 (eval "$ac_compile" 2>conftest.err
)
5129 cat conftest.err
>&5
5130 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5131 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5132 cat conftest.err
>&5
5133 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5134 cat conftest.out
>&5
5135 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5136 lt_cv_nm_interface
="MS dumpbin"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5141 $as_echo "$lt_cv_nm_interface" >&6; }
5143 # find the maximum length of command line arguments
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5145 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5146 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5154 # On DJGPP, this test can blow up pretty badly due to problems in libc
5155 # (any single argument exceeding 2000 bytes causes a buffer overrun
5156 # during glob expansion). Even if it were fixed, the result of this
5157 # check would be larger than it should be.
5158 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5162 # Under GNU Hurd, this test is not required because there is
5163 # no limit to the length of command line arguments.
5164 # Libtool will interpret -1 as no limit whatsoever
5165 lt_cv_sys_max_cmd_len
=-1;
5168 cygwin
* | mingw
* | cegcc
*)
5169 # On Win9x/ME, this test blows up -- it succeeds, but takes
5170 # about 5 minutes as the teststring grows exponentially.
5171 # Worse, since 9x/ME are not pre-emptively multitasking,
5172 # you end up with a "frozen" computer, even though with patience
5173 # the test eventually succeeds (with a max line length of 256k).
5174 # Instead, let's just punt: use the minimum linelength reported by
5175 # all of the supported platforms: 8192 (on NT/2K/XP).
5176 lt_cv_sys_max_cmd_len
=8192;
5180 # On MiNT this can take a long time and run out of memory.
5181 lt_cv_sys_max_cmd_len
=8192;
5185 # On AmigaOS with pdksh, this test takes hours, literally.
5186 # So we just punt and use a minimum line length of 8192.
5187 lt_cv_sys_max_cmd_len
=8192;
5190 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
5191 # This has been around since 386BSD, at least. Likely further.
5192 if test -x /sbin
/sysctl
; then
5193 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5194 elif test -x /usr
/sbin
/sysctl
; then
5195 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5197 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5199 # And add a safety zone
5200 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5201 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5205 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5206 lt_cv_sys_max_cmd_len
=196608
5210 # The test takes a long time on OS/2.
5211 lt_cv_sys_max_cmd_len
=8192
5215 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5216 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5217 # nice to cause kernel panics so lets avoid the loop below.
5218 # First set a reasonable default.
5219 lt_cv_sys_max_cmd_len
=16384
5221 if test -x /sbin
/sysconfig
; then
5222 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5223 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5228 lt_cv_sys_max_cmd_len
=102400
5230 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5231 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5232 if test -n "$kargmax"; then
5233 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5235 lt_cv_sys_max_cmd_len
=32768
5239 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5240 if test -n "$lt_cv_sys_max_cmd_len" && \
5241 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5242 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5243 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5245 # Make teststring a little bigger before we do anything with it.
5246 # a 1K string should be a reasonable start.
5247 for i
in 1 2 3 4 5 6 7 8; do
5248 teststring
=$teststring$teststring
5250 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5251 # If test is not a shell built-in, we'll probably end up computing a
5252 # maximum length that is only half of the actual maximum length, but
5254 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
5255 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5256 test 17 != "$i" # 1/2 MB should be enough
5259 teststring
=$teststring$teststring
5261 # Only check the string length outside the loop.
5262 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5264 # Add a significant safety factor because C++ compilers can tack on
5265 # massive amounts of additional arguments before passing them to the
5266 # linker. It appears as though 1/2 is a usable value.
5267 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5274 if test -n "$lt_cv_sys_max_cmd_len"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5276 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5279 $as_echo "none" >&6; }
5281 max_cmd_len
=$lt_cv_sys_max_cmd_len
5292 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5302 # test EBCDIC or ASCII
5303 case `echo X|tr X '\101'` in
5304 A
) # ASCII based system
5305 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5306 lt_SP2NL
='tr \040 \012'
5307 lt_NL2SP
='tr \015\012 \040\040'
5309 *) # EBCDIC based system
5310 lt_SP2NL
='tr \100 \n'
5311 lt_NL2SP
='tr \r\n \100\100'
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5324 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5325 if ${lt_cv_to_host_file_cmd+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5331 *-*-mingw* ) # actually msys
5332 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5335 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5337 * ) # otherwise, assume *nix
5338 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5344 *-*-mingw* ) # actually msys
5345 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5348 lt_cv_to_host_file_cmd
=func_convert_file_noop
5350 * ) # otherwise, assume *nix
5351 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5355 * ) # unhandled hosts (and "normal" native builds)
5356 lt_cv_to_host_file_cmd
=func_convert_file_noop
5362 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5364 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5371 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5372 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 #assume ordinary cross tools, or native build.
5376 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5380 *-*-mingw* ) # actually msys
5381 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5389 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5391 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5398 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5399 if ${lt_cv_ld_reload_flag+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 lt_cv_ld_reload_flag
='-r'
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5405 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5406 reload_flag
=$lt_cv_ld_reload_flag
5407 case $reload_flag in
5409 *) reload_flag
=" $reload_flag" ;;
5411 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5413 cygwin
* | mingw
* | pw32
* | cegcc
*)
5414 if test yes != "$GCC"; then
5419 if test yes = "$GCC"; then
5420 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5422 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5435 if test -n "$ac_tool_prefix"; then
5436 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5437 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5443 if test -n "$OBJDUMP"; then
5444 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir
=.
5451 for ac_exec_ext
in '' $ac_executable_extensions; do
5452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 OBJDUMP
=$ac_cv_prog_OBJDUMP
5464 if test -n "$OBJDUMP"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5466 $as_echo "$OBJDUMP" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5474 if test -z "$ac_cv_prog_OBJDUMP"; then
5475 ac_ct_OBJDUMP
=$OBJDUMP
5476 # Extract the first word of "objdump", so it can be a program name with args.
5477 set dummy objdump
; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$ac_ct_OBJDUMP"; then
5484 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5504 if test -n "$ac_ct_OBJDUMP"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5506 $as_echo "$ac_ct_OBJDUMP" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5512 if test "x$ac_ct_OBJDUMP" = x
; then
5515 case $cross_compiling:$ac_tool_warned in
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5519 ac_tool_warned
=yes ;;
5521 OBJDUMP
=$ac_ct_OBJDUMP
5524 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5527 test -z "$OBJDUMP" && OBJDUMP
=objdump
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5535 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5536 if ${lt_cv_deplibs_check_method+:} false
; then :
5537 $as_echo_n "(cached) " >&6
5539 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5540 lt_cv_file_magic_test_file
=
5541 lt_cv_deplibs_check_method
='unknown'
5542 # Need to set the preceding variable on all platforms that support
5543 # interlibrary dependencies.
5544 # 'none' -- dependencies not supported.
5545 # 'unknown' -- same as none, but documents that we really don't know.
5546 # 'pass_all' -- all dependencies passed with no checks.
5547 # 'test_compile' -- check by making test program.
5548 # 'file_magic [[regex]]' -- check by looking for files in library path
5549 # that responds to the $file_magic_cmd with a given extended regex.
5550 # If you have 'file' or equivalent on your system and you're not sure
5551 # whether 'pass_all' will *always* work, you probably want this one.
5555 lt_cv_deplibs_check_method
=pass_all
5559 lt_cv_deplibs_check_method
=pass_all
5563 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5564 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5565 lt_cv_file_magic_test_file
=/shlib
/libc.so
5569 # func_win32_libid is a shell function defined in ltmain.sh
5570 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5571 lt_cv_file_magic_cmd
='func_win32_libid'
5575 # Base MSYS/MinGW do not provide the 'file' command needed by
5576 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5577 # unless we find 'file', for example because we are cross-compiling.
5578 if ( file / ) >/dev
/null
2>&1; then
5579 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5580 lt_cv_file_magic_cmd
='func_win32_libid'
5582 # Keep this pattern in sync with the one in func_win32_libid.
5583 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5584 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5589 # use the weaker test based on 'objdump'. See mingw*.
5590 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5591 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5594 darwin
* | rhapsody
*)
5595 lt_cv_deplibs_check_method
=pass_all
5598 freebsd
* | dragonfly
*)
5599 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5602 # Not sure whether the presence of OpenBSD here was a mistake.
5603 # Let's accept both of them until this is cleared up.
5604 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5605 lt_cv_file_magic_cmd
=/usr
/bin
/file
5606 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5610 lt_cv_deplibs_check_method
=pass_all
5615 lt_cv_deplibs_check_method
=pass_all
5618 hpux10.20
* | hpux11
*)
5619 lt_cv_file_magic_cmd
=/usr
/bin
/file
5622 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5623 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5626 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]'
5627 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5630 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5631 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5637 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5638 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5641 irix5
* | irix6
* | nonstopux
*)
5643 *-32|
*"-32 ") libmagic
=32-bit;;
5644 *-n32|
*"-n32 ") libmagic
=N32
;;
5645 *-64|
*"-64 ") libmagic
=64-bit;;
5646 *) libmagic
=never-match
;;
5648 lt_cv_deplibs_check_method
=pass_all
5651 # This must be glibc/ELF.
5652 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
5653 lt_cv_deplibs_check_method
=pass_all
5657 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5658 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5660 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5665 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5666 lt_cv_file_magic_cmd
=/usr
/bin
/file
5667 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5671 lt_cv_deplibs_check_method
=pass_all
5675 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5676 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5678 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5682 osf3
* | osf4
* | osf5
*)
5683 lt_cv_deplibs_check_method
=pass_all
5687 lt_cv_deplibs_check_method
=pass_all
5691 lt_cv_deplibs_check_method
=pass_all
5694 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5695 lt_cv_deplibs_check_method
=pass_all
5699 case $host_vendor in
5701 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]'
5702 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5705 lt_cv_deplibs_check_method
=pass_all
5708 lt_cv_file_magic_cmd
='/bin/file'
5709 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5712 lt_cv_file_magic_cmd
='/bin/file'
5713 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5714 lt_cv_file_magic_test_file
=/lib
/libc.so
5717 lt_cv_deplibs_check_method
=pass_all
5720 lt_cv_deplibs_check_method
=pass_all
5726 lt_cv_deplibs_check_method
=pass_all
5729 lt_cv_deplibs_check_method
=pass_all
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5735 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5739 if test "$build" = "$host"; then
5742 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5745 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5751 file_magic_cmd
=$lt_cv_file_magic_cmd
5752 deplibs_check_method
=$lt_cv_deplibs_check_method
5753 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5776 if test -n "$ac_tool_prefix"; then
5777 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5778 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5782 $as_echo_n "(cached) " >&6
5784 if test -n "$DLLTOOL"; then
5785 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir
=.
5792 for ac_exec_ext
in '' $ac_executable_extensions; do
5793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 DLLTOOL
=$ac_cv_prog_DLLTOOL
5805 if test -n "$DLLTOOL"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5807 $as_echo "$DLLTOOL" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5815 if test -z "$ac_cv_prog_DLLTOOL"; then
5816 ac_ct_DLLTOOL
=$DLLTOOL
5817 # Extract the first word of "dlltool", so it can be a program name with args.
5818 set dummy dlltool
; ac_word
=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5822 $as_echo_n "(cached) " >&6
5824 if test -n "$ac_ct_DLLTOOL"; then
5825 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5831 test -z "$as_dir" && as_dir
=.
5832 for ac_exec_ext
in '' $ac_executable_extensions; do
5833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5845 if test -n "$ac_ct_DLLTOOL"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5847 $as_echo "$ac_ct_DLLTOOL" >&6; }
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5853 if test "x$ac_ct_DLLTOOL" = x
; then
5856 case $cross_compiling:$ac_tool_warned in
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5860 ac_tool_warned
=yes ;;
5862 DLLTOOL
=$ac_ct_DLLTOOL
5865 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5868 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5877 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5878 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5884 cygwin
* | mingw
* | pw32
* | cegcc
*)
5885 # two different shell functions defined in ltmain.sh;
5886 # decide which one to use based on capabilities of $DLLTOOL
5887 case `$DLLTOOL --help 2>&1` in
5888 *--identify-strict*)
5889 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5892 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5897 # fallback: assume linklib IS sharedlib
5898 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5904 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5905 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5906 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5915 if test -n "$ac_tool_prefix"; then
5918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5919 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_AR+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$AR"; then
5926 ac_cv_prog_AR
="$AR" # Let the user override the test.
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_exec_ext
in '' $ac_executable_extensions; do
5934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 if test -n "$AR"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5948 $as_echo "$AR" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5955 test -n "$AR" && break
5958 if test -z "$AR"; then
5962 # Extract the first word of "$ac_prog", so it can be a program name with args.
5963 set dummy
$ac_prog; ac_word
=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$ac_ct_AR"; then
5970 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_ac_ct_AR
="$ac_prog"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5990 if test -n "$ac_ct_AR"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5992 $as_echo "$ac_ct_AR" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 test -n "$ac_ct_AR" && break
6002 if test "x$ac_ct_AR" = x
; then
6005 case $cross_compiling:$ac_tool_warned in
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6009 ac_tool_warned
=yes ;;
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6029 $as_echo_n "checking for archiver @FILE support... " >&6; }
6030 if ${lt_cv_ar_at_file+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6045 if ac_fn_c_try_compile
"$LINENO"; then :
6046 echo conftest.
$ac_objext > conftest.lst
6047 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6049 (eval $lt_ar_try) 2>&5
6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052 test $ac_status = 0; }
6053 if test 0 -eq "$ac_status"; then
6054 # Ensure the archiver fails upon bogus file names.
6055 rm -f conftest.
$ac_objext libconftest.a
6056 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6057 (eval $lt_ar_try) 2>&5
6059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6060 test $ac_status = 0; }
6061 if test 0 -ne "$ac_status"; then
6065 rm -f conftest.
* libconftest.a
6068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6072 $as_echo "$lt_cv_ar_at_file" >&6; }
6074 if test no
= "$lt_cv_ar_at_file"; then
6077 archiver_list_spec
=$lt_cv_ar_at_file
6086 if test -n "$ac_tool_prefix"; then
6087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6088 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_STRIP+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6094 if test -n "$STRIP"; then
6095 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir
=.
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6104 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 STRIP
=$ac_cv_prog_STRIP
6115 if test -n "$STRIP"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6117 $as_echo "$STRIP" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6125 if test -z "$ac_cv_prog_STRIP"; then
6127 # Extract the first word of "strip", so it can be a program name with args.
6128 set dummy strip
; ac_word
=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6132 $as_echo_n "(cached) " >&6
6134 if test -n "$ac_ct_STRIP"; then
6135 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir
=.
6142 for ac_exec_ext
in '' $ac_executable_extensions; do
6143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_ac_ct_STRIP
="strip"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6155 if test -n "$ac_ct_STRIP"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6157 $as_echo "$ac_ct_STRIP" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6163 if test "x$ac_ct_STRIP" = x
; then
6166 case $cross_compiling:$ac_tool_warned in
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6170 ac_tool_warned
=yes ;;
6175 STRIP
="$ac_cv_prog_STRIP"
6178 test -z "$STRIP" && STRIP
=:
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6187 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_RANLIB+:} false
; then :
6191 $as_echo_n "(cached) " >&6
6193 if test -n "$RANLIB"; then
6194 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir
=.
6201 for ac_exec_ext
in '' $ac_executable_extensions; do
6202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6203 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 RANLIB
=$ac_cv_prog_RANLIB
6214 if test -n "$RANLIB"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6216 $as_echo "$RANLIB" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6224 if test -z "$ac_cv_prog_RANLIB"; then
6225 ac_ct_RANLIB
=$RANLIB
6226 # Extract the first word of "ranlib", so it can be a program name with args.
6227 set dummy ranlib
; ac_word
=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -n "$ac_ct_RANLIB"; then
6234 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir
=.
6241 for ac_exec_ext
in '' $ac_executable_extensions; do
6242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6254 if test -n "$ac_ct_RANLIB"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6256 $as_echo "$ac_ct_RANLIB" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6262 if test "x$ac_ct_RANLIB" = x
; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned
=yes ;;
6271 RANLIB
=$ac_ct_RANLIB
6274 RANLIB
="$ac_cv_prog_RANLIB"
6277 test -z "$RANLIB" && RANLIB
=:
6284 # Determine commands to create old-style static archives.
6285 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6286 old_postinstall_cmds
='chmod 644 $oldlib'
6287 old_postuninstall_cmds
=
6289 if test -n "$RANLIB"; then
6292 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6295 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6298 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6303 lock_old_archive_extraction
=yes ;;
6305 lock_old_archive_extraction
=no
;;
6346 # If no C compiler was specified, use CC.
6349 # If no C compiler flags were specified, use CFLAGS.
6350 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6352 # Allow CC to be a program name with arguments.
6356 # Check for command to grab the raw symbol name followed by C symbol from nm.
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6358 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6359 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6363 # These are sane defaults that work on at least a few old systems.
6364 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6366 # Character class describing NM global symbol codes.
6367 symcode
='[BCDEGRST]'
6369 # Regexp to match symbols that can be accessed directly from C.
6370 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6372 # Define system-specific variables.
6377 cygwin
* | mingw
* | pw32
* | cegcc
*)
6378 symcode
='[ABCDGISTW]'
6381 if test ia64
= "$host_cpu"; then
6382 symcode
='[ABCDEGRST]'
6386 symcode
='[BCDEGRST]'
6389 symcode
='[BCDEGQRST]'
6400 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6408 # If we're using GNU nm, then use its standard symbol codes.
6409 case `$NM -V 2>&1` in
6410 *GNU
* |
*'with BFD'*)
6411 symcode
='[ABCDGIRSTW]' ;;
6414 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6415 # Gets list of data symbols to import.
6416 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6417 # Adjust the below global symbol transforms to fixup imported variables.
6418 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6419 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6420 lt_c_name_lib_hook
="\
6421 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6422 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6424 # Disable hooks by default.
6425 lt_cv_sys_global_symbol_to_import
=
6431 # Transform an extracted symbol line into a proper C declaration.
6432 # Some systems (esp. on ia64) link data and code symbols differently,
6433 # so use this general approach.
6434 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
6436 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6437 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6439 # Transform an extracted symbol line into symbol name and symbol address
6440 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
6442 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6443 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6445 # Transform an extracted symbol line into symbol name with lib prefix and
6447 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
6448 $lt_c_name_lib_hook\
6449 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6450 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6451 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6453 # Handle CRLF in mingw tool chain
6457 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6461 # Try without a prefix underscore, then with it.
6462 for ac_symprfx
in "" "_"; do
6464 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6465 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6467 # Write the raw and C identifiers.
6468 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6469 # Fake it for dumpbin and say T for any non-static function,
6470 # D for any global variable and I for any imported variable.
6471 # Also find C++ and __fastcall symbols from MSVC++,
6472 # which start with @ or ?.
6473 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6474 " {last_section=section; section=\$ 3};"\
6475 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6476 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6477 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6478 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6479 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6480 " \$ 0!~/External *\|/{next};"\
6481 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6482 " {if(hide[section]) next};"\
6483 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6484 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6485 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6486 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6487 " ' prfx=^$ac_symprfx"
6489 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6491 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6493 # Check to see that the pipe works correctly.
6497 cat > conftest.
$ac_ext <<_LT_EOF
6502 void nm_test_func(void);
6503 void nm_test_func(void){}
6507 int main(){nm_test_var='a';nm_test_func();return(0);}
6510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6511 (eval $ac_compile) 2>&5
6513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6514 test $ac_status = 0; }; then
6515 # Now try to grab the symbols.
6517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6518 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6521 test $ac_status = 0; } && test -s "$nlist"; then
6522 # Try sorting and uniquifying the output.
6523 if sort "$nlist" |
uniq > "$nlist"T
; then
6524 mv -f "$nlist"T
"$nlist"
6529 # Make sure that we snagged all the symbols we need.
6530 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6531 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6532 cat <<_LT_EOF > conftest.$ac_ext
6533 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6534 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6535 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6536 relocations are performed -- see ld's documentation on pseudo-relocs. */
6537 # define LT_DLSYM_CONST
6538 #elif defined __osf__
6539 /* This system does not cope well with relocations in const data. */
6540 # define LT_DLSYM_CONST
6542 # define LT_DLSYM_CONST const
6550 # Now generate the symbol file.
6551 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6553 cat <<_LT_EOF >> conftest.$ac_ext
6555 /* The mapping between symbol names and symbols. */
6556 LT_DLSYM_CONST struct {
6560 lt__PROGRAM__LTX_preloaded_symbols[] =
6562 { "@PROGRAM@", (void *) 0 },
6564 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6565 cat <<\_LT_EOF
>> conftest.
$ac_ext
6569 /* This works around a problem
in FreeBSD linker
*/
6570 #ifdef FREEBSD_WORKAROUND
6571 static const void
*lt_preloaded_setup
() {
6572 return lt__PROGRAM__LTX_preloaded_symbols
;
6580 # Now try linking the two files.
6581 mv conftest.
$ac_objext conftstm.
$ac_objext
6582 lt_globsym_save_LIBS
=$LIBS
6583 lt_globsym_save_CFLAGS
=$CFLAGS
6584 LIBS
=conftstm.
$ac_objext
6585 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6587 (eval $ac_link) 2>&5
6589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6590 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
6593 LIBS
=$lt_globsym_save_LIBS
6594 CFLAGS
=$lt_globsym_save_CFLAGS
6596 echo "cannot find nm_test_func in $nlist" >&5
6599 echo "cannot find nm_test_var in $nlist" >&5
6602 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6605 echo "$progname: failed program was:" >&5
6606 cat conftest.
$ac_ext >&5
6608 rm -rf conftest
* conftst
*
6610 # Do not use the global_symbol_pipe unless it works.
6611 if test yes = "$pipe_works"; then
6614 lt_cv_sys_global_symbol_pipe
=
6620 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6621 lt_cv_sys_global_symbol_to_cdecl
=
6623 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6625 $as_echo "failed" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6628 $as_echo "ok" >&6; }
6631 # Response file support.
6632 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6633 nm_file_list_spec
='@'
6634 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6635 nm_file_list_spec
='@'
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6675 $as_echo_n "checking for sysroot... " >&6; }
6677 # Check whether --with-sysroot was given.
6678 if test "${with_sysroot+set}" = set; then :
6679 withval
=$with_sysroot;
6686 case $with_sysroot in #(
6688 if test yes = "$GCC"; then
6689 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6693 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6699 $as_echo "$with_sysroot" >&6; }
6700 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6705 $as_echo "${lt_sysroot:-no}" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6712 $as_echo_n "checking for a working dd... " >&6; }
6713 if ${ac_cv_path_lt_DD+:} false
; then :
6714 $as_echo_n "(cached) " >&6
6716 printf 0123456789abcdef0123456789abcdef
>conftest.i
6717 cat conftest.i conftest.i
>conftest2.i
6719 if test -z "$lt_DD"; then
6720 ac_path_lt_DD_found
=false
6721 # Loop through the user's path and test for each of PROGNAME-LIST
6722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6726 test -z "$as_dir" && as_dir
=.
6727 for ac_prog
in dd; do
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
6730 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
6731 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
6732 cmp -s conftest.i conftest.out \
6733 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
6735 $ac_path_lt_DD_found && break 3
6740 if test -z "$ac_cv_path_lt_DD"; then
6744 ac_cv_path_lt_DD
=$lt_DD
6747 rm -f conftest.i conftest2.i conftest.out
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6750 $as_echo "$ac_cv_path_lt_DD" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6754 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6755 if ${lt_cv_truncate_bin+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 printf 0123456789abcdef0123456789abcdef
>conftest.i
6759 cat conftest.i conftest.i
>conftest2.i
6761 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
6762 cmp -s conftest.i conftest.out \
6763 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
6765 rm -f conftest.i conftest2.i conftest.out
6766 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6769 $as_echo "$lt_cv_truncate_bin" >&6; }
6777 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6780 for cc_temp
in $
*""; do
6782 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6783 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6788 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6791 # Check whether --enable-libtool-lock was given.
6792 if test "${enable_libtool_lock+set}" = set; then :
6793 enableval
=$enable_libtool_lock;
6796 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
6798 # Some flags need to be propagated to the compiler or linker for good
6802 # Find out what ABI is being produced by ac_compile, and set mode
6803 # options accordingly.
6804 echo 'int i;' > conftest.
$ac_ext
6805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6806 (eval $ac_compile) 2>&5
6808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6809 test $ac_status = 0; }; then
6810 case `/usr/bin/file conftest.$ac_objext` in
6822 # Find out what ABI is being produced by ac_compile, and set linker
6823 # options accordingly.
6824 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6826 (eval $ac_compile) 2>&5
6828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6829 test $ac_status = 0; }; then
6830 if test yes = "$lt_cv_prog_gnu_ld"; then
6831 case `/usr/bin/file conftest.$ac_objext` in
6833 LD
="${LD-ld} -melf32bsmip"
6836 LD
="${LD-ld} -melf32bmipn32"
6839 LD
="${LD-ld} -melf64bmip"
6843 case `/usr/bin/file conftest.$ac_objext` in
6860 # Find out what ABI is being produced by ac_compile, and set linker
6861 # options accordingly.
6862 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6864 (eval $ac_compile) 2>&5
6866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6867 test $ac_status = 0; }; then
6869 case `/usr/bin/file conftest.$ac_objext` in
6877 case `/usr/bin/file conftest.$ac_objext` in
6879 emul
="${emul}btsmip"
6882 emul
="${emul}ltsmip"
6885 case `/usr/bin/file conftest.$ac_objext` in
6890 LD
="${LD-ld} -m $emul"
6895 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6896 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6897 # Find out what ABI is being produced by ac_compile, and set linker
6898 # options accordingly. Note that the listed cases only cover the
6899 # situations where additional linker options are needed (such as when
6900 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6901 # vice versa); the common cases where no linker options are needed do
6902 # not appear in the list.
6903 echo 'int i;' > conftest.
$ac_ext
6904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6905 (eval $ac_compile) 2>&5
6907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6908 test $ac_status = 0; }; then
6909 case `/usr/bin/file conftest.o` in
6912 x86_64-
*kfreebsd
*-gnu)
6913 LD
="${LD-ld} -m elf_i386_fbsd"
6916 case `/usr/bin/file conftest.o` in
6918 LD
="${LD-ld} -m elf32_x86_64"
6921 LD
="${LD-ld} -m elf_i386"
6925 powerpc64le-
*linux
*)
6926 LD
="${LD-ld} -m elf32lppclinux"
6929 LD
="${LD-ld} -m elf32ppclinux"
6932 LD
="${LD-ld} -m elf_s390"
6935 LD
="${LD-ld} -m elf32_sparc"
6941 x86_64-
*kfreebsd
*-gnu)
6942 LD
="${LD-ld} -m elf_x86_64_fbsd"
6945 LD
="${LD-ld} -m elf_x86_64"
6948 LD
="${LD-ld} -m elf64lppc"
6951 LD
="${LD-ld} -m elf64ppc"
6953 s390
*-*linux
*|s390
*-*tpf
*)
6954 LD
="${LD-ld} -m elf64_s390"
6957 LD
="${LD-ld} -m elf64_sparc"
6967 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6969 CFLAGS
="$CFLAGS -belf"
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6971 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6972 if ${lt_cv_cc_needs_belf+:} false
; then :
6973 $as_echo_n "(cached) " >&6
6976 ac_cpp
='$CPP $CPPFLAGS'
6977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6992 if ac_fn_c_try_link
"$LINENO"; then :
6993 lt_cv_cc_needs_belf
=yes
6995 lt_cv_cc_needs_belf
=no
6997 rm -f core conftest.err conftest.
$ac_objext \
6998 conftest
$ac_exeext conftest.
$ac_ext
7000 ac_cpp
='$CPP $CPPFLAGS'
7001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7007 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7008 if test yes != "$lt_cv_cc_needs_belf"; then
7009 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7014 # Find out what ABI is being produced by ac_compile, and set linker
7015 # options accordingly.
7016 echo 'int i;' > conftest.
$ac_ext
7017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7018 (eval $ac_compile) 2>&5
7020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7021 test $ac_status = 0; }; then
7022 case `/usr/bin/file conftest.o` in
7024 case $lt_cv_prog_gnu_ld in
7027 i?
86-*-solaris*|x86_64-
*-solaris*)
7028 LD
="${LD-ld} -m elf_x86_64"
7031 LD
="${LD-ld} -m elf64_sparc"
7034 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7035 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7040 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7052 need_locks
=$enable_libtool_lock
7054 if test -n "$ac_tool_prefix"; then
7055 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7056 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -n "$MANIFEST_TOOL"; then
7063 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir
=.
7070 for ac_exec_ext
in '' $ac_executable_extensions; do
7071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7072 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7083 if test -n "$MANIFEST_TOOL"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7085 $as_echo "$MANIFEST_TOOL" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7093 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7094 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7095 # Extract the first word of "mt", so it can be a program name with args.
7096 set dummy mt
; ac_word
=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 if test -n "$ac_ct_MANIFEST_TOOL"; then
7103 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7123 if test -n "$ac_ct_MANIFEST_TOOL"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7125 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7131 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7134 case $cross_compiling:$ac_tool_warned in
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7138 ac_tool_warned
=yes ;;
7140 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7143 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7146 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7148 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7149 if ${lt_cv_path_mainfest_tool+:} false
; then :
7150 $as_echo_n "(cached) " >&6
7152 lt_cv_path_mainfest_tool
=no
7153 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7154 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7155 cat conftest.err
>&5
7156 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7157 lt_cv_path_mainfest_tool
=yes
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7162 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7163 if test yes != "$lt_cv_path_mainfest_tool"; then
7173 rhapsody
* | darwin
*)
7174 if test -n "$ac_tool_prefix"; then
7175 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7176 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7180 $as_echo_n "(cached) " >&6
7182 if test -n "$DSYMUTIL"; then
7183 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7189 test -z "$as_dir" && as_dir
=.
7190 for ac_exec_ext
in '' $ac_executable_extensions; do
7191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7203 if test -n "$DSYMUTIL"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7205 $as_echo "$DSYMUTIL" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7213 if test -z "$ac_cv_prog_DSYMUTIL"; then
7214 ac_ct_DSYMUTIL
=$DSYMUTIL
7215 # Extract the first word of "dsymutil", so it can be a program name with args.
7216 set dummy dsymutil
; ac_word
=$2
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7218 $as_echo_n "checking for $ac_word... " >&6; }
7219 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7220 $as_echo_n "(cached) " >&6
7222 if test -n "$ac_ct_DSYMUTIL"; then
7223 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7229 test -z "$as_dir" && as_dir
=.
7230 for ac_exec_ext
in '' $ac_executable_extensions; do
7231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7243 if test -n "$ac_ct_DSYMUTIL"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7245 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 $as_echo "no" >&6; }
7251 if test "x$ac_ct_DSYMUTIL" = x
; then
7254 case $cross_compiling:$ac_tool_warned in
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7258 ac_tool_warned
=yes ;;
7260 DSYMUTIL
=$ac_ct_DSYMUTIL
7263 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7266 if test -n "$ac_tool_prefix"; then
7267 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7268 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7270 $as_echo_n "checking for $ac_word... " >&6; }
7271 if ${ac_cv_prog_NMEDIT+:} false
; then :
7272 $as_echo_n "(cached) " >&6
7274 if test -n "$NMEDIT"; then
7275 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir
=.
7282 for ac_exec_ext
in '' $ac_executable_extensions; do
7283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7294 NMEDIT
=$ac_cv_prog_NMEDIT
7295 if test -n "$NMEDIT"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7297 $as_echo "$NMEDIT" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300 $as_echo "no" >&6; }
7305 if test -z "$ac_cv_prog_NMEDIT"; then
7306 ac_ct_NMEDIT
=$NMEDIT
7307 # Extract the first word of "nmedit", so it can be a program name with args.
7308 set dummy nmedit
; ac_word
=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7312 $as_echo_n "(cached) " >&6
7314 if test -n "$ac_ct_NMEDIT"; then
7315 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7321 test -z "$as_dir" && as_dir
=.
7322 for ac_exec_ext
in '' $ac_executable_extensions; do
7323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7335 if test -n "$ac_ct_NMEDIT"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7337 $as_echo "$ac_ct_NMEDIT" >&6; }
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7343 if test "x$ac_ct_NMEDIT" = x
; then
7346 case $cross_compiling:$ac_tool_warned in
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7350 ac_tool_warned
=yes ;;
7352 NMEDIT
=$ac_ct_NMEDIT
7355 NMEDIT
="$ac_cv_prog_NMEDIT"
7358 if test -n "$ac_tool_prefix"; then
7359 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7360 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 $as_echo_n "checking for $ac_word... " >&6; }
7363 if ${ac_cv_prog_LIPO+:} false
; then :
7364 $as_echo_n "(cached) " >&6
7366 if test -n "$LIPO"; then
7367 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7373 test -z "$as_dir" && as_dir
=.
7374 for ac_exec_ext
in '' $ac_executable_extensions; do
7375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386 LIPO
=$ac_cv_prog_LIPO
7387 if test -n "$LIPO"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7389 $as_echo "$LIPO" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7397 if test -z "$ac_cv_prog_LIPO"; then
7399 # Extract the first word of "lipo", so it can be a program name with args.
7400 set dummy lipo
; ac_word
=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7404 $as_echo_n "(cached) " >&6
7406 if test -n "$ac_ct_LIPO"; then
7407 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir
=.
7414 for ac_exec_ext
in '' $ac_executable_extensions; do
7415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ac_ct_LIPO
="lipo"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7427 if test -n "$ac_ct_LIPO"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7429 $as_echo "$ac_ct_LIPO" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7435 if test "x$ac_ct_LIPO" = x
; then
7438 case $cross_compiling:$ac_tool_warned in
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned
=yes ;;
7447 LIPO
="$ac_cv_prog_LIPO"
7450 if test -n "$ac_tool_prefix"; then
7451 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7452 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454 $as_echo_n "checking for $ac_word... " >&6; }
7455 if ${ac_cv_prog_OTOOL+:} false
; then :
7456 $as_echo_n "(cached) " >&6
7458 if test -n "$OTOOL"; then
7459 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7465 test -z "$as_dir" && as_dir
=.
7466 for ac_exec_ext
in '' $ac_executable_extensions; do
7467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7468 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478 OTOOL
=$ac_cv_prog_OTOOL
7479 if test -n "$OTOOL"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7481 $as_echo "$OTOOL" >&6; }
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7489 if test -z "$ac_cv_prog_OTOOL"; then
7491 # Extract the first word of "otool", so it can be a program name with args.
7492 set dummy otool
; ac_word
=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7496 $as_echo_n "(cached) " >&6
7498 if test -n "$ac_ct_OTOOL"; then
7499 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir
=.
7506 for ac_exec_ext
in '' $ac_executable_extensions; do
7507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_ac_ct_OTOOL
="otool"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7519 if test -n "$ac_ct_OTOOL"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7521 $as_echo "$ac_ct_OTOOL" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7527 if test "x$ac_ct_OTOOL" = x
; then
7530 case $cross_compiling:$ac_tool_warned in
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7534 ac_tool_warned
=yes ;;
7539 OTOOL
="$ac_cv_prog_OTOOL"
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7544 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_OTOOL64+:} false
; then :
7548 $as_echo_n "(cached) " >&6
7550 if test -n "$OTOOL64"; then
7551 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir
=.
7558 for ac_exec_ext
in '' $ac_executable_extensions; do
7559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 OTOOL64
=$ac_cv_prog_OTOOL64
7571 if test -n "$OTOOL64"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7573 $as_echo "$OTOOL64" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7581 if test -z "$ac_cv_prog_OTOOL64"; then
7582 ac_ct_OTOOL64
=$OTOOL64
7583 # Extract the first word of "otool64", so it can be a program name with args.
7584 set dummy otool64
; ac_word
=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7588 $as_echo_n "(cached) " >&6
7590 if test -n "$ac_ct_OTOOL64"; then
7591 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir
=.
7598 for ac_exec_ext
in '' $ac_executable_extensions; do
7599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7611 if test -n "$ac_ct_OTOOL64"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7613 $as_echo "$ac_ct_OTOOL64" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7619 if test "x$ac_ct_OTOOL64" = x
; then
7622 case $cross_compiling:$ac_tool_warned in
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7626 ac_tool_warned
=yes ;;
7628 OTOOL64
=$ac_ct_OTOOL64
7631 OTOOL64
="$ac_cv_prog_OTOOL64"
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7661 $as_echo_n "checking for -single_module linker flag... " >&6; }
7662 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7663 $as_echo_n "(cached) " >&6
7665 lt_cv_apple_cc_single_mod
=no
7666 if test -z "$LT_MULTI_MODULE"; then
7667 # By default we will add the -single_module flag. You can override
7668 # by either setting the environment variable LT_MULTI_MODULE
7669 # non-empty at configure time, or by adding -multi_module to the
7671 rm -rf libconftest.dylib
*
7672 echo "int foo(void){return 1;}" > conftest.c
7673 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7674 -dynamiclib -Wl,-single_module conftest.c" >&5
7675 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7676 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7678 # If there is a non-empty error log, and "single_module"
7679 # appears in it, assume the flag caused a linker warning
7680 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7681 cat conftest.err
>&5
7682 # Otherwise, if the output was created with a 0 exit code from
7683 # the compiler, it worked.
7684 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
7685 lt_cv_apple_cc_single_mod
=yes
7687 cat conftest.err
>&5
7689 rm -rf libconftest.dylib
*
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7694 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7697 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7698 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7699 $as_echo_n "(cached) " >&6
7701 lt_cv_ld_exported_symbols_list
=no
7702 save_LDFLAGS
=$LDFLAGS
7703 echo "_main" > conftest.sym
7704 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7716 if ac_fn_c_try_link
"$LINENO"; then :
7717 lt_cv_ld_exported_symbols_list
=yes
7719 lt_cv_ld_exported_symbols_list
=no
7721 rm -f core conftest.err conftest.
$ac_objext \
7722 conftest
$ac_exeext conftest.
$ac_ext
7723 LDFLAGS
=$save_LDFLAGS
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7727 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7730 $as_echo_n "checking for -force_load linker flag... " >&6; }
7731 if ${lt_cv_ld_force_load+:} false
; then :
7732 $as_echo_n "(cached) " >&6
7734 lt_cv_ld_force_load
=no
7735 cat > conftest.c
<< _LT_EOF
7736 int forced_loaded() { return 2;}
7738 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7739 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7740 echo "$AR cru libconftest.a conftest.o" >&5
7741 $AR cru libconftest.a conftest.o
2>&5
7742 echo "$RANLIB libconftest.a" >&5
7743 $RANLIB libconftest.a
2>&5
7744 cat > conftest.c
<< _LT_EOF
7745 int main() { return 0;}
7747 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7748 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7750 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7751 cat conftest.err
>&5
7752 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
7753 lt_cv_ld_force_load
=yes
7755 cat conftest.err
>&5
7757 rm -f conftest.err libconftest.a conftest conftest.c
7758 rm -rf conftest.dSYM
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7762 $as_echo "$lt_cv_ld_force_load" >&6; }
7764 rhapsody
* | darwin1.
[012])
7765 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
7767 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7768 darwin
*) # darwin 5.x on
7769 # if running on 10.5 or later, the deployment target defaults
7770 # to the OS version, if on x86, and 10.4, the deployment
7771 # target defaults to 10.4. Don't you love it?
7772 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7773 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7774 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
7776 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7778 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
7782 if test yes = "$lt_cv_apple_cc_single_mod"; then
7783 _lt_dar_single_mod
='$single_module'
7785 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7786 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7788 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7790 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
7791 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7798 # func_munge_path_list VARIABLE PATH
7799 # -----------------------------------
7800 # VARIABLE is name of variable containing _space_ separated list of
7801 # directories to be munged by the contents of PATH, which is string
7804 # string "DIR[ DIR]" will be prepended to VARIABLE
7806 # string "DIR[ DIR]" will be appended to VARIABLE
7807 # "DIRP[:DIRP]::[DIRA:]DIRA"
7808 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7809 # "DIRA[ DIRA]" will be appended to VARIABLE
7811 # VARIABLE will be replaced by "DIR[ DIR]"
7812 func_munge_path_list
()
7818 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
7821 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7824 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7825 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
7828 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7835 $as_echo_n "checking for ANSI C header files... " >&6; }
7836 if ${ac_cv_header_stdc+:} false
; then :
7837 $as_echo_n "(cached) " >&6
7839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7840 /* end confdefs.h. */
7854 if ac_fn_c_try_compile
"$LINENO"; then :
7855 ac_cv_header_stdc
=yes
7857 ac_cv_header_stdc
=no
7859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7861 if test $ac_cv_header_stdc = yes; then
7862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7864 /* end confdefs.h. */
7868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7869 $EGREP "memchr" >/dev
/null
2>&1; then :
7872 ac_cv_header_stdc
=no
7878 if test $ac_cv_header_stdc = yes; then
7879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7886 $EGREP "free" >/dev
/null
2>&1; then :
7889 ac_cv_header_stdc
=no
7895 if test $ac_cv_header_stdc = yes; then
7896 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7897 if test "$cross_compiling" = yes; then :
7900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7904 #if ((' ' & 0x0FF) == 0x020)
7905 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7906 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7908 # define ISLOWER(c) \
7909 (('a' <= (c) && (c) <= 'i') \
7910 || ('j' <= (c) && (c) <= 'r') \
7911 || ('s' <= (c) && (c) <= 'z'))
7912 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7915 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7920 for (i = 0; i < 256; i++)
7921 if (XOR (islower (i), ISLOWER (i))
7922 || toupper (i) != TOUPPER (i))
7927 if ac_fn_c_try_run
"$LINENO"; then :
7930 ac_cv_header_stdc
=no
7932 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7933 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7939 $as_echo "$ac_cv_header_stdc" >&6; }
7940 if test $ac_cv_header_stdc = yes; then
7942 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7947 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7948 inttypes.h stdint.h unistd.h
7950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7951 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7953 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7954 cat >>confdefs.h
<<_ACEOF
7955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7963 for ac_header
in dlfcn.h
7965 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7967 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7968 cat >>confdefs.h
<<_ACEOF
7969 #define HAVE_DLFCN_H 1
7981 enable_win32_dll
=yes
7984 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7987 set dummy
${ac_tool_prefix}as
; ac_word
=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_AS+:} false
; then :
7991 $as_echo_n "(cached) " >&6
7993 if test -n "$AS"; then
7994 ac_cv_prog_AS
="$AS" # Let the user override the test.
7996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir
=.
8001 for ac_exec_ext
in '' $ac_executable_extensions; do
8002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_AS
="${ac_tool_prefix}as"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 if test -n "$AS"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8016 $as_echo "$AS" >&6; }
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_AS"; then
8026 # Extract the first word of "as", so it can be a program name with args.
8027 set dummy as
; ac_word
=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8031 $as_echo_n "(cached) " >&6
8033 if test -n "$ac_ct_AS"; then
8034 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir
=.
8041 for ac_exec_ext
in '' $ac_executable_extensions; do
8042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_AS
="as"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8054 if test -n "$ac_ct_AS"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8056 $as_echo "$ac_ct_AS" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_AS" = x
; then
8065 case $cross_compiling:$ac_tool_warned in
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned
=yes ;;
8077 if test -n "$ac_tool_prefix"; then
8078 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8079 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081 $as_echo_n "checking for $ac_word... " >&6; }
8082 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8083 $as_echo_n "(cached) " >&6
8085 if test -n "$DLLTOOL"; then
8086 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8092 test -z "$as_dir" && as_dir
=.
8093 for ac_exec_ext
in '' $ac_executable_extensions; do
8094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8095 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 DLLTOOL
=$ac_cv_prog_DLLTOOL
8106 if test -n "$DLLTOOL"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8108 $as_echo "$DLLTOOL" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8116 if test -z "$ac_cv_prog_DLLTOOL"; then
8117 ac_ct_DLLTOOL
=$DLLTOOL
8118 # Extract the first word of "dlltool", so it can be a program name with args.
8119 set dummy dlltool
; ac_word
=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121 $as_echo_n "checking for $ac_word... " >&6; }
8122 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8123 $as_echo_n "(cached) " >&6
8125 if test -n "$ac_ct_DLLTOOL"; then
8126 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8132 test -z "$as_dir" && as_dir
=.
8133 for ac_exec_ext
in '' $ac_executable_extensions; do
8134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8135 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8145 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8146 if test -n "$ac_ct_DLLTOOL"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8148 $as_echo "$ac_ct_DLLTOOL" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8154 if test "x$ac_ct_DLLTOOL" = x
; then
8157 case $cross_compiling:$ac_tool_warned in
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8161 ac_tool_warned
=yes ;;
8163 DLLTOOL
=$ac_ct_DLLTOOL
8166 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8171 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8175 $as_echo_n "(cached) " >&6
8177 if test -n "$OBJDUMP"; then
8178 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir
=.
8185 for ac_exec_ext
in '' $ac_executable_extensions; do
8186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197 OBJDUMP
=$ac_cv_prog_OBJDUMP
8198 if test -n "$OBJDUMP"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8200 $as_echo "$OBJDUMP" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8208 if test -z "$ac_cv_prog_OBJDUMP"; then
8209 ac_ct_OBJDUMP
=$OBJDUMP
8210 # Extract the first word of "objdump", so it can be a program name with args.
8211 set dummy objdump
; ac_word
=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8217 if test -n "$ac_ct_OBJDUMP"; then
8218 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir
=.
8225 for ac_exec_ext
in '' $ac_executable_extensions; do
8226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8237 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8238 if test -n "$ac_ct_OBJDUMP"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8240 $as_echo "$ac_ct_OBJDUMP" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8246 if test "x$ac_ct_OBJDUMP" = x
; then
8249 case $cross_compiling:$ac_tool_warned in
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253 ac_tool_warned
=yes ;;
8255 OBJDUMP
=$ac_ct_OBJDUMP
8258 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8264 test -z "$AS" && AS
=as
8270 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8276 test -z "$OBJDUMP" && OBJDUMP
=objdump
8288 # Check whether --enable-shared was given.
8289 if test "${enable_shared+set}" = set; then :
8290 enableval
=$enable_shared; p
=${PACKAGE-default}
8292 yes) enable_shared
=yes ;;
8293 no
) enable_shared
=no
;;
8296 # Look at the argument we got. We use all the common list separators.
8297 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8298 for pkg
in $enableval; do
8300 if test "X$pkg" = "X$p"; then
8319 # Check whether --enable-static was given.
8320 if test "${enable_static+set}" = set; then :
8321 enableval
=$enable_static; p
=${PACKAGE-default}
8323 yes) enable_static
=yes ;;
8324 no
) enable_static
=no
;;
8327 # Look at the argument we got. We use all the common list separators.
8328 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8329 for pkg
in $enableval; do
8331 if test "X$pkg" = "X$p"; then
8351 # Check whether --with-pic was given.
8352 if test "${with_pic+set}" = set; then :
8353 withval
=$with_pic; lt_p
=${PACKAGE-default}
8355 yes|no
) pic_mode
=$withval ;;
8358 # Look at the argument we got. We use all the common list separators.
8359 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8360 for lt_pkg
in $withval; do
8362 if test "X$lt_pkg" = "X$lt_p"; then
8380 # Check whether --enable-fast-install was given.
8381 if test "${enable_fast_install+set}" = set; then :
8382 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8384 yes) enable_fast_install
=yes ;;
8385 no
) enable_fast_install
=no
;;
8387 enable_fast_install
=no
8388 # Look at the argument we got. We use all the common list separators.
8389 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8390 for pkg
in $enableval; do
8392 if test "X$pkg" = "X$p"; then
8393 enable_fast_install
=yes
8400 enable_fast_install
=yes
8410 shared_archive_member_spec
=
8411 case $host,$enable_shared in
8412 power
*-*-aix[5-9]*,yes)
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8414 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8416 # Check whether --with-aix-soname was given.
8417 if test "${with_aix_soname+set}" = set; then :
8418 withval
=$with_aix_soname; case $withval in
8422 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8425 lt_cv_with_aix_soname
=$with_aix_soname
8427 if ${lt_cv_with_aix_soname+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8430 lt_cv_with_aix_soname
=aix
8433 with_aix_soname
=$lt_cv_with_aix_soname
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8437 $as_echo "$with_aix_soname" >&6; }
8438 if test aix
!= "$with_aix_soname"; then
8439 # For the AIX way of multilib, we name the shared archive member
8440 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8441 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8442 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8443 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8444 if test 64 = "${OBJECT_MODE-32}"; then
8445 shared_archive_member_spec
=shr_64
8447 shared_archive_member_spec
=shr
8465 # This can be used to rebuild libtool when needed
8466 LIBTOOL_DEPS
=$ltmain
8468 # Always use our own libtool.
8469 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8500 test -z "$LN_S" && LN_S
="ln -s"
8515 if test -n "${ZSH_VERSION+set}"; then
8516 setopt NO_GLOB_SUBST
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8520 $as_echo_n "checking for objdir... " >&6; }
8521 if ${lt_cv_objdir+:} false
; then :
8522 $as_echo_n "(cached) " >&6
8524 rm -f .libs
2>/dev
/null
8525 mkdir .libs
2>/dev
/null
8526 if test -d .libs
; then
8529 # MS-DOS does not allow filenames that begin with a dot.
8532 rmdir .libs
2>/dev
/null
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8535 $as_echo "$lt_cv_objdir" >&6; }
8536 objdir
=$lt_cv_objdir
8542 cat >>confdefs.h
<<_ACEOF
8543 #define LT_OBJDIR "$lt_cv_objdir/"
8551 # AIX sometimes has problems with the GCC collect2 program. For some
8552 # reason, if we set the COLLECT_NAMES environment variable, the problems
8553 # vanish in a puff of smoke.
8554 if test set != "${COLLECT_NAMES+set}"; then
8556 export COLLECT_NAMES
8563 can_build_shared
=yes
8565 # All known linkers require a '.a' archive for static linking (except MSVC,
8566 # which needs '.lib').
8569 with_gnu_ld
=$lt_cv_prog_gnu_ld
8574 # Set sane defaults for various variables
8575 test -z "$CC" && CC
=cc
8576 test -z "$LTCC" && LTCC
=$CC
8577 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8578 test -z "$LD" && LD
=ld
8579 test -z "$ac_objext" && ac_objext
=o
8581 func_cc_basename
$compiler
8582 cc_basename
=$func_cc_basename_result
8585 # Only perform the check for file, if the check method requires it
8586 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8587 case $deplibs_check_method in
8589 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8591 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8592 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8593 $as_echo_n "(cached) " >&6
8597 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8600 lt_save_MAGIC_CMD
=$MAGIC_CMD
8601 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8602 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8603 for ac_dir
in $ac_dummy; do
8605 test -z "$ac_dir" && ac_dir
=.
8606 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8607 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8608 if test -n "$file_magic_test_file"; then
8609 case $deplibs_check_method in
8611 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8612 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8613 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8614 $EGREP "$file_magic_regex" > /dev
/null
; then
8619 *** Warning: the command libtool uses to detect shared libraries,
8620 *** $file_magic_cmd, produces output that libtool cannot recognize.
8621 *** The result is that libtool may fail to recognize shared libraries
8622 *** as such. This will affect the creation of libtool libraries that
8623 *** depend on shared libraries, but programs linked with such libtool
8624 *** libraries will work regardless of this problem. Nevertheless, you
8625 *** may want to report the problem to your system manager and/or to
8626 *** bug-libtool@gnu.org
8636 MAGIC_CMD
=$lt_save_MAGIC_CMD
8641 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8642 if test -n "$MAGIC_CMD"; then
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8644 $as_echo "$MAGIC_CMD" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8654 if test -z "$lt_cv_path_MAGIC_CMD"; then
8655 if test -n "$ac_tool_prefix"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8657 $as_echo_n "checking for file... " >&6; }
8658 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8663 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8666 lt_save_MAGIC_CMD
=$MAGIC_CMD
8667 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8668 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8669 for ac_dir
in $ac_dummy; do
8671 test -z "$ac_dir" && ac_dir
=.
8672 if test -f "$ac_dir/file"; then
8673 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8674 if test -n "$file_magic_test_file"; then
8675 case $deplibs_check_method in
8677 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8678 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8679 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8680 $EGREP "$file_magic_regex" > /dev
/null
; then
8685 *** Warning: the command libtool uses to detect shared libraries,
8686 *** $file_magic_cmd, produces output that libtool cannot recognize.
8687 *** The result is that libtool may fail to recognize shared libraries
8688 *** as such. This will affect the creation of libtool libraries that
8689 *** depend on shared libraries, but programs linked with such libtool
8690 *** libraries will work regardless of this problem. Nevertheless, you
8691 *** may want to report the problem to your system manager and/or to
8692 *** bug-libtool@gnu.org
8702 MAGIC_CMD
=$lt_save_MAGIC_CMD
8707 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8708 if test -n "$MAGIC_CMD"; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8710 $as_echo "$MAGIC_CMD" >&6; }
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8726 # Use C for the default configuration in the libtool script
8730 ac_cpp
='$CPP $CPPFLAGS'
8731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8736 # Source file extension for C test sources.
8739 # Object file extension for compiled C test sources.
8743 # Code to be used in simple compile tests
8744 lt_simple_compile_test_code
="int some_variable = 0;"
8746 # Code to be used in simple link tests
8747 lt_simple_link_test_code
='int main(){return(0);}'
8755 # If no C compiler was specified, use CC.
8758 # If no C compiler flags were specified, use CFLAGS.
8759 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8761 # Allow CC to be a program name with arguments.
8764 # Save the default compiler, since it gets overwritten when the other
8765 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8766 compiler_DEFAULT
=$CC
8768 # save warnings/boilerplate of simple test code
8769 ac_outfile
=conftest.
$ac_objext
8770 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8771 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8772 _lt_compiler_boilerplate
=`cat conftest.err`
8775 ac_outfile
=conftest.
$ac_objext
8776 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8777 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8778 _lt_linker_boilerplate
=`cat conftest.err`
8783 ## There is no encapsulation within the following macros, do not change
8784 ## the running order or otherwise move them around unless you know exactly
8785 ## what you are doing...
8786 if test -n "$compiler"; then
8788 lt_prog_compiler_no_builtin_flag
=
8790 if test yes = "$GCC"; then
8791 case $cc_basename in
8793 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8795 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8799 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8800 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 lt_cv_prog_compiler_rtti_exceptions
=no
8804 ac_outfile
=conftest.
$ac_objext
8805 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8806 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8807 # Insert the option either (1) after the last *FLAGS variable, or
8808 # (2) before a word containing "conftest.", or (3) at the end.
8809 # Note that $ac_compile itself does not contain backslashes and begins
8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8811 # The option is referenced via a variable to avoid confusing sed.
8812 lt_compile
=`echo "$ac_compile" | $SED \
8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8815 -e 's:$: $lt_compiler_flag:'`
8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8817 (eval "$lt_compile" 2>conftest.err
)
8819 cat conftest.err
>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 if (exit $ac_status) && test -s "$ac_outfile"; then
8822 # The compiler can only warn and ignore the option if not recognized
8823 # So say no if there are warnings other than the usual output.
8824 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8825 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8826 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8827 lt_cv_prog_compiler_rtti_exceptions
=yes
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8834 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8836 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8837 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8849 lt_prog_compiler_wl
=
8850 lt_prog_compiler_pic
=
8851 lt_prog_compiler_static
=
8854 if test yes = "$GCC"; then
8855 lt_prog_compiler_wl
='-Wl,'
8856 lt_prog_compiler_static
='-static'
8860 # All AIX code is PIC.
8861 if test ia64
= "$host_cpu"; then
8862 # AIX 5 now supports IA64 processor
8863 lt_prog_compiler_static
='-Bstatic'
8865 lt_prog_compiler_pic
='-fPIC'
8871 # see comment about AmigaOS4 .so support
8872 lt_prog_compiler_pic
='-fPIC'
8875 # FIXME: we need at least 68020 code to build shared libraries, but
8876 # adding the '-m68020' flag to GCC prevents building anything better,
8878 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8883 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8884 # PIC is the default for these OSes.
8887 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8888 # This hack is so that the source file can tell whether it is being
8889 # built for inclusion in a dll (and should export symbols for example).
8890 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8891 # (--disable-auto-import) libraries
8892 lt_prog_compiler_pic
='-DDLL_EXPORT'
8895 lt_prog_compiler_static
='$wl-static'
8900 darwin
* | rhapsody
*)
8901 # PIC is the default on this platform
8902 # Common symbols not allowed in MH_DYLIB files
8903 lt_prog_compiler_pic
='-fno-common'
8907 # PIC is the default for Haiku.
8908 # The "-static" flag exists, but is broken.
8909 lt_prog_compiler_static
=
8913 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8914 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8915 # sets the default TLS model and affects inlining.
8921 lt_prog_compiler_pic
='-fPIC'
8927 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8928 # Instead, we relocate shared libraries at runtime.
8932 # Just because we use GCC doesn't mean we suddenly get shared libraries
8933 # on systems that don't support them.
8934 lt_prog_compiler_can_build_shared
=no
8939 # QNX uses GNU C++, but need to define -shared option too, otherwise
8941 lt_prog_compiler_pic
='-fPIC -shared'
8945 if test -d /usr
/nec
; then
8946 lt_prog_compiler_pic
=-Kconform_pic
8951 lt_prog_compiler_pic
='-fPIC'
8955 case $cc_basename in
8956 nvcc
*) # Cuda Compiler Driver 2.2
8957 lt_prog_compiler_wl
='-Xlinker '
8958 if test -n "$lt_prog_compiler_pic"; then
8959 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8964 # PORTME Check for flag to pass linker flags through the system compiler.
8967 lt_prog_compiler_wl
='-Wl,'
8968 if test ia64
= "$host_cpu"; then
8969 # AIX 5 now supports IA64 processor
8970 lt_prog_compiler_static
='-Bstatic'
8972 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8976 darwin
* | rhapsody
*)
8977 # PIC is the default on this platform
8978 # Common symbols not allowed in MH_DYLIB files
8979 lt_prog_compiler_pic
='-fno-common'
8980 case $cc_basename in
8982 # NAG Fortran compiler
8983 lt_prog_compiler_wl
='-Wl,-Wl,,'
8984 lt_prog_compiler_pic
='-PIC'
8985 lt_prog_compiler_static
='-Bstatic'
8990 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8991 # This hack is so that the source file can tell whether it is being
8992 # built for inclusion in a dll (and should export symbols for example).
8993 lt_prog_compiler_pic
='-DDLL_EXPORT'
8996 lt_prog_compiler_static
='$wl-static'
9001 hpux9
* | hpux10
* | hpux11
*)
9002 lt_prog_compiler_wl
='-Wl,'
9003 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9010 lt_prog_compiler_pic
='+Z'
9013 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9014 lt_prog_compiler_static
='$wl-a ${wl}archive'
9017 irix5
* | irix6
* | nonstopux
*)
9018 lt_prog_compiler_wl
='-Wl,'
9019 # PIC (with -KPIC) is the default.
9020 lt_prog_compiler_static
='-non_shared'
9023 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9024 case $cc_basename in
9025 # old Intel for x86_64, which still supported -KPIC.
9027 lt_prog_compiler_wl
='-Wl,'
9028 lt_prog_compiler_pic
='-KPIC'
9029 lt_prog_compiler_static
='-static'
9031 # icc used to be incompatible with GCC.
9032 # ICC 10 doesn't accept -KPIC any more.
9034 lt_prog_compiler_wl
='-Wl,'
9035 lt_prog_compiler_pic
='-fPIC'
9036 lt_prog_compiler_static
='-static'
9038 # Lahey Fortran 8.1.
9040 lt_prog_compiler_wl
='-Wl,'
9041 lt_prog_compiler_pic
='--shared'
9042 lt_prog_compiler_static
='--static'
9045 # NAG Fortran compiler
9046 lt_prog_compiler_wl
='-Wl,-Wl,,'
9047 lt_prog_compiler_pic
='-PIC'
9048 lt_prog_compiler_static
='-Bstatic'
9051 # Fabrice Bellard et al's Tiny C Compiler
9052 lt_prog_compiler_wl
='-Wl,'
9053 lt_prog_compiler_pic
='-fPIC'
9054 lt_prog_compiler_static
='-static'
9056 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9057 # Portland Group compilers (*not* the Pentium gcc compiler,
9058 # which looks to be a dead project)
9059 lt_prog_compiler_wl
='-Wl,'
9060 lt_prog_compiler_pic
='-fpic'
9061 lt_prog_compiler_static
='-Bstatic'
9064 lt_prog_compiler_wl
='-Wl,'
9065 # All Alpha code is PIC.
9066 lt_prog_compiler_static
='-non_shared'
9068 xl
* | bgxl
* | bgf
* | mpixl
*)
9069 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9070 lt_prog_compiler_wl
='-Wl,'
9071 lt_prog_compiler_pic
='-qpic'
9072 lt_prog_compiler_static
='-qstaticlink'
9075 case `$CC -V 2>&1 | sed 5q` in
9076 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9077 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9078 lt_prog_compiler_pic
='-KPIC'
9079 lt_prog_compiler_static
='-Bstatic'
9080 lt_prog_compiler_wl
=''
9082 *Sun\ F
* |
*Sun
*Fortran
*)
9083 lt_prog_compiler_pic
='-KPIC'
9084 lt_prog_compiler_static
='-Bstatic'
9085 lt_prog_compiler_wl
='-Qoption ld '
9089 lt_prog_compiler_pic
='-KPIC'
9090 lt_prog_compiler_static
='-Bstatic'
9091 lt_prog_compiler_wl
='-Wl,'
9093 *Intel
*\
[CF
]*Compiler
*)
9094 lt_prog_compiler_wl
='-Wl,'
9095 lt_prog_compiler_pic
='-fPIC'
9096 lt_prog_compiler_static
='-static'
9099 lt_prog_compiler_wl
='-Wl,'
9100 lt_prog_compiler_pic
='-fpic'
9101 lt_prog_compiler_static
='-Bstatic'
9109 lt_prog_compiler_pic
='-KPIC'
9110 lt_prog_compiler_static
='-Bstatic'
9114 # QNX uses GNU C++, but need to define -shared option too, otherwise
9116 lt_prog_compiler_pic
='-fPIC -shared'
9119 osf3
* | osf4
* | osf5
*)
9120 lt_prog_compiler_wl
='-Wl,'
9121 # All OSF/1 code is PIC.
9122 lt_prog_compiler_static
='-non_shared'
9126 lt_prog_compiler_static
='-non_shared'
9130 lt_prog_compiler_pic
='-KPIC'
9131 lt_prog_compiler_static
='-Bstatic'
9132 case $cc_basename in
9133 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9134 lt_prog_compiler_wl
='-Qoption ld ';;
9136 lt_prog_compiler_wl
='-Wl,';;
9141 lt_prog_compiler_wl
='-Qoption ld '
9142 lt_prog_compiler_pic
='-PIC'
9143 lt_prog_compiler_static
='-Bstatic'
9146 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9147 lt_prog_compiler_wl
='-Wl,'
9148 lt_prog_compiler_pic
='-KPIC'
9149 lt_prog_compiler_static
='-Bstatic'
9153 if test -d /usr
/nec
; then
9154 lt_prog_compiler_pic
='-Kconform_pic'
9155 lt_prog_compiler_static
='-Bstatic'
9159 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9160 lt_prog_compiler_wl
='-Wl,'
9161 lt_prog_compiler_pic
='-KPIC'
9162 lt_prog_compiler_static
='-Bstatic'
9166 lt_prog_compiler_wl
='-Wl,'
9167 lt_prog_compiler_can_build_shared
=no
9171 lt_prog_compiler_pic
='-pic'
9172 lt_prog_compiler_static
='-Bstatic'
9176 lt_prog_compiler_can_build_shared
=no
9182 # For platforms that do not support PIC, -DPIC is meaningless:
9184 lt_prog_compiler_pic
=
9187 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9192 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9193 if ${lt_cv_prog_compiler_pic+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9199 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9200 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9203 # Check to make sure the PIC flag actually works.
9205 if test -n "$lt_prog_compiler_pic"; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9207 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9208 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 lt_cv_prog_compiler_pic_works
=no
9212 ac_outfile
=conftest.
$ac_objext
9213 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9214 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9215 # Insert the option either (1) after the last *FLAGS variable, or
9216 # (2) before a word containing "conftest.", or (3) at the end.
9217 # Note that $ac_compile itself does not contain backslashes and begins
9218 # with a dollar sign (not a hyphen), so the echo should work correctly.
9219 # The option is referenced via a variable to avoid confusing sed.
9220 lt_compile
=`echo "$ac_compile" | $SED \
9221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9223 -e 's:$: $lt_compiler_flag:'`
9224 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9225 (eval "$lt_compile" 2>conftest.err
)
9227 cat conftest.err
>&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 if (exit $ac_status) && test -s "$ac_outfile"; then
9230 # The compiler can only warn and ignore the option if not recognized
9231 # So say no if there are warnings other than the usual output.
9232 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9233 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9234 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9235 lt_cv_prog_compiler_pic_works
=yes
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9242 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9244 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9245 case $lt_prog_compiler_pic in
9247 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9250 lt_prog_compiler_pic
=
9251 lt_prog_compiler_can_build_shared
=no
9267 # Check to make sure the static flag actually works.
9269 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9271 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9272 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9275 lt_cv_prog_compiler_static_works
=no
9276 save_LDFLAGS
=$LDFLAGS
9277 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9278 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9279 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9280 # The linker can only warn and ignore the option if not recognized
9281 # So say no if there are warnings
9282 if test -s conftest.err
; then
9283 # Append any errors to the config.log.
9284 cat conftest.err
1>&5
9285 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9286 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9287 if diff conftest.exp conftest.er2
>/dev
/null
; then
9288 lt_cv_prog_compiler_static_works
=yes
9291 lt_cv_prog_compiler_static_works
=yes
9295 LDFLAGS
=$save_LDFLAGS
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9299 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9301 if test yes = "$lt_cv_prog_compiler_static_works"; then
9304 lt_prog_compiler_static
=
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9314 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9315 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9316 $as_echo_n "(cached) " >&6
9318 lt_cv_prog_compiler_c_o
=no
9319 $RM -r conftest
2>/dev
/null
9323 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9325 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9326 # Insert the option either (1) after the last *FLAGS variable, or
9327 # (2) before a word containing "conftest.", or (3) at the end.
9328 # Note that $ac_compile itself does not contain backslashes and begins
9329 # with a dollar sign (not a hyphen), so the echo should work correctly.
9330 lt_compile
=`echo "$ac_compile" | $SED \
9331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9333 -e 's:$: $lt_compiler_flag:'`
9334 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9335 (eval "$lt_compile" 2>out
/conftest.err
)
9337 cat out
/conftest.err
>&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9341 # The compiler can only warn and ignore the option if not recognized
9342 # So say no if there are warnings
9343 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9344 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9345 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9346 lt_cv_prog_compiler_c_o
=yes
9351 # SGI C++ compiler will create directory out/ii_files/ for
9352 # template instantiation
9353 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9354 $RM out
/* && rmdir out
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9361 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9370 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9371 $as_echo_n "(cached) " >&6
9373 lt_cv_prog_compiler_c_o
=no
9374 $RM -r conftest
2>/dev
/null
9378 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9380 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9381 # Insert the option either (1) after the last *FLAGS variable, or
9382 # (2) before a word containing "conftest.", or (3) at the end.
9383 # Note that $ac_compile itself does not contain backslashes and begins
9384 # with a dollar sign (not a hyphen), so the echo should work correctly.
9385 lt_compile
=`echo "$ac_compile" | $SED \
9386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9388 -e 's:$: $lt_compiler_flag:'`
9389 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9390 (eval "$lt_compile" 2>out
/conftest.err
)
9392 cat out
/conftest.err
>&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9396 # The compiler can only warn and ignore the option if not recognized
9397 # So say no if there are warnings
9398 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9399 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9400 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9401 lt_cv_prog_compiler_c_o
=yes
9406 # SGI C++ compiler will create directory out/ii_files/ for
9407 # template instantiation
9408 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9409 $RM out
/* && rmdir out
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9416 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9421 hard_links
=nottested
9422 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9423 # do not overwrite the value of need_locks provided by the user
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9425 $as_echo_n "checking if we can lock with hard links... " >&6; }
9428 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9430 ln conftest.a conftest.b
2>&5 || hard_links
=no
9431 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9433 $as_echo "$hard_links" >&6; }
9434 if test no
= "$hard_links"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9436 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9449 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9452 allow_undefined_flag
=
9453 always_export_symbols
=no
9455 archive_expsym_cmds
=
9456 compiler_needs_object
=no
9457 enable_shared_with_static_runtimes
=no
9458 export_dynamic_flag_spec
=
9459 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9460 hardcode_automatic
=no
9462 hardcode_direct_absolute
=no
9463 hardcode_libdir_flag_spec
=
9464 hardcode_libdir_separator
=
9466 hardcode_shlibpath_var
=unsupported
9468 link_all_deplibs
=unknown
9471 old_archive_from_new_cmds
=
9472 old_archive_from_expsyms_cmds
=
9473 thread_safe_flag_spec
=
9474 whole_archive_flag_spec
=
9475 # include_expsyms should be a list of space-separated symbols to be *always*
9476 # included in the symbol list
9478 # exclude_expsyms can be an extended regexp of symbols to exclude
9479 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9480 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9481 # as well as any symbol that contains 'd'.
9482 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9483 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9484 # platforms (ab)use it in PIC code, but their linkers get confused if
9485 # the symbol is explicitly referenced. Since portable code cannot
9486 # rely on this symbol name, it's probably fine to never include it in
9487 # preloaded symbol tables.
9488 # Exclude shared library initialization/finalization symbols.
9489 extract_expsyms_cmds
=
9492 cygwin
* | mingw
* | pw32
* | cegcc
*)
9493 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9494 # When not using gcc, we currently assume that we are using
9495 # Microsoft Visual C++.
9496 if test yes != "$GCC"; then
9501 # we just hope/assume this is gcc and not c89 (= MSVC++)
9511 # On some targets, GNU ld is compatible enough with the native linker
9512 # that we're better off using the native interface for both.
9513 lt_use_gnu_ld_interface
=no
9514 if test yes = "$with_gnu_ld"; then
9517 # The AIX port of GNU ld has always aspired to compatibility
9518 # with the native linker. However, as the warning in the GNU ld
9519 # block says, versions before 2.19.5* couldn't really create working
9520 # shared libraries, regardless of the interface used.
9521 case `$LD -v 2>&1` in
9522 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9523 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9524 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9526 lt_use_gnu_ld_interface
=yes
9531 lt_use_gnu_ld_interface
=yes
9536 if test yes = "$lt_use_gnu_ld_interface"; then
9537 # If archive_cmds runs LD, not CC, wlarc should be empty
9540 # Set some defaults for GNU ld with shared library support. These
9541 # are reset later if shared libraries are not supported. Putting them
9542 # here allows them to be overridden if necessary.
9543 runpath_var
=LD_RUN_PATH
9544 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9545 export_dynamic_flag_spec
='$wl--export-dynamic'
9546 # ancient GNU ld didn't support --whole-archive et. al.
9547 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9548 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9550 whole_archive_flag_spec
=
9552 supports_anon_versioning
=no
9553 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9554 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9555 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9556 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9557 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9558 *\
2.11.
*) ;; # other 2.11 versions
9559 *) supports_anon_versioning
=yes ;;
9562 # See if GNU ld supports shared libraries.
9565 # On AIX/PPC, the GNU linker is very broken
9566 if test ia64
!= "$host_cpu"; then
9570 *** Warning: the GNU linker, at least up to release 2.19, is reported
9571 *** to be unable to reliably create shared libraries on AIX.
9572 *** Therefore, libtool is disabling shared libraries support. If you
9573 *** really care for shared libraries, you may want to install binutils
9574 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9575 *** You will then need to restart the configuration process.
9584 # see comment about AmigaOS4 .so support
9585 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9586 archive_expsym_cmds
=''
9589 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)'
9590 hardcode_libdir_flag_spec
='-L$libdir'
9591 hardcode_minus_L
=yes
9597 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9598 allow_undefined_flag
=unsupported
9599 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9600 # support --undefined. This deserves some investigation. FIXME
9601 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9607 cygwin
* | mingw
* | pw32
* | cegcc
*)
9608 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9609 # as there is no search path for DLLs.
9610 hardcode_libdir_flag_spec
='-L$libdir'
9611 export_dynamic_flag_spec
='$wl--export-all-symbols'
9612 allow_undefined_flag
=unsupported
9613 always_export_symbols
=no
9614 enable_shared_with_static_runtimes
=yes
9615 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'
9616 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9618 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9619 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9620 # If the export-symbols file already is a .def file, use it as
9621 # is; otherwise, prepend EXPORTS...
9622 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9623 cp $export_symbols $output_objdir/$soname.def;
9625 echo EXPORTS > $output_objdir/$soname.def;
9626 cat $export_symbols >> $output_objdir/$soname.def;
9628 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9635 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9636 link_all_deplibs
=yes
9640 hardcode_libdir_flag_spec
='-L$libdir'
9641 hardcode_minus_L
=yes
9642 allow_undefined_flag
=unsupported
9644 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9645 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9646 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9647 $ECHO EXPORTS >> $output_objdir/$libname.def~
9648 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9649 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9650 emximp -o $lib $output_objdir/$libname.def'
9651 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9652 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9653 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9654 $ECHO EXPORTS >> $output_objdir/$libname.def~
9656 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9657 prefix_cmds="$prefix_cmds -e 1d";
9659 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9660 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9661 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9662 emximp -o $lib $output_objdir/$libname.def'
9663 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9664 enable_shared_with_static_runtimes
=yes
9669 hardcode_shlibpath_var
=no
9670 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9671 export_dynamic_flag_spec
='$wl-E'
9672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9673 # Instead, shared libraries are loaded at an image base (0x10000000 by
9674 # default) and relocated if they conflict, which is a slow very memory
9675 # consuming and fragmenting process. To avoid this, we pick a random,
9676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9678 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9679 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'
9682 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9684 if test linux-dietlibc
= "$host_os"; then
9685 case $cc_basename in
9686 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9689 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9690 && test no
= "$tmp_diet"
9692 tmp_addflag
=' $pic_flag'
9693 tmp_sharedflag
='-shared'
9694 case $cc_basename,$host_cpu in
9695 pgcc
*) # Portland Group C compiler
9696 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'
9697 tmp_addflag
=' $pic_flag'
9699 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9700 # Portland Group f77 and f90 compilers
9701 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'
9702 tmp_addflag
=' $pic_flag -Mnomain' ;;
9703 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9704 tmp_addflag
=' -i_dynamic' ;;
9705 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9706 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9707 ifc
* | ifort
*) # Intel Fortran compiler
9708 tmp_addflag
=' -nofor_main' ;;
9709 lf95
*) # Lahey Fortran 8.1
9710 whole_archive_flag_spec
=
9711 tmp_sharedflag
='--shared' ;;
9712 nagfor
*) # NAGFOR 5.3
9713 tmp_sharedflag
='-Wl,-shared' ;;
9714 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9715 tmp_sharedflag
='-qmkshrobj'
9717 nvcc
*) # Cuda Compiler Driver 2.2
9718 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'
9719 compiler_needs_object
=yes
9722 case `$CC -V 2>&1 | sed 5q` in
9723 *Sun\ C
*) # Sun C 5.9
9724 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'
9725 compiler_needs_object
=yes
9726 tmp_sharedflag
='-G' ;;
9727 *Sun\ F
*) # Sun Fortran 8.3
9728 tmp_sharedflag
='-G' ;;
9730 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9732 if test yes = "$supports_anon_versioning"; then
9733 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9734 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9735 echo "local: *; };" >> $output_objdir/$libname.ver~
9736 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9739 case $cc_basename in
9741 export_dynamic_flag_spec
='-rdynamic'
9743 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9744 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9745 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9746 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9747 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9748 if test yes = "$supports_anon_versioning"; then
9749 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9750 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9751 echo "local: *; };" >> $output_objdir/$libname.ver~
9752 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9762 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9763 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9766 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9767 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9772 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9776 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9777 *** create shared libraries on Solaris systems. Therefore, libtool
9778 *** is disabling shared libraries support. We urge you to upgrade GNU
9779 *** binutils to release 2.9.1 or newer. Another option is to modify
9780 *** your PATH or compiler configuration so that the native linker is
9781 *** used, and then restart.
9784 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9785 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9786 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9792 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9793 case `$LD -v 2>&1` in
9794 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9798 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9799 *** reliably create shared libraries on SCO systems. Therefore, libtool
9800 *** is disabling shared libraries support. We urge you to upgrade GNU
9801 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9802 *** your PATH or compiler configuration so that the native linker is
9803 *** used, and then restart.
9808 # For security reasons, it is highly recommended that you always
9809 # use absolute paths for naming shared libraries, and exclude the
9810 # DT_RUNPATH tag from executables and libraries. But doing so
9811 # requires that you compile everything twice, which is a pain.
9812 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9813 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9815 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9824 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_shlibpath_var
=no
9831 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9832 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9833 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9840 if test no
= "$ld_shlibs"; then
9842 hardcode_libdir_flag_spec
=
9843 export_dynamic_flag_spec
=
9844 whole_archive_flag_spec
=
9847 # PORTME fill in a description of your system's linker (not GNU ld)
9850 allow_undefined_flag
=unsupported
9851 always_export_symbols
=yes
9852 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'
9853 # Note: this linker hardcodes the directories in LIBPATH if there
9854 # are no directories specified by -L.
9855 hardcode_minus_L
=yes
9856 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9857 # Neither direct hardcoding nor static linking is supported with a
9859 hardcode_direct
=unsupported
9864 if test ia64
= "$host_cpu"; then
9865 # On IA64, the linker does run time linking by default, so we don't
9866 # have to do anything special.
9867 aix_use_runtimelinking
=no
9868 exp_sym_flag
='-Bexport'
9871 # If we're using GNU nm, then we don't want the "-C" option.
9872 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9873 # Without the "-l" option, or with the "-B" option, AIX nm treats
9874 # weak defined symbols like other global defined symbols, whereas
9875 # GNU nm marks them as "W".
9876 # While the 'weak' keyword is ignored in the Export File, we need
9877 # it in the Import File for the 'aix-soname' feature, so we have
9878 # to replace the "-B" option with "-P" for AIX nm.
9879 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9880 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9882 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9884 aix_use_runtimelinking
=no
9886 # Test if we are trying to use run time linking or normal
9887 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9888 # have runtime linking enabled, and use it for executables.
9889 # For shared libraries, we enable/disable runtime linking
9890 # depending on the kind of the shared library created -
9891 # when "with_aix_soname,aix_use_runtimelinking" is:
9892 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9893 # "aix,yes" lib.so shared, rtl:yes, for executables
9894 # lib.a static archive
9895 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9896 # lib.a(lib.so.V) shared, rtl:no, for executables
9897 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9898 # lib.a(lib.so.V) shared, rtl:no
9899 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9900 # lib.a static archive
9901 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9902 for ld_flag
in $LDFLAGS; do
9903 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9904 aix_use_runtimelinking
=yes
9908 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9909 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9910 # so we don't have lib.a shared libs to link our executables.
9911 # We have to force runtime linking in this case.
9912 aix_use_runtimelinking
=yes
9913 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9918 exp_sym_flag
='-bexport'
9919 no_entry_flag
='-bnoentry'
9922 # When large executables or shared objects are built, AIX ld can
9923 # have problems creating the table of contents. If linking a library
9924 # or program results in "error TOC overflow" add -mminimal-toc to
9925 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9926 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9930 hardcode_direct_absolute
=yes
9931 hardcode_libdir_separator
=':'
9932 link_all_deplibs
=yes
9933 file_list_spec
='$wl-f,'
9934 case $with_aix_soname,$aix_use_runtimelinking in
9935 aix
,*) ;; # traditional, no import file
9936 svr4
,* |
*,yes) # use import file
9937 # The Import File defines what to hardcode.
9939 hardcode_direct_absolute
=no
9943 if test yes = "$GCC"; then
9944 case $host_os in aix4.
[012]|aix4.
[012].
*)
9945 # We only want to do this on AIX 4.2 and lower, the check
9946 # below for broken collect2 doesn't work under 4.3+
9947 collect2name
=`$CC -print-prog-name=collect2`
9948 if test -f "$collect2name" &&
9949 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9951 # We have reworked collect2
9954 # We have old collect2
9955 hardcode_direct
=unsupported
9956 # It fails to find uninstalled libraries when the uninstalled
9957 # path is not listed in the libpath. Setting hardcode_minus_L
9958 # to unsupported forces relinking
9959 hardcode_minus_L
=yes
9960 hardcode_libdir_flag_spec
='-L$libdir'
9961 hardcode_libdir_separator
=
9965 shared_flag
='-shared'
9966 if test yes = "$aix_use_runtimelinking"; then
9967 shared_flag
="$shared_flag "'$wl-G'
9969 # Need to ensure runtime linking is disabled for the traditional
9970 # shared library, or the linker may eventually find shared libraries
9971 # /with/ Import File - we do not want to mix them.
9972 shared_flag_aix
='-shared'
9973 shared_flag_svr4
='-shared $wl-G'
9976 if test ia64
= "$host_cpu"; then
9977 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9978 # chokes on -Wl,-G. The following line is correct:
9981 if test yes = "$aix_use_runtimelinking"; then
9984 shared_flag
='$wl-bM:SRE'
9986 shared_flag_aix
='$wl-bM:SRE'
9987 shared_flag_svr4
='$wl-G'
9991 export_dynamic_flag_spec
='$wl-bexpall'
9992 # It seems that -bexpall does not export symbols beginning with
9993 # underscore (_), so it is better to generate a list of symbols to export.
9994 always_export_symbols
=yes
9995 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9996 # Warning - without using the other runtime loading flags (-brtl),
9997 # -berok will link without error, but may produce a broken library.
9998 allow_undefined_flag
='-berok'
9999 # Determine the default libpath from the value encoded in an
10000 # empty executable.
10001 if test set = "${lt_cv_aix_libpath+set}"; then
10002 aix_libpath
=$lt_cv_aix_libpath
10004 if ${lt_cv_aix_libpath_+:} false
; then :
10005 $as_echo_n "(cached) " >&6
10007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10018 if ac_fn_c_try_link
"$LINENO"; then :
10020 lt_aix_libpath_sed
='
10021 /Import File Strings/,/^$/ {
10023 s/^0 *\([^ ]*\) *$/\1/
10027 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10028 # Check for a 64-bit object if we didn't find anything.
10029 if test -z "$lt_cv_aix_libpath_"; then
10030 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10033 rm -f core conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 if test -z "$lt_cv_aix_libpath_"; then
10036 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10041 aix_libpath
=$lt_cv_aix_libpath_
10044 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10045 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10047 if test ia64
= "$host_cpu"; then
10048 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10049 allow_undefined_flag
="-z nodefs"
10050 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"
10052 # Determine the default libpath from the value encoded in an
10053 # empty executable.
10054 if test set = "${lt_cv_aix_libpath+set}"; then
10055 aix_libpath
=$lt_cv_aix_libpath
10057 if ${lt_cv_aix_libpath_+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10071 if ac_fn_c_try_link
"$LINENO"; then :
10073 lt_aix_libpath_sed
='
10074 /Import File Strings/,/^$/ {
10076 s/^0 *\([^ ]*\) *$/\1/
10080 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10081 # Check for a 64-bit object if we didn't find anything.
10082 if test -z "$lt_cv_aix_libpath_"; then
10083 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10086 rm -f core conftest.err conftest.
$ac_objext \
10087 conftest
$ac_exeext conftest.
$ac_ext
10088 if test -z "$lt_cv_aix_libpath_"; then
10089 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10094 aix_libpath
=$lt_cv_aix_libpath_
10097 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10098 # Warning - without using the other run time loading flags,
10099 # -berok will link without error, but may produce a broken library.
10100 no_undefined_flag
=' $wl-bernotok'
10101 allow_undefined_flag
=' $wl-berok'
10102 if test yes = "$with_gnu_ld"; then
10103 # We only use this code for GNU lds that support --whole-archive.
10104 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10106 # Exported symbols can be pulled into shared objects from archives
10107 whole_archive_flag_spec
='$convenience'
10109 archive_cmds_need_lc
=yes
10110 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10111 # -brtl affects multiple linker settings, -berok does not and is overridden later
10112 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10113 if test svr4
!= "$with_aix_soname"; then
10114 # This is similar to how AIX traditionally builds its shared libraries.
10115 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10117 if test aix
!= "$with_aix_soname"; then
10118 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10120 # used by -dlpreopen to get the symbols
10121 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10123 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10131 # see comment about AmigaOS4 .so support
10132 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10133 archive_expsym_cmds
=''
10136 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)'
10137 hardcode_libdir_flag_spec
='-L$libdir'
10138 hardcode_minus_L
=yes
10144 export_dynamic_flag_spec
=-rdynamic
10147 cygwin
* | mingw
* | pw32
* | cegcc
*)
10148 # When not using gcc, we currently assume that we are using
10149 # Microsoft Visual C++.
10150 # hardcode_libdir_flag_spec is actually meaningless, as there is
10151 # no search path for DLLs.
10152 case $cc_basename in
10155 hardcode_libdir_flag_spec
=' '
10156 allow_undefined_flag
=unsupported
10157 always_export_symbols
=yes
10159 # Tell ltmain to make .lib files, not .a files.
10161 # Tell ltmain to make .dll files, not .so files.
10163 # FIXME: Setting linknames here is a bad hack.
10164 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10165 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10166 cp "$export_symbols" "$output_objdir/$soname.def";
10167 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10169 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10171 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10173 # The linker will not automatically build a static lib if we build a DLL.
10174 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10175 enable_shared_with_static_runtimes
=yes
10176 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10177 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10179 old_postinstall_cmds
='chmod 644 $oldlib'
10180 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10181 lt_tool_outputfile="@TOOL_OUTPUT@"~
10182 case $lt_outputfile in
10185 lt_outputfile=$lt_outputfile.exe
10186 lt_tool_outputfile=$lt_tool_outputfile.exe
10189 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10190 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10191 $RM "$lt_outputfile.manifest";
10195 # Assume MSVC wrapper
10196 hardcode_libdir_flag_spec
=' '
10197 allow_undefined_flag
=unsupported
10198 # Tell ltmain to make .lib files, not .a files.
10200 # Tell ltmain to make .dll files, not .so files.
10202 # FIXME: Setting linknames here is a bad hack.
10203 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10204 # The linker will automatically build a .lib file if we build a DLL.
10205 old_archive_from_new_cmds
='true'
10206 # FIXME: Should let the user specify the lib program.
10207 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10208 enable_shared_with_static_runtimes
=yes
10213 darwin
* | rhapsody
*)
10216 archive_cmds_need_lc
=no
10218 hardcode_automatic
=yes
10219 hardcode_shlibpath_var
=unsupported
10220 if test yes = "$lt_cv_ld_force_load"; then
10221 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\"`'
10224 whole_archive_flag_spec
=''
10226 link_all_deplibs
=yes
10227 allow_undefined_flag
=$_lt_dar_allow_undefined
10228 case $cc_basename in
10229 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10230 *) _lt_dar_can_shared
=$GCC ;;
10232 if test yes = "$_lt_dar_can_shared"; then
10233 output_verbose_link_cmd
=func_echo_all
10234 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10235 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10236 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"
10237 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"
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
10251 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10252 # support. Future versions do this automatically, but an explicit c++rt0.o
10253 # does not break anything, and helps significantly (at the cost of a little
10256 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10257 hardcode_libdir_flag_spec
='-R$libdir'
10258 hardcode_direct
=yes
10259 hardcode_shlibpath_var
=no
10262 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10264 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10265 hardcode_direct
=yes
10266 hardcode_minus_L
=yes
10267 hardcode_shlibpath_var
=no
10270 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10271 freebsd
* | dragonfly
*)
10272 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10273 hardcode_libdir_flag_spec
='-R$libdir'
10274 hardcode_direct
=yes
10275 hardcode_shlibpath_var
=no
10279 if test yes = "$GCC"; then
10280 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10282 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10284 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10285 hardcode_libdir_separator
=:
10286 hardcode_direct
=yes
10288 # hardcode_minus_L: Not really in the search PATH,
10289 # but as the default location of the library.
10290 hardcode_minus_L
=yes
10291 export_dynamic_flag_spec
='$wl-E'
10295 if test yes,no
= "$GCC,$with_gnu_ld"; then
10296 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10300 if test no
= "$with_gnu_ld"; then
10301 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10302 hardcode_libdir_separator
=:
10303 hardcode_direct
=yes
10304 hardcode_direct_absolute
=yes
10305 export_dynamic_flag_spec
='$wl-E'
10306 # hardcode_minus_L: Not really in the search PATH,
10307 # but as the default location of the library.
10308 hardcode_minus_L
=yes
10313 if test yes,no
= "$GCC,$with_gnu_ld"; then
10316 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10328 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10331 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10335 # Older versions of the 11.00 compiler do not understand -b yet
10336 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10338 $as_echo_n "checking if $CC understands -b... " >&6; }
10339 if ${lt_cv_prog_compiler__b+:} false
; then :
10340 $as_echo_n "(cached) " >&6
10342 lt_cv_prog_compiler__b
=no
10343 save_LDFLAGS
=$LDFLAGS
10344 LDFLAGS
="$LDFLAGS -b"
10345 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10346 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10347 # The linker can only warn and ignore the option if not recognized
10348 # So say no if there are warnings
10349 if test -s conftest.err
; then
10350 # Append any errors to the config.log.
10351 cat conftest.err
1>&5
10352 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10353 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10354 if diff conftest.exp conftest.er2
>/dev
/null
; then
10355 lt_cv_prog_compiler__b
=yes
10358 lt_cv_prog_compiler__b
=yes
10362 LDFLAGS
=$save_LDFLAGS
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10366 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10368 if test yes = "$lt_cv_prog_compiler__b"; then
10369 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10371 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10377 if test no
= "$with_gnu_ld"; then
10378 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10379 hardcode_libdir_separator
=:
10384 hardcode_shlibpath_var
=no
10387 hardcode_direct
=yes
10388 hardcode_direct_absolute
=yes
10389 export_dynamic_flag_spec
='$wl-E'
10391 # hardcode_minus_L: Not really in the search PATH,
10392 # but as the default location of the library.
10393 hardcode_minus_L
=yes
10399 irix5
* | irix6
* | nonstopux
*)
10400 if test yes = "$GCC"; then
10401 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'
10402 # Try to use the -exported_symbol ld option, if it does not
10403 # work, assume that -exports_file does not work either and
10404 # implicitly export all symbols.
10405 # This should be the same for all languages, so no per-tag cache variable.
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10407 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10408 if ${lt_cv_irix_exported_symbol+:} false
; then :
10409 $as_echo_n "(cached) " >&6
10411 save_LDFLAGS
=$LDFLAGS
10412 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 int foo (void) { return 0; }
10417 if ac_fn_c_try_link
"$LINENO"; then :
10418 lt_cv_irix_exported_symbol
=yes
10420 lt_cv_irix_exported_symbol
=no
10422 rm -f core conftest.err conftest.
$ac_objext \
10423 conftest
$ac_exeext conftest.
$ac_ext
10424 LDFLAGS
=$save_LDFLAGS
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10427 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10428 if test yes = "$lt_cv_irix_exported_symbol"; then
10429 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'
10432 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'
10433 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'
10435 archive_cmds_need_lc
='no'
10436 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10437 hardcode_libdir_separator
=:
10439 link_all_deplibs
=yes
10443 case $cc_basename in
10445 # Fabrice Bellard et al's Tiny C Compiler
10447 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10453 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10454 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10456 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10458 hardcode_libdir_flag_spec
='-R$libdir'
10459 hardcode_direct
=yes
10460 hardcode_shlibpath_var
=no
10464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10465 hardcode_direct
=yes
10466 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10467 hardcode_libdir_separator
=:
10468 hardcode_shlibpath_var
=no
10474 openbsd
* | bitrig
*)
10475 if test -f /usr
/libexec
/ld.so
; then
10476 hardcode_direct
=yes
10477 hardcode_shlibpath_var
=no
10478 hardcode_direct_absolute
=yes
10479 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10480 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10482 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10483 export_dynamic_flag_spec
='$wl-E'
10485 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10486 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10494 hardcode_libdir_flag_spec
='-L$libdir'
10495 hardcode_minus_L
=yes
10496 allow_undefined_flag
=unsupported
10498 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10499 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10500 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10501 $ECHO EXPORTS >> $output_objdir/$libname.def~
10502 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10503 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10504 emximp -o $lib $output_objdir/$libname.def'
10505 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10506 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10507 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10508 $ECHO EXPORTS >> $output_objdir/$libname.def~
10509 prefix_cmds="$SED"~
10510 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10511 prefix_cmds="$prefix_cmds -e 1d";
10513 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10514 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10515 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10516 emximp -o $lib $output_objdir/$libname.def'
10517 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10518 enable_shared_with_static_runtimes
=yes
10522 if test yes = "$GCC"; then
10523 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10524 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'
10526 allow_undefined_flag
=' -expect_unresolved \*'
10527 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'
10529 archive_cmds_need_lc
='no'
10530 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10531 hardcode_libdir_separator
=:
10534 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10535 if test yes = "$GCC"; then
10536 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10537 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'
10538 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10540 allow_undefined_flag
=' -expect_unresolved \*'
10541 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'
10542 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~
10543 $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'
10545 # Both c and cxx compiler support -rpath directly
10546 hardcode_libdir_flag_spec
='-rpath $libdir'
10548 archive_cmds_need_lc
='no'
10549 hardcode_libdir_separator
=:
10553 no_undefined_flag
=' -z defs'
10554 if test yes = "$GCC"; then
10556 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10558 $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'
10560 case `$CC -V 2>&1` in
10563 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10564 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10565 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10569 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10570 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10571 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10575 hardcode_libdir_flag_spec
='-R$libdir'
10576 hardcode_shlibpath_var
=no
10578 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10580 # The compiler driver will combine and reorder linker options,
10581 # but understands '-z linker_flag'. GCC discards it without '$wl',
10582 # but is careful enough not to reorder.
10583 # Supported since Solaris 2.6 (maybe 2.5.1?)
10584 if test yes = "$GCC"; then
10585 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10587 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10591 link_all_deplibs
=yes
10595 if test sequent
= "$host_vendor"; then
10596 # Use $CC to link under sequent, because it throws in some extra .o
10597 # files that make .init and .fini sections work.
10598 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10602 hardcode_libdir_flag_spec
='-L$libdir'
10603 hardcode_direct
=yes
10604 hardcode_minus_L
=yes
10605 hardcode_shlibpath_var
=no
10609 case $host_vendor in
10611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612 hardcode_direct
=yes # is this really true???
10615 ## LD is ld it makes a PLAMLIB
10616 ## CC just makes a GrossModule.
10617 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10618 reload_cmds
='$CC -r -o $output$reload_objs'
10622 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10626 runpath_var
='LD_RUN_PATH'
10627 hardcode_shlibpath_var
=no
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_shlibpath_var
=no
10633 export_dynamic_flag_spec
='-Bexport'
10637 if test -d /usr
/nec
; then
10638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_shlibpath_var
=no
10640 runpath_var
=LD_RUN_PATH
10641 hardcode_runpath_var
=yes
10646 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10647 no_undefined_flag
='$wl-z,text'
10648 archive_cmds_need_lc
=no
10649 hardcode_shlibpath_var
=no
10650 runpath_var
='LD_RUN_PATH'
10652 if test yes = "$GCC"; then
10653 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 sysv5
* | sco3.2v5
* | sco5v6
*)
10662 # Note: We CANNOT use -z defs as we might desire, because we do not
10663 # link with -lc, and that would cause any symbols used from libc to
10664 # always be unresolved, which means just about no library would
10665 # ever link correctly. If we're not using GNU ld we use -z text
10666 # though, which does catch some bad symbols but isn't as heavy-handed
10668 no_undefined_flag
='$wl-z,text'
10669 allow_undefined_flag
='$wl-z,nodefs'
10670 archive_cmds_need_lc
=no
10671 hardcode_shlibpath_var
=no
10672 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10673 hardcode_libdir_separator
=':'
10674 link_all_deplibs
=yes
10675 export_dynamic_flag_spec
='$wl-Bexport'
10676 runpath_var
='LD_RUN_PATH'
10678 if test yes = "$GCC"; then
10679 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10689 hardcode_libdir_flag_spec
='-L$libdir'
10690 hardcode_shlibpath_var
=no
10698 if test sni
= "$host_vendor"; then
10700 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10701 export_dynamic_flag_spec
='$wl-Blargedynsym'
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10708 $as_echo "$ld_shlibs" >&6; }
10709 test no
= "$ld_shlibs" && can_build_shared
=no
10711 with_gnu_ld
=$with_gnu_ld
10728 # Do we need to explicitly link libc?
10730 case "x$archive_cmds_need_lc" in
10732 # Assume -lc should be added
10733 archive_cmds_need_lc
=yes
10735 if test yes,yes = "$GCC,$enable_shared"; then
10736 case $archive_cmds in
10738 # FIXME: we may have to deal with multi-command sequences.
10741 # Test whether the compiler implicitly links with -lc since on some
10742 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10743 # to ld, don't add -lc before -lgcc.
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10745 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10746 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10753 (eval $ac_compile) 2>&5
10755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10756 test $ac_status = 0; } 2>conftest.err
; then
10759 libobjs
=conftest.
$ac_objext
10761 wl
=$lt_prog_compiler_wl
10762 pic_flag
=$lt_prog_compiler_pic
10768 lt_save_allow_undefined_flag
=$allow_undefined_flag
10769 allow_undefined_flag
=
10770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10771 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10774 test $ac_status = 0; }
10776 lt_cv_archive_cmds_need_lc
=no
10778 lt_cv_archive_cmds_need_lc
=yes
10780 allow_undefined_flag
=$lt_save_allow_undefined_flag
10782 cat conftest.err
1>&5
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10788 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10789 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10948 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10950 if test yes = "$GCC"; then
10952 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10953 *) lt_awk_arg
='/^libraries:/' ;;
10956 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10957 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10959 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10960 case $lt_search_path_spec in
10962 # if the path contains ";" then we assume it to be the separator
10963 # otherwise default to the standard path separator (i.e. ":") - it is
10964 # assumed that no part of a normal pathname contains ";" but that should
10965 # okay in the real world where ";" in dirpaths is itself problematic.
10966 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10969 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10972 # Ok, now we have the path, separated by spaces, we can step through it
10973 # and add multilib dir if necessary...
10974 lt_tmp_lt_search_path_spec
=
10975 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10976 # ...but if some path component already ends with the multilib dir we assume
10977 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10978 case "$lt_multi_os_dir; $lt_search_path_spec " in
10979 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10983 for lt_sys_path
in $lt_search_path_spec; do
10984 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10985 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10986 elif test -n "$lt_multi_os_dir"; then
10987 test -d "$lt_sys_path" && \
10988 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10991 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10992 BEGIN {RS = " "; FS = "/|\n";} {
10995 for (lt_i = NF; lt_i > 0; lt_i--) {
10996 if ($lt_i != "" && $lt_i != ".") {
10997 if ($lt_i == "..") {
11000 if (lt_count == 0) {
11001 lt_foo = "/" $lt_i lt_foo;
11008 if (lt_foo != "") { lt_freq[lt_foo]++; }
11009 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11011 # AWK program above erroneously prepends '/' to C:/dos/paths
11014 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11015 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11017 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11019 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11021 library_names_spec
=
11022 libname_spec
='lib$name'
11026 postuninstall_cmds
=
11030 shlibpath_overrides_runpath
=unknown
11032 dynamic_linker
="$host_os ld.so"
11033 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11034 need_lib_prefix
=unknown
11035 hardcode_into_libs
=no
11037 # when you set need_version to no, make sure it does not cause -set_version
11038 # flags to be left without arguments
11039 need_version
=unknown
11045 version_type
=linux
# correct to gnu/linux during the next big refactor
11046 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11047 shlibpath_var
=LIBPATH
11049 # AIX 3 has no versioning support, so we append a major version to the name.
11050 soname_spec
='$libname$release$shared_ext$major'
11054 version_type
=linux
# correct to gnu/linux during the next big refactor
11057 hardcode_into_libs
=yes
11058 if test ia64
= "$host_cpu"; then
11059 # AIX 5 supports IA64
11060 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11061 shlibpath_var
=LD_LIBRARY_PATH
11063 # With GCC up to 2.95.x, collect2 would create an import file
11064 # for dependence libraries. The import file would start with
11065 # the line '#! .'. This would cause the generated library to
11066 # depend on '.', always an invalid library. This was fixed in
11067 # development snapshots of GCC prior to 3.0.
11069 aix4 | aix4.
[01] | aix4.
[01].
*)
11070 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11072 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11075 can_build_shared
=no
11079 # Using Import Files as archive members, it is possible to support
11080 # filename-based versioning of shared library archives on AIX. While
11081 # this would work for both with and without runtime linking, it will
11082 # prevent static linking of such archives. So we do filename-based
11083 # shared library versioning with .so extension only, which is used
11084 # when both runtime linking and shared linking is enabled.
11085 # Unfortunately, runtime linking may impact performance, so we do
11086 # not want this to be the default eventually. Also, we use the
11087 # versioned .so libs for executables only if there is the -brtl
11088 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11089 # To allow for filename-based versioning support, we need to create
11090 # libNAME.so.V as an archive file, containing:
11091 # *) an Import File, referring to the versioned filename of the
11092 # archive as well as the shared archive member, telling the
11093 # bitwidth (32 or 64) of that shared object, and providing the
11094 # list of exported symbols of that shared object, eventually
11095 # decorated with the 'weak' keyword
11096 # *) the shared object with the F_LOADONLY flag set, to really avoid
11097 # it being seen by the linker.
11098 # At run time we better use the real file rather than another symlink,
11099 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11101 case $with_aix_soname,$aix_use_runtimelinking in
11102 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11103 # soname into executable. Probably we can add versioning support to
11104 # collect2, so additional links can be useful in future.
11105 aix
,yes) # traditional libtool
11106 dynamic_linker
='AIX unversionable lib.so'
11107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11108 # instead of lib<name>.a to let people know that these are not
11109 # typical AIX shared libraries.
11110 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11112 aix
,no
) # traditional AIX only
11113 dynamic_linker
='AIX lib.a(lib.so.V)'
11114 # We preserve .a as extension for shared libraries through AIX4.2
11115 # and later when we are not doing run time linking.
11116 library_names_spec
='$libname$release.a $libname.a'
11117 soname_spec
='$libname$release$shared_ext$major'
11119 svr4
,*) # full svr4 only
11120 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11121 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11122 # We do not specify a path in Import Files, so LIBPATH fires.
11123 shlibpath_overrides_runpath
=yes
11125 *,yes) # both, prefer svr4
11126 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11127 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11128 # unpreferred sharedlib libNAME.a needs extra handling
11129 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11130 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11131 # We do not specify a path in Import Files, so LIBPATH fires.
11132 shlibpath_overrides_runpath
=yes
11134 *,no
) # both, prefer aix
11135 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11136 library_names_spec
='$libname$release.a $libname.a'
11137 soname_spec
='$libname$release$shared_ext$major'
11138 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11139 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11140 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11143 shlibpath_var
=LIBPATH
11150 # Since July 2007 AmigaOS4 officially supports .so libraries.
11151 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11152 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155 library_names_spec
='$libname.ixlibrary $libname.a'
11156 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11157 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11163 library_names_spec
='$libname$shared_ext'
11164 dynamic_linker
="$host_os ld.so"
11165 shlibpath_var
=LIBRARY_PATH
11169 version_type
=linux
# correct to gnu/linux during the next big refactor
11171 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172 soname_spec
='$libname$release$shared_ext$major'
11173 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11174 shlibpath_var
=LD_LIBRARY_PATH
11175 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11176 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11177 # the default ld.so.conf also contains /usr/contrib/lib and
11178 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11179 # libtool to hard-code these into programs
11182 cygwin
* | mingw
* | pw32
* | cegcc
*)
11183 version_type
=windows
11188 case $GCC,$cc_basename in
11191 library_names_spec
='$libname.dll.a'
11192 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11193 postinstall_cmds
='base_file=`basename \$file`~
11194 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11195 dldir=$destdir/`dirname \$dlpath`~
11196 test -d \$dldir || mkdir -p \$dldir~
11197 $install_prog $dir/$dlname \$dldir/$dlname~
11198 chmod a+x \$dldir/$dlname~
11199 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11200 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11202 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11203 dlpath=$dir/\$dldll~
11205 shlibpath_overrides_runpath
=yes
11209 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11210 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11212 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11215 # MinGW DLLs use traditional 'lib' prefix
11216 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11219 # pw32 DLLs use 'pw' prefix rather than 'lib'
11220 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11223 dynamic_linker
='Win32 ld.exe'
11228 libname_spec
='$name'
11229 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11230 library_names_spec
='$libname.dll.lib'
11234 sys_lib_search_path_spec
=
11237 for lt_path
in $LIB
11240 # Let DOS variable expansion print the short 8.3 style file name.
11241 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11242 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11245 # Convert to MSYS style.
11246 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11249 # Convert to unix form, then to dos form, then back to unix form
11250 # but this time dos style (no spaces!) so that the unix form looks
11251 # like /cygdrive/c/PROGRA~1:/cygdr...
11252 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11253 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11254 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11257 sys_lib_search_path_spec
=$LIB
11258 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11259 # It is most probably a Windows format PATH.
11260 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11262 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11264 # FIXME: find the short name or the path components, as spaces are
11265 # common. (e.g. "Program Files" -> "PROGRA~1")
11269 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11270 postinstall_cmds
='base_file=`basename \$file`~
11271 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11272 dldir=$destdir/`dirname \$dlpath`~
11273 test -d \$dldir || mkdir -p \$dldir~
11274 $install_prog $dir/$dlname \$dldir/$dlname'
11275 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11276 dlpath=$dir/\$dldll~
11278 shlibpath_overrides_runpath
=yes
11279 dynamic_linker
='Win32 link.exe'
11283 # Assume MSVC wrapper
11284 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11285 dynamic_linker
='Win32 ld.exe'
11288 # FIXME: first we should search . and the directory the executable is in
11292 darwin
* | rhapsody
*)
11293 dynamic_linker
="$host_os dyld"
11294 version_type
=darwin
11297 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11298 soname_spec
='$libname$release$major$shared_ext'
11299 shlibpath_overrides_runpath
=yes
11300 shlibpath_var
=DYLD_LIBRARY_PATH
11301 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11303 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11304 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11308 version_type
=linux
# correct to gnu/linux during the next big refactor
11311 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11312 soname_spec
='$libname$release$shared_ext$major'
11313 shlibpath_var
=LD_LIBRARY_PATH
11316 freebsd
* | dragonfly
*)
11317 # DragonFly does not have aout. When/if they implement a new
11318 # versioning mechanism, adjust this.
11319 if test -x /usr
/bin
/objformat
; then
11320 objformat
=`/usr/bin/objformat`
11323 freebsd
[23].
*) objformat
=aout
;;
11324 *) objformat
=elf
;;
11327 version_type
=freebsd-
$objformat
11328 case $version_type in
11330 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11331 soname_spec
='$libname$release$shared_ext$major'
11336 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11340 shlibpath_var
=LD_LIBRARY_PATH
11343 shlibpath_overrides_runpath
=yes
11345 freebsd3.
[01]* | freebsdelf3.
[01]*)
11346 shlibpath_overrides_runpath
=yes
11347 hardcode_into_libs
=yes
11349 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11350 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11351 shlibpath_overrides_runpath
=no
11352 hardcode_into_libs
=yes
11354 *) # from 4.6 on, and DragonFly
11355 shlibpath_overrides_runpath
=yes
11356 hardcode_into_libs
=yes
11362 version_type
=linux
# correct to gnu/linux during the next big refactor
11365 dynamic_linker
="$host_os runtime_loader"
11366 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11367 soname_spec
='$libname$release$shared_ext$major'
11368 shlibpath_var
=LIBRARY_PATH
11369 shlibpath_overrides_runpath
=no
11370 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11371 hardcode_into_libs
=yes
11374 hpux9
* | hpux10
* | hpux11
*)
11375 # Give a soname corresponding to the major version so that dld.sl refuses to
11376 # link against other versions.
11383 hardcode_into_libs
=yes
11384 dynamic_linker
="$host_os dld.so"
11385 shlibpath_var
=LD_LIBRARY_PATH
11386 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11387 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11388 soname_spec
='$libname$release$shared_ext$major'
11389 if test 32 = "$HPUX_IA64_MODE"; then
11390 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11391 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11393 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11394 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11399 hardcode_into_libs
=yes
11400 dynamic_linker
="$host_os dld.sl"
11401 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11402 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11403 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11404 soname_spec
='$libname$release$shared_ext$major'
11405 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11406 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11410 dynamic_linker
="$host_os dld.sl"
11411 shlibpath_var
=SHLIB_PATH
11412 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11413 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11414 soname_spec
='$libname$release$shared_ext$major'
11417 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11418 postinstall_cmds
='chmod 555 $lib'
11419 # or fails outright, so override atomically:
11420 install_override_mode
=555
11424 version_type
=linux
# correct to gnu/linux during the next big refactor
11427 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11428 soname_spec
='$libname$release$shared_ext$major'
11429 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11430 shlibpath_var
=LD_LIBRARY_PATH
11431 shlibpath_overrides_runpath
=no
11432 hardcode_into_libs
=yes
11435 irix5
* | irix6
* | nonstopux
*)
11437 nonstopux
*) version_type
=nonstopux
;;
11439 if test yes = "$lt_cv_prog_gnu_ld"; then
11440 version_type
=linux
# correct to gnu/linux during the next big refactor
11447 soname_spec
='$libname$release$shared_ext$major'
11448 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11450 irix5
* | nonstopux
*)
11451 libsuff
= shlibsuff
=
11454 case $LD in # libtool.m4 will add one of these switches to LD
11455 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11456 libsuff
= shlibsuff
= libmagic
=32-bit;;
11457 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11458 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11459 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11460 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11461 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11465 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11466 shlibpath_overrides_runpath
=no
11467 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11468 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11469 hardcode_into_libs
=yes
11472 # No shared lib support for Linux oldld, aout, or coff.
11473 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11478 version_type
=none
# Android doesn't support versioned libraries.
11481 library_names_spec
='$libname$release$shared_ext'
11482 soname_spec
='$libname$release$shared_ext'
11484 shlibpath_var
=LD_LIBRARY_PATH
11485 shlibpath_overrides_runpath
=yes
11487 # This implies no fast_install, which is unacceptable.
11488 # Some rework will be needed to allow for fast_install
11489 # before this can be enabled.
11490 hardcode_into_libs
=yes
11492 dynamic_linker
='Android linker'
11493 # Don't embed -rpath directories since the linker doesn't support them.
11494 hardcode_libdir_flag_spec
='-L$libdir'
11497 # This must be glibc/ELF.
11498 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11499 version_type
=linux
# correct to gnu/linux during the next big refactor
11502 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11503 soname_spec
='$libname$release$shared_ext$major'
11504 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11505 shlibpath_var
=LD_LIBRARY_PATH
11506 shlibpath_overrides_runpath
=no
11508 # Some binutils ld are patched to set DT_RUNPATH
11509 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11510 $as_echo_n "(cached) " >&6
11512 lt_cv_shlibpath_overrides_runpath
=no
11513 save_LDFLAGS
=$LDFLAGS
11514 save_libdir
=$libdir
11515 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11516 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11528 if ac_fn_c_try_link
"$LINENO"; then :
11529 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11530 lt_cv_shlibpath_overrides_runpath
=yes
11533 rm -f core conftest.err conftest.
$ac_objext \
11534 conftest
$ac_exeext conftest.
$ac_ext
11535 LDFLAGS
=$save_LDFLAGS
11536 libdir
=$save_libdir
11540 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11542 # This implies no fast_install, which is unacceptable.
11543 # Some rework will be needed to allow for fast_install
11544 # before this can be enabled.
11545 hardcode_into_libs
=yes
11547 # Ideally, we could use ldconfig to report *all* directores which are
11548 # searched for libraries, however this is still not possible. Aside from not
11549 # being certain /sbin/ldconfig is available, command
11550 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11551 # even though it is searched at run-time. Try to do the best guess by
11552 # appending ld.so.conf contents (and includes) to the search path.
11553 if test -f /etc
/ld.so.conf
; then
11554 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' ' '`
11555 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11558 # We used to test for /lib/ld.so.1 and disable shared libraries on
11559 # powerpc, because MkLinux only supported shared libraries with the
11560 # GNU dynamic linker. Since this was broken with cross compilers,
11561 # most powerpc-linux boxes support dynamic linking these days and
11562 # people can always --disable-shared, the test was removed, and we
11563 # assume the GNU/Linux dynamic linker is in use.
11564 dynamic_linker
='GNU/Linux ld.so'
11571 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11572 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11573 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11574 dynamic_linker
='NetBSD (a.out) ld.so'
11576 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11577 soname_spec
='$libname$release$shared_ext$major'
11578 dynamic_linker
='NetBSD ld.elf_so'
11580 shlibpath_var
=LD_LIBRARY_PATH
11581 shlibpath_overrides_runpath
=yes
11582 hardcode_into_libs
=yes
11586 version_type
=linux
# correct to gnu/linux during the next big refactor
11587 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11588 shlibpath_var
=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath
=yes
11596 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11597 soname_spec
='$libname$release$shared_ext$major'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath
=no
11600 hardcode_into_libs
=yes
11601 dynamic_linker
='ldqnx.so'
11604 openbsd
* | bitrig
*)
11606 sys_lib_dlsearch_path_spec
=/usr
/lib
11608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11613 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11615 shlibpath_var
=LD_LIBRARY_PATH
11616 shlibpath_overrides_runpath
=yes
11620 libname_spec
='$name'
11621 version_type
=windows
11625 # OS/2 can only load a DLL with a base name of 8 characters or less.
11626 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11627 v=$($ECHO $release$versuffix | tr -d .-);
11628 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11629 $ECHO $n$v`$shared_ext'
11630 library_names_spec
='${libname}_dll.$libext'
11631 dynamic_linker
='OS/2 ld.exe'
11632 shlibpath_var
=BEGINLIBPATH
11633 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11634 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11635 postinstall_cmds
='base_file=`basename \$file`~
11636 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11637 dldir=$destdir/`dirname \$dlpath`~
11638 test -d \$dldir || mkdir -p \$dldir~
11639 $install_prog $dir/$dlname \$dldir/$dlname~
11640 chmod a+x \$dldir/$dlname~
11641 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11642 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11644 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11645 dlpath=$dir/\$dldll~
11649 osf3
* | osf4
* | osf5
*)
11653 soname_spec
='$libname$release$shared_ext$major'
11654 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11655 shlibpath_var
=LD_LIBRARY_PATH
11656 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11657 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11665 version_type
=linux
# correct to gnu/linux during the next big refactor
11668 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11669 soname_spec
='$libname$release$shared_ext$major'
11670 shlibpath_var
=LD_LIBRARY_PATH
11671 shlibpath_overrides_runpath
=yes
11672 hardcode_into_libs
=yes
11673 # ldd complains unless libraries are executable
11674 postinstall_cmds
='chmod +x $lib'
11679 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11680 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11681 shlibpath_var
=LD_LIBRARY_PATH
11682 shlibpath_overrides_runpath
=yes
11683 if test yes = "$with_gnu_ld"; then
11690 version_type
=linux
# correct to gnu/linux during the next big refactor
11691 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11692 soname_spec
='$libname$release$shared_ext$major'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 case $host_vendor in
11696 shlibpath_overrides_runpath
=no
11698 runpath_var
=LD_RUN_PATH
11706 shlibpath_overrides_runpath
=no
11707 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11713 if test -d /usr
/nec
; then
11714 version_type
=linux
# correct to gnu/linux during the next big refactor
11715 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11716 soname_spec
='$libname$shared_ext.$major'
11717 shlibpath_var
=LD_LIBRARY_PATH
11721 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11725 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11726 soname_spec
='$libname$release$shared_ext$major'
11727 shlibpath_var
=LD_LIBRARY_PATH
11728 shlibpath_overrides_runpath
=yes
11729 hardcode_into_libs
=yes
11730 if test yes = "$with_gnu_ld"; then
11731 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11733 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11736 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11740 sys_lib_dlsearch_path_spec
='/usr/lib'
11744 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11745 version_type
=linux
# correct to gnu/linux during the next big refactor
11748 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11749 shlibpath_var
=LD_LIBRARY_PATH
11750 shlibpath_overrides_runpath
=no
11751 hardcode_into_libs
=yes
11755 version_type
=linux
# correct to gnu/linux during the next big refactor
11756 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11757 soname_spec
='$libname$release$shared_ext$major'
11758 shlibpath_var
=LD_LIBRARY_PATH
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11766 $as_echo "$dynamic_linker" >&6; }
11767 test no
= "$dynamic_linker" && can_build_shared
=no
11769 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11770 if test yes = "$GCC"; then
11771 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11774 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11775 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11778 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11779 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11782 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11783 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11785 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11786 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11788 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11789 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11888 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11890 if test -n "$hardcode_libdir_flag_spec" ||
11891 test -n "$runpath_var" ||
11892 test yes = "$hardcode_automatic"; then
11894 # We can hardcode non-existent directories.
11895 if test no
!= "$hardcode_direct" &&
11896 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11897 # have to relink, otherwise we might link with an installed library
11898 # when we should be linking with a yet-to-be-installed one
11899 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11900 test no
!= "$hardcode_minus_L"; then
11901 # Linking always hardcodes the temporary library directory.
11902 hardcode_action
=relink
11904 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11905 hardcode_action
=immediate
11908 # We cannot hardcode anything, or else we can only hardcode existing
11910 hardcode_action
=unsupported
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11913 $as_echo "$hardcode_action" >&6; }
11915 if test relink
= "$hardcode_action" ||
11916 test yes = "$inherit_rpath"; then
11917 # Fast installation is not supported
11918 enable_fast_install
=no
11919 elif test yes = "$shlibpath_overrides_runpath" ||
11920 test no
= "$enable_shared"; then
11921 # Fast installation is not necessary
11922 enable_fast_install
=needless
11930 if test yes != "$enable_dlopen"; then
11931 enable_dlopen
=unknown
11932 enable_dlopen_self
=unknown
11933 enable_dlopen_self_static
=unknown
11940 lt_cv_dlopen
=load_add_on
11942 lt_cv_dlopen_self
=yes
11945 mingw
* | pw32
* | cegcc
*)
11946 lt_cv_dlopen
=LoadLibrary
11951 lt_cv_dlopen
=dlopen
11956 # if libdl is installed we need to link against it
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11958 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11959 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11960 $as_echo_n "(cached) " >&6
11962 ac_check_lib_save_LIBS
=$LIBS
11964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11967 /* Override any GCC internal prototype to avoid an error.
11968 Use char because int might match the return type of a GCC
11969 builtin and then its argument prototype would still apply. */
11982 if ac_fn_c_try_link
"$LINENO"; then :
11983 ac_cv_lib_dl_dlopen
=yes
11985 ac_cv_lib_dl_dlopen
=no
11987 rm -f core conftest.err conftest.
$ac_objext \
11988 conftest
$ac_exeext conftest.
$ac_ext
11989 LIBS
=$ac_check_lib_save_LIBS
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11992 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11993 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11994 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11999 lt_cv_dlopen_self
=yes
12006 # Don't try to run any link tests for TPF. We know it's impossible
12007 # because TPF is a cross-compiler, and we know how we open DSOs.
12008 lt_cv_dlopen
=dlopen
12010 lt_cv_dlopen_self
=no
12014 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12015 if test "x$ac_cv_func_shl_load" = xyes
; then :
12016 lt_cv_dlopen
=shl_load
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12019 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12020 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12021 $as_echo_n "(cached) " >&6
12023 ac_check_lib_save_LIBS
=$LIBS
12025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 /* Override any GCC internal prototype to avoid an error.
12029 Use char because int might match the return type of a GCC
12030 builtin and then its argument prototype would still apply. */
12038 return shl_load ();
12043 if ac_fn_c_try_link
"$LINENO"; then :
12044 ac_cv_lib_dld_shl_load
=yes
12046 ac_cv_lib_dld_shl_load
=no
12048 rm -f core conftest.err conftest.
$ac_objext \
12049 conftest
$ac_exeext conftest.
$ac_ext
12050 LIBS
=$ac_check_lib_save_LIBS
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12053 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12054 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12055 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12057 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12058 if test "x$ac_cv_func_dlopen" = xyes
; then :
12059 lt_cv_dlopen
=dlopen
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12062 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12063 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12064 $as_echo_n "(cached) " >&6
12066 ac_check_lib_save_LIBS
=$LIBS
12068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12086 if ac_fn_c_try_link
"$LINENO"; then :
12087 ac_cv_lib_dl_dlopen
=yes
12089 ac_cv_lib_dl_dlopen
=no
12091 rm -f core conftest.err conftest.
$ac_objext \
12092 conftest
$ac_exeext conftest.
$ac_ext
12093 LIBS
=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12096 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12097 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12098 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12101 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12102 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12103 $as_echo_n "(cached) " >&6
12105 ac_check_lib_save_LIBS
=$LIBS
12106 LIBS
="-lsvld $LIBS"
12107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12125 if ac_fn_c_try_link
"$LINENO"; then :
12126 ac_cv_lib_svld_dlopen
=yes
12128 ac_cv_lib_svld_dlopen
=no
12130 rm -f core conftest.err conftest.
$ac_objext \
12131 conftest
$ac_exeext conftest.
$ac_ext
12132 LIBS
=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12135 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12136 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12137 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12140 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12141 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12142 $as_echo_n "(cached) " >&6
12144 ac_check_lib_save_LIBS
=$LIBS
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12159 return dld_link ();
12164 if ac_fn_c_try_link
"$LINENO"; then :
12165 ac_cv_lib_dld_dld_link
=yes
12167 ac_cv_lib_dld_dld_link
=no
12169 rm -f core conftest.err conftest.
$ac_objext \
12170 conftest
$ac_exeext conftest.
$ac_ext
12171 LIBS
=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12174 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12175 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12176 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12197 if test no
= "$lt_cv_dlopen"; then
12203 case $lt_cv_dlopen in
12205 save_CPPFLAGS
=$CPPFLAGS
12206 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12208 save_LDFLAGS
=$LDFLAGS
12209 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12212 LIBS
="$lt_cv_dlopen_libs $LIBS"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12215 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12216 if ${lt_cv_dlopen_self+:} false
; then :
12217 $as_echo_n "(cached) " >&6
12219 if test yes = "$cross_compiling"; then :
12220 lt_cv_dlopen_self
=cross
12222 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12223 lt_status
=$lt_dlunknown
12224 cat > conftest.
$ac_ext <<_LT_EOF
12225 #line $LINENO "configure"
12226 #include "confdefs.h"
12235 # define LT_DLGLOBAL RTLD_GLOBAL
12238 # define LT_DLGLOBAL DL_GLOBAL
12240 # define LT_DLGLOBAL 0
12244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12245 find out it does not work in some platform. */
12246 #ifndef LT_DLLAZY_OR_NOW
12248 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12251 # define LT_DLLAZY_OR_NOW DL_LAZY
12254 # define LT_DLLAZY_OR_NOW RTLD_NOW
12257 # define LT_DLLAZY_OR_NOW DL_NOW
12259 # define LT_DLLAZY_OR_NOW 0
12266 /* When -fvisibility=hidden is used, assume the code has been annotated
12267 correspondingly for the symbols needed. */
12268 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12269 int fnord () __attribute__((visibility("default")));
12272 int fnord () { return 42; }
12275 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12276 int status = $lt_dlunknown;
12280 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12283 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12284 else puts (dlerror ());
12286 /* dlclose (self); */
12294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12295 (eval $ac_link) 2>&5
12297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12298 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12299 (.
/conftest
; exit; ) >&5 2>/dev
/null
12301 case x
$lt_status in
12302 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12303 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12304 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12307 # compilation failed
12308 lt_cv_dlopen_self
=no
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12316 $as_echo "$lt_cv_dlopen_self" >&6; }
12318 if test yes = "$lt_cv_dlopen_self"; then
12319 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12321 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12322 if ${lt_cv_dlopen_self_static+:} false
; then :
12323 $as_echo_n "(cached) " >&6
12325 if test yes = "$cross_compiling"; then :
12326 lt_cv_dlopen_self_static
=cross
12328 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12329 lt_status
=$lt_dlunknown
12330 cat > conftest.
$ac_ext <<_LT_EOF
12331 #line $LINENO "configure"
12332 #include "confdefs.h"
12341 # define LT_DLGLOBAL RTLD_GLOBAL
12344 # define LT_DLGLOBAL DL_GLOBAL
12346 # define LT_DLGLOBAL 0
12350 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12351 find out it does not work in some platform. */
12352 #ifndef LT_DLLAZY_OR_NOW
12354 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12357 # define LT_DLLAZY_OR_NOW DL_LAZY
12360 # define LT_DLLAZY_OR_NOW RTLD_NOW
12363 # define LT_DLLAZY_OR_NOW DL_NOW
12365 # define LT_DLLAZY_OR_NOW 0
12372 /* When -fvisibility=hidden is used, assume the code has been annotated
12373 correspondingly for the symbols needed. */
12374 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12375 int fnord () __attribute__((visibility("default")));
12378 int fnord () { return 42; }
12381 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12382 int status = $lt_dlunknown;
12386 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12389 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12390 else puts (dlerror ());
12392 /* dlclose (self); */
12400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12401 (eval $ac_link) 2>&5
12403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12404 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12405 (.
/conftest
; exit; ) >&5 2>/dev
/null
12407 case x
$lt_status in
12408 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12409 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12410 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12413 # compilation failed
12414 lt_cv_dlopen_self_static
=no
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12422 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12425 CPPFLAGS
=$save_CPPFLAGS
12426 LDFLAGS
=$save_LDFLAGS
12431 case $lt_cv_dlopen_self in
12432 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12433 *) enable_dlopen_self
=unknown
;;
12436 case $lt_cv_dlopen_self_static in
12437 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12438 *) enable_dlopen_self_static
=unknown
;;
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12461 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12462 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12463 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12464 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12466 $as_echo "yes" >&6; }
12468 # FIXME - insert some real tests, host_os isn't really good enough
12471 if test -n "$STRIP"; then
12472 striplib
="$STRIP -x"
12473 old_striplib
="$STRIP -S"
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12475 $as_echo "yes" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12483 $as_echo "no" >&6; }
12499 # Report what library types will actually be built
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12501 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12503 $as_echo "$can_build_shared" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12506 $as_echo_n "checking whether to build shared libraries... " >&6; }
12507 test no
= "$can_build_shared" && enable_shared
=no
12509 # On AIX, shared libraries and static libraries use the same namespace, and
12510 # are all built from PIC.
12513 test yes = "$enable_shared" && enable_static
=no
12514 if test -n "$RANLIB"; then
12515 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12516 postinstall_cmds
='$RANLIB $lib'
12521 if test ia64
!= "$host_cpu"; then
12522 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12523 yes,aix
,yes) ;; # shared object as lib.so file only
12524 yes,svr4
,*) ;; # shared object as lib.so archive member only
12525 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12531 $as_echo "$enable_shared" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12534 $as_echo_n "checking whether to build static libraries... " >&6; }
12535 # Make sure either enable_shared or enable_static is yes.
12536 test yes = "$enable_shared" || enable_static
=yes
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12538 $as_echo "$enable_static" >&6; }
12545 ac_cpp
='$CPP $CPPFLAGS'
12546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12566 ac_config_commands
="$ac_config_commands libtool"
12571 # Only expand once:
12576 # Some awks crash when confronted with pnglibconf.dfa, do a test run now
12577 # to make sure this doesn't happen
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that AWK works" >&5
12579 $as_echo_n "checking that AWK works... " >&6; }
12580 if ${AWK} -f ${srcdir}/scripts
/options.
awk out
="/dev/null" version
=search\
12581 ${srcdir}/pngconf.h
${srcdir}/scripts
/pnglibconf.dfa\
12582 ${srcdir}/pngusr.dfa
1>&2
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12585 $as_echo "ok" >&6; }
12587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12589 as_fn_error
1 "failed
12590 See \`config.log' for more details" "$LINENO" 5; }
12593 # This is a remnant of the old cc -E validation, where it may have been
12594 # necessary to use a different preprocessor for .dfn files
12598 # -Werror cannot be passed to GCC in CFLAGS because configure will fail (it
12599 # checks the compiler with a program that generates a warning), add the
12600 # following option to deal with this
12602 # Check whether --enable-werror was given.
12603 if test "${enable_werror+set}" = set; then :
12604 enableval
=$enable_werror; test "$enable_werror" = "yes" && enable_werror
="-Werror"
12605 if test "$enable_werror" != "no"; then
12606 sav_CFLAGS
="$CFLAGS"
12607 CFLAGS
="$enable_werror $CFLAGS"
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler allows $enable_werror" >&5
12609 $as_echo_n "checking if the compiler allows $enable_werror... " >&6; }
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 int main(int argc, char **argv){
12614 return argv[argc-1][0];
12617 if ac_fn_c_try_compile
"$LINENO"; then :
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12619 $as_echo "yes" >&6; }
12620 PNG_COPTS
="$PNG_COPTS $enable_werror"
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12623 $as_echo "no" >&6; }
12625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12626 CFLAGS
="$sav_CFLAGS"
12631 # For GCC 5 the default mode for C is -std=gnu11 instead of -std=gnu89
12632 # In pngpriv.h we request just the POSIX 1003.1 and C89 APIs by defining _POSIX_SOURCE to 1
12633 # This is incompatible with the new default mode, so we test for that and force the
12634 # "-std=c89" compiler option:
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to force back C standard to C89" >&5
12636 $as_echo_n "checking if we need to force back C standard to C89... " >&6; }
12637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 #define _POSIX_SOURCE 1
12651 if ac_fn_c_try_compile
"$LINENO"; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653 $as_echo "no" >&6; }
12656 if test "x$GCC" != "xyes"; then
12657 as_fn_error $?
"Forcing back to C89 is required but the flags are only known for GCC" "$LINENO" 5
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12660 $as_echo "yes" >&6; }
12661 CFLAGS
="$CFLAGS -std=c89"
12664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12666 # Checks for header files.
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12668 $as_echo_n "checking for ANSI C header files... " >&6; }
12669 if ${ac_cv_header_stdc+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12674 #include <stdlib.h>
12675 #include <stdarg.h>
12676 #include <string.h>
12687 if ac_fn_c_try_compile
"$LINENO"; then :
12688 ac_cv_header_stdc
=yes
12690 ac_cv_header_stdc
=no
12692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12694 if test $ac_cv_header_stdc = yes; then
12695 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12698 #include <string.h>
12701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12702 $EGREP "memchr" >/dev
/null
2>&1; then :
12705 ac_cv_header_stdc
=no
12711 if test $ac_cv_header_stdc = yes; then
12712 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12715 #include <stdlib.h>
12718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12719 $EGREP "free" >/dev
/null
2>&1; then :
12722 ac_cv_header_stdc
=no
12728 if test $ac_cv_header_stdc = yes; then
12729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12730 if test "$cross_compiling" = yes; then :
12733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 #include <stdlib.h>
12737 #if ((' ' & 0x0FF) == 0x020)
12738 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12739 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12741 # define ISLOWER(c) \
12742 (('a' <= (c) && (c) <= 'i') \
12743 || ('j' <= (c) && (c) <= 'r') \
12744 || ('s' <= (c) && (c) <= 'z'))
12745 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12748 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12753 for (i = 0; i < 256; i++)
12754 if (XOR (islower (i), ISLOWER (i))
12755 || toupper (i) != TOUPPER (i))
12760 if ac_fn_c_try_run
"$LINENO"; then :
12763 ac_cv_header_stdc
=no
12765 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12766 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12772 $as_echo "$ac_cv_header_stdc" >&6; }
12773 if test $ac_cv_header_stdc = yes; then
12775 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12780 # Checks for typedefs, structures, and compiler characteristics.
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12782 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12783 if ${ac_cv_c_const+:} false
; then :
12784 $as_echo_n "(cached) " >&6
12786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12787 /* end confdefs.h. */
12793 #ifndef __cplusplus
12794 /* Ultrix mips cc rejects this sort of thing. */
12795 typedef int charset[2];
12796 const charset cs = { 0, 0 };
12797 /* SunOS 4.1.1 cc rejects this. */
12798 char const *const *pcpcc;
12800 /* NEC SVR4.0.2 mips cc rejects this. */
12801 struct point {int x, y;};
12802 static struct point const zero = {0,0};
12803 /* AIX XL C 1.02.0.0 rejects this.
12804 It does not let you subtract one const X* pointer from another in
12805 an arm of an if-expression whose if-part is not a constant
12807 const char *g = "string";
12808 pcpcc = &g + (g ? g-g : 0);
12809 /* HPUX 7.0 cc rejects these. */
12811 ppc = (char**) pcpcc;
12812 pcpcc = (char const *const *) ppc;
12813 { /* SCO 3.2v4 cc rejects this sort of thing. */
12816 char const *s = 0 ? (char *) 0 : (char const *) 0;
12821 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12822 int x[] = {25, 17};
12823 const int *foo = &x[0];
12826 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12827 typedef const int *iptr;
12831 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12832 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12833 struct s { int j; const int *ap[3]; } bx;
12834 struct s *b = &bx; b->j = 5;
12836 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12837 const int foo = 10;
12838 if (!foo) return 0;
12840 return !cs[0] && !zero.x;
12847 if ac_fn_c_try_compile
"$LINENO"; then :
12852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12855 $as_echo "$ac_cv_c_const" >&6; }
12856 if test $ac_cv_c_const = no
; then
12858 $as_echo "#define const /**/" >>confdefs.h
12862 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12863 if test "x$ac_cv_type_size_t" = xyes
; then :
12867 cat >>confdefs.h
<<_ACEOF
12868 #define size_t unsigned int
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12874 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12875 if ${ac_cv_struct_tm+:} false
; then :
12876 $as_echo_n "(cached) " >&6
12878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12880 #include <sys/types.h>
12887 int *p = &tm.tm_sec;
12893 if ac_fn_c_try_compile
"$LINENO"; then :
12894 ac_cv_struct_tm
=time.h
12896 ac_cv_struct_tm
=sys
/time.h
12898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12901 $as_echo "$ac_cv_struct_tm" >&6; }
12902 if test $ac_cv_struct_tm = sys
/time.h
; then
12904 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
12909 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
12910 if ${ac_cv_c_restrict+:} false
; then :
12911 $as_echo_n "(cached) " >&6
12913 ac_cv_c_restrict
=no
12914 # The order here caters to the fact that C++ does not require restrict.
12915 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
12916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12918 typedef int * int_ptr;
12919 int foo (int_ptr $ac_kw ip) {
12926 int * $ac_kw t = s;
12933 if ac_fn_c_try_compile
"$LINENO"; then :
12934 ac_cv_c_restrict
=$ac_kw
12936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12937 test "$ac_cv_c_restrict" != no
&& break
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
12942 $as_echo "$ac_cv_c_restrict" >&6; }
12944 case $ac_cv_c_restrict in
12946 no
) $as_echo "#define restrict /**/" >>confdefs.h
12948 *) cat >>confdefs.h
<<_ACEOF
12949 #define restrict $ac_cv_c_restrict
12955 # Checks for library functions.
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12957 $as_echo_n "checking for working strtod... " >&6; }
12958 if ${ac_cv_func_strtod+:} false
; then :
12959 $as_echo_n "(cached) " >&6
12961 if test "$cross_compiling" = yes; then :
12962 ac_cv_func_strtod
=no
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 $ac_includes_default
12975 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12976 char *string = " +69";
12979 value = strtod (string, &term);
12980 if (value != 69 || term != (string + 4))
12985 /* Under Solaris 2.4, strtod returns the wrong value for the
12986 terminating character under some conditions. */
12987 char *string = "NaN";
12989 strtod (string, &term);
12990 if (term != string && *(term - 1) == 0)
12997 if ac_fn_c_try_run
"$LINENO"; then :
12998 ac_cv_func_strtod
=yes
13000 ac_cv_func_strtod
=no
13002 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13003 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
13008 $as_echo "$ac_cv_func_strtod" >&6; }
13009 if test $ac_cv_func_strtod = no
; then
13010 case " $LIBOBJS " in
13011 *" strtod.$ac_objext "* ) ;;
13012 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
13016 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
13017 if test "x$ac_cv_func_pow" = xyes
; then :
13021 if test $ac_cv_func_pow = no
; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13023 $as_echo_n "checking for pow in -lm... " >&6; }
13024 if ${ac_cv_lib_m_pow+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 ac_check_lib_save_LIBS
=$LIBS
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13047 if ac_fn_c_try_link
"$LINENO"; then :
13048 ac_cv_lib_m_pow
=yes
13052 rm -f core conftest.err conftest.
$ac_objext \
13053 conftest
$ac_exeext conftest.
$ac_ext
13054 LIBS
=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13057 $as_echo "$ac_cv_lib_m_pow" >&6; }
13058 if test "x$ac_cv_lib_m_pow" = xyes
; then :
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
13062 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13071 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
13072 if test "x$ac_cv_func_pow" = xyes
; then :
13073 cat >>confdefs.h
<<_ACEOF
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13079 $as_echo_n "checking for pow in -lm... " >&6; }
13080 if ${ac_cv_lib_m_pow+:} false
; then :
13081 $as_echo_n "(cached) " >&6
13083 ac_check_lib_save_LIBS
=$LIBS
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13103 if ac_fn_c_try_link
"$LINENO"; then :
13104 ac_cv_lib_m_pow
=yes
13108 rm -f core conftest.err conftest.
$ac_objext \
13109 conftest
$ac_exeext conftest.
$ac_ext
13110 LIBS
=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13113 $as_echo "$ac_cv_lib_m_pow" >&6; }
13114 if test "x$ac_cv_lib_m_pow" = xyes
; then :
13115 cat >>confdefs.h
<<_ACEOF
13116 #define HAVE_LIBM 1
13122 as_fn_error $?
"cannot find pow" "$LINENO" 5
13129 # Some later POSIX 1003.1 functions are required for test programs, failure here
13130 # is soft (the corresponding test program is not built).
13131 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13132 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not building timepng" >&5
13136 $as_echo "$as_me: WARNING: not building timepng" >&2;}
13139 if test "$ac_cv_func_clock_gettime" = "yes"; then
13140 HAVE_CLOCK_GETTIME_TRUE
=
13141 HAVE_CLOCK_GETTIME_FALSE
='#'
13143 HAVE_CLOCK_GETTIME_TRUE
='#'
13144 HAVE_CLOCK_GETTIME_FALSE
=
13149 # Check whether --with-zlib-prefix was given.
13150 if test "${with_zlib_prefix+set}" = set; then :
13151 withval
=$with_zlib_prefix; ZPREFIX
=${withval}
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13157 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13158 if ${ac_cv_lib_z_zlibVersion+:} false
; then :
13159 $as_echo_n "(cached) " >&6
13161 ac_check_lib_save_LIBS
=$LIBS
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13166 /* Override any GCC internal prototype to avoid an error.
13167 Use char because int might match the return type of a GCC
13168 builtin and then its argument prototype would still apply. */
13172 char zlibVersion ();
13176 return zlibVersion ();
13181 if ac_fn_c_try_link
"$LINENO"; then :
13182 ac_cv_lib_z_zlibVersion
=yes
13184 ac_cv_lib_z_zlibVersion
=no
13186 rm -f core conftest.err conftest.
$ac_objext \
13187 conftest
$ac_exeext conftest.
$ac_ext
13188 LIBS
=$ac_check_lib_save_LIBS
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13191 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13192 if test "x$ac_cv_lib_z_zlibVersion" = xyes
; then :
13193 cat >>confdefs.h
<<_ACEOF
13194 #define HAVE_LIBZ 1
13200 as_ac_Lib
=`$as_echo "ac_cv_lib_z_${ZPREFIX}zlibVersion" | $as_tr_sh`
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5
13202 $as_echo_n "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; }
13203 if eval \
${$as_ac_Lib+:} false
; then :
13204 $as_echo_n "(cached) " >&6
13206 ac_check_lib_save_LIBS
=$LIBS
13208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13217 char ${ZPREFIX}zlibVersion ();
13221 return ${ZPREFIX}zlibVersion ();
13226 if ac_fn_c_try_link
"$LINENO"; then :
13227 eval "$as_ac_Lib=yes"
13229 eval "$as_ac_Lib=no"
13231 rm -f core conftest.err conftest.
$ac_objext \
13232 conftest
$ac_exeext conftest.
$ac_ext
13233 LIBS
=$ac_check_lib_save_LIBS
13235 eval ac_res
=\$
$as_ac_Lib
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13237 $as_echo "$ac_res" >&6; }
13238 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
13239 cat >>confdefs.h
<<_ACEOF
13240 #define HAVE_LIBZ 1
13246 as_fn_error $?
"zlib not installed" "$LINENO" 5
13252 # The following is for pngvalid, to ensure it catches FP errors even on
13253 # platforms that don't enable FP exceptions, the function appears in the math
13254 # library (typically), it's not an error if it is not found.
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
13256 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
13257 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
13258 $as_echo_n "(cached) " >&6
13260 ac_check_lib_save_LIBS
=$LIBS
13262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13271 char feenableexcept ();
13275 return feenableexcept ();
13280 if ac_fn_c_try_link
"$LINENO"; then :
13281 ac_cv_lib_m_feenableexcept
=yes
13283 ac_cv_lib_m_feenableexcept
=no
13285 rm -f core conftest.err conftest.
$ac_objext \
13286 conftest
$ac_exeext conftest.
$ac_ext
13287 LIBS
=$ac_check_lib_save_LIBS
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
13290 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
13291 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
13292 cat >>confdefs.h
<<_ACEOF
13293 #define HAVE_LIBM 1
13300 for ac_func
in feenableexcept
13302 ac_fn_c_check_func
"$LINENO" "feenableexcept" "ac_cv_func_feenableexcept"
13303 if test "x$ac_cv_func_feenableexcept" = xyes
; then :
13304 cat >>confdefs.h
<<_ACEOF
13305 #define HAVE_FEENABLEEXCEPT 1
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5
13313 $as_echo_n "checking if using Solaris linker... " >&6; }
13314 SLD
=`$LD --version 2>&1 | grep Solaris`
13315 if test "$SLD"; then
13316 have_solaris_ld
=yes
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13318 $as_echo "yes" >&6; }
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13322 $as_echo "no" >&6; }
13324 if test "$have_solaris_ld" = "yes"; then
13325 HAVE_SOLARIS_LD_TRUE
=
13326 HAVE_SOLARIS_LD_FALSE
='#'
13328 HAVE_SOLARIS_LD_TRUE
='#'
13329 HAVE_SOLARIS_LD_FALSE
=
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
13334 $as_echo_n "checking if libraries can be versioned... " >&6; }
13335 # Special case for PE/COFF platforms: ld reports
13336 # support for version-script, but doesn't actually
13337 # DO anything with it.
13339 *cygwin
* |
*mingw32
* |
*interix
* )
13340 have_ld_version_script
=no
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13342 $as_echo "no" >&6; }
13346 if test "$have_solaris_ld" = "yes"; then
13347 GLD
=`$LD --help < /dev/null 2>&1 | grep 'M mapfile'`
13349 GLD
=`$LD --help < /dev/null 2>/dev/null | grep version-script`
13352 if test "$GLD"; then
13353 have_ld_version_script
=yes
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13355 $as_echo "yes" >&6; }
13357 have_ld_version_script
=no
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13359 $as_echo "no" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5
13361 $as_echo "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}
13366 if test "$have_ld_version_script" = "yes"; then
13367 HAVE_LD_VERSION_SCRIPT_TRUE
=
13368 HAVE_LD_VERSION_SCRIPT_FALSE
='#'
13370 HAVE_LD_VERSION_SCRIPT_TRUE
='#'
13371 HAVE_LD_VERSION_SCRIPT_FALSE
=
13375 if test "$have_ld_version_script" = "yes"; then
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
13377 $as_echo_n "checking for symbol prefix... " >&6; }
13378 SYMBOL_PREFIX
=`echo "PREFIX=__USER_LABEL_PREFIX__" \
13379 | ${CPP-${CC-gcc} -E} - 2>&1 \
13380 | ${EGREP-grep} "^PREFIX=" \
13381 | ${SED-sed} -e "s:^PREFIX=::" -e "s:__USER_LABEL_PREFIX__::"`
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
13384 $as_echo "$SYMBOL_PREFIX" >&6; }
13387 # Substitutions for .in files
13393 # Additional arguments (and substitutions)
13394 # Allow the pkg-config directory to be set
13396 # Check whether --with-pkgconfigdir was given.
13397 if test "${with_pkgconfigdir+set}" = set; then :
13398 withval
=$with_pkgconfigdir; pkgconfigdir
=${withval}
13400 pkgconfigdir
='${libdir}/pkgconfig'
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5
13406 $as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;}
13408 # Make the *-config binary config scripts optional
13410 # Check whether --with-binconfigs was given.
13411 if test "${with_binconfigs+set}" = set; then :
13412 withval
=$with_binconfigs; if test "${withval}" = no
; then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5
13415 $as_echo "$as_me: libpng-config scripts will not be built" >&6;}
13417 binconfigs
='${binconfigs}'
13420 binconfigs
='${binconfigs}'
13425 # Support for prefixes to the API function names; this will generate defines
13426 # at the start of the build to rename exported library functions
13428 # Check whether --with-libpng-prefix was given.
13429 if test "${with_libpng_prefix+set}" = set; then :
13430 withval
=$with_libpng_prefix; if test "${withval:-no}" != "no"; then
13431 PNG_PREFIX
=${withval}
13436 if test "${with_libpng_prefix:-no}" != "no"; then
13437 DO_PNG_PREFIX_TRUE
=
13438 DO_PNG_PREFIX_FALSE
='#'
13440 DO_PNG_PREFIX_TRUE
='#'
13441 DO_PNG_PREFIX_FALSE
=
13445 # Control over what links are made for installed files. Versioned files are
13446 # always installed, when the following options are turned on corresponding
13447 # unversioned links are also created (normally as symbolic links):
13448 # Check whether --enable-unversioned-links was given.
13449 if test "${enable_unversioned_links+set}" = set; then :
13450 enableval
=$enable_unversioned_links;
13454 # The AM_CONDITIONAL test is written so that the default is enabled;
13455 # --disable-unversioned-links must be given to turn the option off.
13456 if test "$enable_unversioned_links" != "no"; then
13457 DO_INSTALL_LINKS_TRUE
=
13458 DO_INSTALL_LINKS_FALSE
='#'
13460 DO_INSTALL_LINKS_TRUE
='#'
13461 DO_INSTALL_LINKS_FALSE
=
13465 # Check whether --enable-unversioned-libpng-pc was given.
13466 if test "${enable_unversioned_libpng_pc+set}" = set; then :
13467 enableval
=$enable_unversioned_libpng_pc;
13470 if test "$enable_unversioned_libpng_pc" != "no"; then
13471 DO_INSTALL_LIBPNG_PC_TRUE
=
13472 DO_INSTALL_LIBPNG_PC_FALSE
='#'
13474 DO_INSTALL_LIBPNG_PC_TRUE
='#'
13475 DO_INSTALL_LIBPNG_PC_FALSE
=
13479 # Check whether --enable-unversioned-libpng-config was given.
13480 if test "${enable_unversioned_libpng_config+set}" = set; then :
13481 enableval
=$enable_unversioned_libpng_config;
13484 if test "$enable_unversioned_libpng_config" != "no"; then
13485 DO_INSTALL_LIBPNG_CONFIG_TRUE
=
13486 DO_INSTALL_LIBPNG_CONFIG_FALSE
='#'
13488 DO_INSTALL_LIBPNG_CONFIG_TRUE
='#'
13489 DO_INSTALL_LIBPNG_CONFIG_FALSE
=
13493 # HOST SPECIFIC OPTIONS
13494 # =====================
13499 # Check whether --enable-hardware-optimizations was given.
13500 if test "${enable_hardware_optimizations+set}" = set; then :
13501 enableval
=$enable_hardware_optimizations; case "$enableval" in
13503 # disable hardware optimization on all systems:
13506 $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
13510 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
13512 enable_powerpc_vsx
=no
13514 $as_echo "#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h
13516 enable_intel_sse
=no
13518 $as_echo "#define PNG_INTEL_SSE_OPT 0" >>confdefs.h
13522 # allow enabling hardware optimization on any system:
13523 case "$host_cpu" in
13525 enable_arm_neon
=yes
13527 $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
13531 enable_mips_msa
=yes
13533 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
13537 enable_intel_sse
=yes
13539 $as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h
13543 enable_powerpc_vsx
=yes
13545 $as_echo "#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h
13557 # ARM NEON (SIMD) support.
13559 # Check whether --enable-arm-neon was given.
13560 if test "${enable_arm_neon+set}" = set; then :
13561 enableval
=$enable_arm_neon; case "$enableval" in
13563 # disable the default enabling on __ARM_NEON__ systems:
13565 $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
13567 # Prevent inclusion of the assembler files below:
13568 enable_arm_neon
=no
;;
13571 $as_echo "#define PNG_ARM_NEON_CHECK_SUPPORTED /**/" >>confdefs.h
13575 $as_echo "#define PNG_ARM_NEON_API_SUPPORTED /**/" >>confdefs.h
13579 $as_echo "#define PNG_ARM_NEON_OPT 2" >>confdefs.h
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-arm-neon: please specify 'check' or 'api', if
13582 you want the optimizations unconditionally pass -mfpu=neon
13583 to the compiler." >&5
13584 $as_echo "$as_me: WARNING: --enable-arm-neon: please specify 'check' or 'api', if
13585 you want the optimizations unconditionally pass -mfpu=neon
13586 to the compiler." >&2;};;
13588 as_fn_error $?
"--enable-arm-neon=${enable_arm_neon}: invalid value" "$LINENO" 5
13593 # Add ARM specific files to all builds where the host_cpu is arm ('arm*') or
13594 # where ARM optimizations were explicitly requested (this allows a fallback if a
13595 # future host CPU does not match 'arm*')
13597 if test "$enable_arm_neon" != 'no' &&
13598 case "$host_cpu" in
13600 *) test "$enable_arm_neon" != '';;
13603 PNG_ARM_NEON_FALSE
='#'
13605 PNG_ARM_NEON_TRUE
='#'
13606 PNG_ARM_NEON_FALSE
=
13613 # MIPS MSA (SIMD) support.
13615 # Check whether --enable-mips-msa was given.
13616 if test "${enable_mips_msa+set}" = set; then :
13617 enableval
=$enable_mips_msa; case "$enableval" in
13619 # disable the default enabling on __mips_msa systems:
13621 $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
13623 # Prevent inclusion of the assembler files below:
13624 enable_mips_msa
=no
;;
13627 $as_echo "#define PNG_MIPS_MSA_CHECK_SUPPORTED /**/" >>confdefs.h
13631 $as_echo "#define PNG_MIPS_MSA_API_SUPPORTED /**/" >>confdefs.h
13635 $as_echo "#define PNG_MIPS_MSA_OPT 2" >>confdefs.h
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-mips-msa: please specify 'check' or 'api', if
13638 you want the optimizations unconditionally pass '-mmsa -mfp64'
13639 to the compiler." >&5
13640 $as_echo "$as_me: WARNING: --enable-mips-msa: please specify 'check' or 'api', if
13641 you want the optimizations unconditionally pass '-mmsa -mfp64'
13642 to the compiler." >&2;};;
13644 as_fn_error $?
"--enable-mips-msa=${enable_mips_msa}: invalid value" "$LINENO" 5
13649 # Add MIPS specific files to all builds where the host_cpu is mips ('mips*') or
13650 # where MIPS optimizations were explicitly requested (this allows a fallback if a
13651 # future host CPU does not match 'mips*')
13653 if test "$enable_mips_msa" != 'no' &&
13654 case "$host_cpu" in
13655 mipsel
*|mips64el
*) :;;
13658 PNG_MIPS_MSA_FALSE
='#'
13660 PNG_MIPS_MSA_TRUE
='#'
13661 PNG_MIPS_MSA_FALSE
=
13668 # INTEL SSE (SIMD) support.
13670 # Check whether --enable-intel-sse was given.
13671 if test "${enable_intel_sse+set}" = set; then :
13672 enableval
=$enable_intel_sse; case "$enableval" in
13674 # disable the default enabling:
13676 $as_echo "#define PNG_INTEL_SSE_OPT 0" >>confdefs.h
13678 # Prevent inclusion of the assembler files below:
13679 enable_intel_sse
=no
;;
13682 $as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h
13685 as_fn_error $?
"--enable-intel-sse=${enable_intel_sse}: invalid value" "$LINENO" 5
13690 # Add Intel specific files to all builds where the host_cpu is Intel ('x86*')
13691 # or where Intel optimizations were explicitly requested (this allows a
13692 # fallback if a future host CPU does not match 'x86*')
13693 if test "$enable_intel_sse" != 'no' &&
13694 case "$host_cpu" in
13696 *) test "$enable_intel_sse" != '';;
13698 PNG_INTEL_SSE_TRUE
=
13699 PNG_INTEL_SSE_FALSE
='#'
13701 PNG_INTEL_SSE_TRUE
='#'
13702 PNG_INTEL_SSE_FALSE
=
13709 # PowerPC VSX (SIMD) support.
13711 # Check whether --enable-powerpc-vsx was given.
13712 if test "${enable_powerpc_vsx+set}" = set; then :
13713 enableval
=$enable_powerpc_vsx; case "$enableval" in
13715 # disable the default enabling on __ppc64__ systems:
13717 $as_echo "#define PNG_POWERPC_VSX_OPT 0" >>confdefs.h
13719 # Prevent inclusion of the platform specific files below:
13720 enable_powerpc_vsx
=no
;;
13723 $as_echo "#define PNG_POWERPC_VSX_CHECK_SUPPORTED /**/" >>confdefs.h
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file
13726 for the list of supported OSes." >&5
13727 $as_echo "$as_me: WARNING: --enable-powerpc-vsx Please check contrib/powerpc/README file
13728 for the list of supported OSes." >&2;};;
13731 $as_echo "#define PNG_POWERPC_VSX_API_SUPPORTED /**/" >>confdefs.h
13735 $as_echo "#define PNG_POWERPC_VSX_OPT 2" >>confdefs.h
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if
13738 you want the optimizations unconditionally pass '-maltivec -mvsx'
13739 or '-mcpu=power8'to the compiler." >&5
13740 $as_echo "$as_me: WARNING: --enable-powerpc-vsx: please specify 'check' or 'api', if
13741 you want the optimizations unconditionally pass '-maltivec -mvsx'
13742 or '-mcpu=power8'to the compiler." >&2;};;
13744 as_fn_error $?
"--enable-powerpc-vsx=${enable_powerpc_vsx}: invalid value" "$LINENO" 5
13749 # Add PowerPC specific files to all builds where the host_cpu is powerpc('powerpc*') or
13750 # where POWERPC optimizations were explicitly requested (this allows a fallback if a
13751 # future host CPU does not match 'powerpc*')
13753 if test "$enable_powerpc_vsx" != 'no' &&
13754 case "$host_cpu" in
13755 powerpc
*|ppc64
*) :;;
13757 PNG_POWERPC_VSX_TRUE
=
13758 PNG_POWERPC_VSX_FALSE
='#'
13760 PNG_POWERPC_VSX_TRUE
='#'
13761 PNG_POWERPC_VSX_FALSE
=
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: Extra options for compiler: $PNG_COPTS" >&5
13767 $as_echo "$as_me: Extra options for compiler: $PNG_COPTS" >&6;}
13769 # Config files, substituting as above
13770 ac_config_files
="$ac_config_files Makefile libpng.pc:libpng.pc.in"
13772 ac_config_files
="$ac_config_files libpng-config:libpng-config.in"
13775 cat >confcache
<<\_ACEOF
13776 # This file is a shell script that caches the results of configure
13777 # tests run on this system so they can be shared between configure
13778 # scripts and configure runs, see configure's option --config-cache.
13779 # It is not useful on other systems. If it contains results you don't
13780 # want to keep, you may remove or edit it.
13782 # config.status only pays attention to the cache file if you give it
13783 # the --recheck option to rerun configure.
13785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13787 # following values.
13791 # The following way of writing the cache mishandles newlines in values,
13792 # but we know of no workaround that is simple, portable, and efficient.
13793 # So, we kill variables containing newlines.
13794 # Ultrix sh set writes to stderr and can't be redirected directly,
13795 # and sets the high bit in the cache file unless we assign to the vars.
13797 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13798 eval ac_val
=\$
$ac_var
13802 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13806 _ | IFS | as_nl
) ;; #(
13807 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13808 *) { eval $ac_var=; unset $ac_var;} ;;
13814 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13815 *${as_nl}ac_space
=\
*)
13816 # `set' does not quote correctly, so add quotes: double-quote
13817 # substitution turns \\\\ into \\, and sed turns \\ into \.
13820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13823 # `set' quotes correctly as required by POSIX, so do not add quotes.
13824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13835 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13837 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13838 if test -w "$cache_file"; then
13839 if test "x$cache_file" != "x/dev/null"; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13841 $as_echo "$as_me: updating cache $cache_file" >&6;}
13842 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13843 cat confcache
>"$cache_file"
13845 case $cache_file in #(
13847 mv -f confcache
"$cache_file"$$
&&
13848 mv -f "$cache_file"$$
"$cache_file" ;; #(
13850 mv -f confcache
"$cache_file" ;;
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13856 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13861 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13862 # Let make expand exec_prefix.
13863 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13865 DEFS
=-DHAVE_CONFIG_H
13870 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13871 # 1. Remove the extension, and $U if already installed.
13872 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13873 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13874 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13875 # will be set to the directory where LIBOBJS objects are built.
13876 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13877 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13879 LIBOBJS
=$ac_libobjs
13881 LTLIBOBJS
=$ac_ltlibobjs
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13885 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13886 if test -n "$am_sleep_pid"; then
13887 # Hide warnings about reused PIDs.
13888 wait $am_sleep_pid 2>/dev
/null
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13891 $as_echo "done" >&6; }
13892 if test -n "$EXEEXT"; then
13894 am__EXEEXT_FALSE
='#'
13896 am__EXEEXT_TRUE
='#'
13900 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13901 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13904 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13905 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13908 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13909 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13912 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13913 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
13914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13916 if test -z "${HAVE_CLOCK_GETTIME_TRUE}" && test -z "${HAVE_CLOCK_GETTIME_FALSE}"; then
13917 as_fn_error $?
"conditional \"HAVE_CLOCK_GETTIME\" was never defined.
13918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13920 if test -z "${HAVE_SOLARIS_LD_TRUE}" && test -z "${HAVE_SOLARIS_LD_FALSE}"; then
13921 as_fn_error $?
"conditional \"HAVE_SOLARIS_LD\" was never defined.
13922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13924 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
13925 as_fn_error $?
"conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
13926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13928 if test -z "${DO_PNG_PREFIX_TRUE}" && test -z "${DO_PNG_PREFIX_FALSE}"; then
13929 as_fn_error $?
"conditional \"DO_PNG_PREFIX\" was never defined.
13930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13932 if test -z "${DO_INSTALL_LINKS_TRUE}" && test -z "${DO_INSTALL_LINKS_FALSE}"; then
13933 as_fn_error $?
"conditional \"DO_INSTALL_LINKS\" was never defined.
13934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13936 if test -z "${DO_INSTALL_LIBPNG_PC_TRUE}" && test -z "${DO_INSTALL_LIBPNG_PC_FALSE}"; then
13937 as_fn_error $?
"conditional \"DO_INSTALL_LIBPNG_PC\" was never defined.
13938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13940 if test -z "${DO_INSTALL_LIBPNG_CONFIG_TRUE}" && test -z "${DO_INSTALL_LIBPNG_CONFIG_FALSE}"; then
13941 as_fn_error $?
"conditional \"DO_INSTALL_LIBPNG_CONFIG\" was never defined.
13942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13944 if test -z "${PNG_ARM_NEON_TRUE}" && test -z "${PNG_ARM_NEON_FALSE}"; then
13945 as_fn_error $?
"conditional \"PNG_ARM_NEON\" was never defined.
13946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13948 if test -z "${PNG_MIPS_MSA_TRUE}" && test -z "${PNG_MIPS_MSA_FALSE}"; then
13949 as_fn_error $?
"conditional \"PNG_MIPS_MSA\" was never defined.
13950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13952 if test -z "${PNG_INTEL_SSE_TRUE}" && test -z "${PNG_INTEL_SSE_FALSE}"; then
13953 as_fn_error $?
"conditional \"PNG_INTEL_SSE\" was never defined.
13954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13956 if test -z "${PNG_POWERPC_VSX_TRUE}" && test -z "${PNG_POWERPC_VSX_FALSE}"; then
13957 as_fn_error $?
"conditional \"PNG_POWERPC_VSX\" was never defined.
13958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13961 : "${CONFIG_STATUS=./config.status}"
13963 ac_clean_files_save
=$ac_clean_files
13964 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13966 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13968 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13970 # Generated by $as_me.
13971 # Run this file to recreate the current configuration.
13972 # Compiler output produced by configure, useful for debugging
13973 # configure, is in config.log if it exists.
13976 ac_cs_recheck=false
13979 SHELL=\${CONFIG_SHELL-$SHELL}
13982 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13983 ## -------------------- ##
13984 ## M4sh Initialization. ##
13985 ## -------------------- ##
13987 # Be more Bourne compatible
13988 DUALCASE
=1; export DUALCASE
# for MKS sh
13989 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13992 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13993 # is contrary to our usage. Disable this feature.
13994 alias -g '${1+"$@"}'='"$@"'
13995 setopt NO_GLOB_SUBST
13997 case `(set -o) 2>/dev/null` in #(
14009 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14010 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14013 # Prefer a ksh shell builtin over an external printf program on Solaris,
14014 # but without wasting forks for bash or zsh.
14015 if test -z "$BASH_VERSION$ZSH_VERSION" \
14016 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14017 as_echo='print
-r --'
14018 as_echo_n='print
-rn --'
14019 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14020 as_echo='printf %s
\n'
14021 as_echo_n='printf %s
'
14023 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14024 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14025 as_echo_n='/usr
/ucb
/echo -n'
14027 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14028 as_echo_n_body='eval
14032 expr "X$arg" : "X\\(.*\\)$as_nl";
14033 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14035 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14037 export as_echo_n_body
14038 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14040 export as_echo_body
14041 as_echo='sh
-c $as_echo_body as_echo
'
14044 # The user is always right.
14045 if test "${PATH_SEPARATOR+set}" != set; then
14047 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14048 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14055 # We need space, tab and new line, in precisely that order. Quoting is
14056 # there to prevent editors from complaining about space-tab.
14057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14058 # splitting by setting IFS to empty value.)
14061 # Find who we are. Look in the path if we contain no directory separator.
14064 *[\\/]* ) as_myself=$0 ;;
14065 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14066 for as_dir in $PATH
14069 test -z "$as_dir" && as_dir=.
14070 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14076 # We did not find ourselves, most probably we were run as `sh COMMAND'
14077 # in which case we are not to be found in the path.
14078 if test "x$as_myself" = x
; then
14081 if test ! -f "$as_myself"; then
14082 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14086 # Unset variables that we do not need and which cause bugs (e.g. in
14087 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14088 # suppresses any "Segmentation fault" message there. '((' could
14089 # trigger a bug in pdksh 5.2.14.
14090 for as_var
in BASH_ENV ENV MAIL MAILPATH
14091 do eval test x\
${$as_var+set} = xset \
14092 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14105 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14108 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14109 # ----------------------------------------
14110 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14111 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14112 # script with STATUS, using 1 if that was 0.
14115 as_status
=$1; test $as_status -eq 0 && as_status
=1
14117 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14118 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14120 $as_echo "$as_me: error: $2" >&2
14121 as_fn_exit
$as_status
14125 # as_fn_set_status STATUS
14126 # -----------------------
14127 # Set $? to STATUS, without forking.
14128 as_fn_set_status
()
14131 } # as_fn_set_status
14133 # as_fn_exit STATUS
14134 # -----------------
14135 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14139 as_fn_set_status
$1
14145 # Portably unset VAR.
14148 { eval $1=; unset $1;}
14150 as_unset
=as_fn_unset
14151 # as_fn_append VAR VALUE
14152 # ----------------------
14153 # Append the text in VALUE to the end of the definition contained in VAR. Take
14154 # advantage of any shell optimizations that allow amortized linear growth over
14155 # repeated appends, instead of the typical quadratic growth present in naive
14157 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14158 eval 'as_fn_append ()
14169 # as_fn_arith ARG...
14170 # ------------------
14171 # Perform arithmetic evaluation on the ARGs, and store the result in the
14172 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14173 # must be portable across $(()) and expr.
14174 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14175 eval 'as_fn_arith ()
14182 as_val
=`expr "$@" || test $? -eq 1`
14187 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14188 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14194 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14195 as_basename
=basename
14200 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14206 as_me
=`$as_basename -- "$0" ||
14207 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14208 X"$0" : 'X\(//\)$' \| \
14209 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14211 sed '/^.*\/\([^/][^/]*\)\/*$/{
14225 # Avoid depending upon Character Ranges.
14226 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14227 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14228 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14229 as_cr_digits
='0123456789'
14230 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14232 ECHO_C
= ECHO_N
= ECHO_T
=
14233 case `echo -n x` in #(((((
14235 case `echo 'xy\c'` in
14236 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14238 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14245 rm -f conf$$ conf$$.exe conf$$.
file
14246 if test -d conf$$.dir
; then
14247 rm -f conf$$.dir
/conf$$.
file
14250 mkdir conf$$.dir
2>/dev
/null
14252 if (echo >conf$$.
file) 2>/dev
/null
; then
14253 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14255 # ... but there are two gotchas:
14256 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14257 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14258 # In both cases, we have to default to `cp -pR'.
14259 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14261 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14269 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14270 rmdir conf$$.dir
2>/dev
/null
14275 # Create "$as_dir" as a directory, including parents if necessary.
14280 -*) as_dir
=.
/$as_dir;;
14282 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14286 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14287 *) as_qdir
=$as_dir;;
14289 as_dirs
="'$as_qdir' $as_dirs"
14290 as_dir
=`$as_dirname -- "$as_dir" ||
14291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14292 X"$as_dir" : 'X\(//\)[^/]' \| \
14293 X"$as_dir" : 'X\(//\)$' \| \
14294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14295 $as_echo X"$as_dir" |
14296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14300 /^X\(\/\/\)[^/].*/{
14313 test -d "$as_dir" && break
14315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14316 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14320 if mkdir
-p .
2>/dev
/null
; then
14321 as_mkdir_p
='mkdir -p "$as_dir"'
14323 test -d .
/-p && rmdir .
/-p
14328 # as_fn_executable_p FILE
14329 # -----------------------
14330 # Test if FILE is an executable regular file.
14331 as_fn_executable_p
()
14333 test -f "$1" && test -x "$1"
14334 } # as_fn_executable_p
14335 as_test_x
='test -x'
14336 as_executable_p
=as_fn_executable_p
14338 # Sed expression to map a string onto a valid CPP name.
14339 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14341 # Sed expression to map a string onto a valid variable name.
14342 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14346 ## ----------------------------------- ##
14347 ## Main body of $CONFIG_STATUS script. ##
14348 ## ----------------------------------- ##
14350 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14353 # Save the log message, to keep $0 and so on meaningful, and to
14354 # report actual input values of CONFIG_FILES etc. instead of their
14355 # values after options handling.
14357 This file was extended by libpng $as_me 1.6.36, which was
14358 generated by GNU Autoconf 2.69. Invocation command line was
14360 CONFIG_FILES = $CONFIG_FILES
14361 CONFIG_HEADERS = $CONFIG_HEADERS
14362 CONFIG_LINKS = $CONFIG_LINKS
14363 CONFIG_COMMANDS = $CONFIG_COMMANDS
14366 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14371 case $ac_config_files in *"
14372 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14375 case $ac_config_headers in *"
14376 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14381 # Files that config.status was made for.
14382 config_files="$ac_config_files"
14383 config_headers="$ac_config_headers"
14384 config_commands="$ac_config_commands"
14388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14390 \`$as_me' instantiates files and other configuration actions
14391 from templates according to the current configuration. Unless the files
14392 and actions are specified as TAGs, all are instantiated by default.
14394 Usage: $0 [OPTION]... [TAG]...
14396 -h, --help print this help, then exit
14397 -V, --version print version number and configuration settings, then exit
14398 --config print configuration, then exit
14399 -q, --quiet, --silent
14400 do not print progress messages
14401 -d, --debug don't remove temporary files
14402 --recheck update $as_me by reconfiguring in the same conditions
14403 --file=FILE[:TEMPLATE]
14404 instantiate the configuration file FILE
14405 --header=FILE[:TEMPLATE]
14406 instantiate the configuration header FILE
14408 Configuration files:
14411 Configuration headers:
14414 Configuration commands:
14417 Report bugs to <png-mng-implement@lists.sourceforge.net>."
14420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14421 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14423 libpng config.status 1.6.36
14424 configured by $0, generated by GNU Autoconf 2.69,
14425 with options \\"\$ac_cs_config\\"
14427 Copyright (C) 2012 Free Software Foundation, Inc.
14428 This config.status script is free software; the Free Software Foundation
14429 gives unlimited permission to copy, distribute and modify it."
14436 test -n "\$AWK" || AWK=awk
14439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14440 # The default lists apply if the user does not specify any file.
14446 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14447 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14451 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14463 # Handling of the options.
14464 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14466 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14467 $as_echo "$ac_cs_version"; exit ;;
14468 --config |
--confi |
--conf |
--con |
--co |
--c )
14469 $as_echo "$ac_cs_config"; exit ;;
14470 --debug |
--debu |
--deb |
--de |
--d |
-d )
14472 --file |
--fil |
--fi |
--f )
14475 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14476 '') as_fn_error $?
"missing file argument" ;;
14478 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14479 ac_need_defaults
=false
;;
14480 --header |
--heade |
--head |
--hea )
14483 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14485 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14486 ac_need_defaults
=false
;;
14488 # Conflict between --help and --header
14489 as_fn_error $?
"ambiguous option: \`$1'
14490 Try \`$0 --help' for more information.";;
14491 --help |
--hel |
-h )
14492 $as_echo "$ac_cs_usage"; exit ;;
14493 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14494 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14497 # This is an error.
14498 -*) as_fn_error $?
"unrecognized option: \`$1'
14499 Try \`$0 --help' for more information." ;;
14501 *) as_fn_append ac_config_targets
" $1"
14502 ac_need_defaults
=false
;;
14508 ac_configure_extra_args
=
14510 if $ac_cs_silent; then
14512 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14517 if \$ac_cs_recheck; then
14518 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14520 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14521 CONFIG_SHELL='$SHELL'
14522 export CONFIG_SHELL
14527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14531 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14532 ## Running $as_me. ##
14538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14542 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14545 # The HP-UX ksh and POSIX shell print the target directory to stdout
14546 # if CDPATH is set.
14547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14549 sed_quote_subst='$sed_quote_subst'
14550 double_quote_subst='$double_quote_subst'
14551 delay_variable_subst='$delay_variable_subst'
14552 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14553 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14554 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14555 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14556 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14557 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14558 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14559 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14560 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14561 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14562 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14563 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14564 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14565 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14566 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14567 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14568 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14569 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14570 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14571 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14572 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14573 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14574 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14575 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14576 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14577 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14578 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14579 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14580 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14581 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14582 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14583 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14584 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14585 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14586 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14587 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14588 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14589 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14590 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14591 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14592 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14593 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14594 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14595 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14596 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14597 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14598 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14599 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14600 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14601 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14602 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14603 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14604 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14605 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14606 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14607 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14608 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14609 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14610 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14611 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"`'
14612 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14613 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14614 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14615 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14616 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14617 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14618 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14619 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14620 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14621 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14622 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14623 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14624 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14625 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14626 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14627 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14628 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14629 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14630 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14631 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14632 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14633 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14634 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14635 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14636 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14637 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14638 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14639 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14640 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14641 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14642 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14643 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14644 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14645 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14646 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14647 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14648 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14649 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14650 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14651 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14652 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14653 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14654 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14655 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14656 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14657 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14658 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14659 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14660 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14661 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14662 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14663 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14664 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14665 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14666 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14667 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14668 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14669 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14670 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14671 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14672 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14673 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14674 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14675 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14676 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14677 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14678 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14679 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14680 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14681 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14682 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14683 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14684 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14685 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14686 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14687 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14690 LTCFLAGS='$LTCFLAGS'
14691 compiler='$compiler_DEFAULT'
14693 # A function that is used when there is no print builtin or printf.
14694 func_fallback_echo ()
14696 eval 'cat <<_LTECHO_EOF
14701 # Quote evaled strings.
14718 deplibs_check_method \
14722 sharedlib_from_linklib_cmd \
14725 archiver_list_spec \
14731 lt_cv_sys_global_symbol_pipe \
14732 lt_cv_sys_global_symbol_to_cdecl \
14733 lt_cv_sys_global_symbol_to_import \
14734 lt_cv_sys_global_symbol_to_c_name_address \
14735 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14736 lt_cv_nm_interface \
14737 nm_file_list_spec \
14738 lt_cv_truncate_bin \
14739 lt_prog_compiler_no_builtin_flag \
14740 lt_prog_compiler_pic \
14741 lt_prog_compiler_wl \
14742 lt_prog_compiler_static \
14743 lt_cv_prog_compiler_c_o \
14752 export_dynamic_flag_spec \
14753 whole_archive_flag_spec \
14754 compiler_needs_object \
14756 allow_undefined_flag \
14757 no_undefined_flag \
14758 hardcode_libdir_flag_spec \
14759 hardcode_libdir_separator \
14763 variables_saved_for_relink \
14765 library_names_spec \
14767 install_override_mode \
14771 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14772 *[\\\\\\\`\\"\\\$]*)
14773 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14776 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14781 # Double-quote double-evaled strings.
14782 for var in reload_cmds \
14783 old_postinstall_cmds \
14784 old_postuninstall_cmds \
14786 extract_expsyms_cmds \
14787 old_archive_from_new_cmds \
14788 old_archive_from_expsyms_cmds \
14790 archive_expsym_cmds \
14792 module_expsym_cmds \
14793 export_symbols_cmds \
14797 postuninstall_cmds \
14799 sys_lib_search_path_spec \
14800 configure_time_dlsearch_path \
14801 configure_time_lt_sys_library_path; do
14802 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14803 *[\\\\\\\`\\"\\\$]*)
14804 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14807 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14812 ac_aux_dir='$ac_aux_dir'
14814 # See if we are running on zsh, and set the options that allow our
14815 # commands through without removal of \ escapes INIT.
14816 if test -n "\${ZSH_VERSION+set}"; then
14817 setopt NO_GLOB_SUBST
14831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14833 # Handling of arguments.
14834 for ac_config_target
in $ac_config_targets
14836 case $ac_config_target in
14837 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14838 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14839 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14840 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14841 "libpng.pc") CONFIG_FILES
="$CONFIG_FILES libpng.pc:libpng.pc.in" ;;
14842 "libpng-config") CONFIG_FILES
="$CONFIG_FILES libpng-config:libpng-config.in" ;;
14844 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14849 # If the user did not use the arguments to specify the items to instantiate,
14850 # then the envvar interface is used. Set only those that are not.
14851 # We use the long form for the default assignment because of an extremely
14852 # bizarre bug on SunOS 4.1.3.
14853 if $ac_need_defaults; then
14854 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14855 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14856 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14859 # Have a temporary directory for convenience. Make it in the build tree
14860 # simply because there is no reason against having it here, and in addition,
14861 # creating and moving files from /tmp can sometimes cause problems.
14862 # Hook for its removal unless debugging.
14863 # Note that there is a small window in which the directory will not be cleaned:
14864 # after its creation but before its name has been assigned to `$tmp'.
14868 trap 'exit_status=$?
14869 : "${ac_tmp:=$tmp}"
14870 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14872 trap 'as_fn_exit 1' 1 2 13 15
14874 # Create a (secure) tmp directory for tmp files.
14877 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14881 tmp
=.
/conf$$
-$RANDOM
14882 (umask 077 && mkdir
"$tmp")
14883 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14886 # Set up the scripts for CONFIG_FILES section.
14887 # No need to generate them if there are no CONFIG_FILES.
14888 # This happens for instance with `./config.status config.h'.
14889 if test -n "$CONFIG_FILES"; then
14892 ac_cr
=`echo X | tr X '\015'`
14893 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14894 # But we know of no other shell where ac_cr would be empty at this
14895 # point, so we can use a bashism as a fallback.
14896 if test "x$ac_cr" = x
; then
14897 eval ac_cr
=\$
\'\\r
\'
14899 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14900 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14903 ac_cs_awk_cr
=$ac_cr
14906 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14911 echo "cat >conf$$subs.awk <<_ACEOF" &&
14912 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14914 } >conf$$subs.sh ||
14915 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14916 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14918 for ac_last_try in false false false false false :; do
14919 . ./conf$$subs.sh ||
14920 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14922 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14923 if test $ac_delim_n = $ac_delim_num; then
14925 elif $ac_last_try; then
14926 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14928 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14931 rm -f conf$$subs.sh
14933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14934 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14938 s/^/S["/; s
/!.
*/"]=/
14948 s/\(.\{148\}\)..*/\1/
14950 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14955 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14962 s/\(.\{148\}\)..*/\1/
14964 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14968 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14973 ' <conf$$subs.awk | sed '
14978 ' >>$CONFIG_STATUS || ac_write_fail=1
14979 rm -f conf$$subs.awk
14980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14982 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14983 for (key in S) S_is_set[key] = 1
14989 nfields = split(line, field, "@
")
14991 len = length(field[1])
14992 for (i = 2; i < nfields; i++) {
14994 keylen = length(key)
14995 if (S_is_set[key]) {
14997 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14998 len += length(value) + length(field[++i])
15009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15010 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15011 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15014 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15015 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15018 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15019 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15020 # trailing colons and then remove the whole line if VPATH becomes empty
15021 # (actually we leave an empty line to preserve line numbers).
15022 if test "x
$srcdir" = x.; then
15023 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15042 fi # test -n "$CONFIG_FILES"
15044 # Set up the scripts for CONFIG_HEADERS section.
15045 # No need to generate them if there are no CONFIG_HEADERS.
15046 # This happens for instance with `./config.status Makefile'.
15047 if test -n "$CONFIG_HEADERS"; then
15048 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15052 # Transform confdefs.h into an awk script `defines.awk', embedded as
15053 # here-document in config.status, that substitutes the proper values into
15054 # config.h.in to produce config.h.
15056 # Create a delimiter string that does not exist in confdefs.h, to ease
15057 # handling of long lines.
15059 for ac_last_try in false false :; do
15060 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15061 if test -z "$ac_tt"; then
15063 elif $ac_last_try; then
15064 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15066 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15070 # For the awk script, D is an array of macro values keyed by name,
15071 # likewise P contains macro parameters if any. Preserve backslash
15072 # newline sequences.
15074 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15076 s/.\{148\}/&'"$ac_delim"'/g
15079 s/^[ ]*#[ ]*define[ ][ ]*/ /
15086 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15088 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15093 D["\
1"]=" \
3\\\\\\n
"\\/p
15095 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15100 s/.\{148\}/&'"$ac_delim"'/g
15105 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15108 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15110 ' <confdefs.h | sed '
15111 s/'"$ac_delim"'/"\\\
15112 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15115 for (key in D) D_is_set[key] = 1
15118 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15120 split(line, arg, " ")
15121 if (arg[1] == "#") {
15125 defundef
= substr
(arg
[1], 2)
15128 split(mac1
, mac2
, "(") #)
15130 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15131 if (D_is_set
[macro
]) {
15132 # Preserve the white space surrounding the "#".
15133 print prefix
"define", macro P
[macro
] D
[macro
]
15136 # Replace #undef with comments. This is necessary, for example,
15137 # in the case of _POSIX_SOURCE, which is predefined and required
15138 # on some systems where configure will not decide to define it.
15139 if (defundef
== "undef") {
15140 print
"/*", prefix defundef
, macro
, "*/"
15148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15149 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15150 fi # test -n "$CONFIG_HEADERS"
15153 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15158 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15160 case $ac_mode$ac_tag in
15162 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15163 :[FH
]-) ac_tag
=-:-;;
15164 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15181 -) ac_f
="$ac_tmp/stdin";;
15182 *) # Look for the file first in the build tree, then in the source tree
15183 # (if the path is not absolute). The absolute path cannot be DOS-style,
15184 # because $ac_f cannot contain `:'.
15188 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15190 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15192 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15193 as_fn_append ac_file_inputs
" '$ac_f'"
15196 # Let's still pretend it is `configure' which instantiates (i.e., don't
15197 # use $as_me), people would be surprised to read:
15198 # /* config.h. Generated by config.status. */
15199 configure_input
='Generated from '`
15200 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15202 if test x
"$ac_file" != x-
; then
15203 configure_input
="$ac_file. $configure_input"
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15205 $as_echo "$as_me: creating $ac_file" >&6;}
15207 # Neutralize special characters interpreted by sed in replacement strings.
15208 case $configure_input in #(
15209 *\
&* |
*\|
* |
*\\* )
15210 ac_sed_conf_input
=`$as_echo "$configure_input" |
15211 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15212 *) ac_sed_conf_input
=$configure_input;;
15216 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15217 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15222 ac_dir
=`$as_dirname -- "$ac_file" ||
15223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15224 X"$ac_file" : 'X\(//\)[^/]' \| \
15225 X"$ac_file" : 'X\(//\)$' \| \
15226 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15227 $as_echo X"$ac_file" |
15228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15232 /^X\(\/\/\)[^/].*/{
15245 as_dir
="$ac_dir"; as_fn_mkdir_p
15249 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15251 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15252 # A ".." for each directory in $ac_dir_suffix.
15253 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15254 case $ac_top_builddir_sub in
15255 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15256 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15259 ac_abs_top_builddir
=$ac_pwd
15260 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15261 # for backward compatibility:
15262 ac_top_builddir
=$ac_top_build_prefix
15265 .
) # We are building in place.
15267 ac_top_srcdir
=$ac_top_builddir_sub
15268 ac_abs_top_srcdir
=$ac_pwd ;;
15269 [\\/]* | ?
:[\\/]* ) # Absolute name.
15270 ac_srcdir
=$srcdir$ac_dir_suffix;
15271 ac_top_srcdir
=$srcdir
15272 ac_abs_top_srcdir
=$srcdir ;;
15273 *) # Relative name.
15274 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15275 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15276 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15278 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15288 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15289 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15291 ac_MKDIR_P
=$MKDIR_P
15293 [\\/$
]* | ?
:[\\/]* ) ;;
15294 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15299 # If the template does not know about datarootdir, expand it.
15300 # FIXME: This hack should be removed a few years after 2.60.
15301 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15312 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15313 *datarootdir
*) ac_datarootdir_seen
=yes;;
15314 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15316 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15319 ac_datarootdir_hack='
15320 s&@datadir@&$datadir&g
15321 s&@docdir@&$docdir&g
15322 s&@infodir@&$infodir&g
15323 s&@localedir@&$localedir&g
15324 s&@mandir@&$mandir&g
15325 s&\\\${datarootdir}&$datarootdir&g' ;;
15329 # Neutralize VPATH when `$srcdir' = `.'.
15330 # Shell code in configure.ac might set extrasub.
15331 # FIXME: do we really want to maintain this feature?
15332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15333 ac_sed_extra="$ac_vpsub
15336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15338 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15339 s|@configure_input@|
$ac_sed_conf_input|
;t t
15340 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15341 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15342 s
&@srcdir@
&$ac_srcdir&;t t
15343 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15344 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15345 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15346 s
&@builddir@
&$ac_builddir&;t t
15347 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15348 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15349 s
&@INSTALL@
&$ac_INSTALL&;t t
15350 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15351 $ac_datarootdir_hack
15353 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15354 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15356 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15357 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15358 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15359 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15361 which seems to be undefined. Please make sure it is defined" >&5
15362 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15363 which seems to be undefined. Please make sure it is defined" >&2;}
15365 rm -f "$ac_tmp/stdin"
15367 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15368 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15376 if test x"$ac_file" != x-; then
15378 $as_echo "/* $configure_input */" \
15379 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15380 } >"$ac_tmp/config.h" \
15381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15382 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15384 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15387 mv "$ac_tmp/config.h" "$ac_file" \
15388 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15391 $as_echo "/* $configure_input */" \
15392 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15393 || as_fn_error $? "could not create -" "$LINENO" 5
15395 # Compute "$ac_file"'s index
in $config_headers.
15398 for _am_header
in $config_headers :; do
15399 case $_am_header in
15400 $_am_arg |
$_am_arg:* )
15403 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15406 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15407 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15408 X"$_am_arg" : 'X\(//\)[^/]' \| \
15409 X"$_am_arg" : 'X\(//\)$' \| \
15410 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15411 $as_echo X"$_am_arg" |
15412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15416 /^X\(\/\/\)[^/].*/{
15428 s/.*/./; q'`/stamp-h
$_am_stamp_count
15431 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15432 $as_echo "$as_me: executing $ac_file commands" >&6;}
15437 case $ac_file$ac_mode in
15438 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15439 # Older Autoconf quotes --file arguments for eval, but not when files
15440 # are listed without --file. Let's play safe and only enable the eval
15441 # if we detect the quoting.
15442 # TODO: see whether this extra hack can be removed once we start
15443 # requiring Autoconf 2.70 or later.
15444 case $CONFIG_FILES in #(
15446 eval set x
"$CONFIG_FILES" ;; #(
15448 set x
$CONFIG_FILES ;; #(
15453 # Used to flag and report bootstrapping failures.
15457 # Strip MF so we end up with the name of the file.
15458 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15459 # Check whether this is an Automake generated Makefile which includes
15460 # dependency-tracking related rules and includes.
15461 # Grep'ing the whole file directly is not great: AIX grep has a line
15462 # limit of 2048, but all sed's we know have understand at least 4000.
15463 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
15465 am_dirpart
=`$as_dirname -- "$am_mf" ||
15466 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15467 X"$am_mf" : 'X\(//\)[^/]' \| \
15468 X"$am_mf" : 'X\(//\)$' \| \
15469 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15470 $as_echo X"$am_mf" |
15471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15475 /^X\(\/\/\)[^/].*/{
15488 am_filepart
=`$as_basename -- "$am_mf" ||
15489 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15490 X"$am_mf" : 'X\(//\)$' \| \
15491 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15492 $as_echo X/"$am_mf" |
15493 sed '/^.*\/\([^/][^/]*\)\/*$/{
15506 { echo "$as_me:$LINENO: cd "$am_dirpart" \
15507 && sed -e '/# am--include-marker/d' "$am_filepart" \
15508 | $MAKE -f - am--depfiles" >&5
15509 (cd "$am_dirpart" \
15510 && sed -e '/# am--include-marker/d' "$am_filepart" \
15511 |
$MAKE -f - am--depfiles
) >&5 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } || am_rc
=$?
15516 if test $am_rc -ne 0; then
15517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15519 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
15520 for automatic dependency tracking. Try re-running configure with the
15521 '--disable-dependency-tracking' option to at least be able to build
15522 the package (albeit without support for automatic dependency tracking).
15523 See \`config.log' for more details" "$LINENO" 5; }
15525 { am_dirpart
=; unset am_dirpart
;}
15526 { am_filepart
=; unset am_filepart
;}
15527 { am_mf
=; unset am_mf
;}
15528 { am_rc
=; unset am_rc
;}
15529 rm -f conftest-deps.mk
15534 # See if we are running on zsh, and set the options that allow our
15535 # commands through without removal of \ escapes.
15536 if test -n "${ZSH_VERSION+set}"; then
15537 setopt NO_GLOB_SUBST
15541 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15544 cat <<_LT_EOF >> "$cfgfile"
15546 # Generated automatically by $as_me ($PACKAGE) $VERSION
15547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15548 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15550 # Provide generalized library-building support services.
15551 # Written by Gordon Matzigkeit, 1996
15553 # Copyright (C) 2014 Free Software Foundation, Inc.
15554 # This is free software; see the source for copying conditions. There is NO
15555 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15557 # GNU Libtool is free software; you can redistribute it and/or modify
15558 # it under the terms of the GNU General Public License as published by
15559 # the Free Software Foundation; either version 2 of of the License, or
15560 # (at your option) any later version.
15562 # As a special exception to the GNU General Public License, if you
15563 # distribute this file as part of a program or library that is built
15564 # using GNU Libtool, you may include this file under the same
15565 # distribution terms that you use for the rest of that program.
15567 # GNU Libtool is distributed in the hope that it will be useful, but
15568 # WITHOUT ANY WARRANTY; without even the implied warranty of
15569 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15570 # GNU General Public License for more details.
15572 # You should have received a copy of the GNU General Public License
15573 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15576 # The names of the tagged configurations supported by this script.
15579 # Configured defaults for sys_lib_dlsearch_path munging.
15580 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15582 # ### BEGIN LIBTOOL CONFIG
15584 # A sed program that does not truncate output.
15587 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15588 Xsed="\$SED -e 1s/^X//"
15590 # A grep program that handles long lines.
15596 # A literal string matcher.
15599 # Shell to use when invoking shell scripts.
15602 # An echo program that protects backslashes.
15605 # Which release of libtool.m4 was used?
15606 macro_version=$macro_version
15607 macro_revision=$macro_revision
15609 # Assembler program.
15612 # DLL creation program.
15613 DLLTOOL=$lt_DLLTOOL
15615 # Object dumper program.
15616 OBJDUMP=$lt_OBJDUMP
15618 # Whether or not to build shared libraries.
15619 build_libtool_libs=$enable_shared
15621 # Whether or not to build static libraries.
15622 build_old_libs=$enable_static
15624 # What type of objects to build.
15627 # Whether or not to optimize for fast installation.
15628 fast_install=$enable_fast_install
15630 # Shared archive member basename,for filename based shared library versioning on AIX.
15631 shared_archive_member_spec=$shared_archive_member_spec
15633 # The PATH separator for the build system.
15634 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15637 host_alias=$host_alias
15641 # The build system.
15642 build_alias=$build_alias
15646 # A BSD- or MS-compatible name lister.
15649 # Whether we need soft or hard links.
15652 # What is the maximum length of a command?
15653 max_cmd_len=$max_cmd_len
15655 # Object file suffix (normally "o").
15658 # Executable file suffix (normally "").
15661 # whether the shell understands "unset".
15664 # turn spaces into newlines.
15667 # turn newlines into spaces.
15670 # convert \$build file names to \$host format.
15671 to_host_file_cmd=$lt_cv_to_host_file_cmd
15673 # convert \$build files to toolchain format.
15674 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15676 # Method to check whether dependent libraries are shared objects.
15677 deplibs_check_method=$lt_deplibs_check_method
15679 # Command to use when deplibs_check_method = "file_magic".
15680 file_magic_cmd=$lt_file_magic_cmd
15682 # How to find potential files when deplibs_check_method = "file_magic".
15683 file_magic_glob=$lt_file_magic_glob
15685 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15686 want_nocaseglob=$lt_want_nocaseglob
15688 # Command to associate shared and link libraries.
15689 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15694 # Flags to create an archive.
15695 AR_FLAGS=$lt_AR_FLAGS
15697 # How to feed a file listing to the archiver.
15698 archiver_list_spec=$lt_archiver_list_spec
15700 # A symbol stripping program.
15703 # Commands used to install an old-style archive.
15705 old_postinstall_cmds=$lt_old_postinstall_cmds
15706 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15708 # Whether to use a lock for old archive extraction.
15709 lock_old_archive_extraction=$lock_old_archive_extraction
15714 # LTCC compiler flags.
15715 LTCFLAGS=$lt_CFLAGS
15717 # Take the output of nm and produce a listing of raw symbols and C names.
15718 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15720 # Transform the output of nm in a proper C declaration.
15721 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15723 # Transform the output of nm into a list of symbols to manually relocate.
15724 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15726 # Transform the output of nm in a C name address pair.
15727 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15729 # Transform the output of nm in a C name address pair when lib prefix is needed.
15730 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15732 # The name lister interface.
15733 nm_interface=$lt_lt_cv_nm_interface
15735 # Specify filename containing input files for \$NM.
15736 nm_file_list_spec=$lt_nm_file_list_spec
15738 # The root where to search for dependent libraries,and where our libraries should be installed.
15739 lt_sysroot=$lt_sysroot
15741 # Command to truncate a binary pipe.
15742 lt_truncate_bin=$lt_lt_cv_truncate_bin
15744 # The name of the directory that contains temporary libtool files.
15747 # Used to examine libraries when file_magic_cmd begins with "file".
15748 MAGIC_CMD=$MAGIC_CMD
15750 # Must we lock files when doing compilation?
15751 need_locks=$lt_need_locks
15754 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15756 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15757 DSYMUTIL=$lt_DSYMUTIL
15759 # Tool to change global to local symbols on Mac OS X.
15762 # Tool to manipulate fat objects and archives on Mac OS X.
15765 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15768 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15769 OTOOL64=$lt_OTOOL64
15771 # Old archive suffix (normally "a").
15774 # Shared library suffix (normally ".so").
15775 shrext_cmds=$lt_shrext_cmds
15777 # The commands to extract the exported symbol list from a shared archive.
15778 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15780 # Variables whose values should be saved in libtool wrapper scripts and
15781 # restored at link time.
15782 variables_saved_for_relink=$lt_variables_saved_for_relink
15784 # Do we need the "lib" prefix for modules?
15785 need_lib_prefix=$need_lib_prefix
15787 # Do we need a version for libraries?
15788 need_version=$need_version
15790 # Library versioning type.
15791 version_type=$version_type
15793 # Shared library runtime path variable.
15794 runpath_var=$runpath_var
15796 # Shared library path variable.
15797 shlibpath_var=$shlibpath_var
15799 # Is shlibpath searched before the hard-coded library search path?
15800 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15802 # Format of library name prefix.
15803 libname_spec=$lt_libname_spec
15805 # List of archive names. First name is the real one, the rest are links.
15806 # The last name is the one that the linker finds with -lNAME
15807 library_names_spec=$lt_library_names_spec
15809 # The coded name of the library, if different from the real name.
15810 soname_spec=$lt_soname_spec
15812 # Permission mode override for installation of shared libraries.
15813 install_override_mode=$lt_install_override_mode
15815 # Command to use after installation of a shared archive.
15816 postinstall_cmds=$lt_postinstall_cmds
15818 # Command to use after uninstallation of a shared archive.
15819 postuninstall_cmds=$lt_postuninstall_cmds
15821 # Commands used to finish a libtool library installation in a directory.
15822 finish_cmds=$lt_finish_cmds
15824 # As "finish_cmds", except a single script fragment to be evaled but
15826 finish_eval=$lt_finish_eval
15828 # Whether we should hardcode library paths into libraries.
15829 hardcode_into_libs=$hardcode_into_libs
15831 # Compile-time system search path for libraries.
15832 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15834 # Detected run-time system search path for libraries.
15835 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15837 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15838 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15840 # Whether dlopen is supported.
15841 dlopen_support=$enable_dlopen
15843 # Whether dlopen of programs is supported.
15844 dlopen_self=$enable_dlopen_self
15846 # Whether dlopen of statically linked programs is supported.
15847 dlopen_self_static=$enable_dlopen_self_static
15849 # Commands to strip libraries.
15850 old_striplib=$lt_old_striplib
15851 striplib=$lt_striplib
15854 # The linker used to build libraries.
15857 # How to create reloadable object files.
15858 reload_flag=$lt_reload_flag
15859 reload_cmds=$lt_reload_cmds
15861 # Commands used to build an old-style archive.
15862 old_archive_cmds=$lt_old_archive_cmds
15864 # A language specific compiler.
15867 # Is the compiler the GNU compiler?
15870 # Compiler flag to turn off builtin functions.
15871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15873 # Additional compiler flags for building library objects.
15874 pic_flag=$lt_lt_prog_compiler_pic
15876 # How to pass a linker flag through the compiler.
15877 wl=$lt_lt_prog_compiler_wl
15879 # Compiler flag to prevent dynamic linking.
15880 link_static_flag=$lt_lt_prog_compiler_static
15882 # Does compiler simultaneously support -c and -o options?
15883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15885 # Whether or not to add -lc for building shared libraries.
15886 build_libtool_need_lc=$archive_cmds_need_lc
15888 # Whether or not to disallow shared libs when runtime libs are static.
15889 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15891 # Compiler flag to allow reflexive dlopens.
15892 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15894 # Compiler flag to generate shared objects directly from archives.
15895 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15897 # Whether the compiler copes with passing no objects directly.
15898 compiler_needs_object=$lt_compiler_needs_object
15900 # Create an old-style archive from a shared archive.
15901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15903 # Create a temporary old-style archive to link instead of a shared archive.
15904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15906 # Commands used to build a shared archive.
15907 archive_cmds=$lt_archive_cmds
15908 archive_expsym_cmds=$lt_archive_expsym_cmds
15910 # Commands used to build a loadable module if different from building
15911 # a shared archive.
15912 module_cmds=$lt_module_cmds
15913 module_expsym_cmds=$lt_module_expsym_cmds
15915 # Whether we are building with GNU ld or not.
15916 with_gnu_ld=$lt_with_gnu_ld
15918 # Flag that allows shared libraries with undefined symbols to be built.
15919 allow_undefined_flag=$lt_allow_undefined_flag
15921 # Flag that enforces no undefined symbols.
15922 no_undefined_flag=$lt_no_undefined_flag
15924 # Flag to hardcode \$libdir into a binary during linking.
15925 # This must work even if \$libdir does not exist
15926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15928 # Whether we need a single "-rpath" flag with a separated argument.
15929 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15931 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15932 # DIR into the resulting binary.
15933 hardcode_direct=$hardcode_direct
15935 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15936 # DIR into the resulting binary and the resulting library dependency is
15937 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15938 # library is relocated.
15939 hardcode_direct_absolute=$hardcode_direct_absolute
15941 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15942 # into the resulting binary.
15943 hardcode_minus_L=$hardcode_minus_L
15945 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15946 # into the resulting binary.
15947 hardcode_shlibpath_var=$hardcode_shlibpath_var
15949 # Set to "yes" if building a shared library automatically hardcodes DIR
15950 # into the library and all subsequent libraries and executables linked
15952 hardcode_automatic=$hardcode_automatic
15954 # Set to yes if linker adds runtime paths of dependent libraries
15955 # to runtime path list.
15956 inherit_rpath=$inherit_rpath
15958 # Whether libtool must link a program against all its dependency libraries.
15959 link_all_deplibs=$link_all_deplibs
15961 # Set to "yes" if exported symbols are required.
15962 always_export_symbols=$always_export_symbols
15964 # The commands to list exported symbols.
15965 export_symbols_cmds=$lt_export_symbols_cmds
15967 # Symbols that should not be listed in the preloaded symbols.
15968 exclude_expsyms=$lt_exclude_expsyms
15970 # Symbols that must always be exported.
15971 include_expsyms=$lt_include_expsyms
15973 # Commands necessary for linking programs (against libraries) with templates.
15974 prelink_cmds=$lt_prelink_cmds
15976 # Commands necessary for finishing linking programs.
15977 postlink_cmds=$lt_postlink_cmds
15979 # Specify filename containing input files.
15980 file_list_spec=$lt_file_list_spec
15982 # How to hardcode a shared library path into an executable.
15983 hardcode_action=$hardcode_action
15985 # ### END LIBTOOL CONFIG
15989 cat <<'_LT_EOF' >> "$cfgfile"
15991 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15993 # func_munge_path_list VARIABLE PATH
15994 # -----------------------------------
15995 # VARIABLE is name of variable containing _space_ separated list of
15996 # directories to be munged by the contents of PATH, which is string
15999 # string "DIR[ DIR]" will be prepended to VARIABLE
16001 # string "DIR[ DIR]" will be appended to VARIABLE
16002 # "DIRP[:DIRP]::[DIRA:]DIRA"
16003 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16004 # "DIRA[ DIRA]" will be appended to VARIABLE
16006 # VARIABLE will be replaced by "DIR[ DIR]"
16007 func_munge_path_list ()
16013 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16016 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16019 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16020 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16023 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16029 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16030 func_cc_basename ()
16032 for cc_temp in $*""; do
16034 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16035 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16040 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16044 # ### END FUNCTIONS SHARED WITH CONFIGURE
16050 cat <<\_LT_EOF
>> "$cfgfile"
16051 # AIX sometimes has problems with the GCC collect2 program. For some
16052 # reason, if we set the COLLECT_NAMES environment variable, the problems
16053 # vanish in a puff of smoke.
16054 if test set != "${COLLECT_NAMES+set}"; then
16056 export COLLECT_NAMES
16063 ltmain
=$ac_aux_dir/ltmain.sh
16066 # We use sed instead of cat because bash on DJGPP gets confused if
16067 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16068 # text mode, it properly converts lines to CR/LF. This bash problem
16069 # is reportedly fixed, but why not run on old versions too?
16070 sed '$q' "$ltmain" >> "$cfgfile" \
16071 ||
(rm -f "$cfgfile"; exit 1)
16073 mv -f "$cfgfile" "$ofile" ||
16074 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16078 "libpng-config":F
) chmod +x libpng-config
;;
16086 ac_clean_files
=$ac_clean_files_save
16088 test $ac_write_fail = 0 ||
16089 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16092 # configure is writing to config.log, and then calls config.status.
16093 # config.status does its own redirection, appending to config.log.
16094 # Unfortunately, on DOS this fails, as config.log is still kept open
16095 # by configure, so config.status won't be able to write to it; its
16096 # output is simply discarded. So we exec the FD to /dev/null,
16097 # effectively closing config.log, so it can be properly (re)opened and
16098 # appended to by config.status. When coming back to configure, we
16099 # need to make the FD available again.
16100 if test "$no_create" != yes; then
16102 ac_config_status_args
=
16103 test "$silent" = yes &&
16104 ac_config_status_args
="$ac_config_status_args --quiet"
16106 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16108 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16109 # would make configure fail if this is the last instruction.
16110 $ac_cs_success || as_fn_exit
1
16112 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16114 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}